[linux-usb-devel] Re: [lp.hp] USB and HP printers (was: New HP LaserJet 1200 won't print in Linux)

2002-03-19 Thread Till Kamppeter
The situation in Mandrake 8.2 is the following: - It does not contain the tweaked printer.c module. - printerdrake uses HPOJ automatically for all the printers listed below as not out-of-the-box working with USB except the HP LaserJet 2200. So the problem should not appear for users of Man

[linux-usb-devel] [bkpatch for 2.5] ipaq driver bugfix

2002-03-19 Thread V Ganesh
hi, this patch fixes the usb ipaq driver so that it submits urbs outside spinlocks. thanks, ganesh # This is a BitKeeper generated patch for the following project: # Project Name: greg k-h's linux 2.5 USB kernel tree # This patch format is intended for GNU patch command version 2.5

[linux-usb-devel] [bkpatch for 2.4] ipaq driver bugfix

2002-03-19 Thread V Ganesh
hi, this patch fixes the usb ipaq driver so that it submits urbs outside spinlocks. btw the digi_accelport driver has several instances of this bug. thanks, ganesh # This is a BitKeeper generated patch for the following project: # Project Name: greg k-h's linux 2.4 USB kernel tree # This

[linux-usb-devel] Imation superdisk

2002-03-19 Thread Fredrik Hegardt
Hi! Anyone had any luck using an Imation Superdisk under linux? Have tried for a while now, but I can't get it to work. I am using kernel 2.4.18. The device is found, but when I try 'cat /proc/scsi/scsi ' the machine hangs... Very grateful for any help I can get. Regards, Fredrik Hegardt __

Re: [linux-usb-devel] how use driver allocate bus bandwidth forupper level drifver ?

2002-03-19 Thread Randy.Dunlap
On Tue, 19 Mar 2002, Alex Huang wrote: | hi all, | In the linux, how does the usb driver evaluate the bus bandwidth wheather | or not the bus bandwidth is enough for the new requested packet?? In the | driver , I can't see any code the evaluate the bus utilization ?? Dose | anybody know and tel

Re: [linux-usb-devel] how use driver allocate bus bandwidth for upperlevel drifver ?

2002-03-19 Thread David Brownell
In short, device drivers don't do allocation, that's done inside the HCDs ... :) And only for periodic URBs. > If you select this bandwidth control option, it goes > thru some calculations on each submit_urb() call (if I > recall correctly) to determine if there is enough > available bandwidth.

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Johannes Erdfelt
On Mon, Mar 18, 2002, Greg KH <[EMAIL PROTECTED]> wrote: > On Mon, Mar 18, 2002 at 12:47:14AM -0500, Johannes Erdfelt wrote: > > Unfortunately, I left out one line from my spinlock cleanup patch > > recently. > > > > As a result, using interrupt URB's could cause a deadlock on SMP > > kernels. >

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 11:49:47AM -0500, Johannes Erdfelt wrote: > On Mon, Mar 18, 2002, Greg KH <[EMAIL PROTECTED]> wrote: > > On Mon, Mar 18, 2002 at 12:47:14AM -0500, Johannes Erdfelt wrote: > > > Unfortunately, I left out one line from my spinlock cleanup patch > > > recently. > > > > > > As

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Johannes Erdfelt
On Tue, Mar 19, 2002, Greg KH <[EMAIL PROTECTED]> wrote: > On Tue, Mar 19, 2002 at 11:49:47AM -0500, Johannes Erdfelt wrote: > > On Mon, Mar 18, 2002, Greg KH <[EMAIL PROTECTED]> wrote: > > > On Mon, Mar 18, 2002 at 12:47:14AM -0500, Johannes Erdfelt wrote: > > > > Unfortunately, I left out one li

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 12:06:28PM -0500, Johannes Erdfelt wrote: > Just curious about what you did to reproduce it: > > You loaded uhci.o Yes. > You plugged in a hub No. I did not plug in a hub, only a trackball into the root hub. > Did it finish enumeration? I don't think so, as there wer

[linux-usb-devel] Re: [bkpatch for 2.5] ipaq driver bugfix

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 08:06:35PM +0530, V Ganesh wrote: > hi, > this patch fixes the usb ipaq driver so that it submits urbs > outside spinlocks. Applied, thanks. greg k-h ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at:

[linux-usb-devel] Re: [bkpatch for 2.4] ipaq driver bugfix

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 08:05:13PM +0530, V Ganesh wrote: > hi, > this patch fixes the usb ipaq driver so that it submits urbs > outside spinlocks. btw the digi_accelport driver has several instances of > this bug. Applied, thanks. greg k-h ___

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread David Brownell
> > > > I've added this to my tree, but no, it does not solve my lockup problem > > > > (for those playing at home, it's a SMP kernel on a UP box, with a > > > > Microsoft trackball.) I'll do more tests tomorrow to see if I can > > > > narrow it down some more (i.e. if it's only with a specific d

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Johannes Erdfelt
On Tue, Mar 19, 2002, David Brownell <[EMAIL PROTECTED]> wrote: > > > > > I've added this to my tree, but no, it does not solve my lockup problem > > > > > (for those playing at home, it's a SMP kernel on a UP box, with a > > > > > Microsoft trackball.) I'll do more tests tomorrow to see if I can

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 01:54:01PM -0500, Johannes Erdfelt wrote: > On Tue, Mar 19, 2002, David Brownell <[EMAIL PROTECTED]> wrote: > > > > > > I've added this to my tree, but no, it does not solve my lockup problem > > > > > > (for those playing at home, it's a SMP kernel on a UP box, with a > >

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Johannes Erdfelt
On Tue, Mar 19, 2002, Greg KH <[EMAIL PROTECTED]> wrote: > On Tue, Mar 19, 2002 at 01:54:01PM -0500, Johannes Erdfelt wrote: > > On Tue, Mar 19, 2002, David Brownell <[EMAIL PROTECTED]> wrote: > > > > > > > I've added this to my tree, but no, it does not solve my lockup problem > > > > > > > (for

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread David Brownell
> With a 2.5.7-pre1 kernel, "uhci", that pci_pool patch I sent around > recently (which is in 2.5.7 fyi, and applies to 2.4.19-pre except for > the very last chunk), and with CONFIG_DEBUG_SLAB, I got an > OOPS too. I couldn't ksymoops in this setup. And just FYI, "usb-uhci" worked here ... but a

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 10:48:32AM -0800, David Brownell wrote: > > > > > I've added this to my tree, but no, it does not solve my lockup problem > > > > > (for those playing at home, it's a SMP kernel on a UP box, with a > > > > > Microsoft trackball.) I'll do more tests tomorrow to see if I can

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 11:05:46AM -0800, David Brownell wrote: > > With a 2.5.7-pre1 kernel, "uhci", that pci_pool patch I sent around > > recently (which is in 2.5.7 fyi, and applies to 2.4.19-pre except for > > the very last chunk), and with CONFIG_DEBUG_SLAB, I got an > > OOPS too. I couldn't

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread David Brownell
> > This was when plugging in another (low speed) trackball, and > > the OOPS was clearly caused by accessing poisoned pci_pool > > memory. Seems like something in_irq() was trying to walk a > > pointer that had been poisoned -- actually to offset it, it was an > > access to an address like like

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 interrupt deadlock

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 02:06:58PM -0500, Johannes Erdfelt wrote: > > This is one situation where the registers would have pointed it out very > quickly. :/ Here you go, I did it again and wrote all of them down: Unable to handle kernel paging request at virtual address a7a7a7a7d3 Oops: CP

[linux-usb-devel] PATCH -- usbfs periodic endpoint/bandwidth reporting

2002-03-19 Thread David Brownell
Hi, This is an updated version of a patch I sent around a while back. It's against 2.5.7-pre1 (so presumably is fine on 2.5.7), and addresses feedback against that earlier patch. It's bugfixes, mostly for highspeed support, to what /proc/bus/usb/devices shows: - Shows isochronous periods corre

Re: [linux-usb-devel] Imation superdisk

2002-03-19 Thread Matthew Dharm
I've used one for several months now with no problems. What does dmesg say? How do you know that "the device is found"? Matt On Tue, Mar 19, 2002 at 05:10:29PM +0100, Fredrik Hegardt wrote: > > Hi! > > Anyone had any luck using an Imation Superdisk under linux? Have tried for > a while now,

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-19 Thread Nemosoft Unv.
Greetings, On Tuesday 19 March 2002 07:31, Greg KH wrote: > > Ah, I didn't know that. Unfortunately, not all USB drivers have an > > /proc/ interface like CPiA. > > Ok, sorry for jumping in late here, but no ioctl(). I hate the current > usbfs ioctl interface and do not want to see that spread a

[linux-usb-devel] RE: [hpoj-devel] Re: [lp.hp] USB and HP printers (was: New HP LaserJet 1200 won't print in Linux)

2002-03-19 Thread PASCHAL,DAVID (HP-Roseville,ex1)
Till Kamppeter wrote: > What is the problem of the OfficeJet G and K series? ... > David Paschal wrote: ... > > .. Exception: The OfficeJet G and K series _only_ advertise 7/1/3 ... > > - If you have a LaserJet 1200 or 2200, or if you have any > of the other > > above-listed MFPs but only want

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-19 Thread Nemosoft Unv.
Hello, On Tuesday 19 March 2002 01:30, David Brownell wrote: > USB standardizes two models for this kind of thing: > > - "compound device" such as "hub and keyboard", which is > one physical device that appears as two USB device, each > normally having one interface (that's not re

[linux-usb-devel] Re: PATCH -- usbfs periodic endpoint/bandwidth reporting

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 12:41:47PM -0800, David Brownell wrote: > Hi, > > This is an updated version of a patch I sent around a > while back. It's against 2.5.7-pre1 (so presumably is > fine on 2.5.7), and addresses feedback against that > earlier patch. > > It's bugfixes, mostly for highspeed

[linux-usb-devel] Anyone want to fix drivers/usb/devio.c disconnect() ?

2002-03-19 Thread David Brownell
See the note below, which I can hope will explain enough of the details for someone to fix it. There are enough other things on my queue that I'd really like someone else to fix this ... :) - Dave - Original Message - From: "David Brownell" <[EMAIL PROTECTED]> To: "Robert McQueen" <[E

Re: [linux-usb-devel] Re: PATCH -- usbfs periodic endpoint/bandwidthreporting

2002-03-19 Thread David Brownell
> Can you also send a patch for Documentation/usb/proc_usb_info.txt to > reflect this change to the file? I already did ... :) - Dave ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linu

Re: [linux-usb-devel] Re: usbdevfs to device node mapping

2002-03-19 Thread Greg KH
Hi, On Tue, Mar 19, 2002 at 10:02:22PM +0100, Nemosoft Unv. wrote: > On Tuesday 19 March 2002 07:31, Greg KH wrote: > > > Ah, I didn't know that. Unfortunately, not all USB drivers have an > > > /proc/ interface like CPiA. > > > > Ok, sorry for jumping in late here, but no ioctl(). I hate the cu

[linux-usb-devel] Re: [hpoj-devel] Re: [lp.hp] USB and HP printers (was: New HP Las erJet 1200 won't print in Linux)

2002-03-19 Thread Till Kamppeter
No problem for Mandrake 8.2, it automatically installs HPOJ for these devices. So the only printer which would not work out-of-the-box with Mandrake 8.2 is the LaserJet 2200 on USB. Till PASCHAL,DAVID (HP-Roseville,ex1) wrote: > Till Kamppeter wrote: > >>What is the problem of the Office

Re: [linux-usb-devel] Re: PATCH -- usbfs periodic endpoint/bandwidth reporting

2002-03-19 Thread Greg KH
On Tue, Mar 19, 2002 at 01:26:41PM -0800, David Brownell wrote: > > Can you also send a patch for Documentation/usb/proc_usb_info.txt to > > reflect this change to the file? > > I already did ... :) Not quite, here's a small patch I added to explain the 'E:' format better. thanks, greg k-h d

Re: [linux-usb-devel] Re: [PATCH] LaCie USB CDRW

2002-03-19 Thread Jörg Prante
Hi, Matthew Dharm wrote: > Please send me the contents of /proc/bus/usb/devices when the device is > attached to the system. jungle:/home/joerg # cat /proc/bus/usb/devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 erroneous completion callback

2002-03-19 Thread Stephan Feder
Georg Acher wrote: > > On Mon, Mar 18, 2002 at 12:10:31AM +0100, Stephan Feder wrote: > > To be precise: the failures I am talking about are those that could > > occur while talking to real devices, not errors like OOM and illegal > > URBs (e.g. URBs with transfer_buffer=0 and transfer_buffer_len

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 erroneous completioncallback

2002-03-19 Thread Stephan Feder
David Brownell wrote: > > > usb_submit_urb should really have well defined semantics for failures: > > > > 1. the completion handler is _not called_ and the result of > > usb_submit_urb indicates _failure_ (the way uhci handles it now), > > ... > > 3. the completion handler is _called_ and the re

Re: [linux-usb-devel] [patch] uhci.c 2.4.19-pre3 erroneous completion callback

2002-03-19 Thread Johannes Erdfelt
On Tue, Mar 19, 2002, Stephan Feder <[EMAIL PROTECTED]> wrote: > Georg Acher wrote: > > > > On Mon, Mar 18, 2002 at 12:10:31AM +0100, Stephan Feder wrote: > > > To be precise: the failures I am talking about are those that could > > > occur while talking to real devices, not errors like OOM and i

[linux-usb-devel] Cannon N650U scanner

2002-03-19 Thread Steve Blackwell
Hi, I have a Cannon N650U scanner which, as far as I can tell from what I've read so far, is not supported under Linux. Does anyone know of any development work being done for this device before I start thinking about jumping in. It appears from the comments in scanner.c (0.4.7) that people a

[linux-usb-devel] DMI USB 2.0 Storage Adapter

2002-03-19 Thread Jacek Pliszka
Hi! I bought a DMI USB 2.0 Storage Adapter and I need some hep with getting it working. Could somebody help me? My plan is to try drivers for some other devices or use usbsnoopy. But maybe someone have valid hints for me, maybe it is similar to existing devices and I have just to add something