Re: [linux-usb-devel] stuck.. usb protocol stall under heavy load

2004-10-27 Thread Geoff Oakham
On Thu, Oct 28, 2004 at 12:18:16AM +0200, Oliver Neukum wrote: > > if I claim the interface with usb_driver_claim_interface, will usbfs > > respect it? ?There are only a handful of userspace drivers for this > > device out there.. and I'm pretty sure they're not active during the > > test. > > Con

Re: [linux-usb-devel] stuck.. usb protocol stall under heavy load

2004-10-27 Thread Geoff Oakham
On Wed, Oct 27, 2004 at 04:59:17PM -0400, Alan Stern wrote: > Ah, but other programs may be accessing your device through usbfs without > your knowledge, without using your driver, and without being stopped by > your semaphore! For example, any time you do "cat /proc/bus/usb/devices" > the cat

Re: [linux-usb-devel] stuck.. usb protocol stall under heavy load

2004-10-27 Thread Geoff Oakham
On Wed, Oct 27, 2004 at 03:49:43PM -0400, Alan Stern wrote: > > Since the linux-usb implementation is 100% bug-free, my code is the > > bug's likely home. Should I be holding any locks when I call > > usb_control_msg() or usb_bulk_msg()? > > You certainly shouldn't hold any spinlocks, since those

Re: [linux-usb-devel] stuck.. usb protocol stall under heavy load

2004-10-26 Thread Geoff Oakham
Hey Alan, Unfortunately I haven't had any luck fixing this timing issue, so I've returned to seek wisdom and guidance. I've tried: -capping the average transfer speed in my driver -looking for similar behaviour in the Windows driver Everything I've observed* suggests (to me) a l

Re: [linux-usb-devel] stuck.. usb protocol stall under heavy load

2004-10-05 Thread Geoff Oakham
On Tue, Oct 05, 2004 at 03:46:09PM -0400, Alan Stern wrote: > > > > 90% of the time, I can > > > > work around by re-issuing the request (once). But the other 10% of the > > > > time, *both* requests succeed--even the original one that returned > > > > -EPIPE. > > > > > > How do you know the req

Re: [linux-usb-devel] stuck.. usb protocol stall under heavy load

2004-10-05 Thread Geoff Oakham
On Tue, Oct 05, 2004 at 11:16:06AM -0400, Alan Stern wrote: > > One of my control messages is returning 'EPIPE' when my system is under > > heavy load. I'm stumped; does anyone have any suggestions? > > You're working on a kernel driver for this device, right? What does the > device do? The dr

[linux-usb-devel] stuck.. usb protocol stall under heavy load

2004-10-04 Thread Geoff Oakham
Hi there, One of my control messages is returning 'EPIPE' when my system is under heavy load. I'm stumped; does anyone have any suggestions? It's not an endpoint stall (clear_halt() fails). 90% of the time, I can work around by re-issuing the request (once). But the other 10% of the time, *bot

[linux-usb-devel] patch adds support for WACOM Graphire3 tablets

2003-10-24 Thread Geoff Oakham
Hello, This patch is against linux-2.6.0-test8 and adds support for WACOM Graphire3 tablets. I've tested it with my 4x5 tablet, and I also added code for the 6x8 models. Can anyone confirm this works for 6x8s? Many thanks, Geoff --patch follows-- diff -Naur linux-2.6.0-test8/drivers/usb/inpu