On Thu, Dec 17, 2009 at 02:02:41PM +0100, Oliver Neukum wrote: > Am Mittwoch, 16. Dezember 2009 20:52:58 schrieb Matthew Dharm: > > > > If this is the case, then the only reasonable answer to is to push the > > > > modeswitch code for both into udev and out of the kernel. It will take > > > > > > you mean usb_modeswitch, not udev actually. > > > > That is correct; I had mis-typed. Tho, the actual implementation is udev > > calling usb_modeswitch and/or eject. > > Can storage tell the devices apart so that it knows which ones to leave > to the kernel solution and which devices to accept so that udev can > issue an eject command? Maybe. Depends on how identical the devices are. We would need to compare descriptors between the two devices. Matt -- Matthew Dharm Home: mdharm-usb@xxxxxxxxxxxxxxxxxx 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
Attachment:
pgpBVQccFAKfM.pgp
Description: PGP signature