You are not logged in.

#1 2012-11-07 02:16:41

Thme
Member
From: Raleigh NC
Registered: 2012-01-22
Posts: 105

USB Mouse disabled when idle on linux-ck 3.6.6

A recent upgrade to linux-ck-3.6.6-1 has broken USB mouse input on my netbook. The following is the output from dmesg, lsusb (for the name and make) that seams the most relevant. Not sure if it is due to a bug or something else yet but I've become pretty certain it's kernel related as I also have the linux-lts package on an alternate grub entry and after testing it everything worked fine with the mouse. Downgrading also brought back mouse functionality. Another note is that My touchpad worked fine the whole time while it only seemed to affect my usb mouse as well as one I borrowed from a friend (after changing the batteries etc...) If this needs a bug report I'll gladly see if i can get one filed soon if no-one else has.
With a little more detail the mouse initially works plugged in (and re-plugged in) but acts as if dissconected if I don't move it for a few seconds...

dmesg

[   19.849185] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   20.442073] Bluetooth: Core ver 2.16
[   20.442377] NET: Registered protocol family 31
[   20.442385] Bluetooth: HCI device and connection manager initialized
[   20.442393] Bluetooth: HCI socket layer initialized
[   20.442399] Bluetooth: L2CAP socket layer initialized
[   20.442420] Bluetooth: SCO socket layer initialized
[   20.478077] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   22.382303] fuse init (API version 7.20)
[   25.848610] EXT4-fs (sda1): re-mounted. Opts: commit=600
[   25.973448] EXT4-fs (sda2): re-mounted. Opts: commit=600
[   26.042127] atl1c 0000:01:00.0: irq 47 for MSI/MSI-X
[   26.055481] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   98.846796] usb 2-1: USB disconnect, device number 2
[  102.266734] usb 2-1: new full-speed USB device number 3 using uhci_hcd
[  102.446490] input: HID Wireless Mouse HID Wireless Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input13
[  102.447662] hid-generic 0003:1D57:0016.0002: input,hidraw0: USB HID v1.10 Mouse [HID Wireless Mouse HID Wireless Mouse] on usb-0000:00:1d.0-1/input0
[  186.123443] usb 2-1: USB disconnect, device number 3
[  187.823403] usb 2-1: new full-speed USB device number 4 using uhci_hcd
[  188.004416] input: HID Wireless Mouse HID Wireless Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input14
[  188.004886] hid-generic 0003:1D57:0016.0003: input,hidraw0: USB HID v1.10 Mouse [HID Wireless Mouse HID Wireless Mouse] on usb-0000:00:1d.0-1/input0
[  195.026804] usb 2-1: USB disconnect, device number 4
[  197.073384] usb 2-1: new full-speed USB device number 5 using uhci_hcd
[  197.252767] input: HID Wireless Mouse HID Wireless Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input15
[  197.253382] hid-generic 0003:1D57:0016.0004: input,hidraw0: USB HID v1.10 Mouse [HID Wireless Mouse HID Wireless Mouse] on usb-0000:00:1d.0-1/input0

lsusb

Bus 001 Device 003: ID 13d3:5702 IMC Networks UVC VGA Webcam
Bus 002 Device 010: ID 1d57:0016 Xenta 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

I also get this in journalctl -f when I unplug and plug it back in...

Nov 06 21:09:30 Asus1018p laptop-mode[4277]: Laptop mode
Nov 06 21:09:30 Asus1018p laptop-mode[4278]: enabled, active
Nov 06 21:09:30 Asus1018p laptop-mode[4307]: Laptop mode
Nov 06 21:09:30 Asus1018p laptop-mode[4308]: enabled, active
Nov 06 21:09:30 Asus1018p slim[248]: thunar-volman: Unsupported input device type.
Nov 06 21:09:30 Asus1018p slim[248]: thunar-volman: Unsupported input device type.
Nov 06 21:09:31 Asus1018p slim[248]: thunar-volman: Unsupported USB device type.
Nov 06 21:09:31 Asus1018p slim[248]: thunar-volman: Unsupported USB device type.
Nov 06 21:09:54 Asus1018p kernel: usb 2-1: USB disconnect, device number 12
Nov 06 21:09:56 Asus1018p kernel: usb 2-1: new full-speed USB device number 13 using uhci_hcd
Nov 06 21:09:56 Asus1018p kernel: input: HID Wireless Mouse HID Wireless Mouse as /devices/pci00...ut23
Nov 06 21:09:56 Asus1018p kernel: hid-generic 0003:1D57:0016.000C: input,hidraw0: USB HID v1.10 ...put0
Nov 06 21:09:56 Asus1018p mtp-probe[4357]: checking bus 2, device 13: "/sys/devices/pci0000:00/00...-1"
Nov 06 21:09:56 Asus1018p mtp-probe[4357]: bus: 2, device: 13 was not an MTP device
Nov 06 21:09:57 Asus1018p laptop-mode[4381]: Warning: Configuration file /etc/laptop-mode/conf.d/...ng.
Nov 06 21:09:57 Asus1018p laptop-mode[4380]: Warning: Configuration file /etc/laptop-mode/conf.d/...ng.
Nov 06 21:09:57 Asus1018p slim[248]: thunar-volman: Unsupported USB device type.
Nov 06 21:09:57 Asus1018p slim[248]: thunar-volman: Unsupported USB device type.
Nov 06 21:09:57 Asus1018p laptop-mode[4434]: Laptop mode
Nov 06 21:09:57 Asus1018p laptop-mode[4435]: enabled, active
Nov 06 21:09:57 Asus1018p laptop-mode[4462]: Laptop mode
Nov 06 21:09:57 Asus1018p slim[248]: thunar-volman: Unsupported input device type.
Nov 06 21:09:57 Asus1018p laptop-mode[4463]: enabled, active
Nov 06 21:09:57 Asus1018p slim[248]: thunar-volman: Unsupported input device type.
Nov 06 21:09:58 Asus1018p slim[248]: thunar-volman: Unsupported USB device type.
Nov 06 21:09:58 Asus1018p slim[248]: thunar-volman: Unsupported USB device type.

If there's other logs to pull I'll gladly include them here or where they would be more appropriate....
This one has me scratching my head as mice have always worked for me until now... If anyone has a clue what' going on I'd love to hear it...


"Hidden are the ways for those who pass by, for light is perished and darkness comes into being." Nephthys:
Ancient Egyptian Coffin Texts

Offline

#2 2012-11-07 02:21:23

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: USB Mouse disabled when idle on linux-ck 3.6.6

You probably have your usb control set to 'auto' which certainly saves power, but can do things like this.  I have been reading reports recently of this happening to many people.  I think you should try determining what port your usb device is plugged in to and then make sure that it is not being set to auto by laptop-mode-tools.

Offline

#3 2012-11-07 06:33:47

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: USB Mouse disabled when idle on linux-ck 3.6.6

See thread.

Offline

#4 2012-11-07 16:43:03

Thme
Member
From: Raleigh NC
Registered: 2012-01-22
Posts: 105

Re: USB Mouse disabled when idle on linux-ck 3.6.6

I greatly appreciate the feedback.  I'll try the suggestions when I get a chance and hopefully mark this as solved...
UPDATE:
Ok so I tested the udev rules with partial success..  may be doing it wrong though as I'm unfamiliar with writing udev rules.... Not sure how I installed laptop-mode-tools in the first place and enabled it but I originally avoided it on my netbook (asus 1018p with atom n450, 2gb ddr2 667mhz ram, 750gb 7200rpm seagate HDD and Atheros AR9285 card) as all of the power management needed for it was pretty much in kernel without the need of anything else monitoring power and settings values like this... If laptop-mode had done anything it may have saved 5 minutes or so for me. For me the ondemand cpu governer, screen brightness control and HDD work best with the defaults and internal power-management (HDD, wifi card etc.). I do know that uninstalling laptop-mode-tools shaved a few seconds from boot.. oddly the suggestion by brebs worked somewhat but not when I resumed from hibernate or suspend. I'll try reinstalling laptop-mode-tools again later just to see if I can resolve it anyways and post the full solution...

Last edited by Thme (2012-11-10 21:36:29)


"Hidden are the ways for those who pass by, for light is perished and darkness comes into being." Nephthys:
Ancient Egyptian Coffin Texts

Offline

Board footer

Powered by FluxBB