[12503.835235] [SSP]: show_sensors_enable - cur_enable = 3
<6>[12503.835387] [SSP]: set_sensors_enable - new_enable = 19, old_enable = 3
<6>[12503.835601] [SSP]: change_sensor_delay - add 16, New = 200000000ns
<6>[12503.839080] [SSP]: send_instruction - Inst = 0xa1, Sensor Type = 0x4, data = 3
<6>[12503.839446] [SSP]: change_sensor_delay - Change 16, New = 10000000ns
<6>[12503.845886] [SSP]: MSG From MCU - GEO
what I found so far:
echoing numbers: $? = 0 (normal exit value)
echoing letters: $? = 1 (error exit value)
dmesg while samsung service writes to it:
Anything that comes up in a dmesg is the kernel writing to it. So I don't think you'll be able to write to it unless you mod the kernel somehow
Sent from my SGH-M919 using Tapatalk
Of course kernel manage it but that's why sysfs exists, to communicate between userspace and kernel
Enviado desde mi GT-I9505 mediante Tapatalk
You can write apps in c code instead of Java and they will run on android!?
Sent from my SGH-M919 using Tapatalk
I think I don't need an app, I just need to understand the driver's source code to find out how to write to its sysfs
Enviado desde mi GT-I9505 mediante Tapatalk