Hello, Everytime I plug an USB device on my laptop it suspends. My laptop is an acer 4930G. After some tests(see https://bugs.kde.org/show_bug.cgi?id=280457 and https://bbs.archlinux.org/viewtopic.php?id=116288 ) , the issue comes from this line in my /etc/rc.local . for i in /sys/bus/{pci,i2c}/devices/*/power/control; do echo -n 'auto' > $i; done The pci part is guilty of sending a sleep keyboard event when a USB device is plugged in. This event suspend the laptop by default in KDE. I tried changing the action to starting a terminal, and everytime I plug an USB device, a new terminal starts. If I associate the sleep shortcut to nothing, nothing happens. USB devices affected are at least USB thumb drives, USB HDD and USB mice. Other PM settings that may or may not participate in the issue : for i in /sys/class/scsi_host/*/link_power_management_policy; do echo -n 'min_power' > $i; done pcie_aspm=force in the boot line options usbcore autosuspend=1
It's great that the kernel bugzilla is back. Can you please verify if the problem still exists in the latest upstream kernel?
bug closed as there is no response from the bug reporter. please feel free to reopen it if the problem still exists in the latest upstream kernel.
Hello, Problem still exists in Kernel 3.3.8, I am using archlinux kernel.
um, so the bug is that when you plug in your USB laptop, it sends a key that the distribution has set to suspend the system? whelp, this is either a bug in the USB/keyboard/input path, or in the distro. Assigning to USB.