Re: [linux-usb-devel] [PATCH 99/129] usbcore: add autosuspend/autoresume infrastructure

2006-09-27 Thread Olaf Hering
On Wed, Sep 27, Greg KH wrote: > @@ -372,6 +379,15 @@ struct usb_device { > > int maxchild; /* Number of ports if hub */ > struct usb_device *children[USB_MAXCHILDREN]; > + > +#ifdef CONFIG_PM > + struct work_struct autosuspend; /* for delayed autosuspends */ >

Re: [linux-usb-devel] git-input.patch kills my USB mouse

2006-09-27 Thread Andrew Morton
On Thu, 28 Sep 2006 01:57:20 -0400 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On Wednesday 27 September 2006 23:49, Andrew Morton wrote: > > On Wed, 27 Sep 2006 23:11:49 -0400 > > Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > > > > > Works here on basically 2.6.18 + my tree. > > > > Try curre

Re: [linux-usb-devel] git-input.patch kills my USB mouse

2006-09-27 Thread Dmitry Torokhov
On Wednesday 27 September 2006 23:49, Andrew Morton wrote: > On Wed, 27 Sep 2006 23:11:49 -0400 > Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > > > Works here on basically 2.6.18 + my tree. > > Try current-mainline + your-tree. > Still works... Can you check if you getting data from /dev/input

Re: [linux-usb-devel] git-input.patch kills my USB mouse

2006-09-27 Thread Andrew Morton
On Wed, 27 Sep 2006 23:11:49 -0400 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On Wednesday 27 September 2006 19:28, Greg KH wrote: > > On Tue, Sep 26, 2006 at 11:37:29PM -0700, Andrew Morton wrote: > > > > > > With git-input.patch applied, my wireless USB mouse doesn't work. Not > > > sure >

Re: [linux-usb-devel] git-input.patch kills my USB mouse

2006-09-27 Thread Dmitry Torokhov
On Wednesday 27 September 2006 19:28, Greg KH wrote: > On Tue, Sep 26, 2006 at 11:37:29PM -0700, Andrew Morton wrote: > > > > With git-input.patch applied, my wireless USB mouse doesn't work. Not sure > > why, really - it just doesn't do any mousey things. > > > > On insertion I get > > > > son

Re: [linux-usb-devel] [PATCH 1/3] driver for mcs7830 (aka DeLOCK) USB ethernet adapter

2006-09-27 Thread David Brownell
On Saturday 16 September 2006 4:02 pm, Arnd Bergmann wrote: > This driver adds support for the DeLOCK USB ethernet adapter > and potentially others based on the MosChip MCS7830 chip. > > It is based on the usbnet and asix drivers as well as the > original device driver provided by MosChip, which i

Re: [linux-usb-devel] [GIT PATCH] USB patches for 2.6.18

2006-09-27 Thread Greg KH
On Wed, Sep 27, 2006 at 07:55:29PM -0400, Christopher Monty Montgomery wrote: > I commit the shame of asking another stupid question in public. I > can't seem to pull from your repo... > > twofish:/usr/src/kernels# git clone > master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6.git > linux

Re: [linux-usb-devel] git-input.patch kills my USB mouse

2006-09-27 Thread Andrew Morton
On Wed, 27 Sep 2006 16:28:33 -0700 Greg KH <[EMAIL PROTECTED]> wrote: > On Tue, Sep 26, 2006 at 11:37:29PM -0700, Andrew Morton wrote: > > > > With git-input.patch applied, my wireless USB mouse doesn't work. Not sure > > why, really - it just doesn't do any mousey things. > > > > On insertion

Re: [linux-usb-devel] [PATCH] add Raritan KVM USB Dongle to the HID_QUIRK_NOGET blacklist

2006-09-27 Thread Greg KH
On Wed, Sep 27, 2006 at 05:00:34PM +0530, [EMAIL PROTECTED] wrote: > Biligiri, Raghavendra wrote: > > During Installation the host tries to enumerate the keyboard/mouse > > dongle for the Raritan KVM.At this time timeouts have been observed > > Adding the Raritan KVM USB dongle to the blacklist fix

Re: [linux-usb-devel] git-input.patch kills my USB mouse

2006-09-27 Thread Greg KH
On Tue, Sep 26, 2006 at 11:37:29PM -0700, Andrew Morton wrote: > > With git-input.patch applied, my wireless USB mouse doesn't work. Not sure > why, really - it just doesn't do any mousey things. > > On insertion I get > > sony:/home/akpm> dmesg > [ 286.96] usb 1-1: USB disconnect, address

Re: [linux-usb-devel] USB Gadget Serial - PXA-270 to WinXP

2006-09-27 Thread David Brownell
On Wednesday 27 September 2006 3:06 am, Thomi Aurel RUAG A wrote: > Hi > Im working on a Intel XScale PXA-270 Board with linux 2.6.17 > (linux-2.6.17-pcm027-3). I hope you know that the pxa27x UDC code is still not working very reliably. Oddly enough, the hardware folk Intel tasked with designing

Re: [linux-usb-devel] usb still sucks battery in -rc7-mm1

2006-09-27 Thread David Brownell
On Sunday 24 September 2006 5:18 am, Theodoros V. Kalamatianos wrote: > I have encountered at least 3 hubs (2 usb2 & 1 usb1) that will consume a > lot of power (about 2-2.5W if the laptop power consumption readings are to > be trusted) and heat up a lot (to the point of being too hot to touch fo

Re: [linux-usb-devel] [RFC/PATCH] EHCI Oops on CONFIG_NOT_COHERENT_CACHE system

2006-09-27 Thread David Brownell
On Monday 25 September 2006 1:17 pm, Gerhard Pircher wrote: > Now, the problem is deciding in which of these steps the actual error > lies, since none of these facts (apart from #6) is set in stone. In > my opinion though, it makes sense to simply say that atomic_t:s (and > therefore kref:s) are

Re: [linux-usb-devel] Directory usb_new (in Linux 2.4.20)

2006-09-27 Thread David Brownell
On Wednesday 27 September 2006 5:39 am, Ronnie Hedlund wrote: > > I wonder what the directory "drivers/usb_new/" is for, as the "drivers/usb/" > directory seems to be the one that is used. Both contains partly the same > files but there are differences. > > Kernel: Montavista Preview Linux 2.4

Re: [linux-usb-devel] Control transfers scheduling

2006-09-27 Thread David Brownell
On Wednesday 27 September 2006 1:11 pm, Laurent Pinchart wrote: > Logitech has been kind enough to investigate the problem. It seems a hardware > bug is triggered when the control transfer transactions are sent "too fast". > Preliminary results show that the hardware misses the second transactio

Re: [linux-usb-devel] [PATCH 3b/3] OHCI: add auto-stop support

2006-09-27 Thread Andrew Morton
On Wed, 27 Sep 2006 16:38:41 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> wrote: > On Wed, 27 Sep 2006, Andrew Morton wrote: > > > On Tue, 26 Sep 2006 14:46:16 -0400 (EDT) > > Alan Stern <[EMAIL PROTECTED]> wrote: > > > > > + if (!autostopped) { > > > + static int ohci_rest

Re: [linux-usb-devel] Control transfers scheduling

2006-09-27 Thread Alan Stern
On Wed, 27 Sep 2006, Laurent Pinchart wrote: > Hi everybody, > > I'm developing a Linux driver for a Logitech USB webcam. A few users reported > that the webcam stopped responding under some conditions. After some > investigation, I found out that the device either timed-out or returned a > ST

Re: [linux-usb-devel] [PATCH 3b/3] OHCI: add auto-stop support

2006-09-27 Thread Alan Stern
On Wed, 27 Sep 2006, Andrew Morton wrote: > On Tue, 26 Sep 2006 14:46:16 -0400 (EDT) > Alan Stern <[EMAIL PROTECTED]> wrote: > > > + if (!autostopped) { > > + static int ohci_restart (struct ohci_hcd *ohci); > > + > > + spin_unlock_irq (&ohci->lock);

[linux-usb-devel] [PATCH 128/129] USB: Airprime driver improvements to allow full speed EvDO transfers

2006-09-27 Thread Greg KH
From: Andy Gay <[EMAIL PROTECTED]> Adapted from an earlier patch by Greg KH <[EMAIL PROTECTED]>. That patch added multiple read urbs and larger transfer buffers to allow data transfers at full EvDO speed. This version includes additional device IDs and fixes a memory leak in the transfer buffer a

[linux-usb-devel] [PATCH 129/129] [PATCH] USB Storage: fix Rio Karma eject support build error

2006-09-27 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> In file included from drivers/usb/storage/usb.c:180: drivers/usb/storage/unusual_devs.h:221: error: 'US_PR_KARMA' undeclared here (not in a function) drivers/usb/storage/unusual_devs.h:221: error: 'rio_karma_init' undeclared here (not in a function) Cc: K

[linux-usb-devel] [PATCH 127/129] USB: remove OTG build warning

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> Somewhere along the line, a variable in a USB-OTG codepath stopped being used; this removes the relevant compiler warning. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c |

[linux-usb-devel] [PATCH 122/129] USB: Remove unneeded void * casts in core files

2006-09-27 Thread Greg KH
From: Tobias Klauser <[EMAIL PROTECTED]> The patch removes unneeded casts for the following (void *) pointers: - struct file: private - struct urb: context - struct usb_bus: hcpriv - return value of kmalloc() The patch also contains some whitespace cleanup in the relevant areas. Signed-off-b

[linux-usb-devel] [PATCH 126/129] USB: EHCI update VIA workaround

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> This revamps handling of the hardware "async advance" IRQ, and its watchdog timer. Basically it dis-entangles that important timeout from the others, simplifying the associated state and code to make it more robust. This reportedly improves behavior of EH

[linux-usb-devel] [PATCH 125/129] USB: force root hub resume after power loss

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch(as785) forces the PM core to resume a root hub after a power loss during system sleep. If the root hub had been suspended before the system sleep then normally the PM core would not resume it afterward. Without this resume, various sorts of wakeup

[linux-usb-devel] [PATCH 124/129] USB: ohci_usb can oops on shutdown

2006-09-27 Thread Greg KH
From: Pete Zaitcev <[EMAIL PROTECTED]> When ohci-hcd is shutting down (for rmmod or PC-card removal), there is a window when the device is shut down, HC communication area (->hcca) is freed, but the core has not called "free_irq" yet. If another device triggers a shared interrupt in this window, w

[linux-usb-devel] [PATCH 123/129] USB: Dealias -110 code (more complete)

2006-09-27 Thread Greg KH
From: Pete Zaitcev <[EMAIL PROTECTED]> The purpose of this patch is to split off the case when a device does not reply on the lower level (which is reported by HC hardware), and a case when the device accepted the request, but does not reply at upper level. This redefinition allows to diagnose iss

[linux-usb-devel] [PATCH 119/129] usb serial: support Alcor Micro Corp. USB 2.0 TO RS-232 through pl2303 driver

2006-09-27 Thread Greg KH
From: Johannes Steingraeber <[EMAIL PROTECTED]> Patch to add support for Alcor Micro Corp. USB 2.0 TO RS-232 converter. This patch adds VID and PID to pl2303.[ch], adds it to the "HORRIBLE HACK FOR PL2303" in usb-serial.c and also prevents cdc-acm to claim driving this device by blacklisting it in

[linux-usb-devel] [PATCH 117/129] USB: add PlayStation 2 Trance Vibrator driver

2006-09-27 Thread Greg KH
From: Sam Hocevar <[EMAIL PROTECTED]> This patch is a driver for the PlayStation 2 specific Trance Vibrator device. The only thing that device can do is vibrate at various speeds. Signed-off-by: Sam Hocevar <[EMAIL PROTECTED]> Cc: Pete Zaitcev <[EMAIL PROTECTED]> Cc: Luiz Fernando N. Capitulino"

[linux-usb-devel] [PATCH 116/129] USB: Add ADU support for Ontrak ADU devices

2006-09-27 Thread Greg KH
From: Steven Haigh <[EMAIL PROTECTED]> This patch adds support for Ontrak ADU USB devices. Fixed for printk issues by Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Steven Haigh <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- Documentation/devices.txt|3

[linux-usb-devel] [PATCH 115/129] aircable: fix printk format warnings

2006-09-27 Thread Greg KH
From: Randy Dunlap <[EMAIL PROTECTED]> Fix printk format warnings: drivers/usb/serial/aircable.c:221: warning: format ‘%Zd’ expects type ‘signed size_t’, but argument 4 has type ‘int’ drivers/usb/serial/aircable.c:283: warning: format ‘%Zd’ expects type ‘signed size_t’, but a

[linux-usb-devel] [PATCH 114/129] Add AIRcable USB Bluetooth Dongle Driver

2006-09-27 Thread Greg KH
From: Manuel Francisco Naranjo <[EMAIL PROTECTED]> Add driver for AIRcable USB Bluetooth dongle. Signed-off-by: Naranjo, Manuel Francisco <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- Documentation/usb/usb-serial.txt |5 drivers/usb/serial/Kconfig | 1

[linux-usb-devel] [PATCH 113/129] cypress_m8: implement graceful failure handling

2006-09-27 Thread Greg KH
From: Mike Isely <[EMAIL PROTECTED]> When receiving a fatal error from the USB core, e.g. EILSEQ (which can happen if the polling interval is too short), fail gracefully. Previously the driver would fill the log with useless error messages or (more alarmingly) silently spin forever trying to write

[linux-usb-devel] [PATCH 111/129] cypress_m8: use usb_fill_int_urb where appropriate

2006-09-27 Thread Greg KH
From: Mike Isely <[EMAIL PROTECTED]> Rather than directly filling in URB fields, it's safer to use usb_fill_int_urb(). This improves robustness of the driver; URB changes in the future will not go uninitialized here. That point not withstanding, this driver should at least be self-consistent. E

[linux-usb-devel] [PATCH 110/129] cypress_m8: use appropriate URB polling interval

2006-09-27 Thread Greg KH
From: Mike Isely <[EMAIL PROTECTED]> The polling interval for the device can't always be 1msec. If it is too quick, the device can fail causing a fatal (to the driver) EILSEQ error from the USB core. The actual correct value is reported by the device as part of its configuration data, so use tha

[linux-usb-devel] [PATCH 112/129] cypress_m8: improve control endpoint error handling

2006-09-27 Thread Greg KH
From: Mike Isely <[EMAIL PROTECTED]> Fix usb core function error return checks to look for negative errno values, not positive errno values. This bug had rendered those checks useless. Also remove attempted error recovery on control endpoints for EPIPE - with control endpoints EPIPE does not ind

[linux-usb-devel] [PATCH 109/129] USB: fix __must_check warnings in drivers/usb/serial/

2006-09-27 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/ftdi_sio.c | 30 +++--- drivers/usb/serial/usb-serial.c |5 - 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/drivers/usb/

[linux-usb-devel] [PATCH 108/129] USB: fix __must_check warnings in drivers/usb/host/

2006-09-27 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/host/ehci-dbg.c |7 --- drivers/usb/host/ohci-dbg.c |7 --- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/usb/host/ehci-dbg.c b/drivers/usb/h

[linux-usb-devel] [PATCH 95/129] USB: ohci-at91, two one-liners

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> This includes two one-liners forwarded to me for the OHCI support on at91: - KB920x (and other boards with CPUs in non-BGA packages) need a slightly different way to say "ignore that port, it's not pinned out"; - On resume, if we turn clocks on, reco

[linux-usb-devel] [PATCH 107/129] USB: fix __must_check warnings in drivers/usb/input/

2006-09-27 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/yealink.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/input/yealink.c b/drivers/usb/input/yealink.c index 7b45fd3..7291e7a 100644 ---

[linux-usb-devel] [PATCH 104/129] USB: fix __must_check warnings in drivers/usb/misc/

2006-09-27 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/cypress_cy7c63.c | 19 +++ drivers/usb/misc/cytherm.c| 35 ++- drivers/usb/misc/usbled.c | 20 +

[linux-usb-devel] [PATCH 106/129] USB: fix __must_check warnings in drivers/usb/class/

2006-09-27 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/class/usblp.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index 9b05a35..9cac11c 100644 --- a/dr

[linux-usb-devel] [PATCH 105/129] USB: fix __must_check warnings in drivers/usb/atm/

2006-09-27 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/atm/ueagle-atm.c | 74 +++--- 1 files changed, 34 insertions(+), 40 deletions(-) diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ue

[linux-usb-devel] [PATCH 103/129] USB: fix __must_check warnings in drivers/usb/core/

2006-09-27 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/devio.c|2 +- drivers/usb/core/driver.c | 10 +--- drivers/usb/core/endpoint.c | 30 +-- drivers/usb/core/sysfs.c| 55 +++

[linux-usb-devel] [PATCH 102/129] USB: fix root-hub resume when CONFIG_USB_SUSPEND is not set

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as786) removes a redundant test and fixes a problem involving repeated system sleeps when CONFIG_USB_SUSPEND is not set. During the first wakeup, the root hub's dev.power.power_state.event field doesn't get updated, causing it not to be suspended du

[linux-usb-devel] [PATCH 101/129] usbcore: remove usb_suspend_root_hub

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as740) removes the existing support for autosuspend of root hubs. That support fit in rather awkwardly with the rest of usbcore and it was used only by ohci-hcd. It won't be needed any more since the hub driver will take care of autosuspending all

[linux-usb-devel] [PATCH 100/129] usbcore: non-hub-specific uses of autosuspend

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as741) makes the non-hub parts of usbcore actually use the autosuspend facilities added by an earlier patch. Devices opened through usbfs are autoresumed and then autosuspended upon close. Likewise for usb-skeleton.

[linux-usb-devel] [PATCH 99/129] usbcore: add autosuspend/autoresume infrastructure

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as739) adds the basic infrastructure for USB autosuspend and autoresume. The main features are: PM usage counters added to struct usb_device and struct usb_interface, indicating whether it's okay to autosuspend them or they

[linux-usb-devel] [PATCH 97/129] USB: UB: Let cdrecord to see a device with media absent

2006-09-27 Thread Greg KH
From: Pete Zaitcev <[EMAIL PROTECTED]> The command "cdrecord dev=/dev/uba x.iso" prints nasty garbage if a blank is not in the drive. This happens because drivers have to set req->errors separately from just returning zero uptodate with end_that_request_first, end_that_request_last. These function

[linux-usb-devel] [PATCH 96/129] USB: usb/input/usbmouse.c: whitespace cleanup

2006-09-27 Thread Greg KH
From: Reiner Herrmann <[EMAIL PROTECTED]> Replace spaces with tab and change comment indention for better readability. Signed-off-by: Reiner Herrmann <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/usbmouse.c |2 +- 1 files changed, 1 insertion

[linux-usb-devel] [PATCH 98/129] usbcore: store each usb_device's level in the tree

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as778) adds a field to struct usb_device to store the device's level in the USB tree. In itself this number isn't really important. But the overhead is very low, and in a later patch it will be used for preventing bogus warnings from the lockdep c

[linux-usb-devel] [PATCH 90/129] USB: EHCI whitespace fixes (cosmetic)

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> [ ... when you have an editor set to remind you of whitespace bugs ... ] Cosmetic EHCI changes: remove end-of-line whitespace, spaces before tabs. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[linux-usb-devel] [PATCH 94/129] USB: net2280: update dma buffer allocation

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> This updates the code handling dma-coherent buffer allocations, basically reusing code from the musb_hdrc driver. Instead of trying to work around two significant limitations of the dma framework (memory wastage for buffers smaller than a page, and inconsi

[linux-usb-devel] [PATCH 93/129] USB: usb serial gadget smp related bug

2006-09-27 Thread Greg KH
From: Eugeny S. Mints <[EMAIL PROTECTED]> Adjust dev->dev_lock spinlock lock/unlock calls to be safe for SMP case. Otherwise the following sequence may lead to a deadlock in SMP case: gs_send()->usb_ep_queue() ->(in case a request is satisfied immediatly) gs_write_complete() for ex for p

[linux-usb-devel] [PATCH 92/129] USB: replace kernel_thread() with kthread_run() in libusual.c

2006-09-27 Thread Greg KH
From: Matthew Dharm <[EMAIL PROTECTED]> Replaced kernel_thread() with kthread_run() since kernel_thread() is deprecated in drivers/modules. Signed-off-by: Cedric Le Goater <[EMAIL PROTECTED]> Cc: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Signed-off-by: Greg K

[linux-usb-devel] [PATCH 91/129] gadgetfs patch for ep0out

2006-09-27 Thread Greg KH
From: Skip Hansen <[EMAIL PROTECTED]> For ep0out transfers (rare), be sure to copy the right data to userspace. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/gadget/inode.c |2 +- 1 files changed, 1 insertions(+), 1 de

[linux-usb-devel] [PATCH 89/129] USB: ethernet gadget avoids zlps for musb_hdrc

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> For systems using the Mentor HDRC controllers we get better TX DMA throughput if we can avoid falling back to PIO to write zero length packets ... so tell the driver to avoid ZLPs. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah

[linux-usb-devel] [PATCH 88/129] usbmon: don't call mon_dmapeek if DMA isn't being used

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as755b) fixes a bug in usbmon. Rather than assuming all USB host controllers use DMA, the code will check the usb_bus data structure. If DMA isn't used, we don't want to try peeking into a non-existent DMA buffer! Signed-off-by: Alan Stern <[EMAI

[linux-usb-devel] [PATCH 87/129] usbcore: trim down usb_bus structure

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> As part of the ongoing program to flatten out the HCD bus-glue layer, this patch (as771b) eliminates the hcpriv, release, and kref fields from struct usb_bus. hcpriv and release were not being used for anything worthwhile, and kref has been moved into the encl

[linux-usb-devel] [PATCH 86/129] usbcore: Add flag for whether a host controller uses DMA

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as770b) introduces a new field to usb_bus: a flag indicating whether or not the host controller uses DMA. This serves to encapsulate the computation. It also means we will have only one spot to update if the DMA API changes. Signed-off-by: Alan S

[linux-usb-devel] [PATCH 85/129] USB: remove struct usb_operations

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> All of the currently-supported USB host controller drivers use the HCD bus-glue framework. As part of the program for flattening out the glue layer, this patch (as769) removes the usb_operations structure. All function calls now go directly to the HCD routine

[linux-usb-devel] [PATCH 84/129] USB: usb-hub-driver-improve-use-of-ifdef fix

2006-09-27 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> Fix CONFIG_PM=n build. Cc: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --

[linux-usb-devel] [PATCH 83/129] USB: Turn usb_resume_both() into static inline

2006-09-27 Thread Greg KH
From: Alexey Dobriyan <[EMAIL PROTECTED]> drivers/usb/core/hub.c: In function `hub_events': drivers/usb/core/hub.c:2591: warning: statement with no effect Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/usb.h |5 ++

[linux-usb-devel] [PATCH 82/129] usbcore: help drivers to change device configs

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> It's generally a bad idea for USB interface drivers to try to change a device's configuration, and usbcore doesn't provide any way for them to do it. However in a few exceptional circumstances it can make sense. This patch (as767) adds a roundabout mechanism

[linux-usb-devel] [PATCH 81/129] usb-storage: fix for UFI LUN detection

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> The UFI specification doesn't permit devices to indicate non-existent LUNs in the manner prescribed by the SCSI spec. This patch (as773) sets a special flag so that the SCSI scanner will recognize these devices and treat them specially. Signed-off-by: Alan St

[linux-usb-devel] [PATCH 80/129] USB: fix typo in drivers/usb/gadget/Kconfig

2006-09-27 Thread Greg KH
From: Jules Villard <[EMAIL PROTECTED]> This tiny patch fixes a typo in drivers/usb/gadget/Kconfig. The typo is present in 2.6.18-rc4 and in the corresponding -mm tree (and AFAIK, FYI and FWIW was present in previous kernel versions as well). From: Jules Villard <[EMAIL PROTECTED]> Signed-off-by:

[linux-usb-devel] [PATCH 79/129] USB: fix signedness issue in drivers/usb/gadget/ether.c

2006-09-27 Thread Greg KH
From: Eric Sesterhenn <[EMAIL PROTECTED]> another gcc 4.1 signdness warning: drivers/usb/gadget/ether.c:2028: warning: comparison of unsigned expression < 0 is always false length is assigned the value of usb_ep_queue() which returns an int. Directly after this it is checked for < 0, which can

[linux-usb-devel] [PATCH 78/129] USB core: Use const where possible.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> This patch marks some USB core's functions parameters as const. This improves the design (we're saying to the caller that its parameter is not going to be modified) and may help in compiler's optimisation work. Signed-off-by: Luiz Fernando N.

[linux-usb-devel] [PATCH 73/129] USB Storage: add rio karma eject support

2006-09-27 Thread Greg KH
From: Matthew Dharm <[EMAIL PROTECTED]> This changeset from Keith Bennett (via Bob Copeland) moves the Karma initializer to its own file and adds trapping of the START_STOP command to enable eject of the device. Signed-off-by: Keith Bennett <[EMAIL PROTECTED]> Signed-off-by: Bob Copeland <[EMAIL

[linux-usb-devel] [PATCH 77/129] wusb: pretty print new wireless USB devices when they connect

2006-09-27 Thread Greg KH
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> New code being pushed to linuxuwb.org requires this patch to connect WUSB devices. Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c | 25 +++---

[linux-usb-devel] [PATCH 76/129] wusb: handle wusb device ep0 speed settings

2006-09-27 Thread Greg KH
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> This patch teaches the USB stack handling of WUSB devices (those whose speed is USB_SPEED_VARIABLE). For these devices, we need to set ep0's maxpacketsize to 512 (even though the device descriptor reports it as 0xff). New code being pushed to linuxuw

[linux-usb-devel] [PATCH 75/129] wusb: hub code recognizes wusb ports

2006-09-27 Thread Greg KH
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> This patch enables the USB stack to recognize WUSB devices (from a WUSB HCD) and assigns them the proper speed setting (USB_SPEED_VARIABLE). 1. Introduce usb_hcd->wireless to mark a host controller instance as being wireless, and thus having wirel

[linux-usb-devel] [PATCH 74/129] usb: deal with broken config descriptors

2006-09-27 Thread Greg KH
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> Change usb_get_configuration() so that it is more tolerant to devices with bad configuration descriptors (it'll make it ignore configurations that fail to load). Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartma

[linux-usb-devel] [PATCH 72/129] usb-skeleton: small update

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> o CodingStyle fixes o Removes trailing spaces o Do not make not needed initialiation of automatic variables o Use usb_endpoint_* functions o If we get an error in the write URB callback print an error message instead of a debug one (Pretty u

[linux-usb-devel] [PATCH 71/129] usbcore: khubd and busy-port handling

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> We don't want khubd to start interfering in the device-resume process merely because the PORT_STATUS_C_SUSPEND feature happens to be set. Ports need to be marked as busy while a resume is taking place. In addition, so long as ports are marked as busy, khubd wo

[linux-usb-devel] [PATCH 69/129] UHCI: increase Resume-Detect-off delay

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> The UHCI controller in my laptop takes longer to turn off the Resume-Detect bit than the 4 us allowed by uhci-hcd. Presumably other computers will have the same problem. This patch (as752) increases the maximum delay to 10 us, which should be plenty, and uses

[linux-usb-devel] [PATCH 70/129] usbcore: make hcd_endpoint_disable wait for queue to drain

2006-09-27 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> The inconsistent lock state problem in usbcore (the one that shows up when an HCD is unloaded) comes down to two inter-related problems: usb_rh_urb_dequeue() isn't set up to be called with interrupts disabled. hcd_endpoint_disable() do

[linux-usb-devel] [PATCH 68/129] USB: Properly unregister reboot notifier in case of failure in ehci hcd

2006-09-27 Thread Greg KH
From: Aleksey Gorelov <[EMAIL PROTECTED]> If some problem occurs during ehci startup, for instance, request_irq fails, echi hcd driver tries it best to cleanup, but fails to unregister reboot notifier, which in turn leads to crash on reboot/poweroff. The following patch resolves this problem by n

[linux-usb-devel] [PATCH 67/129] USB gadget: gadgetfs dont try to lock before free

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> I spotted this during my tests with -rt on arm. The -rt patch contains some better tools to diagnose problems with locks and some other things... Original code tries to take semaphore in BUG_ON and then free the memory with this semaphore. Signed-off-by:

[linux-usb-devel] [PATCH 66/129] USB: add poll to gadgetfs's endpoint zero

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> Add poll() support to gadgetfs ep0 Signed-off-by: Milan Svoboda <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/gadget/inode.c | 32 ++

[linux-usb-devel] [PATCH 65/129] USB: net1080 inherent pad length

2006-09-27 Thread Greg KH
From: dave rientjes <[EMAIL PROTECTED]> The size of struct nc_trailer is inherently the newtailroom pad. Signed-off-by: David Rientjes <[EMAIL PROTECTED]> Cc: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/net/net1080.c | 15 +++---

[linux-usb-devel] [PATCH 64/129] USB: ldusb: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/ldusb.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/usb/misc/

[linux-usb-devel] [PATCH 63/129] USB: usblcd: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/usblcd.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/usb/misc

[linux-usb-devel] [PATCH 62/129] USB: usb-serial: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/usb-serial.c | 19 +++ 1 files changed, 7 insertions(+), 12 deletions(-) diff --git

[linux-usb-devel] [PATCH 61/129] USB: powermate: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/powermate.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/usb/inpu

[linux-usb-devel] [PATCH 59/129] USB: ati_remote: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/ati_remote.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/usb

[linux-usb-devel] [PATCH 60/129] USB: keyspan_remote: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/keyspan_remote.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/

[linux-usb-devel] [PATCH 58/129] USB: acecad: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/acecad.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/usb/input/

[linux-usb-devel] [PATCH 56/129] USB: hub: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/usb/core/h

[linux-usb-devel] [PATCH 57/129] USB: appletouch: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/appletouch.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/usb/in

[linux-usb-devel] [PATCH 55/129] USB: usblp: Use usb_endpoint_* functions.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/class/usblp.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/usb/cla

[linux-usb-devel] [PATCH 54/129] USB: New functions to check endpoints info.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> These functions makes USB driver's code simpler when dealing with endpoints by avoiding them from accessing the endpoint's descriptor structure directly when they only need to know the endpoint's transfer type and/or direction. Please, read ea

[linux-usb-devel] [PATCH 53/129] USB: making the kernel -Wshadow clean - USB & completion

2006-09-27 Thread Greg KH
From: Jesper Juhl <[EMAIL PROTECTED]> include/linux/usb.h causes a lot of -Wshadow warnings - fix them. include/linux/usb.h:901: warning: declaration of 'complete' shadows a global declaration include/linux/completion.h:52: warning: shadowed declaration is here include/linux/usb.h:932: war

[linux-usb-devel] [PATCH 52/129] USB: Make file operations structs in drivers/usb const.

2006-09-27 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Making structs const prevents accidental bugs and with the proper debug options they're protected against corruption. Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- dri

[linux-usb-devel] [PATCH 51/129] USB: gmidi: New USB MIDI Gadget class driver.

2006-09-27 Thread Greg KH
From: Ben Williamson <[EMAIL PROTECTED]> This driver is glue between the USB gadget interface and the ALSA MIDI interface. It allows us to appear as a MIDI Streaming device to a host system on the other end of a USB cable. This includes linux/usb/audio.h and linux/usb/midi.h containing definition

[linux-usb-devel] [PATCH 50/129] USB: gadgetfs: protect ep_release with lock

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> This patch adds mutex protection to ep_release. Signed-off-by: Milan Svoboda <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/gadget/inode.c |5 + 1 files ch

[linux-usb-devel] [PATCH 49/129] USB: fix ep_config to return correct value

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> This patch fixes ep_config to return correct value. Without patch ep_config returns submitted lenght minus 4 on succes. With this patch applied, whole submitted lenght is returned. ep_config parses submitted data and if buffer starts with (int) 1 it is pars

[linux-usb-devel] [PATCH 48/129] USB: correct locking in gadgetfs_disconnect

2006-09-27 Thread Greg KH
From: Milan Svoboda <[EMAIL PROTECTED]> This patch moves spin_lock (&dev->lock) before first use of dev. I think that test to the state of device should be protected with this spin_lock... Signed-off-by: Milan Svoboda <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-of

[linux-usb-devel] [PATCH 47/129] USB: onetouch - handle errors from input_register_device()

2006-09-27 Thread Greg KH
From: Dmitry Torokhov <[EMAIL PROTECTED]> Onetouch: handle errors from input_register_device() Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/onetouch.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletion

[linux-usb-devel] [PATCH 45/129] USB: garmin_gps support for new generation of gps receivers

2006-09-27 Thread Greg KH
From: Hermann Kneissel <[EMAIL PROTECTED]> The attached patch adds support for the new generation of gps receivers (eg. GPSmap 60Cx) to garmin_gps.c. Signed-off-by: Hermann Kneissel <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/garmin_gps.c | 2

[linux-usb-devel] [PATCH 46/129] USB: build fixes: ohci-omap

2006-09-27 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> The ohci-omap code has diverged from the working version in the linux-omap tree; this syncs up the versions: - Another clock is needed in various cases - The omap-1510 iommu code needs to be #ifdeffed out on newer parts - Saner use of the HCD framewo

  1   2   >