Re: btusb autosuspend interacts badly with input devices?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 04, 2009 at 09:10:43PM +0100, Oliver Neukum wrote:
> Am Freitag, 4. Dezember 2009 21:06:54 schrieb Matthew Garrett:
> > I'm testing the btusb autosuspend code at the moment. If I attach a 
> > bluetooth mouse, everything works fine if autosuspend is disabled. If 
> > autosuspend is enabled, I see pauses every 3 or 4 seconds. Any idea what 
> > might be up with that?
> 
> Possibly the device autosuspends when it shouldn't.
> Please post a log with CONFIG_USB_DEBUG.

tusb 3-1:1.2: usb_probe_interface
btusb 3-1:1.2: usb_probe_interface - got id
btusb 3-1:1.3: usb_probe_interface
btusb 3-1:1.3: usb_probe_interface - got id
usbcore: registered new interface driver btusb
input: HP Bluetooth PC Card Mouse as 
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1:1.0/bluetooth/hci0/hci0:11/input11
generic-bluetooth 0005:0A5C:2004.0002: input,hidraw0: BLUETOOTH HID 
v3.00 Mouse [HP Bluetooth PC Card Mouse] on 00:24:7E:40:64:18
usb 3-1:1.0: uevent
usb 3-1: uevent
usb 3-1:1.0: uevent
usb 3-1: uevent
usb 3-1:1.0: uevent
usb 3-1:1.0: uevent
btusb_intr_complete: hci0 urb ffff88004c86ce70 failed to resubmit (1)
uhci_hcd 0000:00:1a.0: release dev 2 ep81-INT, period 1, phase 0, 23 us
btusb_bulk_complete: hci0 urb ffff8800551ccb58 failed to resubmit (1)
btusb_bulk_complete: hci0 urb ffff880043cd1a50 failed to resubmit (1)
usb 3-1: usb auto-suspend
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:1a.0: port 1 portsc 00a5,01
usb 3-1: usb wakeup-resume
usb 3-1: finish resume
uhci_hcd 0000:00:1a.0: reserve dev 2 ep81-INT, period 1, phase 0, 23 us
hub 3-0:1.0: resume on port 1, status 0
btusb_intr_complete: hci0 urb ffff8800750b2630 failed to resubmit (1)
uhci_hcd 0000:00:1a.0: release dev 2 ep81-INT, period 1, phase 0, 23 us
btusb_bulk_complete: hci0 urb ffff8800750b2c60 failed to resubmit (1)
btusb_bulk_complete: hci0 urb ffff8800750b2a50 failed to resubmit (1)
usb 3-1: usb auto-suspend
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:1a.0: port 1 portsc 00a5,01
usb 3-1: usb wakeup-resume
usb 3-1: finish resume

and so on - so yes, it's autosuspending and then getting an immediate 
wakeup, but mouse input drops out while this is occuring.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux