intermediaterepresentation / android_device_htc_endeavor

HTC Endeavor device
18 stars 24 forks source link

LED issues #11

Closed intermediaterepresentation closed 12 years ago

intermediaterepresentation commented 12 years ago

Red LED in particular is not working.

gorbi commented 12 years ago

@tgascoigne I couldn't get LED to work :(.. Working on your end :) ?

tgascoigne commented 12 years ago

@gorbi strange.. It seemed to work whilst I was testing. Is the new libsensors getting built? in /system/lib/hw you should have a lights.endeavoru.so and lights.goldfish.so but no lights.tegra.so. You might have to re-run extract-files.sh because the proprietary-files have been modified, and you'll also need to re-flash boot.img because the init scripts have been modified.

gorbi commented 12 years ago

@tgascoigne i have only one file lights.goldfish.so :(

tgascoigne commented 12 years ago

Found the problem. Making the modification @intermediaterepresentation suggested, the lights library was renamed to lights.tegra.so, but full_endeavoru.mk was still looking for lights.endeavoru. I've pushed a change that should make sure the lib gets put into the build to my repo at tgascoigne/android_device_htc_endeavor, would you mind testing this, @gorbi?

gorbi commented 12 years ago

@tgascoigne Building....

tgascoigne commented 12 years ago

@gorbi Strange, I've not come across that :/ is the repo still intact at device/htc/endeavoru?

gorbi commented 12 years ago

@tgascoigne Sorry I had messed up the directory... Its building... Your repo is fine :)

Sorry again!!! My bad!!! :( :(

tgascoigne commented 12 years ago

@gorbi No worries :) We just need to make sure this fix is working properly

tgascoigne commented 12 years ago

Just to add to this, I've just built the stock kernel and the red led is still initialized under /sys/class/leds/amber, so I think building liblights from source is the only way to reliably fix the leds. If we patched the kernel, we'd have to release patches for all the kernels available which is impractical :/

gorbi commented 12 years ago

@tgascoigne Yeah agree :)

LED doesn't keeping blinking after a notification(Just blinks once).. Charging shows red but it keeps blinking till charger is attached...

gorbi commented 12 years ago

@tgascoigne How does LED work for you :)?

tgascoigne commented 12 years ago

My builds seem to work okay. Red light when charging, green when full, blink on notification. On Jun 1, 2012 4:46 PM, "gorbi" < reply@reply.github.com> wrote:

@tgascoigne How does LED work for you :)?


Reply to this email directly or view it on GitHub:

https://github.com/intermediaterepresentation/android_device_htc_endeavor/issues/11#issuecomment-6063616

gorbi commented 12 years ago

strange :\ .. lets see leave :) @tgascoigne

intermediaterepresentation commented 12 years ago

Works here.

intermediaterepresentation commented 12 years ago

Things should be okay now on the latest...let's open this back up if it persists.