# # USB-to-Serial Modem Notes # # Paul Littlefield # # 2006-04-07 22:28:50 # # Plug the USB device into the computer and run the 'lsusb' program from the 'usbutils' package: > lsusb Bus 002 Device 001: ID 0000:0000 Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub Bus 001 Device 001: ID 0000:0000 # Build a new kernel including the following drivers: > cd /usr/src/linux > make menuconfig Device Drivers ---> USB support ---> USB Serial Converter support ---> <*> USB Serial Converter support <*> USB Prolific 2303 Single Port Serial Driver > make && make modules_install # Reboot and check the kernel log for correct messages: > dmesg |grep -i 'usb usbcore: registered new driver usbserial drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 drivers/usb/serial/usb-serial.c: USB Serial support registered for PL-2303 usb 1-2.2: PL-2303 converter now attached to ttyUSB0 usbcore: registered new driver pl2303 drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.12 # Create the character node device: > mknod /dev/ttyUSB0 c 188 0 # Test modem by sending standard command: > echo atz > /dev/ttyUSB0 # For further testing, install the 'minicom' package: > emerge -av net-dialup/minicom > minicom -s Serial port setup A - Serial Device : /dev/ttyUSB0 Save setup as dfl Exit from Minicom > minicom ATI3 TP560 Data/Fax/Voice 56K Modem CTRL-A Z X