Google
  Web www.spinics.net

Re: receiving USB hotplug notifications on gadgets

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


On Tue, 31 Oct 2006 rockwell618@xxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

Powered by Linux