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-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
  0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2005-12-13 19:38 UTC (permalink / raw)
  To: Denny Priebe; +Cc: linux-kernel

On Tue, Dec 13, 2005 at 07:46:00PM +0100, Denny Priebe wrote:
> 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.

Sounds like a hardware problem, the kernel can't cause a device to
electronically disconnect itself like this.

I suggest plugging this into a different port, using a powered hub, or
checking that the cable is still good.

good luck,

greg k-h

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

* Re: Repeated USB disconnect and reconnect with Wacom Intuos3 6x11 tablet
  2005-12-13 19:38 ` Greg KH
@ 2005-12-15 14:42   ` Denny Priebe
  2005-12-15 16:31     ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Denny Priebe @ 2005-12-15 14:42 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

On Tue, Dec 13, 2005 at 11:38:32AM -0800, Greg KH wrote with possible deletions:

Hello,

> > 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).

> Sounds like a hardware problem, the kernel can't cause a device to
> electronically disconnect itself like this.

thanks for your reply, Greg.
 
> I suggest plugging this into a different port, using a powered hub, or
> checking that the cable is still good.

I tried what you have suggested. Unfortunately, this doesn't change 
anything.

What confuses me a bit is that theses USB disconnects do not appear
as soon as I read what the tablet provides.

Could it be that the usb driver doesn't check for a connect status change
while there's a process reading /dev/input/{mouse,event}? so that I do not
see these disconnects while reading the tablet data? 

Or could it be that something prevents the tablet from disconnecting itself
when a process is reading the tablet data?

Regards,
Denny

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

* Re: Repeated USB disconnect and reconnect with Wacom Intuos3 6x11 tablet
  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
  0 siblings, 2 replies; 7+ messages in thread
From: Greg KH @ 2005-12-15 16:31 UTC (permalink / raw)
  To: Denny Priebe; +Cc: 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:
> 
> Hello,
> 
> > > 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).
> 
> > Sounds like a hardware problem, the kernel can't cause a device to
> > electronically disconnect itself like this.
> 
> thanks for your reply, Greg.
>  
> > I suggest plugging this into a different port, using a powered hub, or
> > checking that the cable is still good.
> 
> I tried what you have suggested. Unfortunately, this doesn't change 
> anything.
> 
> What confuses me a bit is that theses USB disconnects do not appear
> as soon as I read what the tablet provides.
> 
> Could it be that the usb driver doesn't check for a connect status change
> while there's a process reading /dev/input/{mouse,event}? so that I do not
> see these disconnects while reading the tablet data? 

No, it's an electronic signal happening on the USB hub, the hub notifies
the kernel when a disconnect happens, it has nothing to do with the
driver connected to the actual device.

So I really think that this is an electronic issue, sorry.  Can you
return this device and get a replacement one?

greg k-h

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

* Re: Repeated USB disconnect and reconnect with Wacom Intuos3 6x11 tablet
  2005-12-15 16:31     ` Greg KH
@ 2005-12-15 18:03       ` Oliver Neukum
  2005-12-30 21:10       ` Denny Priebe
  1 sibling, 0 replies; 7+ messages in thread
From: Oliver Neukum @ 2005-12-15 18:03 UTC (permalink / raw)
  To: Greg KH; +Cc: Denny Priebe, linux-kernel

Am Donnerstag, 15. Dezember 2005 17:31 schrieb Greg KH:
> > Could it be that the usb driver doesn't check for a connect status change
> > while there's a process reading /dev/input/{mouse,event}? so that I do not
> > see these disconnects while reading the tablet data? 
> 
> No, it's an electronic signal happening on the USB hub, the hub notifies
> the kernel when a disconnect happens, it has nothing to do with the
> driver connected to the actual device.
> 
> So I really think that this is an electronic issue, sorry.  Can you
> return this device and get a replacement one?

We start the URB on open and stop it on close. Is it possible that
Windows keeps it on all the time and we have a device that is so
broken it cannot cope with anything else?

	Regards
		Oliver

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

* Re: Repeated USB disconnect and reconnect with Wacom Intuos3 6x11 tablet
  2005-12-15 16:31     ` Greg KH
  2005-12-15 18:03       ` Oliver Neukum
@ 2005-12-30 21:10       ` Denny Priebe
  1 sibling, 0 replies; 7+ messages in thread
From: Denny Priebe @ 2005-12-30 21:10 UTC (permalink / raw)
  To: Greg KH; +Cc: aab, linux-kernel

On Thu, Dec 15, 2005 at 08:31:22AM -0800, Greg KH wrote with possible deletions:

> > What confuses me a bit is that theses USB disconnects do not appear
> > as soon as I read what the tablet provides.

> So I really think that this is an electronic issue, sorry.  Can you
> return this device and get a replacement one?

My second device behaves the same way. Since today I know of another user 
who can confirm these disconnects with his Intuos3.


Andrew Burgess wrote:

> It's possible that this is a 'feature' of the device firmware. [...]
> 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?

So it seems that Andrew's theory is right. It's a feature.

Thanks to all who have replied.

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.