On 07/06/2014 02:50 PM, computer.enthusiastic wrote: > Let me explain in more detail. > > it seems to me that in the new version of the package, > AUTOSUSPEND_USBID_BLACKLIST variable in > /etc/laptop-mode/conf.d/runtime-pm.conf overrides > AUTOSUSPEND_USBID_BLACKLIST variable in > /etc/laptop-mode/conf.d/usb-autosuspend.conf . > > In the attached example, when AUTOSUSPEND_USBID_BLACKLIST="046d:c016" in > /etc/laptop-mode/conf.d/usb-autosuspend.conf and > AUTOSUSPEND_USBID_BLACKLIST="" in > /etc/laptop-mode/conf.d/runtime-pm.conf, if I unplug the power adapter, > the usb mouse with ID 046d:c016 ispowered off and it remains powered off > even if I plug the power adapter again. The behaviour of the previous > version of the package was different. > > Does the new package require the usb device have to be blacklisted twice > (one time in /etc/laptop-mode/conf.d/usb-autosuspend.conf and > the second in /etc/laptop-mode/conf.d/runtime-pm.conf) ?
Please just deactivate the old usb-autosuspend module. It was my fault, instead of deprecating it, I should have removed it instead. Also I think I have found another reason for this bug. One more change is required... In /lib/udev/rules.d/99-laptop-mode.rules, replace usb-autosuspend in the 3rd line with pm-runtime. I'll make the change in my repo... I'm not very sure if this warrants a new release. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: OpenPGP digital signature

