Control: severity -1 wishlist Control: retitle -1 add debconf interface about flaky drivers
Hello, Thank you for the bug report. This behavior is already known and a tricky one. The thing is, it is the device drivers that are at fault here. But I do agree that the overall experience of a Linux Desktop takes the beating. To counter this, Laptop Mode Tools provides multiple options of blacklisting devices. Not just the USB family driver driver modules, you can hand pick your (faulty) USB devices and blacklist them. This has been documented in README.Debian. Blacklisting generic device driver modules would mean we conserve less power, something I'm not a fan of. That is the sole reason for adding the "blacklist by device id" option. This is a common problem in Linux too. If you look at the Linux kernel's source, there are 100s of devices that have quirks defined. Blacklisting a device family is not the best idea. The best approach would be to provide a Debconf prompt and educate the user about it. But then there is the problem for derivatives that completely avoid the debconf prompt (for good reasons). For them too, Laptop Mode Tools provides an overriding option. And ofcourse, they can always carry a patch modifying the defaults. I think, for Debian, the best is to add an explicit Debconf prompt. On Tue, 2016-01-05 at 01:33 +0800, sharuzzaman wrote: > laptop-mode-tools is creating a weird bug for usb mouse. After > installing laptop-mode-tools and rebooting my laptop, I found that my > usb mouse (wired and wireless tested) will be disable after few > second of idle. > > I have to click the mouse button several times in order to activate > it back, and it will be disabled again in few seconds. > > Searching the Internet was proven very hard to find the solution, but > I manage to found out the root cause from one of the posting on > Internet. > > It turns out that laptop-mode-tools is aggressively disabling usb > port in order to save power, thus disabling usb mouse in the process. > > The solution to the issue by blacklisting usbhid and psmouse kernel > module, restarting laptop-mode-tool, and then replugging my usb > mouse. > > No issue after that. > > Because usb mouse is quite common, I believe usbhid kernel module > should be blacklisted by default. Failure to blacklist the module > will cause unneeded troubleshooting and people will blame linux > desktop is not ready for major usage. > > I believe a lot of other usb related bug such as wifi disabled, > bluetooth disabled, etc, was caused by this agressive power > management for usb ports. > > Please see my config file attached, and apply it to the default > config. -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: This is a digitally signed message part