What USB port am I connected to?

Nils Kassube kassube at gmx.net
Fri Nov 2 08:43:14 UTC 2007


Alex Janssen wrote:
> I want to communicate with a serial device over the USB that is not a
> recognized device.  It is a PLC(programmable logic controller). How do
> I tell which USB device file to open?  i.e.; /dev/bus/usb/002/001 or
> 002... .  Is there a way to tell what I'm plugged into?  Is there a USB
> howto for programmers?

I suppose you want to install package libusb-dev and then read the doc 
in /usr/share/doc/libusb-dev/html/index.html.


Nils




More information about the ubuntu-users mailing list