intermediaterepresentation / android_device_htc_endeavor

HTC Endeavor device
18 stars 24 forks source link

Custom liblights #16

Closed tgascoigne closed 12 years ago

tgascoigne commented 12 years ago

Should fix #11. Seems to work but I haven't had time to test too extensively, can anyone verify?

intermediaterepresentation commented 12 years ago

Does this include the red LED? I don't see that mentioned in liblights. I thought the issue was with the kernel driver:

https://github.com/intermediaterepresentation/android_kernel_htc_endeavor/blob/master/drivers/leds/leds-lp5521_htc.c

tgascoigne commented 12 years ago

The kernel seems to set up the red led as /sys/class/leds/amber, the liblights included uses this path for the red led and it seems to be working okay. There could be another way to fix this by making the kernel set it up under the correct path, though this is sufficient and doesn't require us to patch the kernel.

tgascoigne commented 12 years ago

Unless it's a kernel config problem? Has anyone tried flashing franco's kernel to see if the leds get set up properly there?

intermediaterepresentation commented 12 years ago

merged in