I recently upgraded to ubuntu 12.04 from 10.04. Under 10.04 I had no trouble using usbserial driver to connect to a device through the serial port. After the upgrade usually I cannot reset the baud rate: it is initialized to 9600, but my device needs 115200. When I try to reset the speed I get:
$ sudo stty -F /dev/ttyUSB0 speed 9600 baud; line = 0; -brkint -imaxbel $ sudo stty -F /dev/ttyUSB0 115200 stty: /dev/ttyUSB0: unable to perform all requested operations $ sudo setserial -av /dev/ttyUSB0 Cannot get serial info: Invalid argument $ ls -l /dev/ttyUS* crw-rw---- 1 root dialout 188, 0 Nov 26 10:21 /dev/ttyUSB0 crw-rw---- 1 root dialout 188, 1 Nov 26 10:21 /dev/ttyUSB1 The oddest thing is that I have gotten this to work on occasion. The first time I rebooted the system, and it worked. After a shutdown it had the same problem and rebooting did not work, but reloading the driver did. Unfortunately this has not worked since:
$ sudo modprobe -r usbserial $ sudo modprobe usbserial vendor=0x0403 product=0x6001 $ sudo stty -F /dev/ttyUSB0 115200 stty: /dev/ttyUSB0: unable to perform all requested operations