All of lore.kernel.org
 help / color / mirror / Atom feed
* Repeated USB disconnect and reconnect with Wacom Intuos3 6x11 tablet
@ 2005-12-13 18:46 Denny Priebe
  2005-12-13 19:38 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Denny Priebe @ 2005-12-13 18:46 UTC (permalink / raw)
  To: linux-kernel

Hello,

I just want to report a strange observation that I've made while trying to
setup my Wacom Intuos3 6x11 tablet:

When I use the tablet (e.g. press a button, move the pen) and do not have
any process reading the provided data (e.g. there's no process reading 
/dev/input/mouse0 and there's no process reading /dev/input/event5 in my 
setup) the tablet disconnects from and immediately reconnects to the USB. 
There's one pair of disconnect and reconnect each time I press a button or 
use the pen. These disconnects and reconnects disappear as soon as there's 
a process reading either /dev/input/mouse0 or /dev/input/event5 (mouse0 and
event5 according to my setup).

I'm able to reproduce this with 2.6.15-rc5, 2.6.15-rc4, and 2.6.14.3,
but haven't tried other kernels yet.

This is what's in the logs (from 2.6.15-rc5):

----------------------
+++ plug tablet it +++

kernel: hub 4-0:1.0: state 5 ports 6 chg 0000 evt 0002
kernel: ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
kernel: hub 4-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
kernel: hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
kernel: ehci_hcd 0000:00:1d.7: port 1 full speed --> companion
kernel: ehci_hcd 0000:00:1d.7: GetStatus port 1 status 003801 POWER OWNER sig=j CONNECT
kernel: uhci_hcd 0000:00:1d.0: wakeup_rh (auto-start)
kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
kernel: uhci_hcd 0000:00:1d.0: port 1 portsc 0093,00
kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
kernel: usb 1-1: new full speed USB device using uhci_hcd and address 2
kernel: usb 1-1: ep0 maxpacket = 8
kernel: usb 1-1: skipped 1 descriptor after interface
kernel: usb 1-1: default language 0x0409
kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
kernel: usb 1-1: Product: PTZ-631W
kernel: usb 1-1: Manufacturer: Tablet
kernel: usb 1-1: hotplug
kernel: usb 1-1: adding 1-1:1.0 (config #1, interface 0)
kernel: usb 1-1:1.0: hotplug
kernel: drivers/usb/core/inode.c: creating file '002'
kernel: usbhid 1-1:1.0: usb_probe_interface
kernel: usbhid 1-1:1.0: usb_probe_interface - got id
kernel: usbcore: registered new driver usbhid
kernel: drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usb.agent[3853]:      usbhid: loaded successfully
kernel: wacom 1-1:1.0: usb_probe_interface
kernel: wacom 1-1:1.0: usb_probe_interface - got id
kernel: input: Wacom Intuos3 6x11 as /class/input/input5
kernel: usbcore: registered new driver wacom
kernel: drivers/usb/input/wacom.c: v1.44:USB Wacom Graphire and Wacom Intuos tablet driver
usb.agent[3853]:      wacom: loaded successfully

+++ press a button +++

kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
kernel: uhci_hcd 0000:00:1d.0: port 1 portsc 008a,00
kernel: hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
kernel: usb 1-1: USB disconnect, address 2
kernel: usb 1-1: usb_disable_device nuking all URBs
kernel: usb 1-1: unregistering interface 1-1:1.0
kernel: usb 1-1:1.0: hotplug
kernel: usb 1-1: unregistering device
kernel: usb 1-1: hotplug
kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
kernel: hub 4-0:1.0: state 5 ports 6 chg 0000 evt 0002
kernel: ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
kernel: hub 4-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
kernel: hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
kernel: ehci_hcd 0000:00:1d.7: port 1 full speed --> companion
kernel: ehci_hcd 0000:00:1d.7: GetStatus port 1 status 003801 POWER OWNER sig=j CONNECT
kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
kernel: uhci_hcd 0000:00:1d.0: port 1 portsc 0093,00
kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
kernel: usb 1-1: new full speed USB device using uhci_hcd and address 3
kernel: usb 1-1: ep0 maxpacket = 8
kernel: usb 1-1: skipped 1 descriptor after interface
kernel: usb 1-1: default language 0x0409
kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
kernel: usb 1-1: Product: PTZ-631W
kernel: usb 1-1: Manufacturer: Tablet
kernel: usb 1-1: hotplug
kernel: usb 1-1: adding 1-1:1.0 (config #1, interface 0)
kernel: usb 1-1:1.0: hotplug
kernel: usbhid 1-1:1.0: usb_probe_interface
kernel: usbhid 1-1:1.0: usb_probe_interface - got id
kernel: wacom 1-1:1.0: usb_probe_interface
kernel: wacom 1-1:1.0: usb_probe_interface - got id
kernel: input: Wacom Intuos3 6x11 as /class/input/input6
kernel: drivers/usb/core/inode.c: creating file '003'
usb.agent[4019]:      usbhid: already loaded
usb.agent[4019]:      wacom: already loaded

+++ use the pen +++

kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
kernel: uhci_hcd 0000:00:1d.0: port 1 portsc 008a,00
kernel: hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
kernel: usb 1-1: USB disconnect, address 3
kernel: usb 1-1: usb_disable_device nuking all URBs
kernel: usb 1-1: unregistering interface 1-1:1.0
kernel: usb 1-1:1.0: hotplug
kernel: usb 1-1: unregistering device
kernel: usb 1-1: hotplug
kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
kernel: hub 4-0:1.0: state 5 ports 6 chg 0000 evt 0002
kernel: ehci_hcd 0000:00:1d.7: GetStatus port 1 status 001803 POWER sig=j CSC CONNECT
kernel: hub 4-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
kernel: hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
kernel: ehci_hcd 0000:00:1d.7: port 1 full speed --> companion
kernel: ehci_hcd 0000:00:1d.7: GetStatus port 1 status 003801 POWER OWNER sig=j CONNECT
kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
kernel: uhci_hcd 0000:00:1d.0: port 1 portsc 0093,00
kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
kernel: usb 1-1: new full speed USB device using uhci_hcd and address 4
kernel: usb 1-1: ep0 maxpacket = 8
kernel: usb 1-1: skipped 1 descriptor after interface
kernel: usb 1-1: default language 0x0409
kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
kernel: usb 1-1: Product: PTZ-631W
kernel: usb 1-1: Manufacturer: Tablet
kernel: usb 1-1: hotplug
kernel: usb 1-1: adding 1-1:1.0 (config #1, interface 0)
kernel: usb 1-1:1.0: hotplug
kernel: usbhid 1-1:1.0: usb_probe_interface
kernel: usbhid 1-1:1.0: usb_probe_interface - got id
kernel: wacom 1-1:1.0: usb_probe_interface
kernel: wacom 1-1:1.0: usb_probe_interface - got id
kernel: input: Wacom Intuos3 6x11 as /class/input/input7
kernel: drivers/usb/core/inode.c: creating file '004'
usb.agent[4138]:      usbhid: already loaded
usb.agent[4138]:      wacom: already loaded

+++ unplug tablet +++

kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002
kernel: uhci_hcd 0000:00:1d.0: port 1 portsc 008a,00
kernel: hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
kernel: usb 1-1: USB disconnect, address 4
kernel: usb 1-1: usb_disable_device nuking all URBs
kernel: usb 1-1: unregistering interface 1-1:1.0
kernel: usb 1-1:1.0: hotplug
kernel: usb 1-1: unregistering device
kernel: usb 1-1: hotplug
kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
kernel: uhci_hcd 0000:00:1d.0: suspend_rh (auto-stop)

-----------------

Output from lsusb -v is at http://siglost.org/wacom-lsusb.log
My config is at http://siglost.org/config-2.6.15-rc5


Thanks for reading and best regards,
Denny

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Repeated USB disconnect and reconnect with Wacom Intuos3 6x11 tablet
@ 2005-12-16 15:38 Andrew Burgess
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Burgess @ 2005-12-16 15:38 UTC (permalink / raw)
  To: linux-kernel

>On Thu, Dec 15, 2005 at 03:42:54PM +0100, Denny Priebe wrote:
>> On Tue, Dec 13, 2005 at 11:38:32AM -0800, Greg KH wrote with possible deletions:
>> 
>> > > These disconnects and reconnects disappear as soon as there's 
>> > > a process reading either /dev/input/mouse0 or /dev/input/event5 
>> > > (mouse0 and event5 according to my setup).
.. 
>> What confuses me a bit is that theses USB disconnects do not appear
>> as soon as I read what the tablet provides.

It's possible that this is a 'feature' of the device firmware. Perhaps the
windows driver continuously reads the device regardless of any user program
activity. When the device notices that it has user input that isn't being read
it disconnects and reconnects to get the OS's attention. So it might be a
workaround for a buggy driver or windows itself?

In a funny way it's kind of cool. I (and I assume everyone else) have had to
unplug and replug USB devices to get them to work on occasion. With this, you
just bang on it enough and it does the unplug/replug itself :-)

Just a wild theory...


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-12-30 21:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 18:46 Repeated USB disconnect and reconnect with Wacom Intuos3 6x11 tablet Denny Priebe
2005-12-13 19:38 ` Greg KH
2005-12-15 14:42   ` Denny Priebe
2005-12-15 16:31     ` Greg KH
2005-12-15 18:03       ` Oliver Neukum
2005-12-30 21:10       ` Denny Priebe
2005-12-16 15:38 Andrew Burgess

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.