Re: [linux-usb-devel] Problem with 2GB card using USB SD card reader

2007-08-06 Thread Matthew Dharm
ents and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______ > linux-usb-devel@lists.sourceforge.net > To unsubscribe, use the last form field at: &

Re: [linux-usb-devel] Problem with 2GB card using USB SD card reader

2007-08-04 Thread Matthew Dharm
vents and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > linux-usb-devel@lists.sourceforge.net > To unsubscribe, use the last form field at: > https://lists.sourceforge.

Re: [linux-usb-devel] Large USB storage devices cause df to hang and cpu load reaches 100%

2007-07-31 Thread Matthew Dharm
What the heck happened to your logs? It looks like about 75% of the data is being lost from the log file... Matt On Tue, Jul 31, 2007 at 10:47:40PM +0100, Kostas Peletidis wrote: > Matthew Dharm wrote: > >It would be interesting to turn on CONFIG_USB_STORAGE_DEBUG and capture the >

Re: [linux-usb-devel] Large USB storage devices cause df to hang and cpu load reaches 100%

2007-07-31 Thread Matthew Dharm
It would be interesting to turn on CONFIG_USB_STORAGE_DEBUG and capture the debugging output. Matt On Tue, Jul 31, 2007 at 08:37:31PM +0100, Kostas Peletidis wrote: > Matthew Dharm wrote: > >Did you change any USB-related compile options between the two builds? > > > >D

Re: [linux-usb-devel] [2.6 patch] usbat_check_status(): fix check-after-use

2007-07-30 Thread Matthew Dharm
Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> On Tue, Jul 31, 2007 at 12:28:22AM +0200, Adrian Bunk wrote: > The Coverity checker spotted that we have already oops'ed if "us" > was NULL. > > Since "us" can't be NULL in the only caller this pa

Re: [linux-usb-devel] Large USB storage devices cause df to hang and cpu load reaches 100%

2007-07-30 Thread Matthew Dharm
ation files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > linux-usb-devel@lists.sourceforge.net > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/

Re: [linux-usb-devel] patch to shift memory allocations to usb_alloc_urb()

2007-07-05 Thread Matthew Dharm
On Thu, Jul 05, 2007 at 04:57:53PM -0400, Alan Stern wrote: > On Thu, 5 Jul 2007, Matthew Dharm wrote: > > > On Mon, Jul 02, 2007 at 09:15:03AM +0200, Oliver Neukum wrote: > > > Am Montag, 2. Juli 2007 schrieb Alan Stern: > > > > If you look at usbmon logs o

Re: [linux-usb-devel] patch to shift memory allocations to usb_alloc_urb()

2007-07-05 Thread Matthew Dharm
er which controls how long a sg list the SCSI core will send us, we can effectively limit the worst-case number of URBs needed. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver I want my GPFs!!!

Re: [linux-usb-devel] patch to shift memory allocations to usb_alloc_urb()

2007-07-05 Thread Matthew Dharm
t. Technically, it's spec-legal. Practically, it's a dead duck. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver I'm just trying to think of a way to say "up yours" without getting fired.

Re: [linux-usb-devel] patch to shift memory allocations to usb_alloc_urb()

2007-07-01 Thread Matthew Dharm
we could advertise some maximum sg list size in that. We could then use that same limit to pre-allocate all the URBs that usb_sg_init would need. Thus, we wouldn't need a fallback path without memory allocation. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maint

Re: [linux-usb-devel] [PATCH] Active Huawei E220 devs

2007-06-26 Thread Matthew Dharm
x1003, 0x, 0xffff, > +UNUSUAL_DEV( 0x12d1, 0x1003, 0x, 0x, Do you really want a device range from 0 to 0? Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver M: No, Windows doesn't have any nag screens.

Re: [linux-usb-devel] ehci memory allocation question

2007-06-15 Thread Matthew Dharm
nerally pre-allocate their overhead memory. I'm pretty sure the sbp2 folks (SCSI over IEEE1394) had to go through a similar exercise to what we're doing now in order to make it robust. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Lin

Re: [linux-usb-devel] [PATCH] Onetouch - switch to using input_dev->dev.parent

2007-05-07 Thread Matthew Dharm
I won't pretend to know anything about the input subsystem. But, from a storage point of view, this looks fine. Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Matt On Tue, May 08, 2007 at 12:31:30AM -0400, Dmitry Torokhov wrote: > In preparation for struct class_device -> st

Re: [linux-usb-devel] Problem with Sony USB card reader

2007-04-11 Thread Matthew Dharm
n the card reader firmware. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver Sir, for the hundreth time, we do NOT carry 600-round boxes of belt-fed suction darts! -- Salesperson to Greg Use

Re: [linux-usb-devel] Problem with Sony USB card reader

2007-04-11 Thread Matthew Dharm
t; Apr 9 23:21:22 morel kernel: sdb: Current: sense key: No Sense > Apr 9 23:21:22 morel kernel: Additional sense: No additional sense > information > Apr 9 23:21:28 morel kernel: sdb: Current: sense key: No Sense > Apr 9 23:21:28 morel kernel: Additional sense: No additional s

Re: [linux-usb-devel] [usb-storage] Again about UFI with one LUN

2007-01-04 Thread Matthew Dharm
y/CF and floppy/CD-ROM combinations on multiple LUNs. I've gotten e-mail from people with multiple-head floppies. I've never seen one, personally. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver Your lips are twitc

Re: [linux-usb-devel] Problem Ejecting iPod

2006-12-28 Thread Matthew Dharm
2-27 at 17:55 -0800, Matthew Dharm wrote: > > Please clarify -- > > > > Are you saying that this sequence generates and error: > > > > 1) Attach iPod > > 2) eject /dev/sda > > > > Whereas this one does NOT generate errors: > > > > 1) Attach

Re: [linux-usb-devel] Problem Ejecting iPod

2006-12-27 Thread Matthew Dharm
rage: usb_reset_composite_device returns 0 > usb-storage: scsi command aborted > usb-storage: *** thread sleeping. > sd 2:0:0:0: scsi: Device offlined - not ready after error recovery > - > Take Surveys. Earn Cash. I

Re: [linux-usb-devel] usb 4-3: usb_sg_cancel, unlink --> -19

2006-12-27 Thread Matthew Dharm
to do with all of this > i/o going on? > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on

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 ?

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

2006-12-06 Thread Matthew Dharm
disk support' may also be needed;" > + depends on USB > +comment "see USB_STORAGE Help for more information" > depends on USB > > config USB_STORAGE > > > --- -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB

Re: [linux-usb-devel] Fw: garbled usb storage scsi vendor & model in 2.6.19-rc1

2006-10-24 Thread Matthew Dharm
ot;Unknown" and "Unknown" or > something similar in the event that the device sets the 'invalid' bit? US_FL_FIX_INQUIRY used to do this; I don't remember what it does currently. Regardless, the SCSI core should probably blank those data buffers before deciding if any data is go

Re: [linux-usb-devel] Mitsumi USB FDD 061M: UNUSUAL_DEV multilun fix

2006-10-08 Thread Matthew Dharm
quot;LUN not present" is pending merge right now. I believe I saw it go into Greg's tree. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver I need a computer? -- Customer Use

Re: [linux-usb-devel] [Linux-usb-users] USB Mass storage copy giving resets

2006-09-23 Thread Matthew Dharm
ification is clear on this point. The STALL indicates an error on a transfer with data-in, and the device is required to give a CSW after the Clear Feature. The device is clearly broken. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Stora

Re: [linux-usb-devel] USB Mass storage copy giving resets

2006-09-23 Thread Matthew Dharm
I forgot to mention -- once a phase error is detected, the USB specification requires the host to issue a RESET to the device. Matt On Sat, Sep 23, 2006 at 02:53:05PM -0700, Matthew Dharm wrote: > This sounds like the device is getting out of sync (commonly known as > "phase error&q

Re: [linux-usb-devel] USB Mass storage copy giving resets

2006-09-23 Thread Matthew Dharm
> > >This is Causing a BABBLE Error (Expecting 13 Bytes of CSW but >the device responded with 512 bytes). > > Then the driver is issuing RESET to the device. > > > >Is it an acceptable condition. > >who is the culprit for the RESET. >

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Matthew Dharm
us messages come when status messages are expected; there's no evidence of any sort of phase error. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver How would you like this tie wrapped around

Re: [linux-usb-devel] usb-storage bad device...

2006-08-17 Thread Matthew Dharm
here is a flag which will fix this problem. I've never seen a device report a -totally- bogus size... Some of the later errors are from trying to access sectors at the reported end of the device Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Lin

[linux-usb-devel] [PATCH] add rio karma eject support

2006-08-13 Thread Matthew Dharm
PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> --- drivers/usb/storage/Kconfig| 12 ++ drivers/usb/storage/Makefile |1 drivers/usb/storage/initializers.c | 73 - drivers/usb/storage/initializers.h |1 drivers/usb/storage/kar

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

2006-07-24 Thread Matthew Dharm
Looks fine to me. The difference between this patch and the last one is a "6 of one, half-dozen of the other" to me, but I see the benefits of this approach. Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Matt On Mon, Jul 24, 2006 at 10:46:17PM +0100, Daniel Drake wrote: &g

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

2006-07-18 Thread Matthew Dharm
age so that it works with the poor-quality CD-ROM emulation mode. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver E: You run this ship with Windows?! YOU IDIOT! L: Give me a break, it came bundled with the computer!

Re: [linux-usb-devel] [usb-storage] [PATCH pd43] US_FL_MAX_SECTORS_64 flag

2006-06-24 Thread Matthew Dharm
t;[EMAIL PROTECTED]> This looks good. Greg, please apply. Matt Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver A: The most ironic oxymoron wins ... DP: "Micros

Re: [linux-usb-devel] [usb-storage] [PATCH pd44] Uname in PR/SC Unneeded message

2006-06-24 Thread Matthew Dharm
Greg, please apply. Matt Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver It's not that hard. No matter what the problem is, tell the c

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

2006-05-24 Thread Matthew Dharm
Looks good to me. Greg, please apply. Matt Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> On Wed, May 24, 2006 at 04:57:28PM +0200, Franck Bui-Huu wrote: > > This patch uses completion timeout instead of a timer to implement > a timeout when submitting an URB. > > It

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

2006-05-22 Thread Matthew Dharm
On Mon, May 22, 2006 at 10:20:58AM -0700, Matthew Dharm wrote: > On Mon, May 22, 2006 at 10:53:40AM -0400, Alan Stern wrote: > > On Mon, 22 May 2006, Franck Bui-Huu wrote: > > > > > and use completion timeout instead. > > > > > > Signed-off-by: Franck

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

2006-05-22 Thread Matthew Dharm
Other than the above change and comment, it looks good to me. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver A female who groks UNIX? My universe is collapsing. -- Mike User Friendl

[linux-usb-devel] Re: [usb-storage] Re: RFC - Let ub handle iPods

2006-05-02 Thread Matthew Dharm
busual, and usb-storage so that people wondering the same thing can find it no matter where they look. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver YOU SEE!!?? It's like being born with only one nipple!

[linux-usb-devel] Re: RFC - Let ub handle iPods

2006-04-29 Thread Matthew Dharm
inconsistent (and an invitation for a zillion little patches) to only apply this to a select few devices which Pete happens to have. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver SP: I sell software

Re: [linux-usb-devel] [USB Storage] Problem on first mount after replug

2006-04-28 Thread Matthew Dharm
> Regards, > Patrick Agrain > > > > --- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Dow

[linux-usb-devel] Re: [usb-storage] Multi-interface devices

2006-02-23 Thread Matthew Dharm
3 years ago we had a single complaint about this problem from one vendor, who then stopped communicating with us about it. And, by that time, we had already decided to dump the remember-and-match behavior. So, it was just never a priority for fix in 2.4. Matt -- M

Re: [linux-usb-devel] Re: 2.6.15: usb storage device not detected

2006-02-18 Thread Matthew Dharm
and yes, it works > after that. Here's the hope that it is some kind of an urban legend. It's not an urban legend. There are several different devices which were all marketed as ZIP-100. The early generation ones had this problem. Matt -- Matthew Dharm

Re: [linux-usb-devel] Re: [PATCH] Adaptec USBXchange and USB2Xchange support

2006-01-30 Thread Matthew Dharm
y: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd

Re: [linux-usb-devel] Re: [PATCH] Adaptec USBXchange and USB2Xchange support

2006-01-30 Thread Matthew Dharm
Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd___ > linux-usb-devel@lis

[linux-usb-devel] Re: [Linux-usb-users] How to mount USB devices via hub - mknod parameters

2006-01-09 Thread Matthew Dharm
ourceforge.net > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver Way to go, lava boy. -- Stef to Greg User Friendly, 3/26/1998 pgpAFevjn8nsK.pgp Description: PGP signature

[linux-usb-devel] Re: 2.6.15: usb storage device not detected

2006-01-09 Thread Matthew Dharm
Turn off CONFIG_BLK_DEV_UB Matt On Tue, Jan 10, 2006 at 12:05:50AM +1100, CaT wrote: > Device works on two other linux boxes (an nvidia2 chipset and an intel > bx laptop chipset) aswell as windows boxes without extra drivers. > > On this VIA based box: > > :00:10.0 USB Controller: VIA Techn

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

2005-12-30 Thread Matthew Dharm
AIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> initializers.c | 73 + initializers.h |1 unusual_devs.h |5 +++ 3 files changed, 79 insertions(+) diff --git a/drivers/usb/storage/initializers.c b/drivers

Re: [linux-usb-devel] [PATCH] Force starget->scsi_level in usb-storage scsiglue.c

2005-12-18 Thread Matthew Dharm
l=linux-usb-devel&m=113331727523045&w=2 > > I think it's important that this be merged before 2.6.15 is released. > Otherwise a bunch of people are going to be annoyed when their USB disks > stop working. > > Alan Stern -- Matthew Dharm H

Re: [linux-usb-devel] Question concerning message sequence to usb storage

2005-12-17 Thread Matthew Dharm
> > > > with > > > > > this info that would be great. > > > > > > > > Here's a Linux 2.4 version, using an IDE device > > > > instead > > > > of USB, but it may help you some. > > > > > > > > > > http://www.win.tue.nl/~aeb/linux/vfs/trail.html > > > > --- > > ~Randy > > > > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > ___ > linux-usb-devel@lists.sourceforge.net > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver We can customize our colonels. -- Tux User Friendly, 12/1/1998 pgpDadPstnrmW.pgp Description: PGP signature

[linux-usb-devel] Re: [PATCH 2.6.14] usb-storage: sat passthru sense size compatibility

2005-12-08 Thread Matthew Dharm
> +++ b/drivers/usb/storage/usb.h > @@ -117,7 +117,7 @@ enum { US_DO_ALL_FLAGS }; > */ > > #define US_IOBUF_SIZE64 /* Size of the DMA-mapped I/O > buffer */ > -#define US_SENSE_SIZE 18 /* Size of the autosense data > buffer */ > +#defin

[linux-usb-devel] PATCH: update MAINTAINERS

2005-12-04 Thread Matthew Dharm
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]> Greg, please apply. Matt Index: linux-2.6.15-rc2/MAINT

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

2005-12-04 Thread Matthew Dharm
e of this common SmartMedia code, and get together with the MTD guys to share it with them as well. Signed-off-by: Daniel Drake <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Greg, please apply. Matt Index: linux-2.6.15-rc2/

[linux-usb-devel] PATCH as596: sddr09 cleanups

2005-12-04 Thread Matthew Dharm
differently from transfers that are partially within the device's capacity. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Acked-by: Andries Brouwer <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Greg, please apply. Matt Index: usb-2.6/drive

[linux-usb-devel] PATCH as595: sddr09 cleanups

2005-12-04 Thread Matthew Dharm
transport routine, but with the Sim-SCSI framework that routine will go away. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Acked-by: Andries Brouwer <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Greg, please apply. Matt Index: usb-2.6/drivers/us

[linux-usb-devel] PATCH as594: cleanups of sddr09

2005-12-04 Thread Matthew Dharm
ed-off-by: Alan Stern <[EMAIL PROTECTED]> Acked-by: Andries Brouwer <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> --- Index: usb-2.6/drivers/usb/storage/unusual_devs.h === --- usb-2.6.orig/drivers/u

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

2005-12-04 Thread Matthew Dharm
Management events, and it implements the hook in the OneTouch driver. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Nick Sillik <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Greg, please apply. Matt Index: usb-2.6/drivers

[linux-usb-devel] Re: HP iLO needs FSBR

2005-11-10 Thread Matthew Dharm
g the cycle in the > work-to-do list, thus keeping the controller busy with our > slow-to-respond transfers from iLO. If the uhci driver does break the > cycle in the work-to-do list, then our slow-to-respond transfers suffer > their normal slowness plus the additional end-of-f

[linux-usb-devel] Re: [PATCH resend] Add alauda usb-storage support

2005-10-29 Thread Matthew Dharm
; the previous generation of products ("sma03") did prove to be quite useful, > as did the sddr09 driver which also has to deal with low-level physical > block layout on SmartMedia. > > Please review and forward onto Greg if acceptable. > > Signed-off-by: Daniel D

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

2005-10-23 Thread Matthew Dharm
e) to exit asynchronously. Greg, please apply. Matt Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Index: usb-2.6/drivers/usb/storage/usb.h === --- usb-2.6.orig/drivers/

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

2005-10-23 Thread Matthew Dharm
"usb-storage", + .probe =storage_probe, + .disconnect = storage_disconnect, +#ifdef CONFIG_PM + .suspend = storage_suspend, + .resume = storage_resume, +#endif + .id_table = storage_usb_ids, +}; + static int __init usb_stor_init(void)

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

2005-10-23 Thread Matthew Dharm
cache-coherent DMA or (b) have DMA alignment restrictions. Greg, please apply. Matt Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Index: usb-2.6/drivers/usb/storage/usb.h ==

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

2005-10-23 Thread Matthew Dharm
ned-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Index: usb-2.6/drivers/usb/storage/transport.c === --- usb-2.6.orig/drivers/usb/storage/transport.c +++ usb-2.6/drivers/usb/s

[linux-usb-devel] Re: [usb-storage] usb: drivers/usb/storage/libusual

2005-10-08 Thread Matthew Dharm
see some ideas for the final solution, which would apply to HID devices with the same problem. I hate solving problems twice. It creates twice as much work for everyone, including distro folks and end-users. Let's figure this out as a more generic driver-binding problem for all drivers once

Re: [linux-usb-devel] Usb storage devices auto-promoted to scsi2 spec issue

2005-09-14 Thread Matthew Dharm
rpose of the flag could be to say "don't modify the cdb > in any way", a solution more general than just "don't add LUN info" That flag already exists. SG_FLAG_LUN_INHIBIT -- see sg.torque.net for details. Matt -- Matthew Dharm Hom

Re: [linux-usb-devel] Usb storage devices auto-promoted to scsi2 spec issue

2005-09-14 Thread Matthew Dharm
outright about this. > > > > Matt > > I don't suppose you might have an alternative solution for allowing > scsi0 devices to accept things like the SCSI-ATA passthru cdb unmangled > by LUN info then? What's the command source? If you're com

Re: [linux-usb-devel] Usb storage devices auto-promoted to scsi2 spec issue

2005-09-14 Thread Matthew Dharm
report itself as scsi0 if it actually > supports scsi3? Is it because the USB/ATA bridge spec doesn't support asking > the device it self, so the usb-subsystem just makes an (un? ;)-educated > guess? Or is it because it is possible, but the devices can't be trusted to > t

Re: [linux-usb-devel] Usb storage devices auto-promoted to scsi2 spec issue

2005-09-14 Thread Matthew Dharm
fo into cdb[ 1 ] ) That will break all the devices which report 0 but need 10-bit commands ala SCSI-II. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver I need a computer? -- Customer U

[linux-usb-devel] Re: [usb-storage] Creating two disks from a usb-storage subdriver

2005-09-08 Thread Matthew Dharm
ething else entirely. If you set max_lun to 1 and compile with SCSI_MULTI_LUN, are you seeing the SCSI scan for multiple LUNs? What your subdriver needs to do is to decode the lun field of the SRB to decide how to handle the device. As long as SCSI sees responses to INQUIRY commands with lu

Re: [linux-usb-devel] Genesys USB 2.0 enclosures

2005-09-04 Thread Matthew Dharm
the same problem. > > This one certainly goes into the Bizarro file. > > Just out of curiosity -- when you use the powered hub, does the drive work > even if you remove that delay completely? Aren't USB 2.0 hubs more "intelligent" as part of the requirement to

[linux-usb-devel] [EMAIL PROTECTED]: [PATCH as550] Fix messed-up locking]

2005-08-25 Thread Matthew Dharm
apply. Matt Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Index: usb-2.6/drivers/usb/storage/scsiglue.c === --- usb-2.6.orig/drivers/usb/storage/scsiglue.c +++ usb-2.6

Re: [linux-usb-devel] Re: [PATCH] USB: Fix HP8200 detection in shuttle_usbat

2005-08-10 Thread Matthew Dharm
. > > > >This patch (which has been tested on both flash and cdrom) removes some > >unnecessary code, moves device detection to much later during > >initialization, and introduces a new detection routine which appears to > >work. > > > >If acceptable, plea

[linux-usb-devel] Re: [Linux-usb-users] Looking for users to test Onetouch driver with more Maxtor Onetouch productIDs

2005-07-29 Thread Matthew Dharm
ve a different product ID than this > please send me an e-mail so I can send you a patch to test. > > Also, Greg KH and Matt Dharm: this is the best way to go about doing > this, n'est pas? Oui. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer

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

2005-07-28 Thread Matthew Dharm
of coping with that. Greg, please apply. Matt Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Index: usb-2.6/drivers/usb/storage/scsiglue.c === --- usb-2.6.orig/drivers/

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

2005-07-28 Thread Matthew Dharm
button. The button is connected to the input system. Greg, please apply. Matt Signed-off-by: Nick Sillik <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> diff -urN -x linux-2.6.13-rc1-mm1/Documentation/dontdiff linux-2.6.13-rc1-mm1/drivers/usb/storage/Kconfig

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

2005-07-28 Thread Matthew Dharm
efore_ calling scsi_remove_host. Greg, please apply. Matt Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Index: usb-2.6/drivers/usb/storage/usb.c === --- usb-2.6.ori

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

2005-07-28 Thread Matthew Dharm
host. After all, it's possible that scanning could have been initiated from somewhere else, such as userspace -- very low probability, but it's easily handled by calling the new subroutine. Greg, please apply. Matt Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by:

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

2005-07-28 Thread Matthew Dharm
> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Index: usb-2.6/drivers/usb/storage/usb.h === --- usb-2.6.orig/drivers/usb/storage/usb.h +++ usb-2.6/drivers/usb/storage/usb.h @@ -158,6 +158,7 @@ struct us_data {

[linux-usb-devel] Re: [RESEND PATCH] Add usability for the OneTouch Button on Maxtor OneTouch Hard Drives

2005-07-25 Thread Matthew Dharm
; Description: This patch adds usability to the OneTouch Button on Maxtor > External USB Hard Drives. Using an unusual device entry it declares an > extra init function which claims the interrupt endpoint associated with > this button. > > Signed-Off-By: Nick Sillik <[EMAIL PROTECT

[linux-usb-devel] Re: USB flash "drive" is not working sometimes

2005-06-16 Thread Matthew Dharm
> CONFIG_AUTOFS4_FS=m > CONFIG_ISO9660_FS=y > CONFIG_JOLIET=y > CONFIG_ZISOFS=y > CONFIG_ZISOFS_FS=y > CONFIG_UDF_FS=m > CONFIG_UDF_NLS=y > CONFIG_FAT_FS=y > CONFIG_MSDOS_FS=y > CONFIG_VFAT_FS=y > CONFIG_FAT_DEFAULT_CODEPAGE=437 > CONFIG_FAT_DEFAULT_IOCHAR

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

2005-06-06 Thread Matthew Dharm
-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Index: linux-2.6.12-rc5/drivers/usb/storage/scsiglue.c === --- linux-2.6.12-rc5.orig/drivers/usb/storage/scsiglue.c2005-06-05 21:49:1

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

2005-06-06 Thread Matthew Dharm
ff-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> = drivers/usb/storage/scsiglue.c 1.103 vs edited = Index: linux-2.6.12-rc5/drivers/usb/storage/scsiglue.c === --- linux-2.6.12-rc5

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

2005-06-06 Thread Matthew Dharm
et from 20 seconds to 5 seconds. If all goes well, then I've finally figured quilt out and this patch should apply cleanly. Greg, please apply. Matt Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> = drivers/usb/storage/

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

2005-04-25 Thread Matthew Dharm
ixes a compiler error caused by a missing prototype. It should apply directly to Greg KH's usb-2.6.git tree. Greg, please apply. Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> --- k/drivers/usb/storage/debug.c +++ l/drivers/usb/storage/debug.c @@ -47,6 +47,7 @@ #include #inc

Re: [linux-usb-devel] Re: [PATCH] Driver to Add Usability for Maxtor External Drives

2005-03-31 Thread Matthew Dharm
On Thu, Mar 31, 2005 at 09:35:44PM -0500, Nick Sillik wrote: > Matthew Dharm wrote: > > The SCSI messages bother me a little bit... > > > > They indicate to me that you're accessing the disk (mount, etc.) when you > > yank the cable. But, you don't men

Re: [linux-usb-devel] Re: [PATCH] Driver to Add Usability for Maxtor External Drives

2005-03-31 Thread Matthew Dharm
being written to one of my structures? > > Nick Sillik > [EMAIL PROTECTED] -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver You were using cheat codes too. You guys suck. -- Greg t

Re: [linux-usb-devel] Re: [PATCH] Driver to Add Usability for Maxtor External Drives

2005-03-24 Thread Matthew Dharm
ct Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > ___ >

Re: [linux-usb-devel] Re: [PATCH] Driver to Add Usability for Maxtor External Drives

2005-03-21 Thread Matthew Dharm
?ad_id=6595&alloc_id=14396&op=click > _______ > linux-usb-devel@lists.sourceforge.net > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel -- Matthew Dharm Home

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

2005-03-21 Thread Matthew Dharm
Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Matt # This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2005/03/21 00:36:29-08:00 [EMAIL PROTECTED] # as454b # # drivers/usb/storage/usb.h # 2005/03/21 00:35:43-08:00 [EMAIL PROTECTED]

[linux-usb-devel] Re: [PATCH] Driver to Add Usability for Maxtor External Drives

2005-03-19 Thread Matthew Dharm
e/usb.c 2005-03-11 18:22:11.0 > -0500 > @@ -87,7 +87,13 @@ > #ifdef CONFIG_USB_STORAGE_JUMPSHOT > #include "jumpshot.h" > #endif > - > +#ifdef CONFIG_USB_STORAGE_ONETOUCH > +#include "onetouch.h" > +#endif > +#ifndef CONFIG_USB_STORAGE_ONETOUCH > +

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

2005-03-19 Thread Matthew Dharm
_stor_exit must call wait_for_completion the appropriate number of times, and that number is stored in a new counter named total_threads. Greg, please apply. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Matt # This is a BitKeeper

[linux-usb-devel] PATCH: combine waitqueues

2005-03-19 Thread Matthew Dharm
will be no SCSI devices and hence no device resets. Once the scanning thread is done waiting, the waitqueue can be used by the reset logic -- so even if the act of scanning produces resets, we're fine. Greg, please apply. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Ma

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

2005-03-19 Thread Matthew Dharm
re we disconnect but not yet processed), the SCSI midlayer will cancel it automatically when we remove the host. Greg, please apply. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Matt # This is a BitKeeper generated diff -Nru style pat

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

2005-03-19 Thread Matthew Dharm
the disconnect callback. Greg, please apply. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Matt # This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2005/03/06 17:53:19-08:00 [EMAIL PROTECTED] # as474 # # drivers/us

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

2005-03-13 Thread Matthew Dharm
es an unusual_devs entry whose only purpose was to set one of those obsolete flags; apparently it got left behind when all the other uses of those flags were removed. Greg, please apply. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Matt # Th

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

2005-03-13 Thread Matthew Dharm
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. Greg, please apply. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL

[linux-usb-devel] PATCH: Header reorganization

2005-03-13 Thread Matthew Dharm
of struct us_data and struct scsi_cmnd, and it moves the inclusion of to usb.h where it will be needed by a later patch. Greg, please apply. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Matthew Dharm <[EMAIL PROTECTED]> Matt # This is a BitKeeper generated diff -Nru styl

Re: [linux-usb-devel] [PATCH] Add US_FL_GO_SLOW flag, and associated entries

2005-02-17 Thread Matthew Dharm
;t figured out how > to "get" the whole thing. I.e., it's all checked in, and 'bk get' > doesn't seem to be recursive. Without the whole thing, I can't copy a > .config in there and compile. But it's based on the latest greg-k

Re: [linux-usb-devel] Error with usb storage

2005-02-15 Thread Matthew Dharm
(6:0) > usb-storage: scsi cmd done, result=0x4 > usb-storage: *** thread sleeping. > usb-storage: queuecommand called > usb-storage: *** thread awakened. > usb-storage: Bad target number (7:0) > usb-storage: scsi cmd done, result=0x4 > usb-storage: *** thread sleepi

Re: [linux-usb-devel] write protection handling on usb-storage devices

2005-02-09 Thread Matthew Dharm
On Wed, Feb 09, 2005 at 11:49:42AM -0500, Alan Stern wrote: > On Wed, 2 Feb 2005, Matthew Dharm wrote: > > > On Wed, Feb 02, 2005 at 11:57:57AM -0500, Alan Stern wrote: > > > Below is a patch for 2.6.11-rc2 that makes write-protect detection into a > > > mod

Re: [linux-usb-devel] Re: [PATCH as447] Re: [ak@suse.de: [PATCH] Fix EHCI boot oops on AMD 8111]

2005-02-08 Thread Matthew Dharm
On Tue, Feb 08, 2005 at 05:46:02PM -0800, Matthew Dharm wrote: > On Tue, Feb 08, 2005 at 05:40:00PM -0800, Randy.Dunlap wrote: > > I wrote code to turn off the 0x80 bit at PCI config space offset 0x47 > > in DevB, or at least I think I did, but it's not working. Is it bei

Re: [linux-usb-devel] Re: [PATCH as447] Re: [ak@suse.de: [PATCH] Fix EHCI boot oops on AMD 8111]

2005-02-08 Thread Matthew Dharm
working for you? I haven't tried it yet... But, you probably need to use lspci with -H1, or it will just read the kernel's (effectively) cached copy of the data the BIOS passed to it originally. Matt -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer,

  1   2   3   4   5   6   7   8   >