Re: [linux-usb-devel] [usb-storage] [PATCH] usb-storage: Add US_FL_IGNORE_DEVICE flag; ignore ZyXEL G220F

2006-07-27 Thread Phil Dibowitz
Daniel Drake wrote: > This patch adds a new unusual_devs flag for when usb-storage needs to ignore > a device that it would otherwise claim. > > We need to ignore the ZyXEL G220F as it is a virtual CDROM drive which > includes the windows driver for this USB-WLAN adapter. After the windows > drive

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: > Alan Stern wrote: >

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

2006-07-24 Thread Daniel Drake
Alan Stern wrote: In general the idea looks okay to me, but I would change the details in storage/usb.c. Check for US_FL_IGNORE_DEVICE in the get_device_info() routine, and make that routine return int instead of void. If the flag is present you can simply return -ENODEV. Then in storage_pr

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

2006-07-24 Thread Alan Stern
On Sun, 23 Jul 2006, Daniel Drake wrote: > Matthew Dharm wrote: > > I think that is a better approach than your patch. Perhaps the zd1211rw > > driver could know the VID/PID of the fake CD-ROM to attach to it and send > > the fake eject command. The usb-storage (and probably ub) would just have

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

2006-07-22 Thread Daniel Drake
Matthew Dharm wrote: I think that is a better approach than your patch. Perhaps the zd1211rw driver could know the VID/PID of the fake CD-ROM to attach to it and send the fake eject command. The usb-storage (and probably ub) would just have to ignore the device. Ok, I've handled the zd1211rw

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

2006-07-18 Thread Alan Stern
On Tue, 18 Jul 2006, Matthew Dharm wrote: > On Tue, Jul 18, 2006 at 05:01:32PM +0100, Daniel Drake wrote: > > Alan Stern wrote: > > >Wouldn't it be easy enough to write a user program to send the necessary > > >command URB via usbfs? > > That seems more reasonable. > > > That aside, it's not som

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

2006-07-18 Thread Glenn Maynard
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 the 5 > > second delay_use pause, the device gets bored and disconnects itself. It >

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

2006-07-18 Thread Pete Zaitcev
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 the 5 > second delay_use pause, the device gets bored and disconnects itself. It > then reconnects and the process repeats. Bias it to ub :-) -- Pete

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

2006-07-18 Thread Matthew Dharm
On Tue, Jul 18, 2006 at 05:01:32PM +0100, Daniel Drake wrote: > Alan Stern wrote: > >Wouldn't it be easy enough to write a user program to send the necessary > >command URB via usbfs? That seems more reasonable. > That aside, it's not something that really makes sense to do in > userspace - the

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

2006-07-18 Thread Daniel Drake
Alan Stern wrote: > Wouldn't it be easy enough to write a user program to send the necessary > command URB via usbfs? Well, not really. This device does a bad job at emulating a CDROM and I haven't yet found a way to keep it attached to the system in stable fashion. When you plug the device in,

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

2006-07-18 Thread Alan Stern
On Tue, 18 Jul 2006, Daniel Drake wrote: > How's that for a confusing subject line? > > ZyDAS offer a special flavour of their ZD1211 USB 802.11 network adapters, > where the device appears as a USB mass storage CDROM drive when you plug it > in. The fake CDROM includes the windows driver, which

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

2006-06-24 Thread Matthew Dharm
On Sat, Jun 24, 2006 at 05:27:10PM -0700, Phil Dibowitz wrote: > This patch adds a US_FL_MAX_SECTORS_64 and removes the Genesys special-cases > for this that were in scsiglue.c. It also adds the flag to other devices > reported to need it. > > Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> This

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

2006-06-24 Thread Matthew Dharm
On Sat, Jun 24, 2006 at 05:27:54PM -0700, Phil Dibowitz wrote: > This patch adds the kernel version to the usb-storage Protocol/SubClass > unneeded message in order to help us troubleshoot such problems. > > Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> This looks good. Greg, please apply. M

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

2005-10-18 Thread Simeon Simeonov
Hello Alan, 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. Cheers, Simeon __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.co

Re: [linux-usb-devel] usb-storage patch

2004-04-14 Thread Pete Zaitcev
On Wed, 14 Apr 2004 17:46:14 +0200 Kevin Price <[EMAIL PROTECTED]> wrote: > On April 8th, I've submitted a patch for the usb-storage drivers > enabling an otherwise unwilling digital still image camera. Kevin, there's no way anyone remembers what you sent on April 8th if immediate action wasn't

Re: [linux-usb-devel] usb-storage patch

2004-04-14 Thread Alan Stern
On Wed, 14 Apr 2004, Kevin Price wrote: > Hi all! > > On April 8th, I've submitted a patch for the usb-storage drivers > enabling an otherwise unwilling digital still image camera. > > Is anything happening about this? MAINTAINERS points usb-storage traffic > to this mailing list, but maybe th

[linux-usb-devel] usb-storage patch

2004-04-14 Thread Kevin Price
Hi all! On April 8th, I've submitted a patch for the usb-storage drivers enabling an otherwise unwilling digital still image camera. Is anything happening about this? MAINTAINERS points usb-storage traffic to this mailing list, but maybe the usb-storage at oneyedalien would be a more appropria

[linux-usb-devel] usb-storage patch to support JMTek USBDrive

2002-01-05 Thread Brian Hall
Submitted for your approval, attached is a patch to support the JMTek USBDrive 2.0 (http://www.usbdrive.com/productinfo.html). The earlier "flashdrive" model is not covered by this, as it is not mass storage compliant. I tested the 32MB model with kernel 2.4.17, and it works fine. Write-prote