Re: Problem: hiddev stops sending events after some error recoveries

2008-02-01 Thread Salvador Eduardo Tropea
On 31/01/08 17:50, Alan Stern wrote: It currently informs an error if the device is unplugged. IMHO that's the right thing to do, the user space application can then close the file handle and try to open it again, if it fails the application can then try to interact with the use

request for test: usb audio autosuspend

2008-02-01 Thread Oliver Neukum
Hi, this patch implements autosuspend for USB audio devices. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> It's against Linus's git tree plus git-pull git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa.git mm as this contains suspend/resume support for USB audio. Please test. R

[patch]urb->status conversion for usbmidi

2008-02-01 Thread Oliver Neukum
Hi, the urb->status field is scheduled to vanish and status to be passed as a parameter. Drivers are being prepared. This does it for usbmidi. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Regards Oliver commit 7a2278cd58090e159e7970c2fae57b40ac7ba49e Author: Ol

[patch]race between disconnect between disconnect and error handling in usbmidi

2008-02-01 Thread Oliver Neukum
Hi, the driver resubmits URBs from an error handler and schedules the error handler from the URBs' completion handlers. To reliably kill the cycle a flag must be used. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> commit d67c2591ac1df429dda7b58b60a2723afbc1f2af Author: Oliver Neukum <[E

Re: [patch]race between disconnect between disconnect and error handling in usbmidi

2008-02-01 Thread Clemens Ladisch
Oliver Neukum wrote: > the driver resubmits URBs from an error handler and schedules the error > handler from the URBs' completion handlers. To reliably kill the cycle > a flag must be used. > > Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Thanks, applied to ALSA tree. Clemens - To unsubscr

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Alan Stern
On Thu, 31 Jan 2008, David Brownell wrote: > On Thursday 31 January 2008, Alan Stern wrote: > > The interesting difference lay in what Windows did when the Get-Max-LUN > > stalled.  It sent a Clear-Halt request to endpoint 0! > > Yes that *is* strange! Considering that ep0 wasn't stalling ...

Should nonblocking I/O calls to a disconnected device get an error? [was: Problem: hiddev stops sending events after some error recoveries]

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Salvador Eduardo Tropea wrote: > Now, I tried unplugging the device while executing a NONBLOCKing > program. I didn't get any I/O error. It means I was wrong about the > difference between unplugging the device and the effect of a recovery > like the one I mentioned previously.

autosuspend for si470x

2008-02-01 Thread Oliver Neukum
Hi, this should implement autosuspend. Could you please test it? It's against 1.0.6. Regards Oliver commit 5929871d540c96a05df7c7d3cbaeff4524ffe8e2 Author: Oliver Neukum <[EMAIL PROTECTED]> Date: Fri Feb 1 15:48:09 2008 +0100 autosuspend for the si470x driver

PATCH: Sane memory allocation in option driver

2008-02-01 Thread Matthias Urlichs
The option driver - violates DMA coherency rules - allocates ~16500 bytes in one chunk This patch splits out the buffers and uses __get_free_page() to avoid higher order allocations. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Acked-By: Matthias Urlichs <[EMAIL PROTECTED]> --- linux-2.6

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Matthew Dharm
On Fri, Feb 01, 2008 at 10:17:24AM -0500, Alan Stern wrote: > On Thu, 31 Jan 2008, David Brownell wrote: > > > On Thursday 31 January 2008, Alan Stern wrote: > > > The interesting difference lay in what Windows did when the Get-Max-LUN > > > stalled.  It sent a Clear-Halt request to endpoint 0! >

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Robert Spitzenpfeil wrote: > Alan Stern wrote: > > So Robert, this suggests an experiment for you to try. First remove > > the US_FL_FIX_INQUIRY flag in your unusual_devs entry, of course. But > > then edit transport.c, and in usb_stor_Bulk_max_lun() replace the two > > line

Re: request for test: usb audio autosuspend

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Oliver Neukum wrote: > Hi, > > this patch implements autosuspend for USB audio devices. > @@ -1937,6 +1945,7 @@ static int snd_usb_pcm_close(struct snd_pcm_substream > *substream, int direction) > subs->interface = -1; > } > subs->pcm_substream = NU

Re: request for test: usb audio autosuspend

2008-02-01 Thread Oliver Neukum
Am Freitag, 1. Februar 2008 16:10:45 schrieb Alan Stern: > On Fri, 1 Feb 2008, Oliver Neukum wrote: > > > Hi, > > > > this patch implements autosuspend for USB audio devices. > > > @@ -1937,6 +1945,7 @@ static int snd_usb_pcm_close(struct snd_pcm_substream > > *substream, int direction) > >

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Xiaofan Chen
On Feb 1, 2008 11:17 PM, Alan Stern <[EMAIL PROTECTED]> wrote: > On Thu, 31 Jan 2008, David Brownell wrote: > > > On Thursday 31 January 2008, Alan Stern wrote: > > > The interesting difference lay in what Windows did when the Get-Max-LUN > > > stalled. It sent a Clear-Halt request to endpoint 0!

Re: PATCH: Sane memory allocation in option driver

2008-02-01 Thread Greg KH
On Fri, Feb 01, 2008 at 01:58:52PM +0100, Matthias Urlichs wrote: > The option driver > - violates DMA coherency rules > - allocates ~16500 bytes in one chunk > This patch splits out the buffers and uses __get_free_page() to avoid > higher order allocations. > > Signed-off-by: Oliver Neukum <[EMAI

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Xiaofan Chen wrote: > On Feb 1, 2008 11:17 PM, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Thu, 31 Jan 2008, David Brownell wrote: > > > > > On Thursday 31 January 2008, Alan Stern wrote: > > > > The interesting difference lay in what Windows did when the Get-Max-LUN > > > > s

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Matthew Dharm wrote: > On Fri, Feb 01, 2008 at 10:17:24AM -0500, Alan Stern wrote: > > On Thu, 31 Jan 2008, David Brownell wrote: > > > > > On Thursday 31 January 2008, Alan Stern wrote: > > > > The interesting difference lay in what Windows did when the Get-Max-LUN > > > > s

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Matthew Dharm
On Fri, Feb 01, 2008 at 11:59:56AM -0500, Alan Stern wrote: > On Fri, 1 Feb 2008, Matthew Dharm wrote: > > > On Fri, Feb 01, 2008 at 10:17:24AM -0500, Alan Stern wrote: > > > On Thu, 31 Jan 2008, David Brownell wrote: > > > > > > > On Thursday 31 January 2008, Alan Stern wrote: > > > > > The inte

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Pete Zaitcev
On Fri, 1 Feb 2008 11:59:56 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > You missed the point. Windows does _not_ do it -- i.e., does not clear > a halt on either bulk endpoint. Linux does so only because somebody > (either Pete Zaitcev or Pat Lavarre, I can't remember which) pointed

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Matthew Dharm wrote: > > > Do we really need another quirk? If the 'popular' OS does it, it's likely > > > safe to do for all deveices when GetMaxLUN fails... > > > > You missed the point. Windows does _not_ do it -- i.e., does not clear > > a halt on either bulk endpoint.

Re: autosuspend for si470x

2008-02-01 Thread Tobias Lorenz
Hi Oliver, > + mutex_lock(&radio->lock); > + mutex_unlock(&radio->lock); You are adding a lot of mutexes around si470x rds register accesses, which I don't think is necessary. Parallel accesses to the registers will never harm anything or cannnot cause any data corruption. I used radio-

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Oliver Neukum
Am Freitag, 1. Februar 2008 20:16:05 schrieb Alan Stern: > I'm speculating that the device doesn't need the clear-halt for ep0 at > all; Robert should be able to check whether that's true or not.  It > seems clear that the clear-halts for the bulk endpoints are causing > problems. What's clear abo

[patch 2.6.24+] ehci: minor cleanups

2008-02-01 Thread David Brownell
Minor cleanups to the EHCI code: revision history is what source code repositories should have. Switch to a more standard way to kick in verbose debugging -- don't be EHCI-specific. Signed-off-by: David Brownell <[EMAIL PROTECTED]> --- drivers/usb/host/ehci-dbg.c |2 +- drivers/usb/host/ehc

Re: autosuspend for si470x

2008-02-01 Thread Oliver Neukum
Am Freitag, 1. Februar 2008 20:23:22 schrieb Tobias Lorenz: > Hi Oliver, > > > + mutex_lock(&radio->lock); > > + mutex_unlock(&radio->lock); > > You are adding a lot of mutexes around si470x rds register accesses, which I > don't think is necessary. > Parallel accesses to the registers will

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Matthew Dharm
On Fri, Feb 01, 2008 at 08:40:41PM +0100, Oliver Neukum wrote: > Am Freitag, 1. Februar 2008 20:16:05 schrieb Alan Stern: > > I'm speculating that the device doesn't need the clear-halt for ep0 at > > all; Robert should be able to check whether that's true or not.  It > > seems clear that the clear

Re: [usb-storage] request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Pete Zaitcev
On Fri, 1 Feb 2008 11:54:12 -0800, Matthew Dharm <[EMAIL PROTECTED]> wrote: > There's no way to know until Robert tests with no clear-halt at all. Which is very easy to do: enable ub, run usbmon... voila. -- Pete - To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body

Re: request for test: usb audio autosuspend

2008-02-01 Thread Oliver Neukum
Am Freitag, 1. Februar 2008 16:10:45 schrieb Alan Stern: > On Fri, 1 Feb 2008, Oliver Neukum wrote: > > > Hi, > > > > this patch implements autosuspend for USB audio devices. > > > @@ -1937,6 +1945,7 @@ static int snd_usb_pcm_close(struct snd_pcm_substream > > *substream, int direction) > >    

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Oliver Neukum wrote: > Am Freitag, 1. Februar 2008 20:16:05 schrieb Alan Stern: > > I'm speculating that the device doesn't need the clear-halt for ep0 at > > all; Robert should be able to check whether that's true or not.  It > > seems clear that the clear-halts for the bulk e

Re: request for test: usb audio autosuspend

2008-02-01 Thread Alan Stern
On Fri, 1 Feb 2008, Oliver Neukum wrote: > Am Freitag, 1. Februar 2008 16:10:45 schrieb Alan Stern: > > On Fri, 1 Feb 2008, Oliver Neukum wrote: > > > > > Hi, > > > > > > this patch implements autosuspend for USB audio devices. > > > > > @@ -1937,6 +1945,7 @@ static int snd_usb_pcm_close(struct

[patch]power availability check for berry_charge

2008-02-01 Thread Oliver Neukum
Hi, this introduces a sanity check into berry_charge to give up before damage is done if we lack juice. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Regards Oliver --- linux-2.6.24/drivers/usb/misc/berry_charge.c.alt2008-02-01 22:30:44.0 +0100 +++

Re: [patch v6 2/4] USB: add Cypress c67x00 OTG controller core driver

2008-02-01 Thread David Brownell
On Tuesday 29 January 2008, Peter Korsgaard wrote: > This patch add the core driver for the c67x00 USB OTG controller. The core > driver is responsible for the platform bus binding and creating either > USB HCD or USB Gadget instances for each of the serial interface engines > on the chip. >

Re: [patch v6 1/4] USB: add Cypress c67x00 low level interface code

2008-02-01 Thread David Brownell
On Tuesday 29 January 2008, Peter Korsgaard wrote: > This patch adds the low level support code for the Cypress c67x00 family of > OTG controllers. The low level code is responsible for register access and > implements the software protocol for communicating with the 16bit > microcontroller inside

[GIT PATCH] USB patches for 2.6.24

2008-02-01 Thread Greg KH
Here are a lot of USB fixes and new drivers against your 2.6.24 git tree. Full details are below, nothing radical here, just some new drivers, more device ids, and some general improvements in a variety of places. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.

[PATCH 001/128] USB: keyspan: Fix oops

2008-02-01 Thread Greg Kroah-Hartman
From: Alan Cox <[EMAIL PROTECTED]> If we get a data URB back from the hardware after we have put the tty to bed we go kaboom. Fortunately all we need to do is process the URB without trying to ram its contents down the throat of an ex-tty. Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Alan Cox <[

[PATCH 002/128] usb gadget: fix fsl_usb2_udc potential OOPS

2008-02-01 Thread Greg Kroah-Hartman
From: Li Yang <[EMAIL PROTECTED]> For fsl_usb2_udc driver, ep0 also has a descriptor. Current code is misleading and contains a logical mistake. Here is the patch to fix it. http://bugzilla.kernel.org/show_bug.cgi?id=9595 Cc: stable <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PR

[PATCH 003/128] USB: CP2101 New Device IDs

2008-02-01 Thread Greg Kroah-Hartman
From: Craig Shelley <[EMAIL PROTECTED]> Six new device IDs for CP2101 driver. Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Craig Shelley <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/cp2101.c |6 ++ 1 files changed, 6 insertions(+), 0 d

[PATCH 004/128] USB: add support for 4348:5523 WinChipHead USB->RS 232 adapter

2008-02-01 Thread Greg Kroah-Hartman
From: Piotr Roszatycki <[EMAIL PROTECTED]> add support for: 4348:5523 WinChipHead USB->RS 232 adapter with Prolifec PL 2303 chipset [ [EMAIL PROTECTED]: merged it and nursed it upstream ] Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-H

[PATCH 027/128] USB: s3c2410_udc: minor irq handler cleanups

2008-02-01 Thread Greg Kroah-Hartman
From: Jeff Garzik <[EMAIL PROTECTED]> - 'irq' argument is merely used in place of a constant; replace its usage with that constant. Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc: David Brownell <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTE

[PATCH 025/128] USB: sis FB driver: *_ioctl32_conversion functions do not exist in recent kernels

2008-02-01 Thread Greg Kroah-Hartman
From: Fernando Luis Vazquez Cao <[EMAIL PROTECTED]> Remove dead code while at it. Signed-off-by: Fernando Luis Vazquez Cao <[EMAIL PROTECTED]> Cc: Thomas Winischhofer <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EM

[PATCH 023/128] USB: isd200: don't include

2008-02-01 Thread Greg Kroah-Hartman
From: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> Now that commit 3794ade5b286cbd4551009dd341dbe9aeead2bc3 removed incorrect dependency on CONFIG_IDE we can fix the driver to not include : * add ATA_REG_{ERROR,LCYL,HCYL,STATUS}_OFFSET defines and use them instead of IDE_{ERROR,LCYL,HCYL,STATU

[PATCH 020/128] USB: Convert from class_device to device for USB core

2008-02-01 Thread Greg Kroah-Hartman
From: Tony Jones <[EMAIL PROTECTED]> Convert from class_device to device for drivers/usb/core. Signed-off-by: Tony Jones <[EMAIL PROTECTED]> Cc: Kay Sievers <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hcd.c | 14 +++--- drivers/us

[PATCH 019/128] USB: handle idVendor of 0x0000

2008-02-01 Thread Greg Kroah-Hartman
Some crazy devices in the wild have a vendor id of 0x. If we try to add a module alias with this id, we just can't do it due to a check in the file2alias.c file. Change the test to verify that both the vendor and product ids are 0x to show a real "blank" module alias. Note, the module-in

[PATCH 017/128] USB: storage: Add unusual_dev for HP r707

2008-02-01 Thread Greg Kroah-Hartman
From: Grant Grundler <[EMAIL PROTECTED]> Add "FIX_CAPACITY" entry for HP Photosmart r707 Camera in "Disk" mode. Camera will wedge when /lib/udev/vol_id attempts to access the last sector, EIO gets reported to dmesg, and block device is marked "offline" (it is). Reproduced vol_id behavior with:

[PATCH 016/128] USB: Variant of the Dell Wireless 5520 driver

2008-02-01 Thread Greg Kroah-Hartman
From: Nate Carlson <[EMAIL PROTECTED]> I've got a Dell wireless 5520 card with a different USB ID - specifically, 8136 instead of 8137. Attached a small patch to add support, and the output of an 'ati3'. If we could get this in, that'd be sweet. ;) Thanks! [EMAIL PROTECTED]:~/tmp/linux-2.6.24-

Re: request: patch for oracom mp3 stick --> usb-storage: unusual_devs.h

2008-02-01 Thread Robert Spitzenpfeil
Alan Stern wrote: On Fri, 1 Feb 2008, Robert Spitzenpfeil wrote: Alan Stern wrote: So Robert, this suggests an experiment for you to try. First remove the US_FL_FIX_INQUIRY flag in your unusual_devs entry, of course. But then edit transport.c, and in usb_stor_Bulk_max_lun() repl

[PATCH 012/128] USB: remove duplicate entry in Option driver and Pl2303 driver for Huawei modem

2008-02-01 Thread Greg Kroah-Hartman
From: Daniel Kozák <[EMAIL PROTECTED]> Remove entry for Huawei E620 UMTS/HSDPA card (ID: 12d1:1001) in pl2303 driver Option driver is use instead Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Daniel Kozák <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/s

[PATCH 011/128] USB: sierra: add support for Onda H600/Zte MF330 datacard to USB Driver for Sierra Wireless

2008-02-01 Thread Greg Kroah-Hartman
From: Bruno Redondi <[EMAIL PROTECTED]> Added support for Onda H600/Zte MF330 GPRS/UMTS/HSDPA datacard Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Bruno Redondi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/sierra.c |2 ++ 1 files changed,

[PATCH 010/128] USB: ftdi-sio: Patch to add vendor/device id for ATK_16IC CCD

2008-02-01 Thread Greg Kroah-Hartman
From: Franco Lanza <[EMAIL PROTECTED]> little patches only to add vendor/device id of ATK_16IC CCD cam for astronomy. From: Franco Lanza <[EMAIL PROTECTED]> Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/ftdi_sio.c |1 + drivers/us

[PATCH 009/128] USB: ftdi_sio - enabling multiple ELV devices, adding EM1010PC

2008-02-01 Thread Greg Kroah-Hartman
From: Peter Stark <[EMAIL PROTECTED]> I work with a group of people on a free home automation tool called FHEM. Some of the users own more than one USB-serial device by ELV. The ftdi_sio driver has most of the ELV devices disabled by default and needs to be re-enabled every time you get a new ker

[PATCH 005/128] USB: Sierra - Add support for Aircard 881U

2008-02-01 Thread Greg Kroah-Hartman
From: Jessica L. Blank <[EMAIL PROTECTED]> Adds the appropriate vendor and device IDs for the AirCard 881U to sierra.c. (This device is often rebadged by AT&T as the USBConnect 881). Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Jessica L Blank <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartma

[PATCH 006/128] USB: Adding YC Cable USB Serial device to pl2303

2008-02-01 Thread Greg Kroah-Hartman
From: Damien Stuart <[EMAIL PROTECTED]> This simply adds the "YC Cable" as a vendor and its pl2303-based USB<->Serial adapter as a product. This particular adapter is sold by Radio Shack. I've done limited testing on a few different systems with no issues. Cc: stable <[EMAIL PROTECTED]> Signed-

[PATCH 007/128] USB: sierra driver - add devices

2008-02-01 Thread Greg Kroah-Hartman
From: Kevin Lloyd <[EMAIL PROTECTED]> The following improvements were made: - Added new product support: MC5725, AC 880 U, MP 3G (UMTS & CDMA) Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Kevin Lloyd <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/seri

[PATCH 008/128] USB : correct comments in usb/core/notify.c

2008-02-01 Thread Greg Kroah-Hartman
From: Manish Katiyar <[EMAIL PROTECTED]> This patch corrects the wrong function name mentioned in the comments of usb_unregister_notify function. Signed-off-by: Manish Katiyar <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/notify.c |2 +- 1 fil

[PATCH 013/128] USB: pl2303: add support for RATOC REX-USB60F

2008-02-01 Thread Greg Kroah-Hartman
From: Akira Tsukamoto <[EMAIL PROTECTED]> pl2303: add support for RATOC REX-USB60F This patch adds support for RATOC REX-USB60F Serial Adapters, which is widely used in Japan recently. Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Akira Tsukamoto <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Har

[PATCH 014/128] USB: ftdi driver - add support for optical probe device

2008-02-01 Thread Greg Kroah-Hartman
From: Ed Beroset <[EMAIL PROTECTED]> Added support for the Elster Unicom III Optical Probe. The device ID has already been added to the usb.ids file. Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Ed Beroset <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb

[PATCH 015/128] USB: use GFP_NOIO in reset path

2008-02-01 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> this function will run in the context of the scsi error handler thread. It must use GFP_NOIO instead of GFP_KERNEL to avoid a possible deadlock. Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartma

[PATCH 018/128] usb: fix usbtest halt check on big endian systems

2008-02-01 Thread Greg Kroah-Hartman
From: Jan Andersson <[EMAIL PROTECTED]> usbtest did not swap the received status information when checking for a non-zero value and failed to discover halted endpoints on big endian systems. Cc: stable <[EMAIL PROTECTED]> Signed-off-by: Jan Andersson <[EMAIL PROTECTED]> Acked-by: David Brownell <

[PATCH 021/128] USB: Remove unnecessary zeroing from ub

2008-02-01 Thread Greg Kroah-Hartman
From: Pete Zaitcev <[EMAIL PROTECTED]> These zeroings were taken from usb-storage long time ago. I examined the submission paths and usb_fill_bulk_urb and found them unnecessary. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/blo

[PATCH 022/128] USB: autosuspend for cdc-acm

2008-02-01 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> Here we go. This patch implements suspend/resume and autosuspend for the CDC ACM driver. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/class/cdc-acm.c | 92 +

[PATCH 024/128] USB: add iuu_phoenix driver

2008-02-01 Thread Greg Kroah-Hartman
From: Alain Degreffe <[EMAIL PROTECTED]> Signed-off-by: Alain Degreffe <[EMAIL PROTECTED]> Cc: Alan Cox <[EMAIL PROTECTED]> Cc: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- Documentation/usb/iuu_phoenix.txt | 84 +++ drivers/usb/serial/Kconfig

[PATCH 026/128] USB: sisusb: *_ioctl32_conversion functions do not exist in recent kernels

2008-02-01 Thread Greg Kroah-Hartman
From: Fernando Luis Vázquez Cao <[EMAIL PROTECTED]> Remove dead code while at it. Signed-off-by: Fernando Luis Vazquez Cao <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/video/sis/sis.h |8 --- drivers/video/sis/sis_main.c | 48 --

[PATCH 028/128] USB: usb/mon/mon_bin.c: cleanups

2008-02-01 Thread Greg Kroah-Hartman
From: Adrian Bunk <[EMAIL PROTECTED]> - make the needlessly global struct mon_fops_binary static - #if 0 the unused mon_bin_mmap() and related code Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Cc: Alan Stern <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Cc: Pete Zaitcev <[EMAIL PROTECTED]

[PATCH 029/128] USB: device DMA support on OMAP2

2008-02-01 Thread Greg Kroah-Hartman
From: Kyungmin Park <[EMAIL PROTECTED]> The current omap udc dosen't support the DMA mode and it has some problem at setup time on OMAP2 with previous patch file. I found that the code assumes bulk out required the big data transfer. But MODE SELECT(6) sent the only 24 bytes. it makes a problem

[PATCH 082/128] USB: ti_usb: termios cleanups

2008-02-01 Thread Greg Kroah-Hartman
From: Alan Cox <[EMAIL PROTECTED]> Remove internal NULL passing in termios code Remove all the if checks it causes Encode the baud rate back properly Clear CMSPAR as it is not supported Signed-off-by: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/

[PATCH 083/128] USB: io_ti: clean up termios handling

2008-02-01 Thread Greg Kroah-Hartman
From: Alan Cox <[EMAIL PROTECTED]> Don't pass NULL into termios functions when calling them internally Remove all the crap which then checks for NULL which can't occur now Clear CMSPAR as it is not supported Report the baud rate back to the caller properly (See FIXME someone with the docs) Signed

[PATCH 084/128] USB: ftdi_sio: Support for more JTAG adaptors

2008-02-01 Thread Greg Kroah-Hartman
From: Harald Welte <[EMAIL PROTECTED]> [PATCH] ftdi_sio: add support for more FTDI based JTAG adaptors There are more devices similar to the Olimex JTAG adaptor, in that the first port of the FT2232C is used for JTAG, and only the second port is available as UART. I have thus renamed ftdi_olimex

[PATCH 085/128] USB: sierra driver - add update dtr logic

2008-02-01 Thread Greg Kroah-Hartman
From: Kevin Lloyd <[EMAIL PROTECTED]> The following improvements were made: - Fixed control line issue where asserting DTR on ep5 would close ep2 - Added support for calc_num_ports (will help support future composite devices) Signed-off-by: Kevin Lloyd <[EMAIL PROTECTED]> Signed-off-by: Greg

[PATCH 086/128] USB: Export suspend statistics

2008-02-01 Thread Greg Kroah-Hartman
From: Sarah Sharp <[EMAIL PROTECTED]> This patch exports two statistics to userspace: /sys/bus/usb/device/.../power/connected_duration /sys/bus/usb/device/.../power/active_duration connected_duration is the total time (in msec) that the device has been connected. active_duration is the total tim

[PATCH 087/128] USB: Add documentation for USB suspend statistics.

2008-02-01 Thread Greg Kroah-Hartman
From: Sarah Sharp <[EMAIL PROTECTED]> This documents two newly created files: /sys/bus/usb/device/.../power/connected_duration /sys/bus/usb/device/.../power/active_duration Documentation was placed in Documentation/ABI/testing, since that's where the documentation is for the other USB sysfs power

[PATCH 088/128] USB: ohci-at91 uses generic GPIO calls

2008-02-01 Thread Greg Kroah-Hartman
From: David Brownell <[EMAIL PROTECTED]> Update the ohci-at91 bus glue to start understanding about the per-port power switch GPIOs it's given (on the sam9263-ek and potentially other boards). For the moment this just claims them and forces them active (assuming active-low power enables) whenever

[PATCH 089/128] USB: at91_udc uses generic GPIO calls; minor cleanup

2008-02-01 Thread Greg Kroah-Hartman
From: David Brownell <[EMAIL PROTECTED]> Various small at91_udc cleanups: - Use generic GPIO calls, not older platform-specific ones - Use gpio_request()/gpio_free() - Use VERBOSE_DEBUG convention, not older VERBOSE - Fix sparse complaint about parameter type (changed to gfp_t) - Add missing

[PATCH 099/128] USB: EHCI: add a short delay to the bus_suspend routine

2008-02-01 Thread Greg Kroah-Hartman
From: Alan Stern <[EMAIL PROTECTED]> This patch (as1031) adds a short delay to the bus-suspend routine in ehci-hcd. Without it some devices disconnect when they should suspend. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Ha

[PATCH 100/128] USB: usbserial: provide ezusb functions for an external module.

2008-02-01 Thread Greg Kroah-Hartman
From: Paul Chavent <[EMAIL PROTECTED]> When building an external module, the ezusb_* functions are not defined if we haven't loaded any built'in module that use them (whiteheat, keyspan, ...). This patch allow to build those functions even if we only have selected the usbserial generic driver. S

[PATCH 101/128] USB: ftdi_sio: remove very old changelog entries from the file.

2008-02-01 Thread Greg Kroah-Hartman
People keep trying to add entries to this section of the driver for things. That's what the Changelog is supposed to be for, not the .c file. Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/ftdi_sio.c | 222 + 1 files changed

[PATCH 102/128] USB: add support for SuperH OHCI

2008-02-01 Thread Greg Kroah-Hartman
From: Yoshihiro Shimoda <[EMAIL PROTECTED]> add support for SuperH OHCI. supported CPU are: - SH7720 - SH7721 - SH7763 Signed-off-by: Yoshihiro Shimoda <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/Kconf

[PATCH 103/128] USB: stop io performed by mos7720 upon close()

2008-02-01 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> This fixes a problem where the mos7720 driver will make io to a device from which it has been logically disconnected. It does so by introducing a flag by which the generic usb serial code can signal the subdrivers their disconnection and appropriate locking.

[PATCH 104/128] USB: constify function pointer tables

2008-02-01 Thread Greg Kroah-Hartman
From: Jan Engelhardt <[EMAIL PROTECTED]> Signed-off-by: Jan Engelhardt <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/iowarrior.c |2 +- drivers/usb/mon/mon_bin.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH 105/128] USB: stop abuse of intfdata in cypress_m8

2008-02-01 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> this driver uses usb_get_intfdata() == NULL as a test for disconnect(). You must not do that as this races with probe(). By the time you test your erstwhile interface may already be somebody else's interface. This fixes the close() method of cypress_m8 to us

[PATCH 030/128] USB: TI 3410/5052 USB Serial: convert td_open_close_lock to mutex

2008-02-01 Thread Greg Kroah-Hartman
From: Matthias Kaehlcke <[EMAIL PROTECTED]> TI 3410/5052 USB Serial: convert semaphore td_open_close_lock to the mutex API. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/

[PATCH 032/128] USB: Add missing "space" to printk messages

2008-02-01 Thread Greg Kroah-Hartman
From: Joe Perches <[EMAIL PROTECTED]> Signed-off-by: Joe Perches <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/atm/ueagle-atm.c|4 ++-- drivers/usb/gadget/amd5536udc.c |2 +- drivers/usb/gadget/m6

[PATCH 125/128] USB: fix codingstyle issues in drivers/usb/core/devio.c

2008-02-01 Thread Greg Kroah-Hartman
Fixes a number of coding style issues in the devio.c file. Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/devio.c | 333 ++ 1 files changed, 188 insertions(+), 145 deletions(-) diff --git a/drivers/usb/core/devio.c b/driver

[PATCH 123/128] USB: fix codingstyle issues in drivers/usb/core/*.h

2008-02-01 Thread Greg Kroah-Hartman
Fixes a number of coding style issues in the USB internal header files. Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hcd.h | 90 +++--- drivers/usb/core/hub.h | 18 drivers/usb/core/otg_whitelist.h |

[PATCH 122/128] USB: fix codingstyle issues in include/linux/usb/

2008-02-01 Thread Greg Kroah-Hartman
Fixes a number of coding style issues in the USB public header files. Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- include/linux/usb/audio.h | 14 ++-- include/linux/usb/cdc.h | 16 ++-- include/linux/usb/gadget.h| 123 ++-- include/linu

[PATCH 035/128] USB: cypress_cy7c63: updated contact/usage information

2008-02-01 Thread Greg Kroah-Hartman
From: Oliver Bock <[EMAIL PROTECTED]> here's a minor update to the cypress_cy7c63 driver providing new contact and usage information. From: Oliver Bock <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/cypress_cy7c63.c |7 +-- 1 files changed

[PATCH 118/128] USB: mount options: fix usbfs

2008-02-01 Thread Greg Kroah-Hartman
From: Miklos Szeredi <[EMAIL PROTECTED]> Add a .show_options super operation to usbfs. Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/inode.c | 42 -- 1 files changed, 36 inser

[PATCH 116/128] usb: ehci should use u16 for isochronous intervals

2008-02-01 Thread Greg Kroah-Hartman
From: David Brownell <[EMAIL PROTECTED]> While most isochronous endpoints have short polling intervals, the EHCI driver won't necessarily handle larger ones correctly. This patch switches to use a "u16" to represent those periods, not a u8, since it can always work: the largest expressible perio

[PATCH 113/128] usb: ohci-sm501 driver

2008-02-01 Thread Greg Kroah-Hartman
From: Magnus Damm <[EMAIL PROTECTED]> usb: ohci-sm501 driver V2 This patch adds sm501 ohci support. It's all very straightforward with the exception of dma_declare_coherent_memory() and HCD_LOCAL_MEM. Together they are used to ensure that usb data is allocated using dma_alloc_coherent(), and that

[PATCH 036/128] USB: usb_serial_console: fix command line parsing

2008-02-01 Thread Greg Kroah-Hartman
From: Aristeu Rozanski <[EMAIL PROTECTED]> Currently usb serial console support ignores the device and always use ttyUSB0. Signed-off-by: Aristeu Rozanski <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/console.c |9 ++--- 1 files changed,

[PATCH 112/128] usb: dma bounce buffer support

2008-02-01 Thread Greg Kroah-Hartman
From: Magnus Damm <[EMAIL PROTECTED]> usb: dma bounce buffer support V4 This patch adds dma bounce buffer support to the usb core. These buffers can be enabled with the HCD_LOCAL_MEM flag, and they make sure that all data passed to the host controller is allocated using dma_alloc_coherent(). Sig

[PATCH 111/128] USB: last abuses of intfdata in close for usb-serial drivers

2008-02-01 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> these drivers abused intfdata in close() as flags for binding. That races with reprobing of those devices. This patch fixes that by using the flag and the locks introduced with the patch against mos7720. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Sign

[PATCH 109/128] USB: oti6858: cleanup

2008-02-01 Thread Greg Kroah-Hartman
From: Alan Cox <[EMAIL PROTECTED]> - Rename the copied buffer functions from pl2303 to oti6858 to avodi confusion - Initialise speeds properly - Use modern baud rate handling - Remove GSERIAL/SSERIAL ioctl hacks that reference termios unlocked Signed-off-by: Alan Cox <[EMAIL PROTECTED]> Signed-

[PATCH 107/128] USB: make sure usb serial drivers don't flush to logically disconnected devices

2008-02-01 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> If disconnect() is called for a logical disconnect, no more IO must be done after disconnect() returns, or the old and new drivers may conflict. This patch avoids this by using the flag and lock introduced by the earlier patch for the mos7720 driver. Signed

[PATCH 106/128] USB: fix memleak in ark3116 serial driver

2008-02-01 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> in an error case memory already allocated must be freed again. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/ark3116.c |4 +++- 1 files changed, 3 insertions(+), 1 deletion

[PATCH 098/128] USB: EHCI: move del_timer_sync calls outside spinlocked region

2008-02-01 Thread Greg Kroah-Hartman
From: Alan Stern <[EMAIL PROTECTED]> This patch (as1030b) moves a del_timer_sync() call outside the scope of a spinlock, where it could cause a deadlock, and adds a new del_timer_sync() call for the new IAA watchdog timer (it was omitted by mistake). Signed-off-by: Alan Stern <[EMAIL PROTECTED]>

[PATCH 095/128] USB: ehci: minor ISO updates, always support split ISO

2008-02-01 Thread Greg Kroah-Hartman
From: David Brownell <[EMAIL PROTECTED]> Small updates to the EHCI driver's ISO support: - Get rid of the Kconfig option for full speed ISO. It may not be perfect yet, but it hasn't appeared to be dangerous and pretty much every configuration wants it. - Instead of two places to disable

[PATCH 094/128] USB: ehci saves some memory in ISO transfer descriptors

2008-02-01 Thread Greg Kroah-Hartman
From: Karsten Wiese <[EMAIL PROTECTED]> In the EHCI driver, itd->usecs[8] is used in periodic_usecs(), indexed by uframe. For an ITD's unused uframes it is 0, else it contains the same value as itd->stream->usecs. To check if an ITD's uframe is used, we can instead test itd->hw_transaction[ufram

[PATCH 093/128] USB: add ehci-ixp bus glue

2008-02-01 Thread Greg Kroah-Hartman
From: Vladimir Barinov <[EMAIL PROTECTED]> EHCI Glue driver for Intel IXP4XX EHCI USB controller Signed-off-by: Vladimir Barinov <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/Kconfig|1 +

[PATCH 092/128] USB: misc: legousbtower: semaphore to mutex

2008-02-01 Thread Greg Kroah-Hartman
From: Daniel Walker <[EMAIL PROTECTED]> The dev->sem conforms to mutex style usage. This patch converts it to use the struct mutex type, and new API. There is also a small style fix around this comment, /* unlock here as tower_delete frees dev */ Where I broke the line up to meet the 80 char li

[PATCH 037/128] USB: usb_serial: clean tty reference in the last close

2008-02-01 Thread Greg Kroah-Hartman
From: Aristeu Rozanski <[EMAIL PROTECTED]> When a usb serial adapter is used as console, the usb serial console driver bumps the open_count on the port struct used but doesn't attach a real tty to it (only a fake one temporaly). If this port is opened later using the regular character device inter

[PATCH 081/128] USB: mos7720: clean up termios

2008-02-01 Thread Greg Kroah-Hartman
From: Alan Cox <[EMAIL PROTECTED]> Remove lots of NULL checks that can no longer occur Encode the baud rate back into the termios (again someone with docs see FIXME to improve this further) Signed-off-by: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- driv

  1   2   >