since kernel 4.9,
dmesg | grep bcm2708_i2c
is not working anymore, to determine i2c speed/Baudrate.
Any idea, to get this info?
Thanks, but this was not working for all speedsktb wrote:This is super ugly, but I think it works. I bet somebody will come along and post something better.
Code: Select all
echo 0x$(xxd /sys/class/i2c-adapter/i2c-1/of_node/clock-frequency | cut -f 2,3 -d ' ' --output-delimiter='') | xargs printf "%d\n"