Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Andreas Mohr
Hi, On Tue, Jun 20, 2006 at 01:37:41AM -0700, Andrew Morton wrote: On Mon, 19 Jun 2006 10:21:54 +0200 Andreas Mohr [EMAIL PROTECTED] wrote: I'm having severe issues with cdrecord aborting with buffer underrun message, *always*. Problem nailed, see below. [hald polling causes cdrecord

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Andreas Mohr
Hi, On Tue, Jun 20, 2006 at 10:22:57AM -0400, Alan Stern wrote: On Tue, 20 Jun 2006, Andreas Mohr wrote: But how would HAL safely determine whether a (IDE/USB) drive is busy? As my test app demonstrates (without HAL running), the *very first* open() happening during an ongoing burning

[linux-usb-devel] USB function error

2006-06-21 Thread Ajay Jain
Hi, We are using usb function exposed as a serial device. It is our own proprietary hardware (running linux) exposed as a serial device. The host side (windows) identifies our serial device with the driver wceusbsh.sys. The enumeration goes successfully and we get to see our device in the device

[linux-usb-devel] pending patches

2006-06-21 Thread Oliver Neukum
Hi Greg, do you publish a list of pending patches that haven't made it into 2.6.17? Regards Oliver ___ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at:

[linux-usb-devel] pending patches

2006-06-21 Thread Oliver Neukum
Hi Greg, do you publish a list of pending patches that haven't made it into 2.6.17? Regards Oliver ___ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at:

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Alan Cox
Ar Mer, 2006-06-21 am 02:07 +0200, ysgrifennodd Bodo Eggert: This does not work, since O_EXCL does not work: http://lkml.org/lkml/2006/2/5/137 It works fine. Its an advisory exclusive locking scheme which is precisely what is needed and precisely how some vendors implement their solution.

[linux-usb-devel] ScanLogic SCO.632 SmartMedia CARD READER unusual_devs patch

2006-06-21 Thread frode isaksen
Same problem as with the other ScanLogic device. Either add a separate entry (patch provided) or change the bcdDeviceMin in the other ScanLogic entry. Frode Isaksen Host scsi0: usb-storage Vendor: ScanLogic SC0.632 Product: ScanLogic SC0.632 Serial Number: ScanLogic

[linux-usb-devel] USBDEVFS_DISCSIGNAL and context passing

2006-06-21 Thread Zoran Marceta
I was looking at catching a signal using usbfs to tell when a device has been detached. I used an ioctl call with USBDEVFS_DISCSIGNAL to set a signal handler, and I was able to detect the detachment. From inode.c (drivers/usb/core/inode.c) file in kernel source I concluded that

Re: [linux-usb-devel] EHCI IXDP465 USB Host :- : device not accepting address 3, error -110

2006-06-21 Thread Alan Stern
[Thread moved to linux-usb-devel, which seems more appropriate] On Wed, 21 Jun 2006, Maulik Mankad wrote: Hello Alan, I am a member of the Linux usb user group and am very new to USB device drivers and USB specifications. I am working on USB host driver porting for Intel's IXDP465

Re: [linux-usb-devel] ScanLogic SCO.632 SmartMedia CARD READER unusual_devs patch

2006-06-21 Thread Alan Stern
On Wed, 21 Jun 2006, frode isaksen wrote: Same problem as with the other ScanLogic device. Either add a separate entry (patch provided) or change the bcdDeviceMin in the other ScanLogic entry. Frode Isaksen Host scsi0: usb-storage Vendor: ScanLogic SC0.632

Re: [linux-usb-devel] USBDEVFS_DISCSIGNAL and context passing

2006-06-21 Thread Alan Stern
On Wed, 21 Jun 2006, Zoran Marceta wrote: I was looking at catching a signal using usbfs to tell when a device has been detached. I used an ioctl call with USBDEVFS_DISCSIGNAL to set a signal handler, and I was able to detect the detachment. From inode.c (drivers/usb/core/inode.c) file in

Re: [linux-usb-devel] [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]

2006-06-21 Thread Johny
Andrew, Success :) I've attached the patches used vs 2.6.17-rc4 (stock) and 2.6.17-rc6-mm2 (as the VIA include lists were different). I simply made the change manually, based on your and others' inputs (it seemed the simpler option). Both kernels now boot, and all USB devices are recognised

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Alan Stern
On Wed, 21 Jun 2006, Andreas Mohr wrote: OK, at http://lisas.de/~andi/temp_usb/ there are logs: debug.log.gz: burning, then running my open() test app: test app started at 22:43:49, disrupted burning process. only_device_open.log.gz: device open() *only* (plus close()!), no other USB

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Bodo Eggert
On Wed, 21 Jun 2006, Alan Cox wrote: Ar Mer, 2006-06-21 am 02:07 +0200, ysgrifennodd Bodo Eggert: This does not work, since O_EXCL does not work: http://lkml.org/lkml/2006/2/5/137 It works fine. Its an advisory exclusive locking scheme which is precisely what is needed and precisely how

Re: [linux-usb-devel] pending patches

2006-06-21 Thread Greg KH
On Wed, Jun 21, 2006 at 12:24:11PM +0200, Oliver Neukum wrote: Hi Greg, do you publish a list of pending patches that haven't made it into 2.6.17? You mean ones that I will be sending to Linus for 2.6.18? My tree of USB patches can be found at:

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Andreas Mohr
Hi, On Wed, Jun 21, 2006 at 06:16:03PM +0200, Bodo Eggert wrote: On Wed, 21 Jun 2006, Alan Cox wrote: Ar Mer, 2006-06-21 am 02:07 +0200, ysgrifennodd Bodo Eggert: This does not work, since O_EXCL does not work: http://lkml.org/lkml/2006/2/5/137 It works fine. Its an advisory

Re: [linux-usb-devel] Serial-Core: USB-Serial port current issues.

2006-06-21 Thread Luiz Fernando N. Capitulino
On Tue, 20 Jun 2006 19:32:33 -0700 Pete Zaitcev [EMAIL PROTECTED] wrote: | On Tue, 20 Jun 2006 16:11:34 -0300, Luiz Fernando N. Capitulino [EMAIL PROTECTED] wrote: | | Pete, was it your original idea to completely move from the spinlock | to a mutex? | | I thought it was the cleanest

Re: [linux-usb-devel] Serial-Core: USB-Serial port current issues.

2006-06-21 Thread Russell King
On Wed, Jun 21, 2006 at 01:35:00PM -0300, Luiz Fernando N. Capitulino wrote: On Tue, 20 Jun 2006 19:32:33 -0700 Pete Zaitcev [EMAIL PROTECTED] wrote: | On Tue, 20 Jun 2006 16:11:34 -0300, Luiz Fernando N. Capitulino [EMAIL PROTECTED] wrote: | | Pete, was it your original idea to

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Andreas Mohr
Hi, On Wed, Jun 21, 2006 at 12:15:08PM -0400, Alan Stern wrote: On Wed, 21 Jun 2006, Andreas Mohr wrote: - TEST_UNIT_READY - TEST_UNIT_READY - READ_TOC (failure?) I don't know why this failed. Maybe the disc didn't have a valid Table of Contents. Ah, silly me, I should have stated

Re: [linux-usb-devel] [PATCH RFC 0/4] usbserial: usb_serial_probe() split.

2006-06-21 Thread Luiz Fernando N. Capitulino
On Tue, 20 Jun 2006 14:52:01 -0700 Greg KH [EMAIL PROTECTED] wrote: | On Tue, Jun 20, 2006 at 06:30:08PM -0300, Luiz Fernando N. Capitulino wrote: | On Tue, 20 Jun 2006 12:54:48 -0700 | Greg KH [EMAIL PROTECTED] wrote: | | | On Tue, Jun 20, 2006 at 12:25:58PM -0700, Pete Zaitcev wrote: | |

Re: [linux-usb-devel] [PATCH 4/4] usbserial: Driver's attach call function.

2006-06-21 Thread Luiz Fernando N. Capitulino
On Tue, 20 Jun 2006 22:47:52 -0700 Pete Zaitcev [EMAIL PROTECTED] wrote: | On Tue, 20 Jun 2006 18:32:18 -0300, Luiz Fernando N. Capitulino [EMAIL PROTECTED] wrote: | | | - retval = type-attach (serial); | | - module_put(type-driver.owner); | | -

Re: [linux-usb-devel] USB function error

2006-06-21 Thread Greg KH
On Wed, Jun 21, 2006 at 03:07:04PM +0530, Ajay Jain wrote: Hi, We are using usb function exposed as a serial device. It is our own proprietary hardware (running linux) exposed as a serial device. The host side (windows) identifies our serial device with the driver wceusbsh.sys. The

Re: [linux-usb-devel] EHCI IXDP465 USB Host :- : device not accepting address 3, error -110

2006-06-21 Thread David Brownell
On Wednesday 21 June 2006 7:54 am, Alan Stern wrote: [Thread moved to linux-usb-devel, which seems more appropriate] (2) My USB host controller is EHCI compliant. Although it supports only full and low speed mode. There are neither transaction translators nor companion controllers

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Alan Stern
On Wed, 21 Jun 2006, Andreas Mohr wrote: Maybe it's better to (additionally?) go down the route of fixing up low-level communication weaknesses (since it's been semi-confirmed that it's an USB communication issue, see other thread part). IMHO this is a severe user experience issue that

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Alan Stern
On Wed, 21 Jun 2006, Andreas Mohr wrote: The real problem seems to be that the device is reachable in two different ways, and they don't implement proper mutual exclusion. HAL (or your test program) is undoubtedly using /dev/sr0 or something similar, whereas cdrecord uses /dev/sg0.

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 6708] New: ohci_hcd hangs on insertion of usb device

2006-06-21 Thread Devils-Hawk
http://bugzilla.kernel.org/show_bug.cgi?id=6708 [EMAIL PROTECTED] changed: What|Removed |Added Summary|ohci_hcd hangs on insertion |ehci_hcd hangs on insertion

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Andreas Mohr
Hi, On Wed, Jun 21, 2006 at 03:02:44PM -0400, Alan Stern wrote: On Wed, 21 Jun 2006, Andreas Mohr wrote: Maybe it's better to (additionally?) go down the route of fixing up low-level communication weaknesses (since it's been semi-confirmed that it's an USB communication issue, see other

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Alan Stern
On Wed, 21 Jun 2006, Andreas Mohr wrote: It's not a USB issue; it's a matter of lack of coordination between the sg and sr drivers. Each is unaware of the actions of the other, even when they are speaking to the same device. Right, I could have expressed it much better before, sorry.

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Pete Zaitcev
On Wed, 21 Jun 2006 18:44:25 +0200, Andreas Mohr [EMAIL PROTECTED] wrote: I'll try to verify this by simply removing all ALLOW_MEDIUM_REMOVAL calls ;) Try to burn with ub. It does not implement door locking. -- Pete All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Alan Cox
Ar Mer, 2006-06-21 am 15:02 -0400, ysgrifennodd Alan Stern: It's not a USB issue; it's a matter of lack of coordination between the sg and sr drivers. Each is unaware of the actions of the other, even when they are speaking to the same device. Thats a relevant issue but sg is irrelevant for

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Alan Cox
Ar Mer, 2006-06-21 am 15:06 -0400, ysgrifennodd Alan Stern: cdrecord is -dev=0,0,0 (whatever Linux device file this translates into) or a similar device ID as returned by -scanbus. That goes through the sg driver. Use a cdrecord that understands SG_IO and dev=/dev/sr0 All the advantages

Re: [linux-usb-devel] USB/hal: USB open() broken? (USB CD burner underruns, USB HDD hard resets)

2006-06-21 Thread Bodo Eggert
On Wed, 21 Jun 2006, Andreas Mohr wrote: [...] And the obvious question would be whether the sdkp-openers++ thingy could somehow be extended to enclose all hardware device users so that e.g. sr.c wouldn't send ALLOW_MEDIUM_REMOVAL on a device already locked by e.g. the sd.c driver. Difficult

Re: [linux-usb-devel] Serial-Core: USB-Serial port current issues.

2006-06-21 Thread Luiz Fernando N. Capitulino
On Wed, 21 Jun 2006 17:43:36 +0100 Russell King [EMAIL PROTECTED] wrote: | In the uart_update_mctrl() case, the purpose of the locking is to | prevent two concurrent changes to the modem control state resulting | in an inconsistency between the hardware and the software state. If | it's provable

[linux-usb-devel] usb: usb-serial leaks, oopses on disconnect

2006-06-21 Thread Pete Zaitcev
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] --- linux-2.6.17-git2-gregkh/drivers/usb/serial/usb-serial.c2006-06-21

[linux-usb-devel] usb: visor leaks

2006-06-21 Thread Pete Zaitcev
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... Signed-off-by: Pete Zaitcev [EMAIL

[linux-usb-devel] [GIT PATCH] USB patches for 2.6.17

2006-06-21 Thread Greg KH
Here are a lot of USB patches for 2.6.17. They do the following: - rework the UHCI driver - lots of new device ids added - EHCI tt fixed (allowing 1.1 devices behind 2.0 hubs to work properly) - new drivers added - endpoint sysfs code redone

[linux-usb-devel] [PATCH 2/104] [PATCH] USB: add YEALINK phones to the HID_QUIRK_IGNORE blacklist

2006-06-21 Thread Greg KH
From: Henk Vergonet [EMAIL PROTECTED] Keys on Yealink based phones will not function properly when using the generic HID driver. This patch prevents the generic HID code from grabbing the device before the regular yealink driver can get a grip on it. Signed-off-by: Henk Vergonet [EMAIL

[linux-usb-devel] [PATCH 1/104] [PATCH] USB: EHCI works again on NVidia controllers with 2GB RAM

2006-06-21 Thread Greg KH
From: Paul Serice [EMAIL PROTECTED] From: Paul Serice [EMAIL PROTECTED] The workaround in commit f7201c3dcd7799f2aa3d6ec427b194225360ecee broke. The work around requires memory for DMA transfers for some NVidia EHCI controllers to be below 2GB, but recent changes have caused some DMA memory to

[linux-usb-devel] [PATCH 3/104] [PATCH] USB: cdc-acm: add a new special case for modems with buggy firmware

2006-06-21 Thread Greg KH
From: Oliver Neukum [EMAIL PROTECTED] this fixes the duplicated text bug. There's a modem that cannot cope with large transfers and more than one urb in flight. This patch adds a special case to the driver. Signed-off-by: Oliver Neukum [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL

[linux-usb-devel] [PATCH 4/104] [PATCH] USB: usbnet, zaurus mtu fixup

2006-06-21 Thread Greg KH
From: David Brownell [EMAIL PROTECTED] This includes an MTU fixup which could affect larger packets with newer Zaurii, described as http://bugzilla.kernel.org/show_bug.cgi?id=6286; plus minor whitespace cleanup. Signed-off-by: David Brownell [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman

[linux-usb-devel] [PATCH 5/104] [PATCH] USB: added support for ASIX 88178 chipset USB Gigabit Ethernet adaptor

2006-06-21 Thread Greg KH
From: Eduard Warkentin [EMAIL PROTECTED] Add support for detection and dworking with a ASIX 88178 based USB-Gigabit adaptor. With the patch, it is detected and handled correctly by the asix module. Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL

[linux-usb-devel] [PATCH 7/104] [PATCH] USB: sisusbvga: possible cleanups

2006-06-21 Thread Greg KH
From: Adrian Bunk [EMAIL PROTECTED] This patch contains the following possible cleanups: - make needlessly global functions static - function and struct declarations belong into header files - make SiS_VCLKData const - #if 0 the following unused global functions: - sisusb.c: sisusb_writew() -

[linux-usb-devel] [PATCH 8/104] [PATCH] USB: allow multiple types of EHCI controllers to be built as modules

2006-06-21 Thread Greg KH
From: Kumar Gala [EMAIL PROTECTED] In some systems we may have both a platform EHCI controller and PCI EHCI controller. Previously we couldn't build the EHCI support as a module due to conflicting module_init() calls in the code. Signed-off-by: Kumar Gala [EMAIL PROTECTED] Signed-off-by: David

[linux-usb-devel] [PATCH 9/104] [PATCH] USB: console: fix cr/lf issues

2006-06-21 Thread Greg KH
From: Paul Fulghum [EMAIL PROTECTED] Append Carriage-Returns after Line-Feeds, analogous to the serial driver. From: Paul Fulghum [EMAIL PROTECTED] Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/console.c | 39

[linux-usb-devel] [PATCH 10/104] [PATCH] USB: console: fix oops

2006-06-21 Thread Greg KH
From: Guennadi Liakhovetski [EMAIL PROTECTED] Prevent NULL dereference when used as a USB-serial console. Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/ftdi_sio.c | 10 +- 1 files changed, 5

[linux-usb-devel] [PATCH 11/104] [PATCH] USB: console: prevent ENODEV on node

2006-06-21 Thread Greg KH
From: Paul Fulghum [EMAIL PROTECTED] Prevent ENODEV on a /dev/ttyUSBx, used as a USB-serial console. From: Paul Fulghum [EMAIL PROTECTED] Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/usb-serial.c | 10

[linux-usb-devel] [PATCH 6/104] [PATCH] USB: convert the semaphores in the sisusb driver to mutexes

2006-06-21 Thread Greg KH
From: Arjan van de Ven [EMAIL PROTECTED] From: Arjan van de Ven [EMAIL PROTECTED] Convert the semaphores-used-as-mutex to mutexes in the sisusb video driver; this required manual checking due to the return as locked stuff in this driver, but the -lock semaphore is still used as mutex in the end.

[linux-usb-devel] [PATCH 12/104] [PATCH] USB console: fix disconnection issues

2006-06-21 Thread Greg KH
From: Guennadi Liakhovetski [EMAIL PROTECTED] Prevent sending further output to a USB-serial console after the dongle is disconnected, take care not to leak kref. Signed-off-by: Guennadi Liakhovetski [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[linux-usb-devel] [PATCH 14/104] [PATCH] USB: usbcore: always turn on hub port power

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] Some hubs claim not to support port-power switching, and right now the hub driver believes them and does not enable power to their ports. However it turns out that even though they don't actually switch power, they do ignore all events on a port until told to

[linux-usb-devel] [PATCH 13/104] [PATCH] USB: MacBook Pro touchpad support

2006-06-21 Thread Greg KH
From: Nicolas Boichat [EMAIL PROTECTED] Add support for MacBook touchpad in appletouch driver. Thanks to Alex Harper for the informations. Use u16 instead of int16_t in atp_is_geyser* functions. Acked-by: Johannes Berg [EMAIL PROTECTED] Acked-by: Stelian Pop [EMAIL PROTECTED] Signed-off-by:

[linux-usb-devel] [PATCH 17/104] [PATCH] USBATM: remove no-longer needed #include

2006-06-21 Thread Greg KH
From: Duncan Sands [EMAIL PROTECTED] We #include linux/netdevice.h only because linux/etherdevice.h needed it, but didn't #include it itself. But that's been fixed now. Signed-off-by: Duncan Sands [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[linux-usb-devel] [PATCH 15/104] [PATCH] USB: clean out an unnecessary NULL check from ub

2006-06-21 Thread Greg KH
From: Pete Zaitcev [EMAIL PROTECTED] Remove the check for NULL which makes no sense. Suggested by Al. Signed-off-by: Pete Zaitcev [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/block/ub.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff

[linux-usb-devel] [PATCH 19/104] [PATCH] USB: shuttle_usbat: Fix handling of scatter-gather buffers

2006-06-21 Thread Greg KH
From: Peter Chubb [EMAIL PROTECTED] I've worked out what's going wrong. The scsi layer is now much more likely to pass down scatterlists instead of plain buffers. So you have to make sure that they're handled correctly. In one of the changes along the way, usbat_write_block and friends stopped

[linux-usb-devel] [PATCH 20/104] [PATCH] USB: shuttle_usbat: Hardcode detection of HP CDRW devices

2006-06-21 Thread Greg KH
From: Peter Chubb [EMAIL PROTECTED] Use USB vendor and product IDs to determine whether the attached device is a CDROM or a Flash device. Daniel Drake says that the *same* vendor and product IDs for non-HP vendor ID could be either flash or cdrom, so try to probe for them. Signed-off-by: Peter

[linux-usb-devel] [PATCH 21/104] [PATCH] USB shuttle_usbat: hardcode flash detection for now

2006-06-21 Thread Greg KH
From: Daniel Drake [EMAIL PROTECTED] After some further testing with my flash device I realised that our current probe doesn't always work (e.g. when no media is inserted). Now that Peter Chubb's patch has simplified the detection of 99% of the HP CD writers out there, we have a much smaller

[linux-usb-devel] [PATCH 18/104] [PATCH] USB Phidget InterfaceKit: make inputs pollable and new device support

2006-06-21 Thread Greg KH
From: Sean Young [EMAIL PROTECTED] Make inputs pollable using sysfs_notify and add support for the Phidget InterfaceKit 0/16/16. Various cleanups. Signed-off-by: Sean Young [EMAIL PROTECTED] Signed-off-by: Daniel Saakes [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[linux-usb-devel] [PATCH 22/104] [PATCH] USB: usb-storage alauda: Fix transport info mismerge

2006-06-21 Thread Greg KH
From: Daniel Drake [EMAIL PROTECTED] Unfortunately it looks like the transport entry for this subdriver was merged into the protocol section, making this driver unusable :( Signed-off-by: Daniel Drake [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[linux-usb-devel] [PATCH 23/104] [PATCH] USB: net2280: add a shutdown routine

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] The net2280 board has an annoying habit of surviving soft reboots with interrupts enabled. This patch (as674) adds a shutdown routine to the driver so that the board can be put in a quiescent state. Signed-off-by: Alan Stern [EMAIL PROTECTED] Signed-off-by:

[linux-usb-devel] [PATCH 24/104] [PATCH] USB: UHCI: store the endpoint type in the QH structure

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as675) simplifies uhci-hcd slightly by storing each endpoint's type in the corresponding Queue Header structure. Signed-off-by: Alan Stern [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/host/uhci-debug.c |

[linux-usb-devel] [PATCH 25/104] [PATCH] USB: UHCI: fix obscure bug in enqueue()

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as676) fixes a small bug in uhci-hcd's enqueue routine. When an URB is unlinked or gets an error and the completion handler queues another URB for the same endpoint, the queue shouldn't be allowed to start up again until the handler returns. Not

[linux-usb-devel] [PATCH 26/104] [PATCH] USB HID/HIDBP, INPUT DRIVERS: fix various usb/input/hid-input.c bugs that make Apple Mighty Mouse work poorly

2006-06-21 Thread Greg KH
From: Bart Massey [EMAIL PROTECTED] Transposed lines of code in drivers/usb/input/hid-input.c causes the capability bits for a new HID device to be set before quirks are applied at configuration time. When an HID event is then sent up to the input layer, it may then be discarded as irrelevant

[linux-usb-devel] [PATCH 27/104] [PATCH] usbhid: automatically set HID_QUIRK_NOGET for keyboards and mice

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] It seems to be relatively common for USB keyboards and mice to dislike being polled for reports. Since there's no need to poll a keyboard or a mouse, this patch (as685) automatically sets the HID_QUIRK_NOGET flag for devices that advertise themselves as either

[linux-usb-devel] [PATCH 29/104] [PATCH] UHCI: Remove non-iso TDs as they are used

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as680) frees non-isochronous TDs as they are used, rather than all at once when an URB is complete. Although not a terribly important change in itself, it opens the door to a later enhancement that will reduce storage requirements by allocating only

[linux-usb-devel] [PATCH 28/104] [PATCH] UHCI: Common result routine for Control/Bulk/Interrupt

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as679) combines the result routine for Control URBs with the routine for Bulk/Interrupt URBs. Along the way I eliminated the debugging printouts for Control transfers unless the debugging level is set higher than 1. I also eliminated a long-unused

[linux-usb-devel] [PATCH 30/104] [PATCH] UHCI: Move code for cleaning up unlinked URBs

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as681) moves some code for cleaning up after unlinked URBs out of the general completion pathway into the unlinking pathway. Signed-off-by: Alan Stern [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[linux-usb-devel] [PATCH 31/104] [PATCH] UHCI: Eliminate the TD-removal list

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as682) gets rid of the TD-removal list in uhci-hcd. It is no longer needed because now TDs are not freed until we know the hardware isn't using them. It also simplifies the code for adding and removing TDs to/from URBs. Signed-off-by: Alan Stern

[linux-usb-devel] [PATCH 32/104] [PATCH] UHCI: Reimplement FSBR

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as683) re-implements Full-Speed Bandwidth Reclamation (FSBR) properly. It keeps track of which endpoint queues have advanced, and when none have advanced for a sufficiently long time, FSBR is turned off. The next TD on each of the non-moving queues

[linux-usb-devel] [PATCH 33/104] [PATCH] UHCI: Work around old Intel bug

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] Some old Intel UHCI controllers have a bug that has shown up in a few systems (the PIIX3 Neptune chip set). Until now there has not been any simple way to work around the bug, but the lastest changes in uhci-hcd have made it easy. This patch (as684) adds the

[linux-usb-devel] [PATCH 34/104] [PATCH] USB: correct the USB info in Documentation/power/swsusp.txt

2006-06-21 Thread Greg KH
From: David Brownell [EMAIL PROTECTED] The swsusp.txt documentation harshes confusingly on USB, and this patch addresses the issue. It's harsh because it blames USB for some issues that are generic to all drivers -- especially those supporting removable media -- and it's confusing since it says

[linux-usb-devel] [PATCH 36/104] [PATCH] USB: Allow high-bandwidth isochronous packets via usbfs

2006-06-21 Thread Greg KH
From: Micah Dowty [EMAIL PROTECTED] This patch increases an arbitrary limit on the size of individual isochronous packets submitted via usbfs. The limit is still arbitrary, but it's now large enough to support the maximum packet size used by high-bandwidth isochronous transfers. Signed-off-by:

[linux-usb-devel] [PATCH 37/104] [PATCH] UHCI: use integer-sized frame numbers

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as687) changes uhci-hcd to keep track of frame numbers as full-sized integers rather than 11-bit values. This makes them a lot easier to handle and makes it possible to schedule beyond a 2-second window, should anyone ever want to do so.

[linux-usb-devel] [PATCH 35/104] [PATCH] USB: Remove 4088-byte limit on usbfs control URBs

2006-06-21 Thread Greg KH
From: Micah Dowty [EMAIL PROTECTED] This patch removes the artificial 4088-byte limit that usbfs currently places on Control transfers. The USB spec does not specify a strict limit on the size of an entire control transfer. It does, however, state that the data stage follows the same protocol

[linux-usb-devel] [PATCH 38/104] [PATCH] UHCI: fix race in ISO dequeuing

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as688) fixes a small race in uhci-hcd. Because ISO queues aren't controlled by queue headers, they can't be unlinked. Only individual URBs can. So whenever multiple ISO URBs are dequeued, it's necessary to make sure the hardware is done with each

[linux-usb-devel] [PATCH 39/104] [PATCH] UHCI: store the period in the queue header

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as689) stores the period for periodic transfers (interrupt and ISO) in the queue header. This is necessary for proper bandwidth tracking (not yet implemented). It also makes the scheduling of ISO transfers a bit more rigorous, with checks for

[linux-usb-devel] [PATCH 40/104] [PATCH] UHCI: remove ISO TDs as they are used

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as690) does the same thing for ISO TDs as as680 did for non-ISO TDs: free them as they are used rather than all at once when an URB is complete. At the same time it fixes a minor buglet (I'm not aware of it ever affecting anyone): An ISO TD should

[linux-usb-devel] [PATCH 41/104] [PATCH] Fix a deadlock in usbtest

2006-06-21 Thread Greg KH
From: Franck Bui-Huu [EMAIL PROTECTED] ctrl_complete functions acquires ctx-lock and tries to unlink all queued urbs in case of errors through usb_unlink_urb func. In its turn usb_unlink_urb calls, through the hcd driver, usb_hcd_giveback_urb which calls ctrl_complete again. At this time,

[linux-usb-devel] [PATCH 42/104] [PATCH] USB: add usb_interrupt_msg() function for api completeness.

2006-06-21 Thread Greg KH
From: Greg Kroah-Hartman [EMAIL PROTECTED] Really just a wrapper around usb_bulk_msg() but now it's documented much better. Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/core/message.c | 31 +++ include/linux/usb.h|2 ++ 2 files

[linux-usb-devel] [PATCH 44/104] [PATCH] gadgetfs: fix AIO interface bugs

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as691) fixes a few errors in the AIO interface for the gadgetfs driver. Now requests will complete properly instead of hanging. Signed-off-by: Alan Stern [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[linux-usb-devel] [PATCH 43/104] [PATCH] USB: new cp2101 device

2006-06-21 Thread Greg KH
From: Vitja Makarov [EMAIL PROTECTED] By the way I have to ask you to add new (vid,pid) pair to cp2101 driver. This device is argussoft's avr in-system programmer AS3M, http://atmel.argussoft.ru/hard.htm it's based on cp2101 chip and works pretty well with the linux driver. It could be used

[linux-usb-devel] [PATCH 45/104] [PATCH] gadgetfs: fix memory leaks

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as692) fixes a few memory leaks in some unimportant error pathways of the gadgetfs driver. Signed-off-by: Alan Stern [EMAIL PROTECTED] Acked-by: David Brownell [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] ---

[linux-usb-devel] [PATCH 46/104] [PATCH] usbtest: report errors in iso tests

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] This patch (as693b) makes the usbtest driver report errors in the isochronous bulk transfer tests instead of always returning 0. As an arbitrary cutoff, an error is returned if more than 10% of the packet transfers fail. It also stops a test immediately upon

[linux-usb-devel] [PATCH 47/104] [PATCH] usb: io_edgeport, cleanup to unicode handling

2006-06-21 Thread Greg KH
From: Pete Zaitcev [EMAIL PROTECTED] Clean up the unicode handling in io_edgeport. Make get_string size-limited. Signed-off-by: Pete Zaitcev [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/io_edgeport.c | 42 --

[linux-usb-devel] [PATCH 16/104] [PATCH] USBATM: remove pointless inline

2006-06-21 Thread Greg KH
From: Duncan Sands [EMAIL PROTECTED] Remove pointless inline. Signed-off-by: Duncan Sands [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/atm/usbatm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/atm/usbatm.c

[linux-usb-devel] [PATCH 48/104] [PATCH] USB serial: encapsulate schedule_work, remove double-calling

2006-06-21 Thread Greg KH
From: Pete Zaitcev [EMAIL PROTECTED] I'm going to throw schedule_work away, it's retarded. But for starters, let's have it encapsulated. Also, generic and whiteheat were both calling usb_serial_port_softint and scheduled work. Only one was necessary. Signed-off-by: Pete Zaitcev [EMAIL

[linux-usb-devel] [PATCH 49/104] [PATCH] USB: Improve Kconfig comment for mct_u232

2006-06-21 Thread Greg KH
From: Pete Zaitcev [EMAIL PROTECTED] Add a couple of supported devices into the help message. It's a long story... I promised this comment changed to a user long ago, so I'd like to have that promise kept. In reality though, nobody is likely to read this anyway. Signed-off-by: Pete Zaitcev

[linux-usb-devel] [PATCH 50/104] [PATCH] USB: Syntax cleanup for pl2303 (trailing backslash)

2006-06-21 Thread Greg KH
From: Pete Zaitcev [EMAIL PROTECTED] Remove the silly trailing backslash. Signed-off-by: Pete Zaitcev [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/pl2303.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[linux-usb-devel] [PATCH 52/104] [PATCH] improved TT scheduling for EHCI

2006-06-21 Thread Greg KH
From: Dan Streetman [EMAIL PROTECTED] This updates the EHCI driver by adding an improved scheduler for the transaction translators, found in USB 2.0 hubs and used for low and full speed devices. - adds periodic_tt_usecs() and some helper functions, which does the same thing that

[linux-usb-devel] [PATCH 53/104] [PATCH] USB: rmmod pl2303 after -28

2006-06-21 Thread Greg KH
From: Pete Zaitcev [EMAIL PROTECTED] Wait for the scheduled work to finish before freeing memory, prevent oops. http://bugzilla.kernel.org/show_bug.cgi?id=6596 Signed-off-by: Pete Zaitcev [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/usb-serial.c |

[linux-usb-devel] [PATCH 51/104] [PATCH] usb-storage: get rid of the timer during URB submission

2006-06-21 Thread Greg KH
From: Franck Bui-Huu [EMAIL PROTECTED] This patch uses completion timeout instead of a timer to implement a timeout when submitting an URB. It also put the task in interruptible state instead of an uninterruptible one while waiting for the completion. Signed-off-by: Franck Bui-Huu [EMAIL

[linux-usb-devel] [PATCH 54/104] [PATCH] ub: atomic add_disk

2006-06-21 Thread Greg KH
From: Pete Zaitcev [EMAIL PROTECTED] zaitcev I am taling about this: if (disk-flags GENHD_FL_UP) del_gendisk(disk); zaitcev If del_gendisk() undoes add_disk() like viro just said, why is it conditional? viro huh? viro add_disk() sets the damn flag zaitcev So, I should not need to check ever

[linux-usb-devel] [PATCH 55/104] [PATCH] ub: random cleanups

2006-06-21 Thread Greg KH
From: Pete Zaitcev [EMAIL PROTECTED] Remove some silly messages and cast in stone temporary messages which we keep around. Also, I am hesitant to remove the initialization retries without having the hardware to test (anyone who was at KS04 has a spare?) Signed-off-by: Pete Zaitcev [EMAIL

[linux-usb-devel] [PATCH 57/104] [PATCH] USB: print message when device is rejected due to insufficient power

2006-06-21 Thread Greg KH
From: Daniel Drake [EMAIL PROTECTED] 2.6.16 introduces USB power budgeting in the Linux kernel, and since then, a fair number of users have observed that some of their devices no longer work in unpowered hubs (this is not a bug, the devices claim that they need more than 100mA). The very least

[linux-usb-devel] [PATCH 58/104] [PATCH] usbcore: Fix broken RNDIS config selection

2006-06-21 Thread Greg KH
From: Giridhar Pemmasani [EMAIL PROTECTED] RNDIS devices don't get configured owing to a typo in choose_configuration(). This patch from Giridhar Pemmasani fixes the typo. From: Giridhar Pemmasani [EMAIL PROTECTED] Signed-off-by: Alan Stern [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman

[linux-usb-devel] [PATCH 59/104] [PATCH] usbhid: Remove unneeded blacklist entries

2006-06-21 Thread Greg KH
From: Alan Stern [EMAIL PROTECTED] Now that usbhid automatically applies HID_QUIRK_NOGET to keyboards and mice, we no longer need the blacklist entries that were present for no other purpose. This patch (as698) removes them. Signed-off-by: Alan Stern [EMAIL PROTECTED] Acked-by: Vojtech Pavlik

[linux-usb-devel] [PATCH 60/104] [PATCH] USB: ftdi_sio: add support for Yost Engineering ServoCenter3.1

2006-06-21 Thread Greg KH
From: Ian Abbott [EMAIL PROTECTED] This patch adds support for Yost Engineering Inc's ServoCenter 3.1 USB product to the ftdi_sio driver's device ID table. The PID was supplied by Aaron Prose of Yost Engineering on the ftdi-usb-sio-devel list. The PID 0xE050 matches the Windows INF files for

[linux-usb-devel] [PATCH 63/104] [PATCH] USB: Add Sierra Wireless MC5720 ID to airprime.c

2006-06-21 Thread Greg KH
From: Jeremy Fitzhardinge [EMAIL PROTECTED] Recognize the Sierra Wireless MC5720. Signed-off-by: Jeremy Fitzhardinge [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/airprime.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[linux-usb-devel] [PATCH 61/104] [PATCH] Driver for Apple Cinema Display

2006-06-21 Thread Greg KH
From: [EMAIL PROTECTED] [EMAIL PROTECTED] This is a driver to control the brightness of an Apple Cinema Display over USB. It updates the local brightness value if the user presses a button on the display. Signed-off-by: Michael Hanselmann [EMAIL PROTECTED] Cc: Oliver Neukum [EMAIL PROTECTED]

[linux-usb-devel] [PATCH 64/104] [PATCH] USB: negative index in drivers/usb/host/isp116x-hcd.c

2006-06-21 Thread Greg KH
From: Eric Sesterhenn [EMAIL PROTECTED] From: Eric Sesterhenn [EMAIL PROTECTED] This fixes coverity Bug #390. With the following code ret = ep-branch = balance(isp116x, ep-period, ep-load); if (ret 0) goto fail; the problem is that ret and balance are of the

[linux-usb-devel] [PATCH 65/104] [PATCH] USB: cdc_ether: recognize olympus r1000 (fix regression)

2006-06-21 Thread Greg KH
From: David Brownell [EMAIL PROTECTED] Earlier work splitting the usbnet driver out into a core plus driver modules was missing a blacklist entry for the Olympus R-1000; it must not use the CDC Ethernet driver, only the zaurus support works with it. Signed-off-by: David Brownell [EMAIL

[linux-usb-devel] [PATCH 62/104] [PATCH] USB: Whiteheat: fix firmware spurious errors

2006-06-21 Thread Greg KH
From: Stuart MacDonald [EMAIL PROTECTED] Attached patch fixes spurious errors during firmware load. Signed-off-by: Stuart MacDonald [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/whiteheat.c |4 ++-- 1 files changed, 2 insertions(+), 2

  1   2   >