You are not logged in.

#1 2012-07-07 15:18:24

webmasteryoda
Member
From: Serbia
Registered: 2010-03-20
Posts: 115
Website

acpid and laptop-mode-tools conflict when using usb-autosuspend problm

Hi ppl

As I already stated in the title I have very specific problem using acpid and laptop-mode-tools.

Previously I experienced mouse problem, while using laptop-mode only (without acpid). My laptop had a problem when plugging the mouse, while on batteries. That problem is solved when I added mouse ID to usb-autosuspend.conf blacklist.

After that all worked fine until I installed acpid and added it to rc.conf deamons. Now that problem is back again. How can I solve it?

Offline

#2 2012-07-20 22:44:06

webmasteryoda
Member
From: Serbia
Registered: 2010-03-20
Posts: 115
Website

Re: acpid and laptop-mode-tools conflict when using usb-autosuspend problm

Hmm... 2 weeks and no answer...

Just wanted to refresh this topic / question.

I hope its not a problem.

Offline

#3 2012-07-21 02:06:49

tad
Member
Registered: 2006-12-08
Posts: 19

Re: acpid and laptop-mode-tools conflict when using usb-autosuspend problm

I wouldn't bother with laptop-mode. Make sure it is uninstalled and not running, then reboot. Install powertop and run:

sudo powertop --html

This will take some measurements and write to an html file in the current directory. Open this file in a web browser, then click the "Tunables" tab. Copy and paste each of the shell commands into /etc/rc.local. When there are a bunch of commands that affect files in /sys/bus/*/devices, turn it into a for loop:

for i in /sys/bus/usb/devices/*/power/control; do echo 'auto' > $i ; done
for i in /sys/bus/pci/devices/*/power/control; do echo 'auto' > $i ; done

This will get you 90% of the functionality of laptop-mode-tools.

For the hard drive parking, configure pm-utils to run hdparm scripts. I don't know too much about this, since I run an SSD (no need to worry about parking heads).

Offline

#4 2012-07-22 17:32:34

webmasteryoda
Member
From: Serbia
Registered: 2010-03-20
Posts: 115
Website

Re: acpid and laptop-mode-tools conflict when using usb-autosuspend problm

Thx so much for your suggestion, but I decided to blacklist acpid in rc.conf. Without it everything is fine.

And I assume that I dont even need it as I am using KDE.

I think that this topic should remain open if anyone comes out with another answer.

Offline

Board footer

Powered by FluxBB