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, 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. I tried reducing the delay_use parameter, which made the device connect and get identified as a CDROM, but then it got very confused over media state, then the device disconnected itself after a few seconds. About 10 secs later, the device reconnects itself, and the whole thing repeats. 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? Daniel ------------------------------------------------------------------------- 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