[linux-usb-devel] PATCH: Desknote/ECS UCR-61S2B card reader (2.5.72 patched)

2003-06-19 Thread Kevin Cernekee
# This is for 2.5.72 with the US_PR_DEVICE / US_SC_DEVICE patch in place. # Tested and working. --- linux-2.5.72.orig/drivers/usb/storage/initializers.c2003-06-14 14:18:08.0 -0500 +++ linux-2.5.72.patched/drivers/usb/storage/initializers.c 2003-06-19 23:23:33.0 -0500 @

[linux-usb-devel] PATCH: Desknote/ECS UCR-61S2B card reader (2.4.21 patched)

2003-06-19 Thread Kevin Cernekee
# This is for 2.4.21 with the US_PR_DEVICE / US_SC_DEVICE patch in place. # Tested and working. diff -ru linux-2.4.21/drivers/usb/storage/initializers.c linux-2.4.21-test/drivers/usb/storage/initializers.c --- linux-2.4.21/drivers/usb/storage/initializers.c 2000-09-08 18:39:12.0 -0500

Re: [linux-usb-devel] PATCH: Desknote/ECS UCR-61S2B card reader support

2003-06-19 Thread Matthew Dharm
Could you make a 2.5.x version of this patch, also? And the unusual_devs.h entry should use US_PR_DEVICE and US_SC_DEVICE. Matt On Thu, Jun 19, 2003 at 07:49:27PM -0500, Kevin Cernekee wrote: > diff -ruN linux-2.4.21/drivers/usb/storage/initializers.c > linux-2.4.21.patched/drivers/usb/storage/

[linux-usb-devel] PATCH: Desknote/ECS UCR-61S2B card reader support

2003-06-19 Thread Kevin Cernekee
diff -ruN linux-2.4.21/drivers/usb/storage/initializers.c linux-2.4.21.patched/drivers/usb/storage/initializers.c --- linux-2.4.21/drivers/usb/storage/initializers.c 2000-09-08 18:39:12.0 -0500 +++ linux-2.4.21.patched/drivers/usb/storage/initializers.c 2003-06-19 16:49:24.00

[linux-usb-devel] [PATCH] USB updates for 2.4.21

2003-06-19 Thread Greg KH
Hi all, I've rolled up all of the pending patches that I've been storing up for 2.4.21 into one big patch and placed it on kernel.org at: kernel.org/pub/linux/kernel/people/gregkh/usb/2.4/usb-2.4.21.patch.gz This includes all of the patches that I sent to Marcelo yesterday, and 2 more (one mor

Re: [linux-usb-devel] [BK PATCH] USB update for 2.4.21

2003-06-19 Thread Greg KH
On Thu, Jun 19, 2003 at 02:05:13PM -0700, David Brownell wrote: > Here's another one -- the EHCI driver fixes that are > now in Linus' tree, and are mostly in 2.4.21-ac1 > (but that's missing an important one-liner). It goes > on top of the patches Greg just sent. > > The "meat" of this patch is

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Matthew Dharm
On Thu, Jun 19, 2003 at 10:29:58PM +0200, Vedran Rodic wrote: > On Thu, Jun 19, 2003 at 11:47:02AM -0400, Alan Stern wrote: > > > 3. > > > I've noticed that usb-storage doesn't remove the disk from /proc/scsi/scsi > > > (the representation of kernel scsi device list) > > > when the device is discon

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Vedran Rodic
On Thu, Jun 19, 2003 at 11:47:02AM -0400, Alan Stern wrote: > > 3. > > I've noticed that usb-storage doesn't remove the disk from /proc/scsi/scsi > > (the representation of kernel scsi device list) > > when the device is disconnected. Because of that, I cannot connect a > > different hard disk to u

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Vedran Rodic
--- Begin Message --- On Thu, Jun 19, 2003 at 05:10:21PM +0100, Major A wrote: > > What's the host controller you're using? I used to see the same > problem here, but it went away altogether with a couple of patches > (which you seem to have applied) and a different EHCI controller. > VT6202, se

Re: [linux-usb-devel] [BK PATCH] USB update for 2.4.21

2003-06-19 Thread David Brownell
Here's another one -- the EHCI driver fixes that are now in Linus' tree, and are mostly in 2.4.21-ac1 (but that's missing an important one-liner). It goes on top of the patches Greg just sent. The "meat" of this patch is fixing a handful of logic bugs in the qh_completions() code which usually did

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Vedran Rodic
On Thu, Jun 19, 2003 at 10:25:29AM -0700, David Brownell wrote: > >Also there was a patch from David with the subject line: > >"[patch 2.5.70] ehci, fix qh re-activation problem" > >Does this problem exist in some form in 2.4? > > Of course ... but the fix is in 2.4.21-ac1, and will > be in the ne

Re: [linux-usb-devel] Re: Help getting HID to work

2003-06-19 Thread Dana Lacoste
Sergey's fix (max must not be < min, not just <= min) fixes the problem perfectly : I've got a fully functional UPS. Not using 2.5, I don't have the stack corruption issue, so I'll leave that one to Ken's report :) Thanks, guys! Dana Lacoste Ottawa, Canada

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread David Brownell
the USB-IDE bridge was at least part of the bottleneck here. Writes are less problematic -- you just dump the data in bulk OUT packets and the bridge writes to IDE whatever it can whenever it can. At high speed there's a PING protocol too ... basically the device can let the host know when a buffe

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread David Brownell
Vedran Rodic wrote: Hi Unfortunaltely, I had a couple of problems with ehci on usb-storage since my last report. I've applied ehci-hcd micro-patch from David. I use 2.4.21-rc8-ac1 (basicaly equivalent to 2.4.21-ac1 + ehci-hcd micro patch USB wise). 2.4.21-ac1 + micro-patch is currently your best

Re: [linux-usb-devel] is there any usb device controller driver examples

2003-06-19 Thread David Brownell
John F. Davis wrote: Hello I have a box with both a host controller port and a device controller port. Is there any example code for device controllers? Certainly ... see http://www.linux-usb.org/gadget/ to see the current status, and a few drivers. The device controller driver there is the "net2

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Alan Stern
On Thu, 19 Jun 2003, Major A wrote: > > > About possible performance improvement on 2.5 ehci/usb-storage: > > > I've tested with 2.5.71, and I don't see a significant improvement over 2.4. > > > (Both are arround 7.7 MB/s for read, 10 MB/s for write). Disk can do arround > > > 40 MB/s reads on I

Re: [linux-usb-devel] Help getting HID to work

2003-06-19 Thread Ken Witherow
On Thu, 19 Jun 2003, Greg KH wrote: > > I too have a Smart UPS 1500. In 2.4, it's recognized but nothing gets HID > > to register it. In 2.5, I get slab corruption when plugging it in (see > > http://bugzilla.kernel.org/show_bug.cgi?id=714 for 2.5 details) > > I think 2.5.72-bk2 will fix this prob

Re: [linux-usb-devel] Help getting HID to work

2003-06-19 Thread Greg KH
On Thu, Jun 19, 2003 at 11:55:24AM -0400, Ken Witherow wrote: > On Thu, 19 Jun 2003, Dana Lacoste wrote: > > > Nope, there's two separate devices : a BackUPS 500 (tiny) and a > > Smart UPS 1500 (much larger) > > > > The tiny one works, the much more expensive larger one does not. > > > > Unfortuna

[linux-usb-devel] Re: Help getting HID to work

2003-06-19 Thread Sergey Vlasov
On Thu, 19 Jun 2003 11:55:24 -0400 (EDT) Ken Witherow <[EMAIL PROTECTED]> wrote: > I too have a Smart UPS 1500. In 2.4, it's recognized but nothing gets HID > to register it. In 2.5, I get slab corruption when plugging it in (see > http://bugzilla.kernel.org/show_bug.cgi?id=714 for 2.5 details) >

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Major A
> In itself that timeout isn't necessarily bad, but in practice it usually > seems to indicate a problem with EHCI. More extensive debugging > information would help here. If it's not a host controller problem then > we should be able to recover from the error. But without knowing what the >

Re: [linux-usb-devel] Re: convert kaweth to usb_buffer_alloc

2003-06-19 Thread Greg KH
On Thu, Jun 19, 2003 at 08:14:23AM +0200, Oliver Neukum wrote: > Am Mittwoch, 18. Juni 2003 19:30 schrieb Greg KH: > > On Wed, Jun 18, 2003 at 10:26:18AM +0200, Oliver Neukum wrote: > > > PS: If that doesn't work, I'll sacrifice a few floppies to the gods. > > > > It worked, thanks. > > > > But now

Re: [linux-usb-devel] Help getting HID to work

2003-06-19 Thread Ken Witherow
On Thu, 19 Jun 2003, Dana Lacoste wrote: > Nope, there's two separate devices : a BackUPS 500 (tiny) and a > Smart UPS 1500 (much larger) > > The tiny one works, the much more expensive larger one does not. > > Unfortunately, neither is the case. > > The SmartUPS is on a system in Japan, it's neve

Re: [linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Alan Stern
On Thu, 19 Jun 2003, Vedran Rodic wrote: > Hi > > Unfortunaltely, I had a couple of problems with ehci on usb-storage since > my last report. I've applied ehci-hcd micro-patch from David. I use > 2.4.21-rc8-ac1 (basicaly equivalent to 2.4.21-ac1 + ehci-hcd micro patch USB > wise). > > Also the

Re: [linux-usb-devel] Help getting HID to work

2003-06-19 Thread w3nlb
On 19 Jun 2003 at 10:15, Dana Lacoste wrote: > (d'oh! I mis-spelled devl in the original email :) > > On Thu, 2003-06-19 at 10:08, [EMAIL PROTECTED] wrote: > > There is something really weird here. The information from the non- > > working system is different but apparently valid. Specifically

[linux-usb-devel] ehci / usb-storage problems

2003-06-19 Thread Vedran Rodic
Hi Unfortunaltely, I had a couple of problems with ehci on usb-storage since my last report. I've applied ehci-hcd micro-patch from David. I use 2.4.21-rc8-ac1 (basicaly equivalent to 2.4.21-ac1 + ehci-hcd micro patch USB wise). Also there was a patch from David with the subject line: "[patch 2

Re: [linux-usb-devel] Help getting HID to work

2003-06-19 Thread Dana Lacoste
(d'oh! I mis-spelled devl in the original email :) On Thu, 2003-06-19 at 10:08, [EMAIL PROTECTED] wrote: > There is something really weird here. The information from the non- > working system is different but apparently valid. Specifically, the > P:Rev=0.06, S:Product, S:SerialNumber, and E:Iv

Re: [linux-usb-devel] Help getting HID to work

2003-06-19 Thread w3nlb
On 19 Jun 2003 at 9:22, Dana Lacoste wrote: > (Posted to linux-usb-users originally, but nobody seems to know there) > > I've got two USB UPS systems. Both should load with the HID driver, > but only one will. Can anyone give any suggestions as to how to force > the HID driver to load, or to ma

[linux-usb-devel] is there any usb device controller driver examples

2003-06-19 Thread John F. Davis
Hello I have a box with both a host controller port and a device controller port. Is there any example code for device controllers? -- Happy Trails John F. Davis --- This SF.Net email is sponsored by: INetU Attention Web Developers & Consu

[linux-usb-devel] Help getting HID to work

2003-06-19 Thread Dana Lacoste
(Posted to linux-usb-users originally, but nobody seems to know there) I've got two USB UPS systems. Both should load with the HID driver, but only one will. Can anyone give any suggestions as to how to force the HID driver to load, or to make it work some other way? Here's the collected info (

Re: [linux-usb-devel] Re: Accepting new usb-storage unusual_devs.h patches

2003-06-19 Thread Greg KH
On Wed, Jun 18, 2003 at 06:29:05PM -0700, Matthew Dharm wrote: > On Wed, Jun 18, 2003 at 05:32:25PM -0700, Greg KH wrote: > > On Wed, Jun 18, 2003 at 03:11:12PM -0400, Alan Stern wrote: > > > Greg: > > > > > > As a result of a recently-applied change, there are two new subclass and > > > protocol