View Single Post
Old 03-12-2019, 02:39 PM   #22
BloodRagg
Zealot
BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.BloodRagg ought to be getting tired of karma fortunes by now.
 
BloodRagg's Avatar
 
Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
Quote:
Originally Posted by pazos View Post
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) ~]#
---

Last edited by BloodRagg; 03-12-2019 at 02:48 PM.
BloodRagg is offline   Reply With Quote