Comment 3 for bug 1049623

Revision history for this message
Kevin Daughtridge (kdau) wrote : Re: Usb mouse not working after resume

This begain affecting me as well upon upgrade to Quantal beta today. I have the same model Logitech USB receiver (mouse+keyboard) connected (see lsusb). Unplugging and replugging also worked for me.

The relevant error message appears to be "reset_resume error -1", which is starred in the filtered dmesg output below (two instances for two separate resumes). Given that this is a power management method implemented by USB drivers, I'm assigning the bug to linux-image-3.5.0-14-generic. I'm also including detailed lsusb output for the receiver and its hub.

> lsusb
Bus 005 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

> dmesg|egrep -e 'usb(hid)? ?5' -e 'usb.*dev:5'
[ 0.248595] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 0.248596] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.248598] usb usb5: Product: UHCI Host Controller
[ 0.248599] usb usb5: Manufacturer: Linux 3.5.0-14-generic uhci_hcd
[ 0.248601] usb usb5: SerialNumber: 0000:00:1a.2
[ 0.856081] usb 5-1: new low-speed USB device number 2 using uhci_hcd
[ 1.041606] usb 5-1: New USB device found, idVendor=046d, idProduct=c517
[ 1.041609] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.041612] usb 5-1: Product: USB Receiver
[ 1.041614] usb 5-1: Manufacturer: Logitech
[ 15.052666] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.0/input/input2
[ 15.062527] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.1/input/input3
[ 101.376859] usb usb5: root hub lost power or was reset
[ 101.600027] PM: resume of drv:usb dev:5-1 complete after 221.071 msecs
[ 101.860018] usb 5-1: reset low-speed USB device number 2 using uhci_hcd
**[ 102.207775] usbhid 5-1:1.1: reset_resume error 1
[ 102.207782] PM: resume of drv:usbhid dev:5-1:1.0 complete after 828.816 msecs
[ 102.207788] PM: resume of drv:usbhid dev:5-1:1.1 complete after 828.799 msecs
[ 2424.080764] usb usb5: root hub lost power or was reset
[ 2424.304027] PM: resume of drv:usb dev:5-1 complete after 221.070 msecs
[ 2424.564018] usb 5-1: reset low-speed USB device number 2 using uhci_hcd
**[ 2424.911780] usbhid 5-1:1.1: reset_resume error 1
[ 2424.911787] PM: resume of drv:usbhid dev:5-1:1.0 complete after 828.819 msecs
[ 2424.911793] PM: resume of drv:usbhid dev:5-1:1.1 complete after 828.802 msecs
[ 2727.656033] usb 5-1: USB disconnect, device number 2
[ 2730.552013] usb 5-1: new low-speed USB device number 3 using uhci_hcd
[ 2730.785031] usb 5-1: New USB device found, idVendor=046d, idProduct=c517
[ 2730.785034] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2730.785037] usb 5-1: Product: USB Receiver
[ 2730.785040] usb 5-1: Manufacturer: Logitech
[ 2730.802299] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.0/input/input12
[ 2730.834857] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.1/input/input13

> sudo lsusb -v -s 5:

Bus 005 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor 0x046d Logitech, Inc.
  idProduct 0xc517 LX710 Cordless Desktop Laser
  bcdDevice 38.10
  iManufacturer 1 Logitech
  iProduct 2 USB Receiver
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 59
    bNumInterfaces 2
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower 98mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 3 Human Interface Device
      bInterfaceSubClass 1 Boot Interface Subclass
      bInterfaceProtocol 1 Keyboard
      iInterface 0
        HID Device Descriptor:
          bLength 9
          bDescriptorType 33
          bcdHID 1.10
          bCountryCode 0 Not supported
          bNumDescriptors 1
          bDescriptorType 34 Report
          wDescriptorLength 59
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 1
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 3 Human Interface Device
      bInterfaceSubClass 1 Boot Interface Subclass
      bInterfaceProtocol 2 Mouse
      iInterface 0
        HID Device Descriptor:
          bLength 9
          bDescriptorType 33
          bcdHID 1.10
          bCountryCode 0 Not supported
          bNumDescriptors 1
          bDescriptorType 34 Report
          wDescriptorLength 177
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0008 1x 8 bytes
        bInterval 10
Device Status: 0x0000
  (Bus Powered)

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 9 Hub
  bDeviceSubClass 0 Unused
  bDeviceProtocol 0 Full speed (or root) hub
  bMaxPacketSize0 64
  idVendor 0x1d6b Linux Foundation
  idProduct 0x0001 1.1 root hub
  bcdDevice 3.05
  iManufacturer 3 Linux 3.5.0-14-generic uhci_hcd
  iProduct 2 UHCI Host Controller
  iSerial 1 0000:00:1a.2
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 9 Hub
      bInterfaceSubClass 0 Unused
      bInterfaceProtocol 0 Full speed (or root) hub
      iInterface 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0002 1x 2 bytes
        bInterval 255
Hub Descriptor:
  bLength 9
  bDescriptorType 41
  nNbrPorts 2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood 1 * 2 milli seconds
  bHubContrCurrent 0 milli Ampere
  DeviceRemovable 0x00
  PortPwrCtrlMask 0xff
 Hub Port Status:
   Port 1: 0000.0303 lowspeed power enable connect
   Port 2: 0000.0100 power
Device Status: 0x0001
  Self Powered