460在全志r16平台tinav3.0系统下使用i2c-tools
460在全志r16平台tinav3.0系统下使用i2c-tools
2018/9/6 19:05
版本:V1.0
开发板:SC3817R
SDK:tina v3.0
1、01原始编译全志r16平台tinav3.0系统:
rootroot@cm88:~$ cd /home/wwt
rootroot@cm88:/home/wwt$
rootroot@cm88:~$ cd /home/wwt
rootroot@cm88:/home/wwt$
rootroot@cm88:/home/wwt$
rootroot@cm88:/home/wwt$ md5sum tina_v3.0_20180606_1711git.tar.gz
ebf7ea460473f13a7f64248ed61cf998 tina_v3.0_20180606_1711git.tar.gz
rootroot@cm88:/home/wwt$
rootroot@cm88:/home/wwt$ tar zxvf tina_v3.0_20180606_1711git.tar.gz
rootroot@cm88:/home/wwt$
rootroot@cm88:/home/wwt$ cd tina_v3.0/
rootroot@cm88:/home/wwt/tina_v3.0$
rootroot@cm88:/home/wwt/tina_v3.0$
rootroot@cm88:/home/wwt/tina_v3.0$ source build/envsetup.sh
(请严重注意:lunch之后的选项是环境依赖的,请选择astar_parrot-tina前的实际数值!)
rootroot@cm88:/home/wwt/tina_v3.0$ lunch
You're building on Linux
Lunch menu... pick a combo:
5. astar_parrot-tina
Which would you like?5
rootroot@cm88:/home/wwt/tina_v3.0$ make -j12
rootroot@cm88:/home/wwt/tina_v3.0$ pack -d
2、tina v3.0默认是没有i2c-tools工具的,必须编译进去!
BusyBox v1.27.2 () built-in shell (ash)
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (Neptune, 5A0C0971)
----------------------------------------------
root@TinaLinux:/#
root@TinaLinux:/# i2
打开i2c-tools工具的步骤:
https://blog.csdn.net/u013308744/article/details/50128651
i2cdetect/i2cdump 查看系统的i2c bus数量以及i2c device挂载地址
https://blog.csdn.net/mantis_1984/article/details/18254767
i2c-tools的使用方法及举例
rootroot@cm88:/home/wwt/tina_v3.0$ make menuconfig
Utilities --->
< > i2c-tools............................................ I2C tools for Linux
修改为:
<*> i2c-tools............................................ I2C tools for Linux
rootroot@cm88:/home/wwt/tina_v3.0$ make -j12
rootroot@cm88:/home/wwt/tina_v3.0$ pack -d
刷机之后:
[ 15.863531] request_suspend_state: wakeup (0->0) at 15863497259 (1970-01-01 07:22:41.194510792 UTC)
[ 15.896490] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts:
Thu Jan 1 15:22:51 CST 1970
Thu Jan 1 15:22:51 CST 1970
wait for next upgrade!!
BusyBox v1.27.2 () built-in shell (ash)
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (Neptune, 5A0C0971)
----------------------------------------------
root@TinaLinux:/#
(可以找到i2c-tools工具集)
root@TinaLinux:/# i2c
i2cdetect i2cdump i2cget i2cset
root@TinaLinux:/#
root@TinaLinux:/# i2cdetect
Error: No i2c-bus specified!
Usage: i2cdetect [-y] [-a] [-q|-r] I2CBUS [FIRST LAST]
i2cdetect -F I2CBUS
i2cdetect -l
I2CBUS is an integer or an I2C bus name
If provided, FIRST and LAST limit the probing range.
root@TinaLinux:/#
root@TinaLinux:/# i2cdetect -l
root@TinaLinux:/#
(没有设备节点:/dev/i2c-0,i2cdetect出错:)
root@TinaLinux:/# i2cdetect -r -y 1
Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory
root@TinaLinux:/#
root@TinaLinux:/# cd /dev
root@TinaLinux:/dev#
root@TinaLinux:/dev# ll i*
crw-r--r-- 1 root root 10, 63 Jan 1 15:22 ion
input:
drwxr-xr-x 2 root root 160 Jan 1 15:22 .
drwxr-xr-x 8 root root 3160 Jan 1 15:22 ..
crw-r--r-- 1 root root 13, 64 Jan 1 15:22 event0
crw-r--r-- 1 root root 13, 65 Jan 1 15:22 event1
crw-r--r-- 1 root root 13, 66 Jan 1 15:22 event2
crw-r--r-- 1 root root 13, 67 Jan 1 15:22 event3
crw-r--r-- 1 root root 13, 68 Jan 1 15:22 event4
crw-r--r-- 1 root root 13, 63 Jan 1 15:22 mice
root@TinaLinux:/dev#
root@TinaLinux:/dev#
root@TinaLinux:/dev# cd /
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# find . -name i2c*
./rom/usr/lib/opkg/info/i2c-tools.control
./rom/usr/lib/opkg/info/i2c-tools.list
./rom/usr/sbin/i2cdetect
./rom/usr/sbin/i2cdump
./rom/usr/sbin/i2cget
./rom/usr/sbin/i2cset
./sys/bus/i2c
./sys/bus/i2c/devices/i2c-0
./sys/bus/i2c/devices/i2c-1
./sys/bus/i2c/devices/i2c-2
./sys/devices/platform/twi.0/i2c-0
./sys/devices/platform/twi.1/i2c-1
./sys/devices/platform/twi.2/i2c-2
./sys/class/i2c-adapter
./sys/class/i2c-adapter/i2c-0
./sys/class/i2c-adapter/i2c-1
./sys/class/i2c-adapter/i2c-2
./sys/module/gt82x/drivers/i2c:gt82x
./sys/module/i2c_sunxi
./usr/lib/opkg/info/i2c-tools.control
./usr/lib/opkg/info/i2c-tools.list
./usr/sbin/i2cdetect
./usr/sbin/i2cdump
./usr/sbin/i2cget
./usr/sbin/i2cset
root@TinaLinux:/#
3、在内核中打开/dev/i2c-0:
https://www.cnblogs.com/tid-think/p/9112531.html
arm开发板上找不到/dev/i2c-*设备
rootroot@cm88:/home/wwt/tina_v3.0$
rootroot@cm88:/home/wwt/tina_v3.0$ make kernel_menuconfig
Device Drivers --->
<*> I2C support --->
< > I2C device interface
修改为:
<*> I2C device interface
rootroot@cm88:/home/wwt/tina_v3.0$ make -j12
rootroot@cm88:/home/wwt/tina_v3.0$ pack -d
[ 6.694454] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x5d)
[ 6.708591] xt_time: kernel timezone is -0000
[ 7.325541] request_suspend_state: wakeup (3->0) at 7325517757 (1970-01-01 07:30:17.703822835 UTC)
[ 7.335937] request_suspend_state: wakeup (0->0) at 7335913007 (1970-01-01 07:30:17.714217836 UTC)
[ 7.570229] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts:
Thu Jan 1 15:30:28 CST 1970
Thu Jan 1 15:30:28 CST 1970
wait for next upgrade!!
BusyBox v1.27.2 () built-in shell (ash)
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (Neptune, 5A0C0971)
----------------------------------------------
root@TinaLinux:/#
root@TinaLinux:/#
root@TinaLinux:/# i2c
i2cdetect i2cdump i2cget i2cset
root@TinaLinux:/# i2cdetect -l
i2c-0 i2c twi0 I2C adapter
i2c-1 i2c twi1 I2C adapter
i2c-2 i2c twi2 I2C adapter
root@TinaLinux:/#
root@TinaLinux:/# cd /dev
root@TinaLinux:/dev#
root@TinaLinux:/dev# ll i
i2c-0 i2c-1 i2c-2 input/ ion
root@TinaLinux:/dev# ll i2c*
crw-r--r-- 1 root root 89, 0 Jan 1 15:30 i2c-0
crw-r--r-- 1 root root 89, 1 Jan 1 15:30 i2c-1
crw-r--r-- 1 root root 89, 2 Jan 1 15:30 i2c-2
root@TinaLinux:/dev#
root@TinaLinux:/dev# cd /sys/class/i2c-adapter/
root@TinaLinux:/sys/class/i2c-adapter#
root@TinaLinux:/sys/class/i2c-adapter# ll
drwxr-xr-x 2 root root 0 Jan 1 15:30 .
drwxr-xr-x 49 root root 0 Jan 1 15:30 ..
lrwxrwxrwx 1 root root 0 Jan 1 15:30 i2c-0 -> ../../devices/platform/twi.0/i2c-0
lrwxrwxrwx 1 root root 0 Jan 1 15:30 i2c-1 -> ../../devices/platform/twi.1/i2c-1
lrwxrwxrwx 1 root root 0 Jan 1 15:30 i2c-2 -> ../../devices/platform/twi.2/i2c-2
root@TinaLinux:/sys/class/i2c-adapter#
root@TinaLinux:/sys/class/i2c-adapter#
root@TinaLinux:/sys/class/i2c-adapter# cd i2c-0/
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0#
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0#
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0# ll
drwxr-xr-x 5 root root 0 Jan 1 15:30 .
drwxr-xr-x 4 root root 0 Jan 1 15:30 ..
drwxr-xr-x 3 root root 0 Jan 1 15:31 0-005d
--w------- 1 root root 4096 Jan 1 15:31 delete_device
lrwxrwxrwx 1 root root 0 Jan 1 15:31 device -> ../../twi.0
drwxr-xr-x 3 root root 0 Jan 1 15:30 i2c-dev
-r--r--r-- 1 root root 4096 Jan 1 15:31 name
--w------- 1 root root 4096 Jan 1 15:31 new_device
drwxr-xr-x 2 root root 0 Jan 1 15:31 power
lrwxrwxrwx 1 root root 0 Jan 1 15:31 subsystem -> ../../../../bus/i2c
-rw-r--r-- 1 root root 4096 Jan 1 15:31 uevent
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0#
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0# cd 0-005d
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0/0-005d# ll
drwxr-xr-x 3 root root 0 Jan 1 15:31 .
drwxr-xr-x 5 root root 0 Jan 1 15:30 ..
lrwxrwxrwx 1 root root 0 Jan 1 15:58 driver -> ../../../../../bus/i2c/drivers/gt82x
-r--r--r-- 1 root root 4096 Jan 1 15:58 modalias
-r--r--r-- 1 root root 4096 Jan 1 15:58 name
drwxr-xr-x 2 root root 0 Jan 1 15:58 power
lrwxrwxrwx 1 root root 0 Jan 1 15:58 subsystem -> ../../../../../bus/i2c
-rw-r--r-- 1 root root 4096 Jan 1 15:58 uevent
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0/0-005d# cat name
gt82x
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0/0-005d#
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0/0-005d# cd ..
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0#
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0#
(很容易找到挂载在i2c-0总线上面的gt82x这个CTP!)
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0# i2cdetect -r -y 0
0 1 2 3 4 5 6 7 8 [ 103.674759] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x3)
9 a b c d e f
00: -- [ 103.697774] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x4)
-- [ 103.724715] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x5)
-- [ 103.734313] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x6)
-- [ 103.744388] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x7)
-- [ 103.753967] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x8)
-- [ 103.763621] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x9)
-- [ 103.773358] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0xa)
-- [ 103.782951] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0xb)
-- [ 103.792577] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0xc)
-- [ 103.802256] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0xd)
-- [ 103.811886] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0xe)
-- [ 103.821558] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0xf)
-- [ 103.831154] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x10)
10: [ 103.840907] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x11)
-- -- [ 103.850915] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x12)
-- [ 103.860791] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x13)
-- [ 103.870537] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x14)
-- [ 103.880357] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x15)
-- [ 103.890083] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x16)
-- [ 103.899685] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x17)
-- [ 103.909488] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x18)
-- [ 103.919211] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x19)
-- [ 103.928888] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x1a)
-- [ 103.938705] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x1b)
-- [ 103.948393] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x1c)
-- [ 103.958108] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x1d)
-- [ 103.967784] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x1e)
-- [ 103.977737] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x1f)
--
20: [ 103.988287] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x20)
-- [ 103.998169] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x21)
-- [ 104.007803] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x22)
-- [ 104.017667] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x23)
-- [ 104.027374] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x24)
-- [ 104.037292] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x25)
-- [ 104.047104] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x26)
-- [ 104.056824] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x27)
-- [ 104.066567] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x28)
-- [ 104.076358] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x29)
-- [ 104.085997] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x2a)
-- [ 104.095727] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x2b)
-- [ 104.105487] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x2c)
-- [ 104.115218] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x2d)
-- [ 104.124893] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x2e)
-- [ 104.134669] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x2f)
-- [ 104.144418] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x30)
30: [ 104.154169] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x31)
-- -- [ 104.164040] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x32)
-- [ 104.174039] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x33)
-- [ 104.183764] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x34)
-- [ 104.193535] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x35)
-- [ 104.203188] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x36)
-- [ 104.212952] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x37)
-- [ 104.222665] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x38)
-- [ 104.232328] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x39)
-- [ 104.242090] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x3a)
-- [ 104.251859] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x3b)
-- [ 104.261599] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x3c)
-- [ 104.271229] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x3d)
-- [ 104.280990] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x3e)
-- [ 104.290695] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x3f)
-- [ 104.300433] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x40)
40: [ 104.310063] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x41)
-- -- [ 104.319972] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x42)
-- [ 104.329916] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x43)
-- [ 104.339714] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x44)
-- [ 104.349371] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x45)
-- [ 104.359088] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x46)
-- [ 104.368840] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x47)
-- [ 104.378574] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x48)
-- [ 104.388298] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x49)
-- [ 104.398056] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x4a)
-- [ 104.407798] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x4b)
-- [ 104.417563] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x4c)
-- [ 104.427199] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x4d)
-- [ 104.436989] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x4e)
-- [ 104.446731] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x4f)
-- [ 104.456460] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x50)
50: [ 104.466111] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x51)
-- -- [ 104.476123] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x52)
-- [ 104.486061] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x53)
-- [ 104.495823] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x54)
-- [ 104.505462] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x55)
-- [ 104.515224] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x56)
-- [ 104.524935] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x57)
-- [ 104.534589] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x58)
-- [ 104.544308] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x59)
-- [ 104.554094] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x5a)
-- [ 104.563794] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x5b)
-- [ 104.573484] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x5c)
-- UU [ 104.583255] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x5e)
-- [ 104.593253] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x5f)
-- [ 104.602985] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x60)
60: [ 104.612617] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x61)
-- -- [ 104.622531] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x62)
-- [ 104.632540] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x63)
-- [ 104.642261] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x64)
-- [ 104.651969] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x65)
-- [ 104.661696] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x66)
-- [ 104.671412] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x67)
-- [ 104.681168] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x68)
-- [ 104.690803] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x69)
-- [ 104.700560] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x6a)
-- [ 104.710334] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x6b)
-- [ 104.720070] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x6c)
-- [ 104.729691] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x6d)
-- [ 104.739433] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x6e)
-- [ 104.749172] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x6f)
--
70: [ 104.758967] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x70)
-- [ 104.769109] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x71)
-- [ 104.778831] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x72)
-- [ 104.788555] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x73)
-- [ 104.798321] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x74)
-- [ 104.808001] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x75)
-- [ 104.817772] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x76)
-- [ 104.827494] sunxi_i2c_do_xfer()1001 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x77)
--
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0#
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0#
root@TinaLinux:/sys/devices/platform/twi.0/i2c-0# cd ../i2c-1
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1# ll
drwxr-xr-x 4 root root 0 Jan 1 15:30 .
drwxr-xr-x 4 root root 0 Jan 1 15:30 ..
--w------- 1 root root 4096 Jan 1 15:32 delete_device
lrwxrwxrwx 1 root root 0 Jan 1 15:32 device -> ../../twi.1
drwxr-xr-x 3 root root 0 Jan 1 15:30 i2c-dev
-r--r--r-- 1 root root 4096 Jan 1 15:32 name
--w------- 1 root root 4096 Jan 1 15:32 new_device
drwxr-xr-x 2 root root 0 Jan 1 15:32 power
lrwxrwxrwx 1 root root 0 Jan 1 15:32 subsystem -> ../../../../bus/i2c
-rw-r--r-- 1 root root 4096 Jan 1 15:32 uevent
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
(很容易找到挂载在i2c-1上的设备:0x0D/QMC5883L、0x19/BMA250E、0x23/未知设备)
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1# i2cdetect -r -y 1
0 1 2 3 4 5 6 7 8 [ 116.588736] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x3)
9 a b c d e f
00: -- [ 116.605428] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x4)
-- [ 116.624992] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5)
-- [ 116.642137] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x6)
-- [ 116.655723] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x7)
-- [ 116.670236] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x8)
-- [ 116.679784] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x9)
-- [ 116.689620] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0xa)
-- [ 116.699357] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0xb)
-- [ 116.709019] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0xc)
-- 0d [ 116.718904] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0xe)
-- [ 116.728621] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0xf)
--
10: [ 116.738267] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x10)
-- [ 116.749071] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x11)
-- [ 116.759367] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x12)
-- [ 116.769130] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x13)
-- [ 116.778773] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x14)
-- [ 116.788549] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x15)
-- [ 116.798278] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x16)
-- [ 116.808068] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x17)
-- [ 116.817728] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x18)
-- 19 [ 116.827689] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x1a)
-- [ 116.837456] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x1b)
-- [ 116.847092] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x1c)
-- [ 116.856840] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x1d)
-- [ 116.866677] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x1e)
-- [ 116.876532] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x1f)
--
20: [ 116.886175] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x20)
-- [ 116.896391] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x21)
-- [ 116.906172] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x22)
-- 23 [ 116.916131] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x24)
-- [ 116.925803] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x25)
-- [ 116.935522] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x26)
-- [ 116.945239] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x27)
-- [ 116.954999] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x28)
-- [ 116.964639] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x29)
-- [ 116.974361] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x2a)
-- [ 116.984087] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x2b)
-- [ 116.993802] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x2c)
-- [ 117.003439] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x2d)
-- [ 117.013190] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x2e)
-- [ 117.022930] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x2f)
--
30: [ 117.032692] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x30)
-- [ 117.042828] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x31)
-- [ 117.052542] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x32)
-- [ 117.062273] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x33)
-- [ 117.072037] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x34)
-- [ 117.081701] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x35)
-- [ 117.091446] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x36)
-- [ 117.101166] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x37)
-- [ 117.110894] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x38)
-- [ 117.120539] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x39)
-- [ 117.130286] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x3a)
-- [ 117.139971] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x3b)
-- [ 117.149613] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x3c)
-- [ 117.159338] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x3d)
-- [ 117.169127] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x3e)
-- [ 117.178858] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x3f)
--
40: [ 117.188500] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x40)
-- [ 117.198731] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x41)
-- [ 117.208514] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x42)
-- [ 117.218230] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x43)
-- [ 117.227917] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x44)
-- [ 117.237634] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x45)
-- [ 117.247404] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x46)
-- [ 117.257148] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x47)
-- [ 117.266779] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x48)
-- [ 117.276502] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x49)
-- [ 117.286276] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x4a)
-- [ 117.295993] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x4b)
-- [ 117.305692] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x4c)
-- [ 117.315420] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x4d)
-- [ 117.325211] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x4e)
-- [ 117.334933] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x4f)
--
50: [ 117.344647] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x50)
-- [ 117.354883] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x51)
-- [ 117.364650] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x52)
-- [ 117.374422] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x53)
-- [ 117.384125] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x54)
-- [ 117.393862] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x55)
-- [ 117.403636] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x56)
-- [ 117.413350] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x57)
-- [ 117.422986] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x58)
-- [ 117.432726] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x59)
-- [ 117.442486] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5a)
-- [ 117.452151] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5b)
-- [ 117.461897] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5c)
-- [ 117.471623] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5d)
-- [ 117.481379] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5e)
-- [ 117.491101] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5f)
--
60: [ 117.500836] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x60)
-- [ 117.511066] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x61)
-- [ 117.520837] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x62)
-- [ 117.530578] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x63)
-- [ 117.540212] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x64)
-- [ 117.549951] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x65)
-- [ 117.559674] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x66)
-- [ 117.569319] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x67)
-- [ 117.579060] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x68)
-- [ 117.588785] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x69)
-- [ 117.598516] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x6a)
-- [ 117.608203] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x6b)
-- [ 117.617927] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x6c)
-- [ 117.627658] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x6d)
-- [ 117.637379] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x6e)
-- [ 117.647066] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x6f)
--
70: [ 117.656806] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x70)
-- [ 117.667039] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x71)
-- [ 117.676763] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x72)
-- [ 117.686398] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x73)
-- [ 117.696147] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x74)
-- [ 117.705852] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x75)
-- [ 117.715577] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x76)
-- [ 117.725236] sunxi_i2c_do_xfer()1001 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x77)
--
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1# cd ../i2c-2
root@TinaLinux:/sys/devices/platform/twi.2/i2c-2#
root@TinaLinux:/sys/devices/platform/twi.2/i2c-2# i2cdetect -r -y 2
0 1 2 3 4 5 6 7 8 [ 127.957394] twi_start()450 - [i2c2] START can't sendout!
9 a b c d e f
00: [ 127.977216] twi_start()450 - [i2c2] START can't sendout!
[ 127.996484] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.010565] twi_start()450 - [i2c2] START can't sendout!
[ 128.017737] twi_start()450 - [i2c2] START can't sendout!
[ 128.036295] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.047953] twi_start()450 - [i2c2] START can't sendout!
[ 128.054490] twi_start()450 - [i2c2] START can't sendout!
[ 128.060897] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.067618] twi_start()450 - [i2c2] START can't sendout!
[ 128.074107] twi_start()450 - [i2c2] START can't sendout!
[ 128.080435] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.086979] twi_start()450 - [i2c2] START can't sendout!
[ 128.093379] twi_start()450 - [i2c2] START can't sendout!
[ 128.099735] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.106188] twi_start()450 - [i2c2] START can't sendout!
[ 128.112649] twi_start()450 - [i2c2] START can't sendout!
[ 128.118927] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.125443] twi_start()450 - [i2c2] START can't sendout!
[ 128.131836] twi_start()450 - [i2c2] START can't sendout!
[ 128.138114] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.144630] twi_start()450 - [i2c2] START can't sendout!
[ 128.151030] twi_start()450 - [i2c2] START can't sendout!
[ 128.157388] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.163749] twi_start()450 - [i2c2] START can't sendout!
[ 128.170185] twi_start()450 - [i2c2] START can't sendout!
[ 128.176453] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.182887] twi_start()450 - [i2c2] START can't sendout!
[ 128.189340] twi_start()450 - [i2c2] START can't sendout!
[ 128.195711] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.202074] twi_start()450 - [i2c2] START can't sendout!
[ 128.208602] twi_start()450 - [i2c2] START can't sendout!
[ 128.214900] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.221345] twi_start()450 - [i2c2] START can't sendout!
[ 128.227798] twi_start()450 - [i2c2] START can't sendout!
[ 128.234200] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.240562] twi_start()450 - [i2c2] START can't sendout!
[ 128.246998] twi_start()450 - [i2c2] START can't sendout!
[ 128.253378] twi_start()450 - [i2c2] START can't sendout!
--
10: [ 128.259718] twi_start()450 - [i2c2] START can't sendout!
[ 128.266766] twi_start()450 - [i2c2] START can't sendout!
[ 128.273066] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.279456] twi_start()450 - [i2c2] START can't sendout!
[ 128.286023] twi_start()450 - [i2c2] START can't sendout!
[ 128.292397] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.298728] twi_start()450 - [i2c2] START can't sendout!
[ 128.305332] twi_start()450 - [i2c2] START can't sendout!
[ 128.311620] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.318027] twi_start()450 - [i2c2] START can't sendout!
[ 128.324530] twi_start()450 - [i2c2] START can't sendout!
[ 128.330898] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.337219] twi_start()450 - [i2c2] START can't sendout!
[ 128.343719] twi_start()450 - [i2c2] START can't sendout!
[ 128.350119] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.356446] twi_start()450 - [i2c2] START can't sendout!
[ 128.363014] twi_start()450 - [i2c2] START can't sendout!
[ 128.369290] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.375714] twi_start()450 - [i2c2] START can't sendout!
[ 128.382244] twi_start()450 - [i2c2] START can't sendout!
[ 128.388597] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.394934] twi_start()450 - [i2c2] START can't sendout!
[ 128.401593] twi_start()450 - [i2c2] START can't sendout!
[ 128.407869] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.414402] twi_start()450 - [i2c2] START can't sendout!
[ 128.420753] twi_start()450 - [i2c2] START can't sendout!
[ 128.427112] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.433440] twi_start()450 - [i2c2] START can't sendout!
[ 128.439836] twi_start()450 - [i2c2] START can't sendout!
[ 128.446138] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.452477] twi_start()450 - [i2c2] START can't sendout!
[ 128.458860] twi_start()450 - [i2c2] START can't sendout!
[ 128.465159] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.471588] twi_start()450 - [i2c2] START can't sendout!
[ 128.477911] twi_start()450 - [i2c2] START can't sendout!
[ 128.484296] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.490610] twi_start()450 - [i2c2] START can't sendout!
[ 128.497000] twi_start()450 - [i2c2] START can't sendout!
[ 128.503312] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.509709] twi_start()450 - [i2c2] START can't sendout!
[ 128.516028] twi_start()450 - [i2c2] START can't sendout!
[ 128.522428] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.528739] twi_start()450 - [i2c2] START can't sendout!
[ 128.535148] twi_start()450 - [i2c2] START can't sendout!
[ 128.541460] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.547781] twi_start()450 - [i2c2] START can't sendout!
[ 128.554177] twi_start()450 - [i2c2] START can't sendout!
[ 128.560486] twi_start()450 - [i2c2] START can't sendout!
--
20: [ 128.566919] twi_start()450 - [i2c2] START can't sendout!
[ 128.573731] twi_start()450 - [i2c2] START can't sendout!
[ 128.580129] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.586453] twi_start()450 - [i2c2] START can't sendout!
[ 128.592850] twi_start()450 - [i2c2] START can't sendout!
[ 128.599089] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.605539] twi_start()450 - [i2c2] START can't sendout!
[ 128.611842] twi_start()450 - [i2c2] START can't sendout!
[ 128.618207] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.624538] twi_start()450 - [i2c2] START can't sendout!
[ 128.630941] twi_start()450 - [i2c2] START can't sendout!
[ 128.637217] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.643642] twi_start()450 - [i2c2] START can't sendout!
[ 128.649944] twi_start()450 - [i2c2] START can't sendout!
[ 128.656228] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.662646] twi_start()450 - [i2c2] START can't sendout!
[ 128.668956] twi_start()450 - [i2c2] START can't sendout!
[ 128.675323] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.681676] twi_start()450 - [i2c2] START can't sendout!
[ 128.688056] twi_start()450 - [i2c2] START can't sendout!
[ 128.694370] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.700816] twi_start()450 - [i2c2] START can't sendout!
[ 128.707116] twi_start()450 - [i2c2] START can't sendout!
[ 128.713497] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.719826] twi_start()450 - [i2c2] START can't sendout!
[ 128.726237] twi_start()450 - [i2c2] START can't sendout!
[ 128.732528] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.738937] twi_start()450 - [i2c2] START can't sendout!
[ 128.745304] twi_start()450 - [i2c2] START can't sendout!
[ 128.751578] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.757968] twi_start()450 - [i2c2] START can't sendout!
[ 128.764342] twi_start()450 - [i2c2] START can't sendout!
[ 128.770685] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.777006] twi_start()450 - [i2c2] START can't sendout!
[ 128.783489] twi_start()450 - [i2c2] START can't sendout!
[ 128.789773] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.796165] twi_start()450 - [i2c2] START can't sendout!
[ 128.802544] twi_start()450 - [i2c2] START can't sendout!
[ 128.808866] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.815174] twi_start()450 - [i2c2] START can't sendout!
[ 128.821642] twi_start()450 - [i2c2] START can't sendout!
[ 128.827880] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.834281] twi_start()450 - [i2c2] START can't sendout!
[ 128.840656] twi_start()450 - [i2c2] START can't sendout!
[ 128.846978] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.853291] twi_start()450 - [i2c2] START can't sendout!
[ 128.859637] twi_start()450 - [i2c2] START can't sendout!
[ 128.865989] twi_start()450 - [i2c2] START can't sendout!
--
30: [ 128.872320] twi_start()450 - [i2c2] START can't sendout!
[ 128.879242] twi_start()450 - [i2c2] START can't sendout!
[ 128.885521] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.891907] twi_start()450 - [i2c2] START can't sendout!
[ 128.898245] twi_start()450 - [i2c2] START can't sendout!
[ 128.904606] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.910892] twi_start()450 - [i2c2] START can't sendout!
[ 128.917354] twi_start()450 - [i2c2] START can't sendout!
[ 128.923620] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.929996] twi_start()450 - [i2c2] START can't sendout!
[ 128.936366] twi_start()450 - [i2c2] START can't sendout!
[ 128.942720] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.949010] twi_start()450 - [i2c2] START can't sendout!
[ 128.955387] twi_start()450 - [i2c2] START can't sendout!
[ 128.961740] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.968038] twi_start()450 - [i2c2] START can't sendout!
[ 128.974488] twi_start()450 - [i2c2] START can't sendout!
[ 128.980754] twi_start()450 - [i2c2] START can't sendout!
-- [ 128.987140] twi_start()450 - [i2c2] START can't sendout!
[ 128.993504] twi_start()450 - [i2c2] START can't sendout!
[ 128.999826] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.006161] twi_start()450 - [i2c2] START can't sendout!
[ 129.012604] twi_start()450 - [i2c2] START can't sendout!
[ 129.018846] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.025258] twi_start()450 - [i2c2] START can't sendout!
[ 129.031617] twi_start()450 - [i2c2] START can't sendout!
[ 129.037946] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.044313] twi_start()450 - [i2c2] START can't sendout!
[ 129.050753] twi_start()450 - [i2c2] START can't sendout!
[ 129.056993] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.063322] twi_start()450 - [i2c2] START can't sendout!
[ 129.069759] twi_start()450 - [i2c2] START can't sendout!
[ 129.076011] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.082419] twi_start()450 - [i2c2] START can't sendout!
[ 129.088772] twi_start()450 - [i2c2] START can't sendout!
[ 129.095110] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.101466] twi_start()450 - [i2c2] START can't sendout!
[ 129.107891] twi_start()450 - [i2c2] START can't sendout!
[ 129.114176] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.120617] twi_start()450 - [i2c2] START can't sendout!
[ 129.126952] twi_start()450 - [i2c2] START can't sendout!
[ 129.133355] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.139614] twi_start()450 - [i2c2] START can't sendout!
[ 129.146111] twi_start()450 - [i2c2] START can't sendout!
[ 129.152408] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.158670] twi_start()450 - [i2c2] START can't sendout!
[ 129.165155] twi_start()450 - [i2c2] START can't sendout!
[ 129.171452] twi_start()450 - [i2c2] START can't sendout!
--
40: [ 129.177835] twi_start()450 - [i2c2] START can't sendout!
[ 129.184740] twi_start()450 - [i2c2] START can't sendout!
[ 129.191107] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.197378] twi_start()450 - [i2c2] START can't sendout!
[ 129.203831] twi_start()450 - [i2c2] START can't sendout!
[ 129.210101] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.216460] twi_start()450 - [i2c2] START can't sendout!
[ 129.222869] twi_start()450 - [i2c2] START can't sendout!
[ 129.229217] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.235521] twi_start()450 - [i2c2] START can't sendout!
[ 129.241998] twi_start()450 - [i2c2] START can't sendout!
[ 129.248269] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.254641] twi_start()450 - [i2c2] START can't sendout!
[ 129.261053] twi_start()450 - [i2c2] START can't sendout!
[ 129.267344] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.273727] twi_start()450 - [i2c2] START can't sendout!
[ 129.280121] twi_start()450 - [i2c2] START can't sendout!
[ 129.286490] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.292788] twi_start()450 - [i2c2] START can't sendout!
[ 129.299228] twi_start()450 - [i2c2] START can't sendout!
[ 129.305553] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.311909] twi_start()450 - [i2c2] START can't sendout!
[ 129.318291] twi_start()450 - [i2c2] START can't sendout!
[ 129.324676] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.330955] twi_start()450 - [i2c2] START can't sendout!
[ 129.337419] twi_start()450 - [i2c2] START can't sendout!
[ 129.343725] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.350123] twi_start()450 - [i2c2] START can't sendout!
[ 129.356421] twi_start()450 - [i2c2] START can't sendout!
[ 129.362721] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.369125] twi_start()450 - [i2c2] START can't sendout!
[ 129.375441] twi_start()450 - [i2c2] START can't sendout!
[ 129.381874] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.388201] twi_start()450 - [i2c2] START can't sendout!
[ 129.394599] twi_start()450 - [i2c2] START can't sendout!
[ 129.400914] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.407306] twi_start()450 - [i2c2] START can't sendout!
[ 129.413620] twi_start()450 - [i2c2] START can't sendout!
[ 129.419987] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.426336] twi_start()450 - [i2c2] START can't sendout!
[ 129.432723] twi_start()450 - [i2c2] START can't sendout!
[ 129.439005] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.445437] twi_start()450 - [i2c2] START can't sendout!
[ 129.451794] twi_start()450 - [i2c2] START can't sendout!
[ 129.458147] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.464482] twi_start()450 - [i2c2] START can't sendout!
[ 129.470809] twi_start()450 - [i2c2] START can't sendout!
[ 129.477174] twi_start()450 - [i2c2] START can't sendout!
--
50: [ 129.483566] twi_start()450 - [i2c2] START can't sendout!
[ 129.490453] twi_start()450 - [i2c2] START can't sendout!
[ 129.496731] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.503183] twi_start()450 - [i2c2] START can't sendout!
[ 129.509476] twi_start()450 - [i2c2] START can't sendout!
[ 129.515810] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.522160] twi_start()450 - [i2c2] START can't sendout!
[ 129.528538] twi_start()450 - [i2c2] START can't sendout!
[ 129.534844] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.541267] twi_start()450 - [i2c2] START can't sendout!
[ 129.547563] twi_start()450 - [i2c2] START can't sendout!
[ 129.553938] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.560256] twi_start()450 - [i2c2] START can't sendout!
[ 129.566563] twi_start()450 - [i2c2] START can't sendout!
[ 129.572933] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.579241] twi_start()450 - [i2c2] START can't sendout!
[ 129.585696] twi_start()450 - [i2c2] START can't sendout!
[ 129.591980] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.598363] twi_start()450 - [i2c2] START can't sendout!
[ 129.604778] twi_start()450 - [i2c2] START can't sendout!
[ 129.611140] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.617452] twi_start()450 - [i2c2] START can't sendout!
[ 129.623897] twi_start()450 - [i2c2] START can't sendout!
[ 129.630162] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.636508] twi_start()450 - [i2c2] START can't sendout!
[ 129.642920] twi_start()450 - [i2c2] START can't sendout!
[ 129.649293] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.655574] twi_start()450 - [i2c2] START can't sendout!
[ 129.662068] twi_start()450 - [i2c2] START can't sendout!
[ 129.668353] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.674630] twi_start()450 - [i2c2] START can't sendout!
[ 129.681121] twi_start()450 - [i2c2] START can't sendout!
[ 129.687408] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.693771] twi_start()450 - [i2c2] START can't sendout!
[ 129.700168] twi_start()450 - [i2c2] START can't sendout!
[ 129.706530] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.712814] twi_start()450 - [i2c2] START can't sendout!
[ 129.719287] twi_start()450 - [i2c2] START can't sendout!
[ 129.725598] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.731956] twi_start()450 - [i2c2] START can't sendout!
[ 129.738345] twi_start()450 - [i2c2] START can't sendout!
[ 129.744741] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.751033] twi_start()450 - [i2c2] START can't sendout!
[ 129.757499] twi_start()450 - [i2c2] START can't sendout!
[ 129.763798] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.770070] twi_start()450 - [i2c2] START can't sendout!
[ 129.776509] twi_start()450 - [i2c2] START can't sendout!
[ 129.782821] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.789181] twi_start()450 - [i2c2] START can't sendout!
60: [ 129.795571] twi_start()450 - [i2c2] START can't sendout!
[ 129.802191] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.808502] twi_start()450 - [i2c2] START can't sendout!
[ 129.814931] twi_start()450 - [i2c2] START can't sendout!
[ 129.821250] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.827594] twi_start()450 - [i2c2] START can't sendout!
[ 129.833993] twi_start()450 - [i2c2] START can't sendout!
[ 129.840377] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.846637] twi_start()450 - [i2c2] START can't sendout!
[ 129.853090] twi_start()450 - [i2c2] START can't sendout!
[ 129.859368] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.865742] twi_start()450 - [i2c2] START can't sendout!
[ 129.872129] twi_start()450 - [i2c2] START can't sendout!
[ 129.878398] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.884779] twi_start()450 - [i2c2] START can't sendout!
[ 129.891178] twi_start()450 - [i2c2] START can't sendout!
[ 129.897535] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.903838] twi_start()450 - [i2c2] START can't sendout!
[ 129.910313] twi_start()450 - [i2c2] START can't sendout!
[ 129.916602] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.922973] twi_start()450 - [i2c2] START can't sendout!
[ 129.929352] twi_start()450 - [i2c2] START can't sendout!
[ 129.935735] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.942021] twi_start()450 - [i2c2] START can't sendout!
[ 129.948512] twi_start()450 - [i2c2] START can't sendout!
[ 129.954807] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.961186] twi_start()450 - [i2c2] START can't sendout!
[ 129.967536] twi_start()450 - [i2c2] START can't sendout!
[ 129.973838] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.980220] twi_start()450 - [i2c2] START can't sendout!
[ 129.986608] twi_start()450 - [i2c2] START can't sendout!
[ 129.992986] twi_start()450 - [i2c2] START can't sendout!
-- [ 129.999257] twi_start()450 - [i2c2] START can't sendout!
[ 130.005784] twi_start()450 - [i2c2] START can't sendout!
[ 130.012077] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.018455] twi_start()450 - [i2c2] START can't sendout!
[ 130.024846] twi_start()450 - [i2c2] START can't sendout!
[ 130.031220] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.037508] twi_start()450 - [i2c2] START can't sendout!
[ 130.044116] twi_start()450 - [i2c2] START can't sendout!
[ 130.050436] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.056793] twi_start()450 - [i2c2] START can't sendout!
[ 130.063190] twi_start()450 - [i2c2] START can't sendout!
[ 130.069560] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.075842] twi_start()450 - [i2c2] START can't sendout!
[ 130.082259] twi_start()450 - [i2c2] START can't sendout!
[ 130.088611] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.094905] twi_start()450 - [i2c2] START can't sendout!
70: [ 130.101400] twi_start()450 - [i2c2] START can't sendout!
[ 130.107869] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.114283] twi_start()450 - [i2c2] START can't sendout!
[ 130.120658] twi_start()450 - [i2c2] START can't sendout!
[ 130.127021] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.133306] twi_start()450 - [i2c2] START can't sendout!
[ 130.139760] twi_start()450 - [i2c2] START can't sendout!
[ 130.146055] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.152422] twi_start()450 - [i2c2] START can't sendout!
[ 130.158764] twi_start()450 - [i2c2] START can't sendout!
[ 130.165168] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.171458] twi_start()450 - [i2c2] START can't sendout!
[ 130.177832] twi_start()450 - [i2c2] START can't sendout!
[ 130.184218] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.190500] twi_start()450 - [i2c2] START can't sendout!
[ 130.196951] twi_start()450 - [i2c2] START can't sendout!
[ 130.203265] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.209610] twi_start()450 - [i2c2] START can't sendout!
[ 130.216010] twi_start()450 - [i2c2] START can't sendout!
[ 130.222394] twi_start()450 - [i2c2] START can't sendout!
-- [ 130.228654] twi_start()450 - [i2c2] START can't sendout!
[ 130.235132] twi_start()450 - [i2c2] START can't sendout!
[ 130.241426] twi_start()450 - [i2c2] START can't sendout!
--
root@TinaLinux:/sys/devices/platform/twi.2/i2c-2#
root@TinaLinux:/sys/devices/platform/twi.2/i2c-2# i2cdetect -r -y 3
Error: Could not open file `/dev/i2c-3' or `/dev/i2c/3': No such file or directory
root@TinaLinux:/sys/devices/platform/twi.2/i2c-2#
root@TinaLinux:/sys/devices/platform/twi.2/i2c-2#
root@TinaLinux:/sys/devices/platform/twi.2/i2c-2# cd ../i2c-1
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1# ll
drwxr-xr-x 4 root root 0 Jan 1 15:30 .
drwxr-xr-x 4 root root 0 Jan 1 15:30 ..
--w------- 1 root root 4096 Jan 1 15:32 delete_device
lrwxrwxrwx 1 root root 0 Jan 1 15:32 device -> ../../twi.1
drwxr-xr-x 3 root root 0 Jan 1 15:30 i2c-dev
-r--r--r-- 1 root root 4096 Jan 1 15:32 name
--w------- 1 root root 4096 Jan 1 15:32 new_device
drwxr-xr-x 2 root root 0 Jan 1 15:32 power
lrwxrwxrwx 1 root root 0 Jan 1 15:32 subsystem -> ../../../../bus/i2c
-rw-r--r-- 1 root root 4096 Jan 1 15:32 uevent
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
(可以清楚地看到QMC5883L的设备地址0x0D号寄存器的值为0xFF!)
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1# i2cdump -f -y 1 0x0D
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 01 ff 00 00 ............?...
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
20: 0f 03 ff ff ff 00 00 00 00 00 ff ff ff 00 00 00 ??..............
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
root@TinaLinux:/sys/devices/platform/twi.1/i2c-1#
460在全志r16平台tinav3.0系统下使用i2c-tools的更多相关文章
- 461在全志r16平台tinav3.0系统下使用地磁计QMC5883L
461在全志r16平台tinav3.0系统下使用地磁计QMC5883L 2018/9/7 14:08 版本:V1.0 开发板:SC3817R SDK:tina v3.0 (基本确认全志tina v3. ...
- 501在全志r16平台tinav3.0系统下调通pwm1的10KHZ波形
501在全志r16平台tinav3.0系统下调通pwm1的10KHZ波形 2018/10/19 19:52 版本:V1.0 开发板:SC3817R SDK:tina v3.0 1.01原始编译全志r1 ...
- 009全志R16平台tinav3.0下编译不过的问题
009全志R16平台tinav3.0下编译不过的问题 2018/11/13 11:39 版本:V1.0 开发板:SC3817R SDK:tina v3.0 1.01原始编译全志r16平台tinav3. ...
- 001原始编译全志r6平台tinav3.0.2系统
001原始编译全志r6平台tinav3.0.2系统 2018/6/8 11:32 版本:V1.0 开发板:R6 SDK:tina v3.0.2 1.01原始编译全志r16平台tinav3.0系统: r ...
- 31全志r58平台Android4.4.2下打开USB摄像头
31全志r58平台Android4.4.2下打开USB摄像头 2018/10/26 16:00 版本:V1.0 开发板:SC5806 1.系统编译:(略) 2.需要修改的文件: W:\r58_andr ...
- 02全志r58平台Android4.4.4下关闭内核中的CPU的开启关闭提示
02全志r58平台Android4.4.4下关闭内核中的CPU的开启关闭提示 2017/8/18 13:53 版本:V1.0 开发板:SC5806(全志R58平台) SDK:android4.4.4 ...
- <03>labview在winCE6.0系统下的程序移植与界面开发
任务布置:labview与winCE开发<3> 要求一:学会TouchPane的环境配置,建立调试通道:要求二:掌握触控屏幕界面优化: 正文: 今天介绍labview虚拟仪器软件中 Tou ...
- 关于iphone6/5/4s 在iOS8.0系统下 仅仅读@3x图片
做iphone6和plus适配时候发现一个问题,先来看图(一下讨论所有在真机下完毕,非模拟器) 128*750图片是 nav@2x.png watermark/2/text/aHR0cDovL2Js ...
- ionic3 在ios9.0 系统下 会出现ReferenceError:Can't find variable:Intl 错误提示
ionic3 框架开发app 在ios 9.0版本中 ReferenceError:Can't find variable:Intl 错误提示: 在index.html 文件中添加 <scri ...
随机推荐
- Ctags基本配置
一般linux系统都会自带ctags,也可输入"ctags"看有木有该命令.有的话速度配置吧,没有话yum install ctags安装吧. 打开vim 配置文件,要是没该文件就 ...
- JavaScript语言基础12
使用if语句时.假设碰到很多个条件时,就不应该继续使用if语句了,JavaScript提供了一个更高效的替代方案,那就是switch语句,我们先看看switch语句的模板: <HTML> ...
- Tomcat9无法启动
闲来无事,重新学习一下Java, 去Tomcat官网下载Tomcat,各种版本,7-8-9,果断下载最新的9,解压后,无需安装,到bin文件夹下启动, 结果总是一闪而过,百度: 1.查看8080是否占 ...
- V4L学习
http://blog.csdn.net/wangrunmin/article/details/7764768# http://blog.sina.com.cn/s/blog_a44175a90101 ...
- (转)Java中JSON字符串与java对象的互换实例详解
在开发过程中,经常需要和别的系统交换数据,数据交换的格式有XML.JSON等,JSON作为一个轻量级的数据格式比xml效率要高,XML需要很多的标签,这无疑占据了网络流量,JSON在这方面则做的很好, ...
- ubuntu切换中英文通用方法,ubuntu中文语言
1:点击桌面右上角的齿轮,选择“system settings”进入系统设置界面
- bzoj5333: [Sdoi2018]荣誉称号
请不要去改题目给的输入,不然你会wa穿... 这么故弄玄虚的题目,肯定要先转换问题 看到这个不断的除2想起别人家的线段树的写法...x的两个孩子是x<<1和x<<1|1 然后问 ...
- RabbitMQ的远程Web管理与监控工具
RabbitMQ提供了完善的管理和监控工具,分management plugin 和 rabbitmqctl 两种类型的工具. 1.management plugin rabbitmq-manage ...
- DOM方式解析xml实例2
老样子,javabean实体类: import java.io.*; public class Book implements Serializable { private int id; priva ...
- Mac下svn搭建和使用方法
先安装svn服务器,然后执行以下步骤: 1.创建svn服务器库:svnadmin create ~/Documents/tools/svn/server/code 2.启动svn服务器:svnserv ...