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: gi...@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!
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il