Re: [linux-usb-devel] USBDEVFS_SUBMITURB error with 2.0 but not 1.1

2004-02-11 Thread David Brownell
don wrote: I have a device based on an EZUSB-FX2 part. It sends data with ISO packets. My code uses the usbdevice_fs calls. It works on several systems with 1.1 USB ports, but not on a 2.0 system. The call to ioctl (device_fd, USBDEVFS_SUBMITURB, urb) gets an error return -EINVAL. There

[linux-usb-devel] USBDEVFS_SUBMITURB error with 2.0 but not 1.1

2004-02-11 Thread don
I have a device based on an EZUSB-FX2 part. It sends data with ISO packets. My code uses the usbdevice_fs calls. It works on several systems with 1.1 USB ports, but not on a 2.0 system. The call to ioctl (device_fd, USBDEVFS_SUBMITURB, urb) gets an error return -EINVAL. I have trac

[linux-usb-devel] Re: [PATCH] (1/10) uhci - list race

2004-02-11 Thread Stephen Hemminger
On Tue, 10 Feb 2004 17:14:20 -0500 (EST) Alan Stern <[EMAIL PROTECTED]> wrote: > Try out this patch, which applies to a virgin driver (without your 10 > patches) and see if it doesn't cure the addressing violation you were > getting. > > BTW, your patches 2 - 10 all looked good, although I'm af

Re: [linux-usb-devel] scanner.c removed: ?

2004-02-11 Thread Bertrik Sikken
Daniel Drake wrote: Hi, Matthias Urlichs wrote: > what's supposed to be the replacement for drivers/usb/image/scanner.c? xsane is supposed to be the replacement. I think I read that scanner.c was mostly broken in 2.6? Anyway, this thread (recent, from LKML) has some tips: http://marc.theaimsgro

Re: [linux-usb-devel] scanner.c removed: ?

2004-02-11 Thread Henning Meier-Geinitz
Hi, On Tue, Feb 10, 2004 at 09:15:27PM +0100, Matthias Urlichs wrote: > (At least I didn't get it to work... and I did try, I watched it > sit in an apparently-endless loop, repeatedly open /proc/bus/usb/002/011 > and do _something_). Please sho a logfile: disable everything in dll.conf but the b

Re: [linux-usb-devel] scanner.c removed: ?

2004-02-11 Thread Henning Meier-Geinitz
Hi, On Wed, Feb 11, 2004 at 01:05:56PM +, Daniel Drake wrote: > Matthias Urlichs wrote: > > what's supposed to be the replacement for drivers/usb/image/scanner.c? > > xsane is supposed to be the replacement. Huh? XSane is a frontend for SANE. It's not involved in accessing USB devices. XSane

[linux-usb-devel] hot connect fails for joystick

2004-02-11 Thread Glenn Burkhardt
I've run into a weird one, and if anyone has any ideas, I'd appreciate it. I'm working with a joystick from CH Products. It works OK when it's connected to the system at boot, but not correctly after a hot connect, or a driver re-load. The data reported never changes. In fact, the values seemed

Re: [linux-usb-devel] Re: [PATCH 2.6.2-mm1] Fix USB to use generic DMA mapping API

2004-02-11 Thread Deepak Saxena
On Feb 10 2004, at 17:45, David Brownell was caught saying: > Tony Lindgren wrote: > >* Deepak Saxena <[EMAIL PROTECTED]> [040210 15:04]: > > > >>I don't understand why we need this if statement. I see the same > >>in ohci-sa.c. I haven't completely groked the whole USB layer, > >>but how whoul

[linux-usb-devel] Re: USB suspend and overcurrent ports

2004-02-11 Thread Paul Fulghum
On Wed, 2004-02-11 at 10:10, Alan Stern wrote: > Is there another device on > the system sharing the same IRQ line? Yes, the USB controller shares with the SCSI controller, which explains the repeated IRQ status messages. There is no way to move the USB IRQ on this machine (USB and SCSI are mothe

Re: [linux-usb-devel] scanner.c removed: ?

2004-02-11 Thread Matthias Urlichs
Hi, Daniel Drake: > Anyway, this thread (recent, from LKML) has some tips: > http://marc.theaimsgroup.com/?t=107619471400010&r=1&w=2 > Thanks -- I'll have to check (when I'm back home) if that really solves my problem. Seems like it's time to hit the xsane author with a big fat documentation clu

[linux-usb-devel] Re: USB suspend and overcurrent ports

2004-02-11 Thread Paul Fulghum
Alan Stern wrote: So both ports have their overcurrent inputs wired > and you can't use any USB devices at all? Correct Given that there aren't any USB ports available, > you wouldn't normally load the uhci-hcd module in the first place, right? A standard distribution like RedHat will load the m

[linux-usb-devel] Re: USB suspend and overcurrent ports

2004-02-11 Thread Alan Stern
On 11 Feb 2004, Paul Fulghum wrote: > > Does an irq arrive when you plug in a device? > > On this machine the physical ports are not implemented > so there is nothing to plug devices into. So both ports have their overcurrent inputs wired and you can't use any USB devices at all? Hmm... I tho

Re: [linux-usb-devel] scanner.c removed: ?

2004-02-11 Thread Daniel Drake
Hi, Matthias Urlichs wrote: > what's supposed to be the replacement for drivers/usb/image/scanner.c? xsane is supposed to be the replacement. I think I read that scanner.c was mostly broken in 2.6? Anyway, this thread (recent, from LKML) has some tips: http://marc.theaimsgroup.com/?t=10761947140

Re: [linux-usb-devel] VIA workaround for UHCI port reset

2004-02-11 Thread Alan Stern
On Tue, 10 Feb 2004, Glenn Burkhardt wrote: > > Duncan: > > > > Back last fall you mentioned something about needing to add a workaround > > to the UHCI driver's port reset code for VIA hardware. It had to do with > > making sure the controller was suspended before doing the reset. Can you > >

Re: [linux-usb-devel] Re: [PATCH] (1/10) uhci - list race

2004-02-11 Thread Alan Stern
On Tue, 10 Feb 2004, Stephen Hemminger wrote: > Okay, I will try your patch. > > I believe, but can't prove the race occurs when: > CPU 0 CPU 1 > -- > Uhci_irq

[linux-usb-devel] Re: USB suspend and overcurrent ports

2004-02-11 Thread Paul Fulghum
> Does an irq arrive when you plug in a device? On this machine the physical ports are not implemented so there is nothing to plug devices into. > Is the RESUME DETECT flag in the USBSTS status register set correctly? It seems to be set once after loading the host module. If I remember correc