View Single Post
Old 06-30-2012, 10:19 AM   #11
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by baf View Post
In 5.1 kernel they build it without mma8453. In arch/arm/mach-mx5/mx50_yoshi.c:
...
So i2c device is not instantiated automagically.

However I scanned i2c bus and device with address 0x1c is located on bus 0:
...
To instantiate it manualy I did:

Code:
[root@kindle test]# echo mma8453 0x1c > /sys/devices/virtual/i2c-adapter/i2c-0/new_device
...
Also /dev/input/event4 is created, which gives some output when I move device.
Awesome detective work! Thanks!
geekmaster is offline   Reply With Quote