On 1/1/09, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > On Thu, 1 Jan 2009, Alon Bar-Lev wrote: > > > > On 1/1/09, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > > > Ooh, yes, that's right. I had forgotten that usbfs is a Kconfig > > > option. If you don't set CONFIG_USB_DEVICEFS then you don't get usbfs. > > > But you should still get the disconnect signal -- that's what the > > > commit you found was supposed to fix. > > > > Can you please verify that it works at your system without CONFIG_USB_DEVICEFS? > > I just tried it. You're right; it doesn't work. Oh... great! So I did not waste about 8 hours of thinking something wrong with me :) Will you support this mode? > > > There _is_ a loss of functionality. Without CONFIG_USB_DEVICEFS you > > > don't get /proc/bus/usb/devices. > > > > Of course :) > > But anything can be gotten from sysfs, right? > > > Sort of. But having it in simple text form is very convenient; sysfs > does not make the information in /proc/bus/usb/devices available in > text form. True, but usermode tools can bridge this gap... I think that the usbfs is somewhat leftover from the time the kernel did not support hotplug correctly. Thank you, Alon. -- 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