Re: Cannot make USBDEVFS_DISCSIGNAL work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

> > 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.

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux