hoi :) On Thu, Nov 04, 2004 at 04:43:30PM +0900, Tejun Heo wrote: > Two files named attach and detach are created under each device's > sysfs directory. Reading attach node shows the name of applicable > drivers. Writing a driver name attaches the device to the driver. > Also, per-device parameters can be specified when writing to an attach > node. Writing anything to the write-only detach node detaches the > driver from the currently associated driver. perhaps it'll be simpler with only the attach file and using a special magic value ("", "none", "detach", whatever) to manually detach a device from the driver. Is it possible (and worthwhile) to reattach a manually detached device to the default driver? Perhaps using a magic value "auto" for attach. Something like your dev.autoattach=2 rescan method, but for one device only. (What is the use case to rescan all busses, anyway?) -- Martin Waitz