On Thu, 17 Jun 2004, Yoichi Aso wrote: > Hello, > > I want to do a little bit tricky thing. > What I want to do is to make the usb-storage driver release only a > certain usb-mass-storage (umass) device while other umass devices not > affected.
Yes it is possible, but I don't know of any programs to do it for you, which means you'll have to write your own program. The key is to use the USBDEVFS_DISCONNECT ioctl call. Open the correct device file /proc/bus/usb/BBB/DDD and send that ioctl. It will unbind whichever kernel driver is currently bound to the device, leaving it available for someone else to use. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
