Skip to content
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

Having some trouble after reboot #53

Open
mortenskoett opened this issue Sep 25, 2016 · 2 comments
Open

Having some trouble after reboot #53

mortenskoett opened this issue Sep 25, 2016 · 2 comments

Comments

@mortenskoett
Copy link

mortenskoett commented Sep 25, 2016

Hi.

Macbook Air 6,2. 2013
Xubuntu, 16.04, kernel 4.4.0-38-generic

I have had this wonderful driver working for a couple of days. Great work. But then...

Problem:
I tried to minimize power consumption with TLP and laptop-mode-tools, then the system suddenly didn't want to stay suspended and kind of woke up just after, sadly with the not backlighted screen.

I uninstalled all the power config tools and reinstalled mba6x_bl to find it works but ONLY until I reboot.
It turned out that doing the following changes things:

modprobe -r mba6x_bl
backlight changes to bright and I can control backlight

modprobe mba6x_bl
backlight changes to bright and I CAN'T control backlight

So I then added mba6x_bl to /etc/modules hoping for the system to reinitialise every time, but now I'm back to the point where it won't stay suspended.

Can anybody give me some advice? It's horrible not being able to suspend the darn laptop.

Thanks!

M

@patjak
Copy link
Owner

patjak commented Sep 28, 2016

The sudden wakeups could be related to USB wakeup events. Have you tried typing (as root):
echo XHCI > /proc/acpi/wakeup

@dispicio
Copy link

dispicio commented Oct 14, 2016

I have had a similar problem (with Powertop and the tunable "Autosuspend for USB device xHCI Host Controller [usb2]")

After
echo XHCI > /proc/acpi/wakeup
the problem was resolved. [edit: sometimes]

Thank you :)

[edit] That was to easy.. It works sometimes and sometimes it won't. I completely uninstalled Powertop . And I echo XHCI into /proc/acpi/wakeup at X startup properly (as root, checked that it is actually echoing as root which it is). Still, 2 of 3 times after closing/reopening the lid, screen at full brightness, cannot control the brightness, only on and off (with the function keys). Linux 4.4.0-42-generic, Ubuntu 16.04, Macbook Air 6,1 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants