[libhid-discuss] Need API for identifying the port no to which the usb device is connected

Charles Lepple clepple at ghz.cc
Tue Jun 24 11:48:44 UTC 2008


On Jun 24, 2008, at 7:44 AM, shivaprasad javali wrote:

> So the only way for me to get the port no the USB is attached to is  
> to parse the /proc/bus/usb/devices file(If it exists)??

Read the reply from Peter Stuge about /sys/bus/usb/devices.

Nothing is stopping you from using functions outside the libhid API.

-- 
Charles Lepple
clepple at ghz.cc




More information about the libhid-discuss mailing list