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 zd1211rw driver doesn't require any zd1211-specific > software, and it wouldn't be realistic to do something like this inside > iwconfig. The quirk is simple and it allows the kernel to actually > provide a wireless device after a wireless adapter is plugged in. I'm > happy to consider alternative approaches though - perhaps we could just > get usb-storage to ignore it, and have another standalone driver perform > the quirk or something like that? 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. Regardless, dealing with this device is very much outside the scope of usb-storage. That is, unless you want to fix usb-storage 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! -- ESR and Lan Solaris User Friendly, 12/8/1998
pgpYGhLsQCvnn.pgp
Description: PGP signature
------------------------------------------------------------------------- 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 IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel