Closed shu-13 closed 4 years ago
build_install.bashをした際に、rtcounterが入らない。
/dev/にrtcounterが存在して欲しい
dmesgを実行すると、以下のメッセージが表示される。
[ 65.005554] rtmouse: rtcounter not found, or wrong i2c device probed [ 65.006389] rtmouse: rtcounter not found, or wrong i2c device probed
sudo apt install i2c-tools i2cdetect -y 1
を実行したところ
0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: 10 11 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
という結果をえた。
i2cget -y 1 0x10 0x10 w | sed 's/x\(..\)\(..\)/x\2\1/g'
を実行すると
0x1010
という結果を得た。
sudo i2cset -y 1 0x10 0x10 0x00 0x00 I
0x0000
また、uname -aの実行結果は以下の通りである。
uname -a
Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
I2Cのボーレートの設定が必要な可能性があります。 関連 #51 #13
dtparam=i2c_baudrate=62500を/boot/config.txtに書き込んで 再起動してからbuild_install.bashを行ったら無事解決しました、ありがとうございました。
dtparam=i2c_baudrate=62500
/boot/config.txt
build_install.bash
不具合の概要
build_install.bashをした際に、rtcounterが入らない。
実行環境
再現方法
期待する動作
/dev/にrtcounterが存在して欲しい
ログ・画像
dmesgを実行すると、以下のメッセージが表示される。
その他
を実行したところ
という結果をえた。
を実行すると
という結果を得た。
を実行すると
という結果を得た。
また、
uname -a
の実行結果は以下の通りである。