On Tue, 31 Oct 2006 [EMAIL PROTECTED] wrote:

> Alan,
> 
> Uh-oh, that's bad news.  Rather than relying on notifications I
> suppose I could create a simple daemon that watched for the presence
> of certain indicators that a USB connection has been made or broken on
> the gadget.  I could, that is, if I knew of any such indicators.
> 
> Are you aware of any system or driver state information that I could
> poll periodically to infer the presence/absence of a USB connection?

There isn't any.

But feel free to submit a patch adding a pollable sysfs attribute file or 
a uevent notifier.  Ideally the same interface should be added to each 
of the USB device controller drivers.

Alan Stern


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to