HopelessFantasy / openetna

Automatically exported from code.google.com/p/openetna
0 stars 0 forks source link

no light on hardware keyboard #377

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Did you search through the other issues to make sure that this issue has
not been already reported? no 
Did you look at the FAQ http://openetna.com/openetna/test ?
link is still dead 

What steps will reproduce the problem?
1.slide out keyboard
2.
3.

What is the expected output? What do you see instead?
keyboard should light up so you can see it properly, but the light remains off 

What version of the boot.img and system.img are you using?
bootv6.3-rc2.img and System6.3-rc2.img

Can you provide logcat output during that error?
not sure where to find that, will update the issue when i figure it out

Please provide any additional information below.

Original issue reported on code.google.com by markp1...@gmail.com on 6 Feb 2011 at 11:22

GoogleCodeExporter commented 9 years ago
I have the same issue

Original comment by benoit.f...@gmail.com on 6 Feb 2011 at 12:05

GoogleCodeExporter commented 9 years ago
I too have this same issue. I will research logcat and try to send more info. 
systemV6.3-rc2.img and bootV6.3-rc2.img

Original comment by ivan...@gmail.com on 6 Feb 2011 at 5:44

GoogleCodeExporter commented 9 years ago
This issue happens to me too but not all the time... seems random can't quite 
figure out the trigger

Original comment by cla...@gmail.com on 7 Feb 2011 at 2:11

GoogleCodeExporter commented 9 years ago
OK I found a trigger or a way to turn it on. Probably just missing the code 
that tells it to turn on in the slide open function. Anyways if ur backlight is 
off and you want it just open the notification bar and tap the auto screen 
brightness button it will turn on the keyboard! Decent for now until they fix 
this slight yet annoying problem :) openetna FTW

Original comment by cla...@gmail.com on 7 Feb 2011 at 2:51

GoogleCodeExporter commented 9 years ago
upon further invistigation ive I'vecome to the reaalization that the keyboard 
turns on if its bright around and doesnt doesn'tturn on if its dark outside. 
Seems it should obviously be the reverse. Brightness button trick works fine 
for me

Original comment by cla...@gmail.com on 7 Feb 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Values for that light-level at different reported brightnesses can be found in 
device/lg/eve/overlay/frameworks/base/core/res/res/values/config.xml.
Maybe someone want to try out reasonable values?

Original comment by polyth...@gmail.com on 7 Feb 2011 at 7:41

GoogleCodeExporter commented 9 years ago

Original comment by trmfrei...@gmail.com on 8 Feb 2011 at 1:40

GoogleCodeExporter commented 9 years ago
This is still happening. In a dark room no keyboard light.
Also: backlight is too strong. In a dark environment back light should be at 
minimum.

Original comment by trmfrei...@gmail.com on 9 Feb 2011 at 11:10

GoogleCodeExporter commented 9 years ago
Its just a matter of using a sensor app (like MySensors) and then choosing for 
each brightness level (0-15) a reasonable value for the backlight brigthness 
(0-99).
Those values must then be written down in
device/lg/eve/overlay/frameworks/base/core/res/res/values/config.xml
in the arrays config_autoBrightnessLevels, 
config_autoBrightnessLcdBacklightValues,
config_autoBrightnessButtonBacklightValues and 
config_autoBrightnessKeyboardBacklightValues.

Original comment by polyth...@gmail.com on 9 Feb 2011 at 2:19

GoogleCodeExporter commented 9 years ago
I have tested my phone with MySensors and Brightness does not report any value.

Original comment by trmfrei...@gmail.com on 9 Feb 2011 at 11:22

GoogleCodeExporter commented 9 years ago
You only see sensor values, when they change, so you may need a Torch or hold 
your finger over the lightsensor to see an initial value.

Original comment by polyth...@gmail.com on 10 Feb 2011 at 11:05

GoogleCodeExporter commented 9 years ago
Yes. You were right. :)

Original comment by trmfrei...@gmail.com on 10 Feb 2011 at 1:33

GoogleCodeExporter commented 9 years ago
It happen again in 6.3-rc5, my keyboard doesnt lightup...

Original comment by SamSamb...@gmail.com on 11 Feb 2011 at 5:42

GoogleCodeExporter commented 9 years ago
Yes. This is not fixed yet.

A volunteer is needed.

Original comment by trmfrei...@gmail.com on 11 Feb 2011 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by trmfrei...@gmail.com on 13 Feb 2011 at 12:24

GoogleCodeExporter commented 9 years ago
same, keyboard doesn't light up in 6.3-rc5

Original comment by Adhi.Muk...@gmail.com on 13 Feb 2011 at 1:46

GoogleCodeExporter commented 9 years ago
Issue 413 has been merged into this issue.

Original comment by trmfrei...@gmail.com on 13 Feb 2011 at 11:47

GoogleCodeExporter commented 9 years ago
I opened CyanogenMod settings and I accessed User interface. There I have 
checked all position for accelerometer rotation. (it helpes when the drawer bar 
disapears from the desctop screen to turn the tel. upside down and back.)  I 
turned the tel in all around and when I fliped the screen the keyboard's light 
WAS ON! For first time since I installed V6.3-rc6.       Hope it helpes.

Original comment by rae...@googlemail.com on 13 Feb 2011 at 12:27

GoogleCodeExporter commented 9 years ago
I have discovered that the keyboard lights up if you give some light but not 
too much to the sensor.
It also appears that if you vary you can get the keyboard to light up.

Like this:
Give some strong light to the sensor.
Reduce the light and the keyboard will be on.

Trying to understand now why the keylights aren't being activated sometimes.

Original comment by trmfrei...@gmail.com on 13 Feb 2011 at 12:34

GoogleCodeExporter commented 9 years ago
It appears I have fixed this (it's working on my build).

Will be testing these.

Polytheus, what should I do after deciding that this is ready?

Original comment by trmfrei...@gmail.com on 13 Feb 2011 at 5:08

GoogleCodeExporter commented 9 years ago
Please present the patch here, so we can have a look.

Original comment by polyth...@gmail.com on 13 Feb 2011 at 5:41

GoogleCodeExporter commented 9 years ago
device/lg/eve/overlay/frameworks/base/core/res/res/values/config.xml
 > config.diff

frameworks/base/services/java/com/android/server/PowerManagerService.java
 > PowerManagerService.diff

Original comment by trmfrei...@gmail.com on 13 Feb 2011 at 6:05

Attachments:

GoogleCodeExporter commented 9 years ago
Please do not change mSpew and remove the lines you have commented out.
In config_autoBrightnessLevels, there should not be an "0" entry, as the 
comment states "Zone 0:        0 <= LUX < array[0]", but there will never be an 
LUX value smaller then zero. And there needs not to be a "15" entry, as the 
last region extends to infinity.

The rest looks good. Tell me your github account name and I will give you the 
necessary permissions.

Original comment by polyth...@gmail.com on 13 Feb 2011 at 8:30

GoogleCodeExporter commented 9 years ago
Mspew was already changed as it was just changed for debug. Will remove 
commented code and check in later.

Thank you

Original comment by trmfrei...@gmail.com on 13 Feb 2011 at 9:37

GoogleCodeExporter commented 9 years ago
My github account is trmfreitas

Original comment by trmfrei...@gmail.com on 13 Feb 2011 at 11:15

GoogleCodeExporter commented 9 years ago
I have not seen anyone make this comment but, running 6.3-rc6, the keyboard, 
the home and the back button light only up when there is no sim card installed. 
With the sim card in place there is no backlight on the keyboard, home and back 
button. Could anyone confirm this? Anyway, I hope this information helps to 
solve the mystery.

Original comment by hugo.be...@gmail.com on 14 Feb 2011 at 10:54

GoogleCodeExporter commented 9 years ago
That is very strange what you are reporting.

Did you fastboot -w ?
On my phone I did not have that issue.

With my changes everything appears to be working fine.

Original comment by trmfrei...@gmail.com on 14 Feb 2011 at 11:36

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Is it reated to Google Apps? (gapps) My Home button didn't work when I had no 
Google Apps, also the backlight of the keyboard as the backlight of the home 
and back buttons didn't work.

I have Google Apps installed now, restarted my phone a several times and now it 
works with 6.3-rc6. And I have a SIM card inserted.

I did a fastboot -w before I flashed.

Sorry for deletion of my post (Is there a way to edit?), but I did get another 
idea why it worked by me. I had already an older version of OpenEtna. After I 
installed Google Apps, other applications where getting back. (I guess from SD 
card? Or is it Google which knows which app I had installed?) Maybe the setting 
of the backlight and home-button were also reverted?

Original comment by scorneli...@gmail.com on 14 Feb 2011 at 2:20

GoogleCodeExporter commented 9 years ago
Hi, regarding my comment #26. 

It works partially. I always use fastboot -w before intalling a new rom, but I 
guess that doing it once was not enough this time. 

I did, yet again, a fastboot -w five times and used winflasher to intall the 
rom, installed gapps after I formatted the sd card several times, the home and 
back button backlight work.

The keyboard backlight remains a problem. Initially it did work but after I 
connected the phone to my pc it does not work anymore. The same goes for the 
home and back button. I rebooted it several times. When I connect the phone to 
AC to charge it the home and back button do light up. The keyboard does not.

Original comment by hugo.be...@gmail.com on 14 Feb 2011 at 5:24

GoogleCodeExporter commented 9 years ago
This is committed to the repository and will be included in the next version.

Original comment by trmfrei...@gmail.com on 14 Feb 2011 at 5:39

GoogleCodeExporter commented 9 years ago
thanks for sorting it, first bug report I have made and it got sorted out in 
under a week :) 

looking forward to the new version 

Original comment by markp1...@gmail.com on 14 Feb 2011 at 6:34

GoogleCodeExporter commented 9 years ago

Original comment by trmfrei...@gmail.com on 20 Feb 2011 at 5:39