Quote:
Originally Posted by pazos
I think that's a matter of firmware. Old kernel 2.6 didn't expose the g_sensor as an input device. Probably newer firmwares switched to a newer kernel where that driver is enabled. Not sure about the firmwares but I bet you're on kernel 3.0.2x.
light controller should be exposed too as a sysfs node (on /sys/class/backlight or /sys/class/platform).
|
I get your point, but im on 2.6.35.3-850-gbc67621+. So i do not know how that piece would fit.
(pmic is the powerled)
---
[root@(none) ~]# uname -a
Linux (none) 2.6.35.3-850-gbc67621+ #1041 PREEMPT Thu Dec 22 16:01:10 CST 2016 armv7l GNU/Linux
[root@(none) ~]# find /sys -iname 'backlight*'
[root@(none) ~]# find /sys -iname 'platform'
/sys/devices/platform
/sys/bus/platform
[root@(none) ~]# find /sys -iname '*_light*'
/sys/devices/platform/pmic_light.1
/sys/bus/platform/devices/pmic_light.1
/sys/bus/platform/drivers/pmic_light
/sys/bus/platform/drivers/pmic_light/pmic_light.1
[root@(none) ~]#
---