On Wed, 14 May 2014, Greg KH wrote: > > > Or just make the lvstest driver have to be "manually" bound to the > > > device through the bind file in sysfs, don't let the driver > > > automatically bind to anything. > > > > How can we do that? The probe routine doesn't know whether it was > > called as a result of automatic or manual binding. This was Bj� > > point. > > Don't put the device id in the driver structure. Then the core will > never call the probe function unless manually asked to from the sysfs > file interface. But then manual probing won't work either, because drivers/base/bus.c:bind_store() tests driver_match_device(dev, drv) before it will allow the probe to proceed. If the driver has no device id table then the match will fail. Alan Stern -- 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