[linux-usb-devel] patch usb-storage-implement-autosuspend.patch added to gregkh-2.6 tree

2007-07-10 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: [PATCH 2/2] usb-storage: implement autosuspend to my gregkh-2.6 tree. Its filename is usb-storage-implement-autosuspend.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gr

[linux-usb-devel] [PATCH] usb-storage: ignore Sitecom WL-117 USB-WLAN

2007-04-30 Thread Daniel Drake
From: Matthew Davidson <[EMAIL PROTECTED]> The Sitecom WL-117 is another "driverless" ZD1211 device where the virtual windows driver CD must be ejected before the WLAN device appears. zd1211rw takes care of the ejecting, but usb-storage must be told not to claim the device. Signed-off-by: Daniel

[linux-usb-devel] patch usb-storage-nokia-6288-unusual_devs-entry.patch added to gregkh-2.6 tree

2007-02-26 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB storage: Nokia 6288 unusual_devs entry to my gregkh-2.6 tree. Its filename is usb-storage-nokia-6288-unusual_devs-entry.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/peopl

Re: [linux-usb-devel] [PATCH] usb-storage: add Teac HD-35PU devices to unusual_devs.h

2007-02-14 Thread Phil Dibowitz
Thomas Bächler wrote: > Add Teac HD-35PU devices to unusual_devs.h to fix I/O > errors resulting from wrong residue values returned > by the device. Sorry for the delay in getting back to you. I help run SCALE (Southern California Linux Expo), and that always kills a good week or so for me. Anway

[linux-usb-devel] [PATCH] usb-storage: add Teac HD-35PU devices to unusual_devs.h

2007-02-06 Thread Thomas Bächler
Add Teac HD-35PU devices to unusual_devs.h to fix I/O errors resulting from wrong residue values returned by the device. Signed-off-by: Thomas Baechler <[EMAIL PROTECTED]> diff -uprN a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h --- a/drivers/usb/storage/unusual_devs.

Re: [linux-usb-devel] [PATCH] usb-storage: use first bulk endpoints, not last

2007-01-22 Thread Pete Zaitcev
On Mon, 22 Jan 2007 11:58:34 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > Pete, you probably will want to make a similar change to ub. Done, thanks, Alan. Just one more reason to kill ub, I guess. -- Pete - Take Sur

[linux-usb-devel] [PATCH] usb-storage: use first bulk endpoints, not last

2007-01-22 Thread Alan Stern
According to the Bulk-Only spec, usb-storage is supposed to use the _first_ bulk-in and bulk-out endpoints it finds, not the _last_. And while we're at it, we ought to test the direction of the interrupt endpoint as well. This patch (as842) makes both changes. Signed-off-by: Alan Stern <[EMAIL P

[linux-usb-devel] [PATCH] usb-storage: SCSI level fixes

2007-01-08 Thread Alan Stern
This patch (as835) removes from usb-storage the code which sets all devices to a SCSI level of at least SCSI-2. The original reasons for doing this no longer apply, and in fact it prevents certain kinds of ATA pass-thru commands from being used. The patch also marks CB and CBI devices that are SC

[linux-usb-devel] patch usb-storage-unusual_devs-add-supertop-drives.patch added to gregkh-2.6 tree

2007-01-03 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB Storage: unusual_devs: add supertop drives to my gregkh-2.6 tree. Its filename is usb-storage-unusual_devs-add-supertop-drives.patch This tree can be found at http://www.kernel.org/pub/linux/kerne

[linux-usb-devel] patch usb-storage-fix-ipod-ejecting-issue.patch added to gregkh-2.6 tree

2007-01-03 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB storage: fix ipod ejecting issue to my gregkh-2.6 tree. Its filename is usb-storage-fix-ipod-ejecting-issue.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gregkh/gre

Re: [linux-usb-devel] [PATCH] usb-storage: fix Kconfig comments

2006-12-06 Thread Matthew Dharm
Looks good to me. Matt Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> On Wed, Dec 06, 2006 at 12:47:18PM -0800, Randy Dunlap wrote: > On Wed, 6 Dec 2006 10:14:41 -0800 Matthew Dharm wrote: > > > Do we want to make those comments depend on USB && !USB_STORAGE ? > > I don't think that it matte

Re: [linux-usb-devel] [PATCH] usb-storage: fix Kconfig comments

2006-12-06 Thread Randy Dunlap
On Wed, 6 Dec 2006 10:14:41 -0800 Matthew Dharm wrote: > Do we want to make those comments depend on USB && !USB_STORAGE ? I don't think that it matters very much, but I changed & tested it anyway. --- From: Randy Dunlap <[EMAIL PROTECTED]> USB_STORAGE was changed from "select" SCSI to depends

Re: [linux-usb-devel] [PATCH] usb-storage: fix Kconfig comments

2006-12-06 Thread Matthew Dharm
Do we want to make those comments depend on USB && !USB_STORAGE ? Matt On Tue, Dec 05, 2006 at 08:04:44PM -0800, Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > USB_STORAGE was changed from "select" SCSI to depends on SCSI > at some point, so change the "comment" text to match t

[linux-usb-devel] [PATCH] usb-storage: fix Kconfig comments

2006-12-05 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> USB_STORAGE was changed from "select" SCSI to depends on SCSI at some point, so change the "comment" text to match that. Also make comments depend on USB so that they are all presented or not presented. Make all comments fit in an 80-column term for menuconfi

Re: [linux-usb-devel] [PATCH] usb-storage: Remove duplicated unusual_devs.h entries for Sony Ericsson P990i

2006-11-06 Thread Phil Dibowitz
Sergey Vlasov wrote: For some reason the unusual_devs.h entry for Sony Ericsson P990i had three identical copies in a wrong place in the file in addition to the correct entry. Signed-off-by: Sergey Vlasov <[EMAIL PROTECTED]> heh. Sweet. Thanks for the cleanup. Looks good to me. I'm yanking lkm

[linux-usb-devel] [PATCH] usb-storage: Remove duplicated unusual_devs.h entries for Sony Ericsson P990i

2006-11-06 Thread Sergey Vlasov
For some reason the unusual_devs.h entry for Sony Ericsson P990i had three identical copies in a wrong place in the file in addition to the correct entry. Signed-off-by: Sergey Vlasov <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h | 21 - 1 files changed, 0 inser

Re: [linux-usb-devel] [PATCH] usb-storage: Add ZD1211 USB-WLAN support

2006-07-28 Thread Phil Dibowitz
Pete Zaitcev wrote: > On Tue, 18 Jul 2006 15:59:21 -0400, Glenn Maynard <[EMAIL PROTECTED]> wrote: >> On Tue, Jul 18, 2006 at 12:25:37PM -0700, Pete Zaitcev wrote: >>> On Tue, 18 Jul 2006 17:01:32 +0100, Daniel Drake <[EMAIL PROTECTED]> wrote: >>> When you plug the device in, usb-storage picks

Re: [linux-usb-devel] [PATCH] usb-storage: Add ZD1211 USB-WLAN support

2006-07-18 Thread Pete Zaitcev
On Tue, 18 Jul 2006 15:59:21 -0400, Glenn Maynard <[EMAIL PROTECTED]> wrote: > On Tue, Jul 18, 2006 at 12:25:37PM -0700, Pete Zaitcev wrote: > > On Tue, 18 Jul 2006 17:01:32 +0100, Daniel Drake <[EMAIL PROTECTED]> wrote: > > > > > When you plug the device in, usb-storage picks it up, but during th

[linux-usb-devel] [PATCH] usb-storage: wait for URB to complete

2006-07-07 Thread Alan Stern
Greg: We all failed to notice that Franck's recent update to usb-storage allowed an URB to complete after its context data was no longer valid. This patch (as746) makes the driver wait for the URB to complete whenever there's a timeout. Although timeouts in usb-storage are relatively uncommon,

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

2006-06-19 Thread Alan Stern
Greg: This patch (as725) adds an unusual_devs entry for the Motorola RAZR V3x. Alan Stern From: Davide Perini <[EMAIL PROTECTED]> Signed-off-by: Alan Stern <[EMAIL PROTECTED]> --- Index: usb-2.6/drivers/usb/storage/unusual_devs.h =

[linux-usb-devel] [PATCH] usb-storage: use usb_reset_composite_device

2006-06-01 Thread Alan Stern
Greg and Matt: This patch (as701) modifies usb-storage to take advantage of the new usb_reset_composite_device() API. Now we will be able to safely request port resets even if other drivers are bound to a mass-storage device. Alan Stern Signed-off-by: Alan Stern <[EMAIL PROTECTED]> --- Ch

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

2006-05-24 Thread Franck Bui-Huu
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 PROTECTED]> --- drivers/usb/storage/trans

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

2006-05-24 Thread Franck Bui-Huu
and use completion timeout instead. 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 PROTECTED]> --- drivers/usb/storage/transport.c | 38 ++ 1 files chan

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

2006-05-23 Thread Franck Bui-Huu
2006/5/23, Alan Stern <[EMAIL PROTECTED]>: On Tue, 23 May 2006, Franck Bui-Huu wrote: > ok but my point is if the US_FLIDX_URB_ACTIVE bit is still set after waiting, > doesn't that mean that the URB doesn't complete normally ? If so we should > call usb_unlink_urb whatever the value of "timeout".

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

2006-05-23 Thread Alan Stern
On Tue, 23 May 2006, Franck Bui-Huu wrote: > ok so the code can be rewritten as following: > >clear_bit(US_FLIDX_URB_ACTIVE, &us->flags); >if (timeout <= 0) { >US_DEBUGP("%s -- cancelling URB\n", !timeout ? > "Timeout" : "Signal"); >usb_unlink_urb(u

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

2006-05-23 Thread Alan Stern
On Tue, 23 May 2006, Franck Bui-Huu wrote: > >>> + if (test_and_clear_bit(US_FLIDX_URB_ACTIVE, &us->flags) && timeout <= > >>> 0) { > >> Thinking more about it, I'm wondering it the second condition (timeout <= > >> 0) > >> is really needed. Do you think so ? > > > > The test is needed becaus

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

2006-05-23 Thread Franck Bui-Huu
Alan Stern wrote: > On Tue, 23 May 2006, Franck Bui-Huu wrote: > >> Franck Bui-Huu wrote: >>> /* wait for the completion of the URB */ >>> - wait_for_completion(&urb_done); >>> - clear_bit(US_FLIDX_URB_ACTIVE, &us->flags); >>> + timeout = wait_for_completion_interruptible_timeout( >>> +

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

2006-05-23 Thread Alan Stern
On Tue, 23 May 2006, Franck Bui-Huu wrote: > Franck Bui-Huu wrote: > > /* wait for the completion of the URB */ > > - wait_for_completion(&urb_done); > > - clear_bit(US_FLIDX_URB_ACTIVE, &us->flags); > > + timeout = wait_for_completion_interruptible_timeout( > > + &urb_

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

2006-05-23 Thread Oliver Neukum
Am Dienstag, 23. Mai 2006 11:40 schrieb Franck Bui-Huu: > > and use completion timeout instead of. It also put the task > in interruptible state instead of uninterruptible one while > waiting for the completion. 1. You seem to have changed the semantics of the no timeout case. May you? 2. You don

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

2006-05-23 Thread Franck Bui-Huu
Franck Bui-Huu wrote: > /* wait for the completion of the URB */ > - wait_for_completion(&urb_done); > - clear_bit(US_FLIDX_URB_ACTIVE, &us->flags); > + timeout = wait_for_completion_interruptible_timeout( > + &urb_done, timeout ? : MAX_SCHEDULE_TIMEOUT); >

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

2006-05-23 Thread Franck Bui-Huu
and use completion timeout instead of. It also put the task in interruptible state instead of uninterruptible one while waiting for the completion. Signed-off-by: Franck Bui-Huu <[EMAIL PROTECTED]> --- drivers/usb/storage/transport.c | 35 +++ 1 files changed

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

2006-05-22 Thread Franck Bui-Huu
and use completion timeout instead. Signed-off-by: Franck Bui-Huu <[EMAIL PROTECTED]> --- drivers/usb/storage/transport.c | 34 ++ 1 files changed, 6 insertions(+), 28 deletions(-) c35738d918f56fbb725b29c8098cee819e33a83d drivers/usb/storage/transport.c | 34

[linux-usb-devel] [PATCH] usb-storage: new unusual_devs entry

2006-02-02 Thread Alan Stern
Greg: This patch (as631) for unusual_devs.h fixes bugzilla entry 5913. Alan Stern Signed-off-by: Alan Stern <[EMAIL PROTECTED]> --- Index: l2616/drivers/usb/storage/unusual_devs.h === --- l2616.orig/drivers/usb/storage/unusual_d

[linux-usb-devel] [PATCH] USB Storage: make OneTouch PM-aware

2006-01-04 Thread Greg KH
[PATCH] USB Storage: make OneTouch PM-aware The OneTouch subdriver submits its own interrupt URB for notifications about button presses. Consequently it needs to know about suspend and resume events, so it can cancel or restart the URB. This patch (as593) adds a hook to struct us_data, to be use

[linux-usb-devel] [PATCH] USB Storage: Fix unusual_devs.h order

2006-01-04 Thread Greg KH
[PATCH] USB Storage: Fix unusual_devs.h order Alan Stern pointed out there was an ordering issue in unusual_devs.h, and this patch fixes it. Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit 3e220e9505f3c993b666b5e22b1c466b69ee4f54

[linux-usb-devel] [PATCH] USB Storage: more sddr09 cleanups

2006-01-04 Thread Greg KH
[PATCH] USB Storage: more sddr09 cleanups This is the third of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as596) moves the computation of the LBA to the start of the read/write routines, so that addresses completely beyond the end of the de

[linux-usb-devel] [PATCH] USB Storage: update MAINTAINERS

2006-01-04 Thread Greg KH
[PATCH] USB Storage: update MAINTAINERS Someone recently pointed out to me that the MAINTAINERS entry for usb-storage was, perhaps, in need of changing. Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit 8836aeb86158163532c1835e74751

[linux-usb-devel] [PATCH] USB Storage: sddr09 cleanups

2006-01-04 Thread Greg KH
[PATCH] USB Storage: sddr09 cleanups This is the second of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as595) updates the code to use standard error values for return codes instead of our special-purpose USB_STOR_TRANSPORT_... codes. The re

[linux-usb-devel] [PATCH] USB Storage: cleanups of sddr09

2006-01-04 Thread Greg KH
[PATCH] USB Storage: cleanups of sddr09 This is the first of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as594) straightens out the initialization procedures and headers: Some ugly code from usb.c was moved into sddr09.c. S

[linux-usb-devel] [PATCH] USB Storage: add unusual_devs entry for NIKON Coolpix 2000

2006-01-04 Thread Greg KH
[PATCH] USB Storage: add unusual_devs entry for NIKON Coolpix 2000 This patch adds an unusual_devs.h entry for NIKON Coolpix 2000 camera wich cause error: "Not Ready: Medium not present" Works fine with th patched kernel... Here are the informations in /proc/bus/usb/devices: T: Bus=02 Lev=01 Pr

[linux-usb-devel] [PATCH] USB Storage: add alauda support

2006-01-04 Thread Greg KH
[PATCH] USB Storage: add alauda support This patch adds another usb-storage subdriver, which supports two fairly old dual-XD/SmartMedia reader-writers (USB1.1 devices). This driver was written by Daniel Drake <[EMAIL PROTECTED]> -- he notes that he wrote this driver without specs, however a vendo

[linux-usb-devel] [PATCH] usb-storage: Add support for Rio Karma

2005-12-30 Thread Matthew Dharm
This patch from Bob Copeland adds support for the Rio Karma portable digital audio player to the usb-storage driver. The only thing needed to support this device is a one-time (per plugin) init command which is sent to the device. Greg, please apply. Matt Signed-off-by: Bob Copeland <[EMAIL PRO

[linux-usb-devel] [PATCH] usb-storage: add debug entry for REPORT LUNS

2005-11-29 Thread Paul Walmsley
Bugs involving the REPORT LUNS SCSI-3 command are much easier to track down if usb-storage displays the command's name, rather than "(Unknown command)". Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> - Paul diff --git a/drivers/usb/storage/debug.c b/drivers/usb/storage/debug.c index 5a93217

[linux-usb-devel] [PATCH] usb-storage: Fix detection of kodak flash readers in shuttle_usbat driver

2005-11-12 Thread Daniel Drake
Peter Favrholdt reported that his Kodak flash device was getting detected as a CDROM, and he helped me track this down to the fact that the device takes a long time (approx 440ms!) to reset. This patch increases the delay to 500ms, which solves the problem. Signed-off-by: Daniel Drake <[EMAIL

[linux-usb-devel] [PATCH] USB Storage: Expand range of Freecom unusual_devs entry

2005-10-28 Thread Greg KH
[PATCH] USB Storage: Expand range of Freecom unusual_devs entry Freecom seems to be one of those vendors that can't get the GET CAPACITY thing right. This expands the US_FL_FIX_CAPACITY flag for the entire range of their fccd product line. This is based on a patch sent by Stuart Black <[EMAIL PRO

[linux-usb-devel] [PATCH] USB: storage patch for LEICA camera

2005-10-28 Thread Greg KH
[PATCH] USB: storage patch for LEICA camera On Tue, 18 Oct 2005, Simeon Simeonov wrote: > Attached is a patch that solves mounting problems for > LEICA D-LUX camera with FC4 2.6.13 kernel. > > Let me know if you have some questions. Looks okay to me. Given that the previous entry uses the full 0

[linux-usb-devel] [PATCH] usb-storage: Some minor shuttle_usbat cleanups

2005-10-28 Thread Greg KH
[PATCH] usb-storage: Some minor shuttle_usbat cleanups A while ago, Matthew Dharm wrote: > Looks good. Tho, I would like to see a future patch to do two things: > 1) Change comments from C++ style to C-style > 2) Make sure we're naming consistently everywhere SCM, USBAT, > USBAT

[linux-usb-devel] [PATCH] usb-storage: Readd missing SDDR-05b unusual_devs entry

2005-10-28 Thread Greg KH
[PATCH] usb-storage: Readd missing SDDR-05b unusual_devs entry Just noticed that the SDDR-05b entry is missing for the shuttle_usbat driver. Looking through BK history it was removed in this patch: http://linux.bkbits.net:8080/linux-2.6/[EMAIL PROTECTED] However, at merge time, it looks like the

[linux-usb-devel] [PATCH] USB Storage: HP8200: Another device type detection fix

2005-10-28 Thread Greg KH
[PATCH] USB Storage: HP8200: Another device type detection fix There appears to be one more case where the HP8200 CD writer devices are detected as flash readers - when the USB cable is replugged after use, with the power cable still connected. Oddly enough, the identify device command appears to

[linux-usb-devel] PATCH: usb-storage: use kthread API

2005-10-23 Thread Matthew Dharm
This patch is originally from Alan Stern (as569). It has been rediffed against a current tree. This patch converts usb-storage to use the kthread API for creating its control and scanning threads. The new code doesn't use kthread_stop because the threads need (or will need in the future) to exit

[linux-usb-devel] PATCH: usb-storage: implement minimal PM

2005-10-23 Thread Matthew Dharm
This patch from Alan Stern started as as568. It has been rediffed against a current tree. This patch adds minimal suspend/resume support to usb-storage. Just enough for it to qualify as PM-aware. Greg, please apply. Matt Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dha

[linux-usb-devel] PATCH: usb-storage: allocate separate sense buffer

2005-10-23 Thread Matthew Dharm
This patch is from Alan Stern (as560). It has been rediffed against a current tree. This patch allocates a separate buffer for usb-storage to use when auto-sensing. Up to now we have been using the sense buffer embedded in a scsi_cmnd struct, which is dangerous on hosts that (a) don't do cache-c

[linux-usb-devel] PATCH: usb-storage: move GetMaxLUN later in time

2005-10-23 Thread Matthew Dharm
This patch is originally from Alan Stern (as557). It has been re-diffed against a current tree, and I also corrected a minor merging error. Some time ago we introduced a delay before device scanning, because many devices do not like to receive SCSI commands right after enumeration. Now it turn

[linux-usb-devel] patch usb-storage-another-unusual_devs-entry.patch added to gregkh-2.6 tree

2005-10-14 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB Storage: Another unusual_devs entry to my gregkh-2.6 tree. Its filename is usb-storage-another-unusual_devs-entry.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/greg

[linux-usb-devel] [PATCH] usb-storage: Readd missing SDDR-05b unusual_devs entry

2005-09-30 Thread Daniel Drake
Just noticed that the SDDR-05b entry is missing for the shuttle_usbat driver. Looking through BK history it was removed in this patch: http://linux.bkbits.net:8080/linux-2.6/[EMAIL PROTECTED] However, at merge time, it looks like the duplicate was already removed, compare these two revisions:

[linux-usb-devel] [PATCH] usb-storage: Some minor shuttle_usbat cleanups

2005-09-30 Thread Daniel Drake
A while ago, Matthew Dharm wrote: Looks good. Tho, I would like to see a future patch to do two things: 1) Change comments from C++ style to C-style 2) Make sure we're naming consistently everywhere SCM, USBAT, USBAT-02 (most noticably needing fixing is the string used at

[linux-usb-devel] [PATCH] USB: storage: Fix messed-up locking

2005-09-12 Thread Greg KH
[PATCH] USB: storage: Fix messed-up locking This is patch as550 from Alan Stern. Apparently someone changed the SCSI core so that it no longer holds the host lock when doing a device or bus reset. usb-storage was updated at the time, but the change was done carelessly. Some of the code depends

[linux-usb-devel] [PATCH] USB Storage: unusual_devs.h request for Transcend

2005-09-12 Thread Greg KH
[PATCH] USB Storage: unusual_devs.h request for Transcend The stick replies to the door lock commands with a check condition (e.g. FAIL status in a normal bulk CSW), but the subsequent REQUEST SENSE returns all-zero sense. The situation is documented in our Bugzilla, including usbmon traces.

[linux-usb-devel] [PATCH] USB: storage: Add unusual_dev SINGLE_LUN entries

2005-09-12 Thread Greg KH
[PATCH] USB: storage: Add unusual_dev SINGLE_LUN entries This patch adds entries for several USB floppies that need the US_FL_SINGLE_LUN flag. These were reported by Sebastian Kapfer <[EMAIL PROTECTED]> and Olaf Hering <[EMAIL PROTECTED]>, with rediffing and cleaning from me. Reported-by: Sebasti

Re: [linux-usb-devel] [PATCH] usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-09-10 Thread Phil Dibowitz
Daniel Drake wrote: > Alan Stern wrote: > >> If the device sometimes reports the correct values, then you should >> include NEED_OVERRIDE flag to prevent messages about unnecessary >> overrides showing up in the system log. Also, if bInterfaceSubclass >> is correct and only bInterfaceProtocol is

[linux-usb-devel] [PATCH] USB Storage: close a race condition in disconnect near queuecommand

2005-09-08 Thread Greg KH
[PATCH] USB Storage: close a race condition in disconnect near queuecommand This patch started life as as534, and has been re-diffed against the latest tree. usb-storage has a small loophole, a window between the time queuecommand accepts a new command and the time the control thread starts to ex

[linux-usb-devel] [PATCH] USB Storage: wedge SCSI revision at 2 for usb-storage devices

2005-09-08 Thread Greg KH
[PATCH] USB Storage: wedge SCSI revision at 2 for usb-storage devices This patch started life as as479b, and has been rediffed. Please note the order of submission of this latest patch series -- even tho this has an older original number, it is the last patch I'll be sending today. This patch ch

[linux-usb-devel] [PATCH] usb-storage: Add IGNORE_RESIDUE flag for Mitsumi USB 2.0 card reader (VIA hardware)

2005-09-08 Thread Greg KH
[PATCH] usb-storage: Add IGNORE_RESIDUE flag for Mitsumi USB 2.0 card reader (VIA hardware) This patch adds an entry in the unusual_devs.h file for a Mitsumi card reader/floppy combo that uses a VIA chipset. The IGNORE_RESIDUE flag was needed for the second LUN to operate properly. Signed-off-by

[linux-usb-devel] [PATCH] USB Storage: add support for Maxtor One-Touch button

2005-09-08 Thread Greg KH
[PATCH] USB Storage: add support for Maxtor One-Touch button This patch is originally from Nick Sillik, and has been rediffed against the latest tree. This patch adds usability to the OneTouch Button on Maxtor External USB Hard Drives. Using an unusual device entry it declares an extra init funct

[linux-usb-devel] [PATCH] USB Storage: close a race condition in disconnect near probe

2005-09-08 Thread Greg KH
[PATCH] USB Storage: close a race condition in disconnect near probe This patch started life as as533, and has been re-diffed against the current tree. Disconnect processing in usb-storage naturally divides into two parts: one to quiesce the driver (make sure no commands are executing or queued)

[linux-usb-devel] [PATCH] USB Storage: remove dependency on SCSI-provided serial/tag number

2005-09-08 Thread Greg KH
[PATCH] USB Storage: remove dependency on SCSI-provided serial/tag number This patch started life as as531 from Alan Stern. It has been rediffed against the latest tree. The SCSI people have deprecated the use of scsi_cmnd.serial_number for anything other than printk. Worse than that, the SCSI

[linux-usb-devel] [PATCH] USB Storage: code cleanups for onetouch.c

2005-09-08 Thread Greg KH
[PATCH] USB Storage: code cleanups for onetouch.c As sugested by Alan Stern here are a few code cleanups for onetouch.c: -Check number of endpoints before directly referencing intf->endpoint[2] -Use defined constants instead of magic numbers -Revmove the non-ascii characters from copyright notice

Re: [linux-usb-devel] [PATCH] usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-08-31 Thread Phil Dibowitz
Alan Stern wrote: > On Wed, 31 Aug 2005, Daniel Drake wrote: > > >>When connected over USB2, this device reports a nonsense bInterfaceProtocol >>value 6 and doesn't work with usb-storage. >>When connected over USB1, the device reports the correct bInterfaceProtocol >>value 0x50 (bulk) and works

[linux-usb-devel] [PATCH] usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-08-31 Thread Daniel Drake
Alan Stern wrote: If the device sometimes reports the correct values, then you should include NEED_OVERRIDE flag to prevent messages about unnecessary overrides showing up in the system log. Also, if bInterfaceSubclass is correct and only bInterfaceProtocol is wrong, then the entry should say

Re: [linux-usb-devel] [PATCH] usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-08-31 Thread Alan Stern
On Wed, 31 Aug 2005, Daniel Drake wrote: > When connected over USB2, this device reports a nonsense bInterfaceProtocol > value 6 and doesn't work with usb-storage. > When connected over USB1, the device reports the correct bInterfaceProtocol > value 0x50 (bulk) and works with no problems. > > T

[linux-usb-devel] [PATCH] usb-storage: Add unusual_devs entry for Neuros Audio MP3 player

2005-08-31 Thread Daniel Drake
When connected over USB2, this device reports a nonsense bInterfaceProtocol value 6 and doesn't work with usb-storage. When connected over USB1, the device reports the correct bInterfaceProtocol value 0x50 (bulk) and works with no problems. This patch fixes it up so that it also works on USB2.

[linux-usb-devel] [PATCH] USB Storage: Remove unneeded SC/P

2005-07-12 Thread Greg KH
[PATCH] USB Storage: Remove unneeded SC/P This patch removes an unneeded subclass and protocol from the 07af/0005/100 entry in unsual_devs.h as reported by Alfred Ganz <[EMAIL PROTECTED]>. Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[linux-usb-devel] [PATCH] USB Storage: retry hard errors

2005-06-27 Thread Greg KH
[PATCH] USB Storage: retry hard errors This patch started life as as527, and was rediffed by me. Since the IDE interface doesn't convey much information about types of errors, many USB-IDE adapters report all low-level errors with SK = 0x04, which is supposed to be used only for non-recoverable e

[linux-usb-devel] [PATCH] USB Storage: endpoint toggles and reset delays

2005-06-27 Thread Greg KH
[PATCH] USB Storage: endpoint toggles and reset delays This patch does two things to help reset recovery. It started life as as496 and was rediffed by me. First, the patch checks the result of a CLEAR_HALT request and doesn't reset the endpoint's data toggle unless the request succeeded. Second

[linux-usb-devel] [PATCH] USB Storage: port reset on transport error

2005-06-27 Thread Greg KH
[PATCH] USB Storage: port reset on transport error This patch causes a port reset whenever there's a transport error or abort. If that fails it reverts back to doing a mass-storage device reset. It started life as as497 and was rediffed by me. This makes error recovery a lot quicker and more rel

[linux-usb-devel] [PATCH] USB Storage: Add unusual_devs for Trumpion Voice Recorder

2005-06-03 Thread Greg KH
[PATCH] USB Storage: Add unusual_devs for Trumpion Voice Recorder The original entry of this patch was submitted by Filippo Bardelli <[EMAIL PROTECTED]>, with cleanups and patch-ification by me. This corrects the subclass that the device reports. Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]>

[linux-usb-devel] [PATCH] USB Storage: fix compile error

2005-05-04 Thread Greg KH
[PATCH] USB Storage: fix compile error This patch fixes a compiler error caused by a missing prototype. It should apply directly to Greg KH's usb-2.6.git tree. Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit e2e66446e08a7a365a59e

[linux-usb-devel] [PATCH] USB Storage: make usb-storage structures refcounted by SCSI

2005-03-31 Thread Greg KH
ChangeSet 1.2181.4.59, 2005/03/24 15:13:02-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: make usb-storage structures refcounted by SCSI This patch started life as as474 from Alan Stern. It's been rediffed against the tip, tho that is now several days old. This patch changes the way our private

[linux-usb-devel] [PATCH] USB Storage: exit control thread immediately upon disconnect

2005-03-31 Thread Greg KH
ChangeSet 1.2181.4.60, 2005/03/24 15:13:20-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: exit control thread immediately upon disconnect This patch started life as as475 from Alan Stern. It has been rediffed against the tip, tho that was several days ago. This patch causes the main control thre

[linux-usb-devel] [PATCH] USB Storage: Remove dup in unusual_devs

2005-03-31 Thread Greg KH
ChangeSet 1.2181.4.75, 2005/03/24 16:11:28-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: Remove dup in unusual_devs Matthew Dharm pointed out that your BK tree somehow got 2 versions of an unusual_devs entry in it. One was from a patch in January and the other was from an automerge. I dug around

[linux-usb-devel] [PATCH] USB Storage: remove unneeded unusual_devs.h entry.

2005-03-31 Thread Greg KH
ChangeSet 1.2181.4.32, 2005/03/17 18:15:50-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: remove unneeded unusual_devs.h entry. Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> drivers/usb/storage/unusual_devs.h |6 -- 1 files changed, 6 deletions(-) diff -Nru a/drivers/usb/stora

[linux-usb-devel] [PATCH] USB Storage: allow disconnect to complete faster

2005-03-30 Thread Greg KH
ChangeSet 1.2181.4.61, 2005/03/24 15:13:36-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: allow disconnect to complete faster This patch started life as as476 from Alan Stern. It has been rediffed against the tip, tho that was a few days ago. This patch makes the disconnect() routine not wait fo

[linux-usb-devel] [PATCH] USB Storage: combine waitqueues

2005-03-30 Thread Greg KH
ChangeSet 1.2181.4.62, 2005/03/24 15:13:53-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: combine waitqueues This patch started life as as476, and has been rediffed against the tip. However, that was a few days ago. This patch combines the two separate waitqueue heads used by the scsi-scanning th

[linux-usb-devel] [PATCH] USB Storage: change how unusual_devs.h flags are defined

2005-03-30 Thread Greg KH
ChangeSet 1.2181.4.31, 2005/03/17 18:15:30-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: change how unusual_devs.h flags are defined This patch started life as as473 from Alan Stern, and has been rediffed against the current tip. This patch changes the way the flags bits are defined, so that the

[linux-usb-devel] [PATCH] USB Storage: remove RW_DETECT from being a config option

2005-03-30 Thread Greg KH
ChangeSet 1.2181.4.63, 2005/03/24 15:14:10-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: remove RW_DETECT from being a config option This patch started life as as454b from Alan Stern. It has been rediffed against the tip, including updates for the way unusual_devs flags are defined. This patch

[linux-usb-devel] [PATCH] USB Storage: remove unneeded NULL tests

2005-03-30 Thread Greg KH
ChangeSet 1.2181.4.28, 2005/03/17 18:14:33-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: remove unneeded NULL tests This patch started life as as472 from Alan Stern, and has been rediffed against the current tip. This patch simply removes some unnecessary NULL checking before kfree() calls. Sig

[linux-usb-devel] [PATCH] USB Storage: Header reorganization

2005-03-30 Thread Greg KH
ChangeSet 1.2181.4.27, 2005/03/17 18:14:14-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: Header reorganization This patch started life as as471 from Alan Stern, and has been regenerated against the current tip. This patch cleans up the use of header files. Primarily it makes sure that "usb.h" i

[linux-usb-devel] [PATCH] USB Storage: Remove fix_capacity routine

2005-03-08 Thread Greg KH
ChangeSet 1.2020.1.7, 2005/03/07 22:18:22-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: Remove fix_capacity routine This is patch as422 from Alan Stern. This is the second half of the two-part patch to move the fix_capacity functionality up into the sd driver. James Bottomley has applied the SC

[linux-usb-devel] [PATCH] USB Storage: Unusual_devs entry for Nikon DSC D70

2005-03-08 Thread Greg KH
ChangeSet 1.2020.1.151, 2005/03/08 01:04:22-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: Unusual_devs entry for Nikon DSC D70 Here's a new unusual_devs.h entry for the Nikon DSC D70 camera, which suffers the common problem of reporting one more sector than it actually has. Signed-off-by: Alan S

[linux-usb-devel] [PATCH] usb-storage: Don't log expected signatures

2005-03-08 Thread Greg KH
ChangeSet 1.2020.1.119, 2005/03/08 00:37:33-08:00, [EMAIL PROTECTED] [PATCH] usb-storage: Don't log expected signatures This fairly trivial patch makes three small changes: Correct a typo in a comment. Don't print a debugging message when a USB mass-storage device uses t

[linux-usb-devel] [PATCH] USB Storage: devices which don't process PREVENT-ALLOW MEDIUM REMOVAL

2005-03-08 Thread Greg KH
ChangeSet 1.2020.1.14, 2005/03/07 22:21:00-08:00, [EMAIL PROTECTED] [PATCH] USB Storage: devices which don't process PREVENT-ALLOW MEDIUM REMOVAL This patch started life as as423, and has been re-generated against the current tip. Some storage devices don't like PREVENT-ALLOW MEDIUM REMOVAL comm

[linux-usb-devel] [PATCH] USB storage: make IGNORE_RESIDUE apply for reads (in addition to writes)

2005-03-08 Thread Greg KH
ChangeSet 1.2020.1.8, 2005/03/07 22:18:46-08:00, [EMAIL PROTECTED] [PATCH] USB storage: make IGNORE_RESIDUE apply for reads (in addition to writes) This patch was originally as406. I've rediffed it against a current tree. This patch makes the iGNORE_RESIDUE flag apply to reads (as well as write

[linux-usb-devel] [PATCH] usb-storage: More flexible signature checking mechanism

2005-03-08 Thread Greg KH
ChangeSet 1.2020.1.32, 2005/03/07 22:52:25-08:00, [EMAIL PROTECTED] [PATCH] usb-storage: More flexible signature checking mechanism This patch alters the CSW signature checking code to work with devices that report non-standard signatures, such as some Olympus and Aldi cameras. We now learn the

[linux-usb-devel] [PATCH] usb-storage: More flexible signature checking mechanism

2005-02-01 Thread Daniel Drake
This patch alters the CSW signature checking code to work with devices that report non-standard signatures, such as some Olympus and Aldi cameras. We now learn the first signature we see, and use it to check signatures of all subsequent transfers. This allows us to continue to benefit from the

Re: [linux-usb-devel] [PATCH] usb-storage unusual_dev listing for MusicDrive

2004-09-26 Thread Alan Stern
On Sun, 26 Sep 2004, Joris van Rantwijk wrote: > The MusicDrive chip (used in some USB flash drive MP3 players) > incorrectly reports residues on large (64k) data transfers. > This patch adds an UNUSUAL_DEV entry for the device to make the Linux > transport code ignore the residue count on reads f

[linux-usb-devel] [PATCH] usb-storage unusual_dev listing for MusicDrive

2004-09-26 Thread Joris van Rantwijk
The MusicDrive chip (used in some USB flash drive MP3 players) incorrectly reports residues on large (64k) data transfers. This patch adds an UNUSUAL_DEV entry for the device to make the Linux transport code ignore the residue count on reads from the device. Writes to the device will still fail an

[linux-usb-devel] [PATCH] usb-storage driver changes for 2.6.x

2004-04-25 Thread Matthew Dharm
Patch as239b from Alan Stern: This patch improves the interaction between a SCSI reset, an internally generated reset, and an abort. This improves our error-recovery in cases where the device is hung (or almost hung) while we're trying to auto-reset. diff -Nru a/drivers/usb/storage/scsiglue.c b/

[linux-usb-devel] [PATCH] usb-storage driver changes for 2.6.x

2004-04-25 Thread Matthew Dharm
(First, a fair warning -- this is my first time trying to use gregkh_patchbomb to send patches. I hope I don't embarass myself.) This is a series of 4 patches (including two from Alan Stern). They improve some error recovery, make Zip100s work again, supress those annoying Casio unusual_devs.h m

Re: [linux-usb-devel] PATCH: usb-storage support for Sony DSC P*digital camera series

2003-07-05 Thread Alan Stern
On Sat, 5 Jul 2003, Deti Fliegl wrote: > Alan Stern wrote: > > The correct thing to do is to create a new entry in unusual_devs.h. The > > instructions for submitting such changes are given at the top of the > > source file. > understood and ready to the receive a brown paper bag award. It's >

Re: [linux-usb-devel] PATCH: usb-storage support for Sony DSC P*digital camera series

2003-07-05 Thread Deti Fliegl
Alan Stern wrote: The correct thing to do is to create a new entry in unusual_devs.h. The instructions for submitting such changes are given at the top of the source file. understood and ready to the receive a brown paper bag award. It's somehow simpler now :) --- unusual_devs.h 2003-07-0

  1   2   >