[linux-usb-devel] [PATCH] Option driver: removed change history and linux/version.h include

2006-07-12 Thread Matthias Urlichs
Signed-Off-By: Matthias Urlichs <[EMAIL PROTECTED]> --- drivers/usb/serial/option.c | 32 +--- 1 files changed, 1 insertions(+), 31 deletions(-) Greg KH: > Hm, can you stop adding changelog stuff to the driver itself? That will > just get HUGE over time and can be

Re: [linux-usb-devel] Fwd: Device Detection Issues

2006-07-12 Thread Ajay Jain
On 7/11/06, Steve Calfee <[EMAIL PROTECTED]> wrote: > > >Date: Mon, 10 Jul 2006 20:07:05 +0530 > > >From: "Ajay Jain" <[EMAIL PROTECTED]> > > >To: linux-usb-devel@lists.sourceforge.net > > >Hi, > > >Am using a windows host and a proprietary device as a function. This > > >is the pre-enumeration sta

Re: [linux-usb-devel] How can I implement this?

2006-07-12 Thread Greg KH
On Tue, Jul 11, 2006 at 11:49:05PM -0700, Phil Dibowitz wrote: > Greg KH wrote: > > Not true at all, I use mutt, and vim, and from within vim, import > > patches directly all the time. Use the ":r" command to read in the > > patch file to the mail message. > > True. copy and paste won't work thou

Re: [linux-usb-devel] [PATCH] Option driver: removed change history and linux/version.h include

2006-07-12 Thread Greg KH
On Wed, Jul 12, 2006 at 09:06:11AM +0200, Matthias Urlichs wrote: > Signed-Off-By: Matthias Urlichs <[EMAIL PROTECTED]> > --- > drivers/usb/serial/option.c | 32 +--- > 1 files changed, 1 insertions(+), 31 deletions(-) > > > Greg KH: > > Hm, can you stop adding chan

Re: [linux-usb-devel] How can I implement this?

2006-07-12 Thread Phil Dibowitz
Greg KH wrote: > On Tue, Jul 11, 2006 at 11:49:05PM -0700, Phil Dibowitz wrote: >> Greg KH wrote: >>> Not true at all, I use mutt, and vim, and from within vim, import >>> patches directly all the time. Use the ":r" command to read in the >>> patch file to the mail message. >> True. copy and paste

[linux-usb-devel] [PATCH] usbcore get rid of the timer in usb_start_wait_urb()

2006-07-12 Thread Franck Bui-Huu
This patch uses completion timeout instead of a timer to implement a timeout when submitting an URB in usb_start_wait_urb(). It also fixes a small issue. With the previous code, if no timeout happened and the URB's status was set to ECONNRESET value, the code assumed wrongly that a timeout had occ

[linux-usb-devel] [PATCH] OHCI: Add urb_priv null pointer check to finish_unlinks

2006-07-12 Thread ohtake-txa
Dear all. I encountered this crash by our insert/eject tests several times with Asianux v2(2.6.9-34.21AXsmp). I think that this crash is the same pattern reported at http://sourceforge.net/mailarchive/message.php?msg_id=10654542. Looking into dump file, the urb->hcpriv was nulled. The patch avoi

Re: [linux-usb-devel] [PATCH] Option driver: removed change history and linux/version.h include

2006-07-12 Thread Matthias Urlichs
Hi, Greg KH: > > Hm, can you just resend a new patch, not an incremental one? I didn't > apply the first one yet :) > So feed it through "combinediff". ;-) Anyway, those patches are separate in my git repo; I'd rather keep them that way if you're reasonably OK with it. -- Matthias Urlichs

Re: [linux-usb-devel] [PATCH] Let option driver handle Anydata CDMA modems. Remove anydata driver.

2006-07-12 Thread Jon Kåre Hellan
Matthias Urlichs wrote: > Signed-off-by: Jon K Hellan <[EMAIL PROTECTED]> > Signed-Off-By: Matthias Urlichs <[EMAIL PROTECTED]> > -config USB_SERIAL_ANYDATA > - tristate "USB AnyData CDMA Wireless Driver" > - depends on USB_SERIAL > - help > - Say Y here if you want to use a AnyDa

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-07-12 Thread Sergei Organov
Andy Gay <[EMAIL PROTECTED]> writes: > On Tue, 2006-07-11 at 22:31 +0400, Sergei Organov wrote: >> Andy Gay <[EMAIL PROTECTED]> writes: [...] >> > + /* something happened, so free up the memory for this urb /* >> >> There should be '*/' at the end of this line, not '/*', otherwise the >

[linux-usb-devel] OCHI host + mass storage performance

2006-07-12 Thread Gyorgy Szekely
Hi, I'm using the linux OHCI driver with an ARM based SoC. CPU: ARM 940T Kernel: uClinux 2.6.14 I've made some transfer benchmarks, and the results were a bit strange. The benchmark is sequential read from an USB flash stick, 7.5 MB file right after reset. I've made multiple passes with and withou

Re: [linux-usb-devel] fc5: udev: usb: hp virtual keyboard (solved?)

2006-07-12 Thread Dario Lesca
Il giorno mar, 11/07/2006 alle 18.48 -0700, Pete Zaitcev ha scritto: > I decoded the log Hard work! ;-) > Dario, did you try to run Windows on that box? And yes, I mean that > very box, not some other system. It's very possible that something > is not good with your power supply or the mothe

[linux-usb-devel] usb-serial device name allocation.

2006-07-12 Thread Sergei Organov
Suppose I have a usb-serial device managed, say, by the airprime driver. When I connect it, it is attached to the /dev/ttyUSB0, then, every disconnect/connect results in detaching from /dev/ttyUSB0 and attaching back to /dev/ttyUSB0 *unless* there is an application that keeps an opened fd got from

Re: [linux-usb-devel] Volume control of usb speaker not working with ehci-hcd.

2006-07-12 Thread Clemens Ladisch
[EMAIL PROTECTED] wrote: > I have a usb-speaker which I plugged into my system with > ehci-hcd. Only prblem is, both the volume control of xmms and the > speaker is not working. The snd-usb-driver should make available all mixer controls of the device. Please show the output of "lsusb -v"

Re: [linux-usb-devel] Volume control of usb speaker not working with ehci-hcd.

2006-07-12 Thread James Klaas
I have noticed this too on more than a few USB audio devices. You can set the volume manually in the asound.state file and restore the values from the changed file, but changing the volume in alsamixer just doesn't work. On Wed, 12 Jul 2006, Clemens Ladisch wrote: > [EMAIL PROTECTED] wrote: > >

Re: [linux-usb-devel] enumerating devices in a usb hub

2006-07-12 Thread Alan Stern
On Tue, 11 Jul 2006, Paulo R. Zanoni wrote: > I've tried it, and it didn't work too... > Also, i've tried combinations unbinding/reseting/binding, > reseting/unbinding/binding, unbinding/binding/reseting, etc > Doing this is not the same as manually unplugging/plugging... > Do you know anything el

[linux-usb-devel] Enumeration sequence issues

2006-07-12 Thread Ajay Jain
Hi, The windows host enumerates my proprieatry device (running linux & my driver) in the following sequence: 1. Reset 2. Get Dev Desc 64 bytes 3. Reset 4. Set Address 5. Get Dev Desc 18 bytes 6. Get Config Desc 9 bytes 7. Get Config Desc 0xff bytes 8. Get Device Qualifier Desc 9. Get Dev Desc 18

Re: [linux-usb-devel] fc5: udev: usb: hp virtual keyboard

2006-07-12 Thread Frantz, Chris
Pete, Which kernel is running? A while back, Alan Stern and I worked out a patch for an issue that sounds just like this one. The UHCI controller in iLO cannot meet the timing requirements of the hub code in kernels >= 2.6.12 (I think). The patch added some extra delay if it detected that it wa

Re: [linux-usb-devel] fc5: udev: usb: hp virtual keyboard (solved?)

2006-07-12 Thread Alan Stern
On Wed, 12 Jul 2006, Dario Lesca wrote: > Il giorno mar, 11/07/2006 alle 18.48 -0700, Pete Zaitcev ha scritto: > > > I decoded the log > Hard work! ;-) > > > Dario, did you try to run Windows on that box? And yes, I mean that > > very box, not some other system. It's very possible that some

Re: [linux-usb-devel] Fwd: Device Detection Issues

2006-07-12 Thread Alan Stern
On Wed, 12 Jul 2006, Ajay Jain wrote: > Well, sometime back I was facing a problem when the windows came up > with a message on connecting this device of mine. The message was > "One of the usb devices attached to this computer has malfunctioned, and > Windows does not recognize it. For assistance

Re: [linux-usb-devel] OCHI host + mass storage performance

2006-07-12 Thread Alan Stern
On Wed, 12 Jul 2006, Gyorgy Szekely wrote: > Hi, > I'm using the linux OHCI driver with an ARM based SoC. > CPU: ARM 940T > Kernel: uClinux 2.6.14 > > I've made some transfer benchmarks, and the results were a bit > strange. The benchmark is sequential read from an USB flash stick, 7.5 > MB file

Re: [linux-usb-devel] Enumeration sequence issues

2006-07-12 Thread Alan Stern
On Wed, 12 Jul 2006, Ajay Jain wrote: > Hi, > > The windows host enumerates my proprieatry device (running linux & my > driver) in the following sequence: > > 1. Reset > 2. Get Dev Desc 64 bytes > 3. Reset > 4. Set Address > 5. Get Dev Desc 18 bytes > 6. Get Config Desc 9 bytes > 7. Get Config D

Re: [linux-usb-devel] [PATCH] Option driver: The short driver names were not unique,

2006-07-12 Thread Pete Zaitcev
On Mi, 12 Jul 2006 08:36:42 +0200, Matthias Urlichs <[EMAIL PROTECTED]> wrote: > +++ b/drivers/usb/serial/option.c > @@ -65,6 +67,7 @@ #include > #include > #include > #include > +#include > #include "usb-serial.h" What is this for? How does it help to make names unique? -- Pete -

Re: [linux-usb-devel] fc5: udev: usb: hp virtual keyboard

2006-07-12 Thread Alan Stern
On Wed, 12 Jul 2006, Frantz, Chris wrote: > Pete, > > Which kernel is running? > > A while back, Alan Stern and I worked out a patch for an issue that > sounds just like this one. The UHCI controller in iLO cannot meet the > timing requirements of the hub code in kernels >= 2.6.12 (I think). T

[linux-usb-devel] Fw: [Bugme-new] [Bug 6823] New: Zyxel Uno USB modem broken by David Kubicek's patch in 2.6.16

2006-07-12 Thread Andrew Morton
Begin forwarded message: Date: Wed, 12 Jul 2006 02:40:10 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 6823] New: Zyxel Uno USB modem broken by David Kubicek's patch in 2.6.16 http://bugzilla.kernel.org/show_bug.cgi?id=6823 Summary: Zyxel Uno USB mo

Re: [linux-usb-devel] OCHI host + mass storage performance

2006-07-12 Thread Pete Zaitcev
On Wed, 12 Jul 2006 11:30:28 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > > Here are my results: (sequential read, DirectIO) > > blocksize avg(us)wc(us)total > > 512 9000 28988 132sec > > 2048 1105730976 41sec > > 16384 256976101012se

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 6823] New: Zyxel Uno USB modem broken by David Kubicek's patch in 2.6.16

2006-07-12 Thread Oliver Neukum
Am Mittwoch, 12. Juli 2006 17:56 schrieb Andrew Morton: > > Begin forwarded message: > > Date: Wed, 12 Jul 2006 02:40:10 -0700 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: [Bugme-new] [Bug 6823] New: Zyxel Uno USB modem broken by David > Kubicek's patch in 2.6.16 > > > http://b

Re: [linux-usb-devel] OCHI host + mass storage performance

2006-07-12 Thread David Brownell
On Wednesday 12 July 2006 2:54 am, Gyorgy Szekely wrote: > These numbers tell me that there's a huge overhead (at least 8ms) when > starting a transaction. Is this normal? There's a per-transaction overhead, sure ... I'd expect max 2 msec (and more typically about 1 msec) comes from the host cont

Re: [linux-usb-devel] [PATCH] Option driver: The short driver names were not unique,

2006-07-12 Thread Matthias Urlichs
Hi, Pete Zaitcev: > On Mi, 12 Jul 2006 08:36:42 +0200, Matthias Urlichs <[EMAIL PROTECTED]> wrote: > > > +++ b/drivers/usb/serial/option.c > > @@ -65,6 +67,7 @@ #include > > #include > > #include > > #include > > +#include > > #include "usb-serial.h" > > What is this for? How does it he

Re: [linux-usb-devel] [PATCH] usbcore: fix bug in usb_uevent

2006-07-12 Thread Greg KH
On Fri, Jul 07, 2006 at 12:13:57PM -0400, Alan Stern wrote: > Greg: > > Somehow in all the confusion over that long series of patches last > weekend, a few lines of code failed to be removed in usb_uevent(). This > bug causes a nasty hang during bootup as soon as a USB host controller > is probe

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-12 Thread Luiz Fernando N. Capitulino
Hi Sergei, On Wed, 12 Jul 2006 15:42:14 +0400 Sergei Organov <[EMAIL PROTECTED]> wrote: | Suppose I have a usb-serial device managed, say, by the airprime | driver. When I connect it, it is attached to the /dev/ttyUSB0, then, | every disconnect/connect results in detaching from /dev/ttyUSB0 and

Re: [linux-usb-devel] usb barcode scanner issues

2006-07-12 Thread Bret Towe
On 7/11/06, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > On Tue, 11 Jul 2006 22:44:14 -0700, "Bret Towe" <[EMAIL PROTECTED]> wrote: > > > > My attempts have not yielded a success so far, but it should show > > > you where to poke. The symptom seems similar, although it's different > > > hardware. The

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

2006-07-12 Thread Greg KH
Here are a some patches for USB against 2.6.18-rc1. They do the following: - lots of device id updates - add a few new drivers - rename a driver and update it to work better (don't know why git didn't notice the rename, I guess it's too big of a change).

[linux-usb-devel] [PATCH 2/44] [PATCH] USB: au1200: EHCI and OHCI fixes

2006-07-12 Thread Greg KH
From: Daniel Mack <[EMAIL PROTECTED]> I received an DBAU1200 eval kit from AMD a few days ago and tried to enable the USB2 port, but the current linux-2.6 GIT did not even compile with CONFIG_SOC_1200, CONFIG_SOC_AU1X00, CONFIG_USB_EHCI and CONFIG_USB_OHCI set. Furthermore, in ehci-hcd.c, platform

[linux-usb-devel] [PATCH 1/44] [PATCH] USB: au1xxx: compile fixes for OHCI for au1200

2006-07-12 Thread Greg KH
From: Domen Puncer <[EMAIL PROTECTED]> Compile fixes for au1200 ohci. First part looks a bit hackish... but it works for me. Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/host/ohci-au1xxx.c |6 -- 1 files changed, 4

[linux-usb-devel] [PATCH 3/44] [PATCH] USB: ohci bits for the cirrus ep93xx

2006-07-12 Thread Greg KH
From: Lennert Buytenhek <[EMAIL PROTECTED]> This patch adds OHCI glue bits for the USB host interface in the Cirrus ep93xx (arm920t) CPU. Signed-off-by: Lennert Buytenhek <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- dr

[linux-usb-devel] [PATCH 4/44] [PATCH] USB: fix usb kernel-doc

2006-07-12 Thread Greg KH
From: Randy Dunlap <[EMAIL PROTECTED]> Warning(/var/linsrc/linux-2617-g4//include/linux/usb.h:66): No description found for parameter 'ep_dev' Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- include/linux/usb.h |2 +- 1 files changed

[linux-usb-devel] [PATCH 5/44] [PATCH] USB: Addition of vendor/product id pair for pl2303 driver

2006-07-12 Thread Greg KH
From: Peter Moulder <[EMAIL PROTECTED]> Text from the back of the box, for your information/amusement: USB DATA CABLE FOR K700 Series The USB Cable is an ideal link between your mobile phone and PC. Employing the user-friendiy [sic] USB standard,its capacity for rapid data transfer enable

[linux-usb-devel] [PATCH 6/44] [PATCH] USB: new device id for Thorlabs motor driver

2006-07-12 Thread Greg KH
From: D. Peter Siddons <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/ftdi_sio.c |1 + drivers/usb/serial/ftdi_sio.h |5 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/seria

[linux-usb-devel] [PATCH 9/44] [PATCH] USB: fix usb-serial leaks, oopses on disconnect

2006-07-12 Thread Greg KH
From: Pete Zaitcev <[EMAIL PROTECTED]> This fix addresses two issues: - Unattached port structures were not freed - My initial fix for crash when eventd runs a work in a freed port did not go far enough Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PR

[linux-usb-devel] [PATCH 8/44] [PATCH] USB: OHCI hub code unaligned access

2006-07-12 Thread Greg KH
From: David Miller <[EMAIL PROTECTED]> I noticed this while debugging something unrelated on sparc64. Signed-off-by: David S. Miller <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/host/ohci-hub.c |4 ++--

[linux-usb-devel] [PATCH 10/44] [PATCH] USB: fix visor leaks

2006-07-12 Thread Greg KH
From: Pete Zaitcev <[EMAIL PROTECTED]> This patch fixes blatant leaks in visor driver and makes it report mode sensible things in ->write_room (this is only needed if your visor is a terminal though). It is made to fit into 80 columns with a temporary variable. Might even save a few instructions.

[linux-usb-devel] [PATCH 11/44] [PATCH] USB: Add some basic WUSB definitions

2006-07-12 Thread Greg KH
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> This patch adds basic Wireless USB 1.0 definitions to usb_ch9.h that fit into the existing set of declarations. Boils down to two new recipients for requests (ports and remote pipes), rpipe reset and abort request codes and wire adapter and remote pip

[linux-usb-devel] [PATCH 7/44] [PATCH] USB: new device ids for ftdi_sio driver

2006-07-12 Thread Greg KH
From: Christophe Mariac <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/ftdi_sio.c |1 + drivers/usb/serial/ftdi_sio.h |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial

[linux-usb-devel] [PATCH 12/44] [PATCH] USB: Support for Susteen Datapilot Universal-2 cable in pl2303

2006-07-12 Thread Greg KH
From: Matthew Meno <[EMAIL PROTECTED]> The Susteen Datapilot cable (http://www.susteen.com/productdetail/71/producthl/Notempty) has an internal pl2303 to communicate with a set of dummy connector-ends that connect to a variety of cell phones. I've found that it works right out of the box by simply

[linux-usb-devel] [PATCH 13/44] [PATCH] usbfs: use the correct signal number for disconnection

2006-07-12 Thread Greg KH
From: Zoran Marceta <[EMAIL PROTECTED]> usbfs stores the wrong signal number in the siginfo structure used for notifying user programs about device disconnect. This patch (as726) fixes it. From: Zoran Marceta <[EMAIL PROTECTED]> Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg K

[linux-usb-devel] [PATCH 14/44] [PATCH] USB: rename Cypress CY7C63xxx driver to proper name and fix up some tiny things

2006-07-12 Thread Greg KH
From: Oliver Bock <[EMAIL PROTECTED]> This is a new driver for the Cypress CY7C63xxx mirco controller series. It currently supports the pre-programmed CYC63001A-PC by AK Modul-Bus GmbH. It's based on a kernel 2.4 driver (cyport) by Marcus Maul which I ported to kernel 2.6 using sysfs. I intend to

[linux-usb-devel] [PATCH 15/44] [PATCH] USB: update for acm in quirks and debug

2006-07-12 Thread Greg KH
From: Oliver Neukum <[EMAIL PROTECTED]> this adds better debugging output & an update of the quirk list to the acm driver Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/class/cdc-acm.c | 49 +++-

[linux-usb-devel] [PATCH 16/44] [PATCH] usb-storage: fix race between reset and disconnect

2006-07-12 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> My recent patch converting usb-storage to use usb_reset_composite_device() added a bug, a race between reset and disconnect. It was necessary to drop the private lock while executing a reset, and if a disconnect occurs at that time it will cause a crash. This

[linux-usb-devel] [PATCH 17/44] [PATCH] USB hub: don't return status > 0 from resume

2006-07-12 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> finish_device_resume() in the hub driver isn't careful always to return a negative code in all the error pathways. It also doesn't return 0 in all the success pathways. This patch (as724) fixes the behavior. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Sign

[linux-usb-devel] [PATCH 19/44] [PATCH] USB: unusual_devs entry for Samsung MP3 player

2006-07-12 Thread Greg KH
From: Ernis <[EMAIL PROTECTED]> This patch (as730) contains an unusual_devs entry for a Samsung MP3 device. From: Ernis <[EMAIL PROTECTED]> Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h |7 +++ 1

[linux-usb-devel] [PATCH 20/44] [PATCH] usbcore: fixes for hub_port_resume

2006-07-12 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as731) makes a couple of small fixes to the hub_port_resume routine: Don't return status >= 0 when an error occurs; Clear the port-change-suspend status indicator after resuming a device. Signed-off-by: Alan Stern <[EMAIL

[linux-usb-devel] [PATCH 18/44] [PATCH] usb-storage: unusual_devs entry for Motorola RAZR V3x

2006-07-12 Thread Greg KH
From: Davide Perini <[EMAIL PROTECTED]> This patch (as725) adds an unusual_devs entry for the Motorola RAZR V3x. From: Davide Perini <[EMAIL PROTECTED]> Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h |

[linux-usb-devel] [PATCH 21/44] [PATCH] USB Storage: US_FL_MAX_SECTORS_64 flag

2006-07-12 Thread Greg KH
From: Phil Dibowitz <[EMAIL PROTECTED]> This patch adds a US_FL_MAX_SECTORS_64 and removes the Genesys special-cases for this that were in scsiglue.c. It also adds the flag to other devices reported to need it. Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL

[linux-usb-devel] [PATCH 22/44] [PATCH] USB Storage: Uname in PR/SC Unneeded message

2006-07-12 Thread Greg KH
From: Phil Dibowitz <[EMAIL PROTECTED]> This patch adds the kernel version to the usb-storage Protocol/SubClass unneeded message in order to help us troubleshoot such problems. Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Signed-off-by: Greg Kr

[linux-usb-devel] [PATCH 23/44] [PATCH] USB serial visor: fix race in open/close

2006-07-12 Thread Greg KH
From: Ian Abbott <[EMAIL PROTECTED]> The anti user-DoS mechanism in the USB serial 'visor' driver can fail in the following way: visor_open: priv->outstanding_urbs = 0 visor_write: ++priv->outstanding_urbs visor_close: visor_open: priv->outstanding_urbs = 0 visor_write_bulk_callback: --priv->outs

[linux-usb-devel] [PATCH 24/44] [PATCH] USB serial ftdi_sio: Prevent userspace DoS

2006-07-12 Thread Greg KH
From: Ian Abbott <[EMAIL PROTECTED]> This patch limits the amount of outstanding 'write' data that can be queued up for the ftdi_sio driver, to prevent userspace DoS attacks (or simple accidents) that use up all the system memory by writing lots of data to the serial port. The original patch was

[linux-usb-devel] [PATCH 26/44] [PATCH] USB: fix pointer dereference in drivers/usb/misc/usblcd

2006-07-12 Thread Greg KH
From: Eric Sesterhenn <[EMAIL PROTECTED]> coverity spotted (id #185) that we still use urb, if the allocation fails in the error path. This patch fixes this by returning directly. Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers

[linux-usb-devel] [PATCH 25/44] [PATCH] USB: Kill compiler warning in quirk_usb_handoff_ohci

2006-07-12 Thread Greg KH
From: Kyle McMartin <[EMAIL PROTECTED]> Move variables only used on !__hppa__ into that #ifndef section. This cleans up a compiler warning on parisc. Problem pointed out by Joel Soete. Signed-off-by: Kyle McMartin <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- driv

[linux-usb-devel] [PATCH 28/44] [PATCH] USB: ehci: fix bogus alteration of a local variable

2006-07-12 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> In a rare and all-but-unused path, the EHCI driver could reuse a variable in a way that'd make trouble. Specifically, if the first root hub port gets an overcurrent event (rare) during a remote wakeup scenario (all but unused in today's Linux, except for f

[linux-usb-devel] [PATCH 27/44] [PATCH] USB: add driver for non-composite Sierra Wireless devices

2006-07-12 Thread Greg KH
From: Kevin Lloyd <[EMAIL PROTECTED]> This patch creates a new driver, sierra.c, that supports the new non-composite Sierra Wireless WWAN devices. The older Sierra Wireless and Airprime devices are supported in airprime.c. Signed-off-by: Kevin Lloyd <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-

[linux-usb-devel] [PATCH 30/44] [PATCH] USB: ipaq.c timing parameters

2006-07-12 Thread Greg KH
From: Frank Gevaerts <[EMAIL PROTECTED]> Adds configurable waiting periods to the ipaq connection code. These are not needed when the pocketpc device is running normally when plugged in, but they need extra delays if they are physically connected while rebooting. There are two parameters : * ini

[linux-usb-devel] [PATCH 29/44] [PATCH] USB: ipaq.c bugfixes

2006-07-12 Thread Greg KH
From: Frank Gevaerts <[EMAIL PROTECTED]> This patch fixes several problems in the ipaq.c driver with connecting and disconnecting pocketpc devices: * The read urb stayed active if the connect failed, causing nullpointer dereferences later on. * If a write failed, the driver continued as if not

[linux-usb-devel] [PATCH 31/44] [PATCH] USB: remove empty destructor from drivers/usb/mon/mon_text.c

2006-07-12 Thread Greg KH
From: Christoph Lameter <[EMAIL PROTECTED]> Remove destructor and call kmem_cache_create with NULL for the destructor. Acked-by: Pekka Enberg <[EMAIL PROTECTED]> Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Cc: Pete Zaitcev <[EMAIL PROTECTE

[linux-usb-devel] [PATCH 32/44] [PATCH] USB: remove devfs information from Kconfig

2006-07-12 Thread Greg KH
From: Michal Piotrowski <[EMAIL PROTECTED]> Devfs is gone. We can remove that information. Signed-off-by: Michal Piotrowski <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/Kconfig |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --

[linux-usb-devel] [PATCH 33/44] [PATCH] USB: ipw.c driver fix

2006-07-12 Thread Greg KH
From: Bart Oldeman <[EMAIL PROTECTED]> The below patch fixes the ipw module in kernel 2.6.17 for me; without this change it simply does not work at all (all but the first writes are refused because write_urb_busy is always 1). This problem was there in 2.6.15 as well, but at that point I used the

[linux-usb-devel] [PATCH 34/44] [PATCH] USB: add support for WiseGroup., Ltd SmartJoy Dual PLUS Adapter

2006-07-12 Thread Greg KH
From: Navaho Gunleg <[EMAIL PROTECTED]> This patch is to get the WiseGroup.,Ltd SmartJoy Dual Plus PS2-to-USB Adapter [0x6677:0x8802] correctly detected. It sets the NOGET and MULTI_INPUT quirks to make 2 joystick nodes appear in stead of only one. (As of yet, only confirmed working by myself.)

[linux-usb-devel] [PATCH 35/44] [PATCH] USB: Option driver: new product ID

2006-07-12 Thread Greg KH
From: Matthias Urlichs <[EMAIL PROTECTED]> Yet another "same name, somewhat different hardware" product. Signed-Off-By: Matthias Urlichs <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/option.c |6 +- 1 files changed, 5 insertions(+), 1 de

[linux-usb-devel] [PATCH 36/44] [PATCH] USB: add ZyXEL vendor/product ID to rtl8150 driver

2006-07-12 Thread Greg KH
From: Dan Streetman <[EMAIL PROTECTED]> I just got a "ZyXEL Prestige USB Adapter" that is actually RTL8150 adapter. Here is the relevant /proc/bus/usb/devices output (after adding the vendor/product IDs to the driver): T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=119 Spd=12 MxCh= 0 D: Ver= 1.

[linux-usb-devel] [PATCH 37/44] [PATCH] USB: unusual_devs entry for Nokia N91

2006-07-12 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as745) adds an unusual_devs entry for the Nokia N91, just like the entry for the N80 added a couple of weeks ago. Apparently Nokia isn't using very good firmware these days... Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah

[linux-usb-devel] [PATCH 38/44] [PATCH] USB: unusual_devs entry for Nokia E61

2006-07-12 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as748) adds an unusual_devs entry for the Nokia E61 mobile phone. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h |7 +++ 1 files changed, 7 inserti

[linux-usb-devel] [PATCH 39/44] [PATCH] USB: unusual_devs entry for Sony DSC-H5

2006-07-12 Thread Greg KH
From: Lars Jacob <[EMAIL PROTECTED]> This patch (as749) extends the unusual_devs entry for the Sony DSC-T1 and T5 to cover the H5 as well. From: Lars Jacob <[EMAIL PROTECTED]> Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/stor

[linux-usb-devel] [PATCH 41/44] [PATCH] USB: another unusual device

2006-07-12 Thread Greg KH
From: Phil Dibowitz <[EMAIL PROTECTED]> Please add the attached device to unusual_devs.h. Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-)

[linux-usb-devel] [PATCH 40/44] [PATCH] USB: Add one VID/PID to ftdi_sio

2006-07-12 Thread Greg KH
From: Colin Leroy <[EMAIL PROTECTED]> This patch adds the Testo USB interface to the list of devices recognized by the ftdi_sio module. This device is based on a FT232BL chip, and is used as an interface to get data from digital sensors (thermometer, etc). See http://www.testo.com/ Signed-off-by:

[linux-usb-devel] [PATCH 42/44] [PATCH] USB: gadget section fixups

2006-07-12 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> Recent section changes broke gadget builds on some platforms. This patch is the best fix that's available until better section markings exist: - There's a lot of cleanup code that gets used in both init and exit paths; stop marking it as "__exit".

[linux-usb-devel] [PATCH 43/44] [PATCH] USB: Anydata: Fixes wrong URB callback.

2006-07-12 Thread Greg KH
From: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]> Anydata is using usb_serial_generic_write_bulk_callback() for its read URB, but it should use usb_serial_generic_read_bulk_callback() instead (it's a read URB, isn't it?). Reported by Jon K Hellan <[EMAIL PROTECTED]>. Signed-off-by: Luiz Fe

[linux-usb-devel] [PATCH 44/44] [PATCH] USB: move usb-serial.h to include/linux/usb/

2006-07-12 Thread Greg KH
From: Greg Kroah-Hartman <[EMAIL PROTECTED]> USB serial outside of the kernel tree can not build properly due to usb-serial.h being buried down in the source tree. This patch moves the location of the file to include/linux/usb and fixes up all of the usb serial drivers to handle the move properly

[linux-usb-devel] [PATCH] - drivers/usb/core/hub.c cleanups

2006-07-12 Thread Joe Perches
1: Remove unnecessary spaces after dev_dbg/err/info functions 2: Expand compressed switches, one of which had unreachable code 3: Create and use check_port_status_changes, removes an indent level signed-off-by: Joe Perches <[EMAIL PROTECTED]> diff --git a/drivers/usb/core/hub.c b/drivers/usb/core

Re: [linux-usb-devel] decoding qh and qtds

2006-07-12 Thread David Brownell
On Tuesday 11 July 2006 12:37 pm, Vivek Dharmadhikari wrote: > Hello David > > > You should have tried 76 _columns_ or _characters_ instead; > > that didn't improve anything. > > I meant 76 characters. Anyway, I suspect my mail server is overriding > the mail client options. I have switched to ne

Re: [linux-usb-devel] [PATCH] OHCI: Add urb_priv null pointer check to finish_unlinks

2006-07-12 Thread David Brownell
On Wednesday 12 July 2006 1:08 am, [EMAIL PROTECTED] wrote: > > Dear all. > > I encountered this crash by our insert/eject tests several times > with Asianux v2(2.6.9-34.21AXsmp). > I think that this crash is the same pattern reported at > http://sourceforge.net/mailarchive/message.php?msg_id=10

Re: [linux-usb-devel] [PATCH] Properly unregister reboot notifier in case of failure in ehci hcd

2006-07-12 Thread David Brownell
On Tuesday 11 July 2006 11:38 pm, Aleksey Gorelov wrote: > Hi, > > 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. Below is t

Re: [linux-usb-devel] usb-serial device name allocation.

2006-07-12 Thread Greg KH
On Wed, Jul 12, 2006 at 03:42:14PM +0400, Sergei Organov wrote: > Suppose I have a usb-serial device managed, say, by the airprime > driver. When I connect it, it is attached to the /dev/ttyUSB0, then, > every disconnect/connect results in detaching from /dev/ttyUSB0 and > attaching back to /dev/tt

Re: [linux-usb-devel] [PATCH] Option driver: removed change history and linux/version.h include

2006-07-12 Thread Greg KH
On Wed, Jul 12, 2006 at 10:46:50AM +0200, Matthias Urlichs wrote: > Hi, > > Greg KH: > > > > Hm, can you just resend a new patch, not an incremental one? I didn't > > apply the first one yet :) > > > So feed it through "combinediff". ;-) > > Anyway, those patches are separate in my git repo; I

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 6817] New: USB errors and "reset high speed USB device"

2006-07-12 Thread David Brownell
On Tuesday 11 July 2006 12:32 pm, Andrew Morton wrote: > Problem Description: > Write errors when large files are transferred; > sometimes no useful error message; > in some cases "reset high speed USB device"; details see below > > I think this is a software problem because: > * the s