serial_linux_en

Back to Top
English | Japanese

Recognize URG device(Linux)

USB connection

URG is recognized as /dev/ttyACMx when USB is connected. Use dmesg command ,to confirm how URG is recognized?

% dmesg
... (abbreviation) ...
[ 2822.168000] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 2822.328000] usb 3-1: configuration #1 chosen from 1 choice
[ 2822.440000] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
[ 2822.444000] usbcore: registered new interface driver cdc_acm
[ 2822.444000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/cdc-acm.c:
 v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters 

From the above messages you come to know that, it is recognized as ttyACMO using cdc_acm module.

Serial connection

Even when URG's serial connector is connected to directly to PC, it is recognized as /dev/ttyACMx.
However, USB to Serial convertor is used as in PC <=> USB-Serial Convertor <=> URG's serial connector to establish connection, then Linux will recognize USB-Serial convertor and device name will be /dev/ttyUSBx or /dev/usb/ttyUSBx. To search for the Basic device name use dmesg.


Related

Wiki: serial_en
Wiki: serial_linux_jp
Wiki: serial_mac_en
Wiki: top_en