[linux-usb-devel] Re: Prolific PL-2301/PL-2302 fails

2004-02-09 Thread Martin MOKREJŠ
On Thu, 8 Jan 2004, David Brownell wrote: Hi, I have an update on this regarding 2.6.3-rc1 kernel. I have two cables. With the original cable which I used to report this problem I still get the reset problem. Later I bought Gembird cable which seemd to be undetected but now it get's detected

[linux-usb-devel] PATCH: (as184) unneeded SubClass entry in unusual_devs.h

2004-02-09 Thread Alan Stern
On Sat, 7 Feb 2004, Brendan Arthurs wrote: > I'm getting the following message when I power on my USB external > enclosure (a MAP-K51U) with a Maxtor IDE hard drive in it. I'm running > kernel 2.6.2. Hope this is of some use to you. > > Feb 7 11:03:13 europa kernel: hub 4-0:1.0: new USB device o

Re: [linux-usb-devel] Re: [PATCH 2.6.0] USB pusblp.c

2004-02-09 Thread Paulo Marques
Greg KH wrote: On Tue, Dec 30, 2003 at 07:10:51PM +, Paulo Marques wrote: Greg KH wrote: Hm, this patch is linewrapped or something, and can't be applied. Can you try to send it again so that it doesn't get mangled? Sorry about that. I'm sending it attached this time to avoid the mess :)

Re: [linux-usb-devel] USB 2.0 mass storage problem

2004-02-09 Thread Alan Stern
On Sun, 8 Feb 2004, Francis, Chong Chan Fai wrote: > Hi, > > I have my laptop installed with Fedora Core (Kernel 2.4.22), and I want to > use a USB 2.0 120G hard drive via a Cardbus USB2.0 adaptor. > I plug the Cardbus card, and then the USB2.0 HD, (after a few config) linux > recognize my HD and

[linux-usb-devel] [PATCH 2.6.3] ftdi_sio new PIDs and name fix for sysfs

2004-02-09 Thread Ian Abbott
This patch adds a couple of new PIDs for the ftdi_sio driver and changes the name of the USB-UIRT device to avoid the "/" character, as that appears as a directory separator in the sysfs namespace. (The patch should also apply to 2.4.25-rc1 if this sort of patch is still acceptable.) -- -=( Ia

Re: [linux-usb-devel] A question of usb host driver.

2004-02-09 Thread Alan Stern
On Mon, 9 Feb 2004, Xu Levis-Q16136 wrote: > Dear all, > I'm SW engineer for Linux USB driver(Host and Client). And now > i have a question of usb host side driver, could you help me analyze it > and give me some suggestions? > > You know when a device attached to a host, the probe function will

[linux-usb-devel] Re: PATCH: (as180) gadget/file_storage.c -- remove device_unregister_wait()

2004-02-09 Thread Alan Stern
Greg: A couple of weeks ago you said that this patch http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107530733920901&w=2 had been applied. But it still hasn't shown up in BK. Alan Stern --- The SF.Net email is sponsored by EclipseCon 200

[linux-usb-devel] "pegasus.c: intr status -84" during network load

2004-02-09 Thread Paulo Marques
I get a lot of "drivers/usb/net/pegasus.c: intr status -84" messages during file transfers over the network. During a 2Mb file transfer I can get as much as 12 messages, or as little as 2 (tested during 10 consecutive runs). This happened in kernels 2.4.x, but it is still happening in 2.6.3-rc1

Re: [linux-usb-devel] FW: USB 2.0 external hard drive problem

2004-02-09 Thread Alan Stern
On Fri, 6 Feb 2004, Matthew Dharm wrote: > On Fri, Feb 06, 2004 at 10:24:25AM -0500, James Bottomley wrote: > > On Fri, 2004-02-06 at 09:59, Alan Stern wrote: > > > Who says it's wrong to retrieve sense information when there is an > > > underrun but not Check Condition? Can you provide a referen

Re: [linux-usb-devel] FW: USB 2.0 external hard drive problem

2004-02-09 Thread James Bottomley
On Mon, 2004-02-09 at 11:40, Alan Stern wrote: > In the absence of anything better, we're forced to assume "bad" status > corresponds to Check Condition... > > What do you think, Matt? Should we remove the auto-sense for short > transfers when we get "good" status? Bearing in mind that it's >

[linux-usb-devel] Re: newbie question regarding usb device interface driver ?

2004-02-09 Thread David Brownell
Yomie Chan wrote: The usb-serial, USB-LAN, USB-drive now work fine on my USB host interface using kernel 2.4.21-rmk1 on at91rm9200DK I want to know how should I test and implement the usb device interface driver for it? For basic testing, you can use a Linux 2.6 host and the "usbtest" driver. There

Re: [linux-usb-devel] Re: PATCH: (as180) gadget/file_storage.c -- remove device_unregister_wait()

2004-02-09 Thread Greg KH
On Mon, Feb 09, 2004 at 11:31:16AM -0500, Alan Stern wrote: > Greg: > > A couple of weeks ago you said that this patch > > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107530733920901&w=2 > > had been applied. But it still hasn't shown up in BK. It's in my local, "working" bk tree:

Re: [linux-usb-devel] Re: PATCH: (as180) gadget/file_storage.c -- remove device_unregister_wait()

2004-02-09 Thread Alan Stern
On Mon, 9 Feb 2004, Greg KH wrote: > On Mon, Feb 09, 2004 at 11:31:16AM -0500, Alan Stern wrote: > > Greg: > > > > A couple of weeks ago you said that this patch > > > > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=107530733920901&w=2 > > > > had been applied. But it still hasn't shown up

[linux-usb-devel] Where is the world is Greg's bk trees...

2004-02-09 Thread Greg KH
Added sensor, lkml, and pci hotplug lists, as people there care about this stuff at times... On Mon, Feb 09, 2004 at 01:30:22PM -0500, Alan Stern wrote: > On Mon, 9 Feb 2004, Greg KH wrote: > > > On Mon, Feb 09, 2004 at 11:31:16AM -0500, Alan Stern wrote: > > > Greg: > > > > > > A couple of week

Re: [linux-usb-devel] Re: Test of ehci iso patch

2004-02-09 Thread John Heil
On Fri, 6 Feb 2004, David Brownell wrote: > Date: Fri, 06 Feb 2004 11:57:41 -0800 > From: David Brownell <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: linux-usb-devel <[EMAIL PROTECTED]>, > John Heil <[EMAIL PROTECTED]> > Subject: Re: [linux-usb-devel] Re: Test of ehci iso patch > > Micha

[linux-usb-devel] Re: PATCH: (as184) unneeded SubClass entry in unusual_devs.h

2004-02-09 Thread Greg KH
On Mon, Feb 09, 2004 at 10:14:48AM -0500, Alan Stern wrote: > On Sat, 7 Feb 2004, Brendan Arthurs wrote: > > > I'm getting the following message when I power on my USB external > > enclosure (a MAP-K51U) with a Maxtor IDE hard drive in it. I'm running > > kernel 2.6.2. Hope this is of some use to

[linux-usb-devel] Re: [PATCH 2.6.3] ftdi_sio new PIDs and name fix for sysfs

2004-02-09 Thread Greg KH
On Mon, Feb 09, 2004 at 04:13:12PM +, Ian Abbott wrote: > This patch adds a couple of new PIDs for the ftdi_sio driver and > changes the name of the USB-UIRT device to avoid the "/" character, > as that appears as a directory separator in the sysfs namespace. > > (The patch should also apply

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

2004-02-09 Thread Paul Fulghum
> Below is a patch to the current 2.6 driver that > implements the other scheme. If you still have the > computer you were using back then, could you give > it a try? I still have the machine. It may take a day or two to setup the test. I'll let you know what I find. -- Paul Fulghum [EMAIL PROTECT

[linux-usb-devel] [PATCH 2.6.2-mm1 1/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/core/hcd-pci.c 1.23 vs edited = --- 2.6.2-mm1/drivers/usb/core/buffer.c Tue Jan 6 06:50:11 2004 +++ edited/drivers/usb/core/buffer.cWed Feb 4 10:40:42 2004 @@ -2,14 +2,19 @@ * DMA memory management for framework level HCD code (hc_driver) * * This implementation

[linux-usb-devel] [PATCH 2.6.2-mm1 3/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ehci-dbg.c 1.27 vs edited = --- 2.6.2-mm1/drivers/usb/core/hcd.hFri Aug 29 11:06:37 2003 +++ edited/drivers/usb/core/hcd.h Wed Feb 4 10:40:42 2004 @@ -78,15 +78,14 @@ void*regs; /* device memory/io */ struct device

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

2004-02-09 Thread Deepak Saxena
All, In reply to this message I will post a set of patches that cleanup the USB driver layer to use the generic DMA-mapping API and dma_pools vs pci_pools. This patch is against 2.6.2-mm1 b/c it requires the dma_pool patch [1]. In addition to the changes against the generic OHCI, ECHI, and UHCI dr

[linux-usb-devel] [PATCH 2.6.2-mm1 2/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/core/hcd.h 1.34 vs edited = --- 2.6.2-mm1/drivers/usb/core/hcd-pci.cThu Oct 9 03:20:18 2003 +++ edited/drivers/usb/core/hcd-pci.c Wed Feb 4 10:40:42 2004 @@ -146,7 +146,7 @@ pci_set_drvdata (dev, hcd); hcd->driver = driver; hcd->description

[linux-usb-devel] [PATCH 2.6.2-mm1 6/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ehci-mem.c 1.54 vs edited = --- 2.6.2-mm1/drivers/usb/host/ehci-mem.c Sun Dec 28 09:02:23 2003 +++ edited/drivers/usb/host/ehci-mem.c Wed Feb 4 14:04:36 2004 @@ -24,7 +24,7 @@ * There's basically three types of memory: * - data used only by the HCD ... km

[linux-usb-devel] [PATCH 2.6.2-mm1 5/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ehci-mem.c 1.16 vs edited = --- 2.6.2-mm1/drivers/usb/host/ehci-hcd.c Sun Dec 28 13:36:41 2003 +++ edited/drivers/usb/host/ehci-hcd.c Wed Feb 4 14:06:27 2004 @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -67,6 +68,7 @@

[linux-usb-devel] [PATCH 2.6.2-mm1 9/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ohci-hcd.c 1.51 vs edited = --- 2.6.2-mm1/drivers/usb/host/ehci.h Sun Dec 28 13:33:25 2003 +++ edited/drivers/usb/host/ehci.h Wed Feb 4 10:42:46 2004 @@ -74,11 +74,11 @@ struct ehci_regs*regs; u32 hcs_params; /* cac

[linux-usb-devel] [PATCH 2.6.2-mm1 10/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ohci-mem.c 1.17 vs edited = --- 2.6.2-mm1/drivers/usb/host/ohci-hcd.c Mon Jan 26 02:48:45 2004 +++ edited/drivers/usb/host/ohci-hcd.c Wed Feb 4 11:39:25 2004 @@ -17,6 +17,7 @@ * * History: * + * 2004/02/04 use generic dma_* functions instead of pci_* ([EMA

[linux-usb-devel] [PATCH 2.6.2-mm1 8/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ehci.h 1.26 vs edited = --- 2.6.2-mm1/drivers/usb/host/ehci-sched.c Sun Dec 28 13:59:09 2003 +++ edited/drivers/usb/host/ehci-sched.cWed Feb 4 10:40:42 2004 @@ -605,7 +605,7 @@ itd = list_entry (stream->free_itd_list.next,

[linux-usb-devel] [PATCH 2.6.2-mm1 7/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ehci-q.c 1.29 vs edited = --- 2.6.2-mm1/drivers/usb/host/ehci-q.c Sun Dec 28 12:10:40 2003 +++ edited/drivers/usb/host/ehci-q.cWed Feb 4 10:55:14 2004 @@ -776,7 +776,7 @@ qh = (struct ehci_qh *) *ptr; if (unlikely (qh == 0)) { /* can'

[linux-usb-devel] [PATCH 2.6.2-mm1 4/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ehci-hcd.c 1.64 vs edited = --- 2.6.2-mm1/drivers/usb/host/ehci-dbg.c Sun Dec 28 13:35:18 2003 +++ edited/drivers/usb/host/ehci-dbg.c Wed Feb 4 10:40:42 2004 @@ -625,7 +625,7 @@ i = HC_VERSION(readl (&ehci->caps->hc_capbase)); temp = snprintf (nex

[linux-usb-devel] [PATCH 2.6.2-mm1 11/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ohci-omap.c 1.1 vs edited = --- 2.6.2-mm1/drivers/usb/host/ohci-mem.c Wed Aug 6 04:52:20 2003 +++ edited/drivers/usb/host/ohci-mem.c Wed Feb 4 10:49:18 2004 @@ -13,7 +13,7 @@ * There's basically three types of memory: * - data used only by the HCD ... km

[linux-usb-devel] [PATCH 2.6.2-mm1 12/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ohci-pci.c 1.18 vs edited = --- 2.6.2-mm1/drivers/usb/host/ohci-omap.c Mon Jan 26 02:48:45 2004 +++ edited/drivers/usb/host/ohci-omap.c Wed Feb 4 11:19:11 2004 @@ -388,7 +388,7 @@ hcd->description = driver->description; hcd->irq = dev->irq[0];

[linux-usb-devel] [PATCH 2.6.2-mm1 15/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ohci.h 1.18 vs edited = --- 2.6.2-mm1/drivers/usb/host/ohci-sa.cSun Aug 24 07:45:05 2003 +++ edited/drivers/usb/host/ohci-sa.c Wed Feb 4 10:40:43 2004 @@ -167,7 +167,7 @@ hcd->description = driver->description; hcd->irq = dev->irq[1];

[linux-usb-devel] [PATCH 2.6.2-mm1 13/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ohci-q.c 1.45 vs edited = --- 2.6.2-mm1/drivers/usb/host/ohci-pci.c Mon Oct 13 06:24:06 2003 +++ edited/drivers/usb/host/ohci-pci.c Wed Feb 4 10:40:43 2004 @@ -45,17 +45,19 @@ struct ohci_hcd *ohci = hcd_to_ohci (hcd); int ret; -

[linux-usb-devel] [PATCH 2.6.2-mm1 16/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/uhci-hcd.c 1.49 vs edited = --- 2.6.2-mm1/drivers/usb/host/ohci.h Thu Dec 4 04:45:46 2003 +++ edited/drivers/usb/host/ohci.h Wed Feb 4 10:40:43 2004 @@ -361,8 +361,8 @@ /* * memory management for queue data structures */ - struct

[linux-usb-devel] [PATCH 2.6.2-mm1 14/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/ohci-sa.c 1.17 vs edited = --- 2.6.2-mm1/drivers/usb/host/ohci-q.c Thu Dec 4 04:14:32 2003 +++ edited/drivers/usb/host/ohci-q.cWed Feb 4 11:07:58 2004 @@ -365,7 +365,7 @@ if (!(ed = dev->ep [ep])) { struct td *td; -

[linux-usb-devel] [PATCH 2.6.2-mm1 17/18] Fix USB to use generic DMA mapping API

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/uhci-hcd.h 1.10 vs edited = --- 2.6.2-mm1/drivers/usb/host/uhci-hcd.c Mon Aug 11 03:25:33 2003 +++ edited/drivers/usb/host/uhci-hcd.c Wed Feb 4 10:40:43 2004 @@ -41,6 +41,8 @@ #include #include #include +#include +#include #ifdef CONFIG_USB_DEBUG #defin

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

2004-02-09 Thread Deepak Saxena
= drivers/usb/host/uhci-hcd.h 1.10 vs edited = --- 2.6.2-mm1/drivers/usb/host/uhci-hcd.h Fri Jul 18 06:22:32 2003 +++ edited/drivers/usb/host/uhci-hcd.h Wed Feb 4 10:44:02 2004 @@ -326,8 +326,8 @@ /* Grabbed from PCI */ unsigned long io_addr; - struct pci_po

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

2004-02-09 Thread Deepak Saxena
FYI, My diffsplit script goofed in the first line of the headers for the diffs, caught it and fixed in some of them when I sent them out, but then gave up b/c it doesn't impact applying them. For example: -> Should be drivers/usb/core/buffer.c 1.6 vs edited <- = drivers/usb/core/hcd-pc

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

2004-02-09 Thread Alan Stern
On Mon, 9 Feb 2004, Paul Fulghum wrote: > > Below is a patch to the current 2.6 driver that > > implements the other scheme. If you still have the > > computer you were using back then, could you give > > it a try? > > I still have the machine. It may take a day > or two to setup the test. >

[linux-usb-devel] storage/unusual_devs.h

2004-02-09 Thread Richard B. Kreckel
Hi, I plugged an Minolta Dimage 7i into USB and when mounting /dev/sda1 via USB it reported the message usb-storage: This device (0686,400b,0001 S 06 P 50) has an unneeded SubClass entry in unusual_devs.h along with the plea to send this message to [EMAIL PROTECTED] This was linux kerne

Re: [linux-usb-devel] FW: USB 2.0 external hard drive problem

2004-02-09 Thread Matthew Dharm
On Mon, Feb 09, 2004 at 11:50:13AM -0500, James Bottomley wrote: > On Mon, 2004-02-09 at 11:40, Alan Stern wrote: > > In the absence of anything better, we're forced to assume "bad" status > > corresponds to Check Condition... > > > > What do you think, Matt? Should we remove the auto-sense for

Re: [linux-usb-devel] FW: USB 2.0 external hard drive problem

2004-02-09 Thread Alan Stern
On 9 Feb 2004, James Bottomley wrote: > OK, if you want to understand what the mid-layer problem is, look at > scsi_finish_command(). You see in there we set DRIVER_SENSE if we find > any valid sense code in the sense buffer (including NO SENSE) > > We will return this to the user as a sense err

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

2004-02-09 Thread David Brownell
Deepak Saxena wrote: = drivers/usb/core/hcd.h 1.34 vs edited = --- 2.6.2-mm1/drivers/usb/core/hcd-pci.cThu Oct 9 03:20:18 2003 +++ edited/drivers/usb/core/hcd-pci.c Wed Feb 4 10:40:42 2004 @@ -146,7 +146,7 @@ pci_set_drvdata (dev, hcd); hcd->driver = driver;

Re: [linux-usb-devel] storage/unusual_devs.h

2004-02-09 Thread Alan Stern
On Mon, 9 Feb 2004, Richard B. Kreckel wrote: > Hi, > > I plugged an Minolta Dimage 7i into USB and when mounting /dev/sda1 > via USB it reported the message > > usb-storage: This device (0686,400b,0001 S 06 P 50) has an > unneeded SubClass entry in unusual_devs.h > > along with the ple

RE: [linux-usb-devel] FW: USB 2.0 external hard drive problem

2004-02-09 Thread Tony Battersby
> Especially if the sense code is NO SENSE. Logically that should > indicate the driver needed to find out whether or not there was error, > and it learned that there wasn't. For tape drives, sense key == NO SENSE is not equivalent to no error to report. Often a tape drive returns a sense key of

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

2004-02-09 Thread Stephen Hemminger
The following patch fixes the race where a URB is dequeued but it on the complete list. It moves up uhci->list_lock so it overlaps the remove_list lock. This is the important one, the other 9 are just minor improvements that reduce code or memory. diff -Nru a/drivers/usb/host/uhci-hcd.c b/driver

[linux-usb-devel] [PATCH] (2/10) uhci - unneeded irqsave/restore in clear_next_interrupt

2004-02-09 Thread Stephen Hemminger
clear_next_interrupt only called in IRQ context don't need irqsave/restore diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c --- a/drivers/usb/host/uhci-hcd.c Mon Feb 9 11:43:23 2004 +++ b/drivers/usb/host/uhci-hcd.c Mon Feb 9 11:43:23 2004 @@ -121,11 +121,9 @@

[linux-usb-devel] [PATCH] (3/10) uhci - remove unnedded irqsave/restore finish completeion

2004-02-09 Thread Stephen Hemminger
Since uhci_finish_completion is only called from IRQ routine, the irqsave/irqrestore is redundant and unnecessary. diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c --- a/drivers/usb/host/uhci-hcd.c Mon Feb 9 14:20:23 2004 +++ b/drivers/usb/host/uhci-hcd.c Mon Feb

[linux-usb-devel] [PATCH] (6/10) uhci - still more unneeded irqsave/restore

2004-02-09 Thread Stephen Hemminger
uhci_add_complete only called from IRQ context diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c --- a/drivers/usb/host/uhci-hcd.c Mon Feb 9 12:55:14 2004 +++ b/drivers/usb/host/uhci-hcd.c Mon Feb 9 12:55:14 2004 @@ -129,11 +129,10 @@ static inline void uhci_add_

[linux-usb-devel] [PATCH] (5/10) uhci - more unneeded irqsave/restore uhci_finish_urb

2004-02-09 Thread Stephen Hemminger
uhci_finish_urb is always called from irq so no need for irqsave/irqrestore. diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c --- a/drivers/usb/host/uhci-hcd.c Mon Feb 9 12:54:47 2004 +++ b/drivers/usb/host/uhci-hcd.c Mon Feb 9 12:54:47 2004 @@ -1845,15 +1845,14

[linux-usb-devel] [PATCH] (4/10) uhci - unneeded irqsave/restore uhci_transfer_result

2004-02-09 Thread Stephen Hemminger
UHCI transfer_result is only called from IRQ context so irqsave/restore is unnecessary here. diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c --- a/drivers/usb/host/uhci-hcd.c Mon Feb 9 11:44:03 2004 +++ b/drivers/usb/host/uhci-hcd.c Mon Feb 9 11:44:03 2004 @@ -1

[linux-usb-devel] [PATCH] (7/10) uhci -- get rid of urbp->complete_list

2004-02-09 Thread Stephen Hemminger
The complete_list element in the urb private data is redundant, since it is only used when the urb is on the complete list. And given the state transitions, an urb can't be on the complete list and any other list (remove, or urb_list). Therefore just use urb_list to link the complete_list diff -N

[linux-usb-devel] [PATCH] (8/10) uhci - use list_move_tail for complete list

2004-02-09 Thread Stephen Hemminger
Use list_move_tail to move between remove (or urb_list) and the complete_list. diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c --- a/drivers/usb/host/uhci-hcd.c Mon Feb 9 13:58:48 2004 +++ b/drivers/usb/host/uhci-hcd.c Mon Feb 9 13:58:48 2004 @@ -126,12 +126,11

[linux-usb-devel] [PATCH] (9/10) uhci_stop -- add local irq save.

2004-02-09 Thread Stephen Hemminger
Save irq state in uhci_stop so that the irqsave/irqrestore's in all the free_pending and remove_pending code can be eliminated. diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c --- a/drivers/usb/host/uhci-hcd.c Mon Feb 9 12:56:00 2004 +++ b/drivers/usb/host/uhci-hcd.c

Re: [linux-usb-devel] [PATCH] (7/10) uhci -- get rid of urbp->complete_list

2004-02-09 Thread Stephen Hemminger
On Mon, 9 Feb 2004 14:58:54 -0800 Johannes Erdfelt <[EMAIL PROTECTED]> wrote: > On Mon, Feb 09, 2004, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > > @@ -669,7 +669,6 @@ > > > > INIT_LIST_HEAD(&urbp->td_list); > > INIT_LIST_HEAD(&urbp->queue_list); > > - INIT_LIST_HEAD(&urbp->compl

[linux-usb-devel] [BK PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
Hi, Here are some USB patches for 2.6.3-rc1. Here are the main types of changes: - remove the usb scanner driver as it's no longer needed and has been broken for quite some time. - add new gadget driver - usbtest driver update with new tests - new UHCI dr

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.178, 2004/02/09 12:17:18-08:00, [EMAIL PROTECTED] [PATCH] USB: fix unneeded SubClass entry in unusual_devs.h On Sat, 7 Feb 2004, Brendan Arthurs wrote: > I'm getting the following message when I power on my USB external > enclosure (a MAP-K51U) with a Maxtor IDE hard drive in

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.20, 2004/02/04 17:06:38-08:00, [EMAIL PROTECTED] [PATCH] USB: remove USB_SCANNER from the build USB_SCANNER is obsolete, and it's now marked as BROKEN. I there a good reason to keep it in the kernel? drivers/usb/Makefile |1 - drivers/usb/image/Kconfig | 13 ---

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.23, 2004/02/05 16:26:16-08:00, [EMAIL PROTECTED] [PATCH] USB Gadget: ethernet gadget locking tweaks [USB] ethernet gadget, locking tweaks This problem showed pretty quickly on an SMP system. Basically, access to the freelist (tx more than rx) needs a spinlock. Stop repeating

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.175, 2004/02/09 12:16:40-08:00, [EMAIL PROTECTED] [PATCH] USB: drivers/usb/net config URI update and unify Here is a tiny Kconfig update and unify patch. drivers/usb/net/Kconfig | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff -Nru a/drivers/usb/

Re: [linux-usb-devel] [PATCH] (7/10) uhci -- get rid of urbp->complete_list

2004-02-09 Thread Johannes Erdfelt
On Mon, Feb 09, 2004, Stephen Hemminger <[EMAIL PROTECTED]> wrote: > @@ -669,7 +669,6 @@ > > INIT_LIST_HEAD(&urbp->td_list); > INIT_LIST_HEAD(&urbp->queue_list); > - INIT_LIST_HEAD(&urbp->complete_list); > INIT_LIST_HEAD(&urbp->urb_list); > > list_add_tail(&urbp

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.24, 2004/02/05 16:33:43-08:00, [EMAIL PROTECTED] [PATCH] USB Gadget: pxa2xx_udc updates [USB] pxa2xx_udc updates, mostly for non-Lubbock hardware - IXP 42x UDC support (Greg Weeks) - remove Lubbock-specific build assumption (Guennadi Liakhovetski) - handle D+ pullup ri

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.171, 2004/02/06 14:19:24-08:00, [EMAIL PROTECTED] [PATCH] USB: USB misc OHCI updates Here are three minor OHCI changes: * Turn off periodic dma transfers until they're needed. Extra DMAs consume power, and can trigger problems on marginal systems. * New module param "power

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.26, 2004/02/05 16:34:54-08:00, [EMAIL PROTECTED] [PATCH] USB: usbnet updates (new devices) [USB] usbnet updates: new devices, cleanups New devices: Aten UC210T, Zaurus SL-6000 Cleanup, factoring out shared CDC glue for Ethernet, Zaurus, and eventually RNDIS. drivers/usb/

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.179, 2004/02/09 12:17:32-08:00, [EMAIL PROTECTED] [PATCH] USB: fix bug number 1980 about keyspan devices not getting recognized. drivers/usb/serial/keyspan.h |1 + 1 files changed, 1 insertion(+) diff -Nru a/drivers/usb/serial/keyspan.h b/drivers/usb/serial/keyspan.h --

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.25, 2004/02/05 16:34:35-08:00, [EMAIL PROTECTED] [PATCH] USB: usbtest updates [USB] usbtest, add more tests; minor fixes More tests for host and gadget controller drivers: - test 13, bulk endpoint halts - test 14, control OUT transfers - test 15, iso OUT testing

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.177, 2004/02/09 12:17:06-08:00, [EMAIL PROTECTED] [PATCH] USB: drivers/usb/input/Kconfig URI unify Little URI unifing patch. drivers/usb/input/Kconfig | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff -Nru a/drivers/usb/input/Kconfig b/drivers/usb

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.7, 2004/01/29 16:19:40-08:00, [EMAIL PROTECTED] [PATCH] USB: ehci - clear TT buffer command patch I have a patch for a typo in the 2.6.0 kernel, drivers/usb/core/hub.c, in hub_clear_tt_buffer, the value USB_DIR_IN | USB_RECIP_OTHER is used for bmRequestType, when section 11.24

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.19, 2004/02/04 17:06:19-08:00, [EMAIL PROTECTED] [PATCH] USB: Update ohci-omap to compile Following is a trivial patch to update the ohci-omap.c in 2.6.2 to be in sync with the OMAP tree. Basically the IRQ name was changed, which keeps the driver from compiling. It also includ

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.22, 2004/02/05 16:22:50-08:00, [EMAIL PROTECTED] [PATCH] USB: change uhci maintainer MAINTAINERS |4 ++-- drivers/usb/host/uhci-hcd.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff -Nru a/MAINTAINERS b/MAINTAINERS --- a/MAINTAINERS

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.172, 2004/02/06 14:19:39-08:00, [EMAIL PROTECTED] [PATCH] USB: DSBR-100 tiny patch Fix timy errors in comments and strings. drivers/usb/media/dsbr100.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff -Nru a/drivers/usb/media/dsbr100.c b/drivers/usb/med

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.174, 2004/02/09 12:16:25-08:00, [EMAIL PROTECTED] [PATCH] USB: usb-storage Kconfig_URL_update Here is little URL update for Kconfig file. I hope webmaster remembers to put redirection in place next time URL changes. drivers/usb/storage/Kconfig |6 +++--- 1 files changed,

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.10, 2004/02/02 13:43:35-08:00, [EMAIL PROTECTED] [PATCH] USB: mark the scanner driver BROKEN Greg, I think this now makes 2 distinct bugs in the scanner kernel driver. Maybe it should be protected with a BROKEN: drivers/usb/image/Kconfig |2 +- 1 files changed, 1 insert

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.2, 2004/01/29 16:04:08-08:00, [EMAIL PROTECTED] [PATCH] USB: gcc-3.5: drivers/usb/input/hid-core.c drivers/usb/input/hid-core.c: In function `fetch_item': drivers/usb/input/hid-core.c:605: error: invalid lvalue in increment drivers/usb/input/hid-core.c:612: error: invalid lvalu

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.6, 2004/01/29 16:16:12-08:00, [EMAIL PROTECTED] [PATCH] USB gadget: file_storage.c -- remove device_unregister_wait() It replaces a call to device_unregister_wait() in the File-backed Storage Gadget. drivers/usb/gadget/file_storage.c | 17 ++--- 1 files changed

[linux-usb-devel] [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.170, 2004/02/06 14:19:05-08:00, [EMAIL PROTECTED] [PATCH] USB: uhci - unused urbp element The usb device member in the urb private structure is redundant, it is set but never used. drivers/usb/host/uhci-hcd.c |1 - drivers/usb/host/uhci-hcd.h |1 - 2 files changed, 2

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.173, 2004/02/09 12:16:07-08:00, [EMAIL PROTECTED] [PATCH] USB: re-factor enumeration/reset paths This patch starts dis-entangling some of the enumeration logic by moving initialization code into the usb_alloc_dev() constructor. Some call signatures changed; a usbcore-internal d

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.18, 2004/02/04 17:05:56-08:00, [EMAIL PROTECTED] [PATCH] USB: fix Casio digicam entry in unusual_devs.h drivers/usb/storage/unusual_devs.h |9 - 1 files changed, 8 insertions(+), 1 deletion(-) diff -Nru a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1607, 2004/02/09 14:22:43-08:00, [EMAIL PROTECTED] [PATCH] USB: drivers/usb/media/Kconfig URL fixups Here is patch for linux-2.6/drivers/usb/media/Kconfig. drivers/usb/media/Kconfig | 29 +++-- 1 files changed, 15 insertions(+), 14 deletions(-) diff -Nru

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.12, 2004/02/02 13:44:11-08:00, [EMAIL PROTECTED] [PATCH] USB: remove reference to usb_hcd.refcnt in ohci-sa111.c Following patch against 2.6.2-rc2 removes a reference to what appears to be a deprecated member of struct usb_hcd from the function ohci-sa111.c:usb_hcd_sa_remov

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.15, 2004/02/02 13:45:27-08:00, [EMAIL PROTECTED] [PATCH] USB: fix DMA to stack in tt-usb this driver does DMA to the stack via usb_bulk_msg(). drivers/media/dvb/ttusb-dec/ttusb_dec.c | 25 + 1 files changed, 21 insertions(+), 4 deletions(-) diff -

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.3, 2004/01/29 16:04:34-08:00, [EMAIL PROTECTED] [PATCH] USB: gcc-3.5: drivers/usb/misc/uss720.c drivers/usb/misc/uss720.c: In function `parport_uss720_epp_read_data': drivers/usb/misc/uss720.c:336: error: invalid lvalue in increment drivers/usb/misc/uss720.c: In function `parpo

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.2.176, 2004/02/09 12:16:53-08:00, [EMAIL PROTECTED] [PATCH] USB: drivers/usb/misc/Kconfig URI update & unify: modules.txt Another little patch fixing modules.txt and fine tuning URLs. drivers/usb/misc/Kconfig |9 + 1 files changed, 5 insertions(+), 4 deletions(-)

[linux-usb-devel] [PATCH] (10/10) uhci - get rid of irqsave's in free/remove pending path

2004-02-09 Thread Stephen Hemminger
Since uhci_stop now saves IRQ state, the free/remove pending routines no longer need irqsave/irqrestore. diff -Nru a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c --- a/drivers/usb/host/uhci-hcd.c Mon Feb 9 12:56:25 2004 +++ b/drivers/usb/host/uhci-hcd.c Mon Feb 9 12:56:

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.1, 2004/01/29 16:03:40-08:00, [EMAIL PROTECTED] [PATCH] USB: gcc-3.5: drivers/usb/gadget/net2280.c drivers/usb/gadget/net2280.c: In function `write_fifo': drivers/usb/gadget/net2280.c:527: error: `typeof' applied to a bit-field drivers/usb/gadget/net2280.c: In function `handle_

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.14, 2004/02/02 13:44:55-08:00, [EMAIL PROTECTED] [PATCH] USB storage: fix sign bug in usb-storage datafab 2.6 has no -fsigned-char anymore. there are 3 checks for info->lun < 0 drivers/usb/storage/datafab.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nr

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.8, 2004/01/29 16:29:48-08:00, [EMAIL PROTECTED] [PATCH] USB: fix Bug 1821: sleeping function called > Data point: "visor.c" always passes GFP_ATOMIC there. Here's a patch that makes cdc-acm use GFP_ATOMIC too, and report consequent allocation failures. Compiles but otherwise

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.4, 2004/01/29 16:05:03-08:00, [EMAIL PROTECTED] [PATCH] USB: gcc-3.5: drivers/usb/storage/usb.c drivers/usb/storage/usb.c: In function `usb_stor_release_resources': drivers/usb/storage/usb.c:837: error: invalid lvalue in assignment drivers/usb/storage/usb.c |2 +- 1 file

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.13, 2004/02/02 13:44:29-08:00, [EMAIL PROTECTED] [PATCH] USB gadget: fix usb/gadget/file_storage.c doesn't compile with gcc 2.95 drivers/usb/gadget/file_storage.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -Nru a/drivers/usb/gadget/file_storage.c b/d

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.11, 2004/02/02 13:43:56-08:00, [EMAIL PROTECTED] [PATCH] USB: fix usb hc and shared irq handling Here is a revised version of the irqreturn_t propagation patch. The only difference is now ohci-hcd returns IRQ_HANDLED in the remove case. drivers/usb/core/hcd.c |4 +++

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.16, 2004/02/02 13:45:57-08:00, [EMAIL PROTECTED] [PATCH] USB: fix URB leak in belkin driver if submission of the interrupt URb fails in belkin_sa_open() the previously submitted URB may remain live. The rest of the system thinks that opening failed, therefore the URB should be

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.17, 2004/02/02 13:56:05-08:00, [EMAIL PROTECTED] [PATCH] USB: add support for the Aceeca Meazura device to the visor driver. Thanks to Terry Markovich <[EMAIL PROTECTED]> for the information. drivers/usb/serial/visor.c |3 +++ drivers/usb/serial/visor.h |3 +++ 2 fil

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.9, 2004/01/30 17:10:00-08:00, [EMAIL PROTECTED] [PATCH] USB: remove pci_unmap_single() calls from usbcore There's an unnecessary pci-ism in usbcore -- just an oversight in some API conversion, and harmless on most systems. This'll be a good thing to remove for non-PCI HCD supp

[linux-usb-devel] Re: [PATCH] USB update for 2.6.3-rc1

2004-02-09 Thread Greg KH
ChangeSet 1.1500.8.5, 2004/01/29 16:09:20-08:00, [EMAIL PROTECTED] [PATCH] USB: remove unused usb-debug.c file (moving the one used function into the usb.c file.) drivers/usb/core/usb-debug.c | 201 - drivers/usb/core/Makefile |2 drivers/us

Re: [linux-usb-devel] storage/unusual_devs.h

2004-02-09 Thread Martin Pool
On 9 Feb 2004, Alan Stern <[EMAIL PROTECTED]> wrote: > On Mon, 9 Feb 2004, Richard B. Kreckel wrote: > > > Hi, > > > > I plugged an Minolta Dimage 7i into USB and when mounting /dev/sda1 > > via USB it reported the message > > > > usb-storage: This device (0686,400b,0001 S 06 P 50) has an >

Re: [linux-usb-devel] storage/unusual_devs.h

2004-02-09 Thread Matthew Dharm
Martin, do you have a Dimage 7 or a Dimage 7i? Matt On Tue, Feb 10, 2004 at 03:44:43PM +1100, Martin Pool wrote: > On 9 Feb 2004, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Mon, 9 Feb 2004, Richard B. Kreckel wrote: > > > > > Hi, > > > > > > I plugged an Minolta Dimage 7i into USB and when m

Re: [linux-usb-devel] storage/unusual_devs.h

2004-02-09 Thread Martin Pool
On 9 Feb 2004, Matthew Dharm <[EMAIL PROTECTED]> wrote: > Martin, do you have a Dimage 7 or a Dimage 7i? 7i. -- Martin signature.asc Description: Digital signature

[linux-usb-devel] Re: usb mouse/keyboard problems under 2.6.2 -- RESOLVED

2004-02-09 Thread Greg Norris
On Fri, Feb 06, 2004 at 10:15:10PM -0600, Greg Norris wrote: > More specifically, 2.6.2-rc1-bk3 appears to be the earliest affected > version. I haven't had a chance to try backing out individual patches, > so I don't yet know which particular update causes my problem. Vojtech Pavlik's lost-sync-