Matthew Dharm schrieb: > On Sat, Oct 17, 2009 at 11:34:07AM -0400, Alan Stern wrote: > >> On Sat, 17 Oct 2009, Oliver Neukum wrote: >> >> >>> Am Samstag, 17. Oktober 2009 15:14:28 schrieb Frank Schaefer: >>> >>>> I can think of multiple solutions for this, my first questions are: >>>> Is there already a common solution for these devices in the kernel ? >>>> How widespread is this bad habit of device-design ? So far, the only >>>> devices I know are >>>> >>> This is usually handled by the modeswitch tool outside the kernel. >>> >> Alternatively, you may be able to force the device to switch modes by >> running the "eject" program on it. >> >> There is mode-switching code in the kernel for a few devices. The >> current trend is to move this out of the kernel and let user programs >> be responsible for it. >> > > If you go with the current trend, then you probably will want to write some > UDEV rules to recognize these devices and issue the mode-changing command > (either modeswitch or eject). > > Matt > Thanks for your replies, I really didn't know that there are so many devices showing this behavior. On Windows, AVM does the fast-eject for its devices with a small filter-driver avmeject.sys. I will try to find out the "magic sequence" needed for the mode-switch with a USB-logger. Regards, Frank -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html