配置: 1、linux 2.6内核已经支持UBS转RS232,查看设备情况: rixin@rixin-laptop:~/work/linuxApp/src/serial/serial-v1.0$ dmesg | grep usb [ 0.224813] usbcore: registered new interface driver usbfs [ 0.224813] usbcore: registered new interface driver hub [ 0.224813] usbcore: registered new device driver usb [ 1.013083] usb usb1: configuration #1 chosen from 1 choice [ 1.032078] usb usb2: configuration #1 chosen from 1 choice [ 1.032364] usb usb3: configuration #1 chosen from 1 choice [ 1.032605] usb usb4: configuration #1 chosen from 1 choice [ 1.032840] usb usb5: configuration #1 chosen from 1 choice [ 1.033080] usb usb6: configuration #1 chosen from 1 choice [ 1.033307] usb usb7: configuration #1 chosen from 1 choice [ 1.033541] usb usb8: configuration #1 chosen from 1 choice [ 1.344065] usb 2-6: new high speed USB device using ehci_hcd and address 2 [ 1.485430] usb 2-6: configuration #1 chosen from 1 choice [ 15.206820] input: Integrated Camera as /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.0/input/input7 [ 15.206870] usbcore: registered new interface driver uvcvideo [ 2130.608098] usb 6-2: new full speed USB device using uhci_hcd and address 2 [ 2130.767422] usb 6-2: configuration #1 chosen from 1 choice [ 2130.824649] usbcore: registered new interface driver usbserial [ 2130.824754] usbcore: registered new interface driver usbserial_generic [ 2130.824759] usbserial: USB Serial Driver core [ 2130.844215] usb 6-2: pl2303 converter now attached to ttyUSB0 [ 2130.844249] usbcore: registered new interface driver pl2303