USB gadget linux connection

USB gadget linux connection

Gilad Ben-Yossef gilad at codefidence.com
Sun Feb 8 14:45:22 IST 2009


Moshe Gorohovsky wrote:

> Hi all,
>
> How to detect USB gadget linux connection to another host?
>
> Are there /sys or /proc files that I can see from them, if the system is
> connected to another host, via a USB cable?
>
> - Moshe
>
>   

You get a hotplug event when a new USB host is connected.

See: http://linux.die.net/man/8/hotplug

Gilad

-- 
Gilad Ben-Yossef 
Chief Coffee Drinker

Codefidence Ltd.
The code is free, your time isn't.(TM)

Web:    http://codefidence.com
Email:  gilad at codefidence.com
Office: +972-8-9316883 ext. 201
Fax:    +972-8-9316885
Mobile: +972-52-8260388

	The Doctor: Don't worry, Reinette, just a nightmare. 
	Everyone has nightmares. Even monsters from under the 
	bed have nightmares, don't you, monster?
	Reinette: What do monsters have nightmares about?
	The Doctor: Me! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090208/e483115e/attachment.html>


More information about the Linux-il mailing list