-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ttys completely dark #14
Comments
That actually tells me that setting the backlight succeeded but after 3 retries. I've pushed a debug branch. Can you test that branch and give me the "dmesg | grep mba6x" ? |
I had a similar issue to @cyrofilho one, when I start my system (ArchLinux, Linux 3.15.7, GNOME) the screen is not visible at all but it becomes visible if I press the brightness buttons. Also, when I switch to a VT, login in the VT, switch back to X and switch again to VT I see this output in the VT (not necessary the same timestamps):
I installed the
I hope this helps. |
@eagleoneraptor thanks for the report This is very confusing. We're setting the backlight brightness to 150 when the module loads so the backlight should be on. Perhaps the chip needs some time to switch from PWM mode to register mode. I've pushed a patch to the debug branch that sleeps for 50ms after the mode switch. Could you try it and tell me if it helps or not. |
@patjak well... this is weird, reproduced steps:
Compiled, installed, rebooted and worked! an interesting output, but I reboot to test it again without copying the module output (sorry again).
Note that the output lines timestamped > 24 is when I pressed the brightness button to fix the backlight.
The line:
is always appearing as explained before (in VT output), also, I remember that it appeared in step 3 but in the |
Ok... today a turned on the laptop and I didn't need it to press the brightness buttons to see the screen, the start up was just fine, the log is slightly different:
|
I've push a patch to the master branch that might make a difference. Please try and report back. |
Hello, it seems like I have the same problem as the creator of the issue. After turning on my Macbook Air (2014, Arch Linux), the screen goes completely dark. After that, the module printed this into the console:
about 20 times, then said dmesg shows that the module also said |
@AlexanderSelzer I had this same behaviour, but please check Issue #19. @patjak created a "notify" branch that works for me except for that the brightness is very low at boot time or after I restart the X server (or just log out the X session to the DM greeter). Please check if that branch works for you and we might get our efforts in the other issue :) Regards, |
@agimenez thanks, but the Closing the laptop does not suspend it anymore. Backlight is still on. To explain what happened after I loaded it: Everything seems to work as before, only the computer does not shut off the backlight when closed. The Apple is still illuminated. Deleting the module from /lib/modules/3.17.6-1-ARCH/extra/ did not stop this. I now have a pretty big problem. How can I remove the effects of the module? The battery will surely drain pretty quickly now. Thank you for the information, and thanks to the author of the module for trying to fix this problem. |
Okay, I have verified that the module is not loaded. The effects appear very randomly and inconsistently. Sometimes the Apple (and backlight) flicker on and then off again. It looks like 4% battery were drained in one hour of closing the laptop, but that might not be accurate. I assume those effects are not related to the module, but are a part of the bug it is trying to fix. Maybe some other process caused the laptop to wake up or so? If there is another version to test, I would be happy to help. Thanks again. |
i have the same problem, |
I've started a Wiki to gather known issues. Could you please add this issue (or issues) to the list? |
I have the same problem, ttys goes completely dark at boot (macbook air 6.2). When I log in and start X11 the brightness comes back. I fixed it by changing the INIT_BRIGHTNESS from 150 to 500 and recompiling the module. |
@alvarezgregory 500 is not a valid value since the register we write is only 8 bit. You're probably getting 244 since the most significant bit gets discarded. 255 would be the maximum. But I don't think this is related to the problem you're seeing. |
The latest code solved the tty dark problem. But i still have a problem when i turn the computer on. The lightdm screen is black, then i have to press control+alt+f2 and can see the tty screen without problem, after that i press control+alt+f1 to return to lightdm and now the screen is visible. On dmesg i have:
dmesg | grep mba
[ 4.335055] mba6x_bl: Found LP8550 backlight driver
[ 34.195104] mba6x_bl: Invalid response at reg: 0x1 (len: 24)
[ 34.529899] mba6x_bl: Invalid response at reg: 0x1 (len: 24)
[ 34.867193] mba6x_bl: Invalid response at reg: 0x1 (len: 24)
[ 34.970335] mba6x_bl: set brightness retries = 3
I am using antergos (arch) with gnome3 and lightdm
Thanks for the help.
The text was updated successfully, but these errors were encountered: