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:

> Found it!!!!
> 
> It woks within usbfs (/proc/bus/usb/999/999) and not within udev
> (/dev/bus/usb/999/999).
> 
> Alan, I can see that in 2.6.28 at commit [1] you tried to make the
> kernel behave correctly for /dev/bus/usb devices.
> 
> But apparently it does not work for me, can you please instruct me how
> to use your modification so that systems with udev and without usbfs
> will be able to detect device disconnect?

As I said earlier, both ways work on my system.  I have no idea what's 
going wrong on your machine.

However, you should realize that every Linux system that supports usb 
has usbfs.  All you need to do is mount /proc/bus/usb if it isn't 
already mounted.

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