[Ftdi-usb-sio-devel] ftdi_sio ttyUSB0: ftdi_set_termios FAILED to set databits/stopbits/parity
Brought to you by:
bryder
From: <jen...@we...> - 2014-12-23 14:13:55
|
Hallo, I want to programm an "Arduino Nano" from a Thinkpad T420 running Gentoo Linux (Kernel: 3.16.5-gentoon und ftdi & co build as modul, 64bit) This happens * Arduino plugged: [ 184.188033] usb 2-1.1: new full-speed USB device number 4 using ehci-pci [ 184.274623] usb 2-1.1: New USB device found, idVendor=1a86, idProduct=7523 [ 184.274636] usb 2-1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 184.274643] usb 2-1.1: Product: USB2.0-Serial => OK * modprobe ftdi-sio: [ 245.363725] usbcore: registered new interface driver usbserial [ 245.363785] usbcore: registered new interface driver usbserial_generic [ 245.363839] usbserial: USB Serial support registered for generic [ 245.366834] usbcore: registered new interface driver ftdi_sio [ 245.366872] usbserial: USB Serial support registered for FTDI USB Serial Device => OK * it does not recognize the device, so it needs a little help: * echo 1a86 7523 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id [ 259.876146] ftdi_sio 2-1.1:1.0: FTDI USB Serial Device converter detected [ 259.876300] usb 2-1.1: Detected FT8U232AM [ 259.876310] usb 2-1.1: Number of endpoints 3 [ 259.876319] usb 2-1.1: Endpoint 1 MaxPacketSize 32 [ 259.876328] usb 2-1.1: Endpoint 2 MaxPacketSize 32 [ 259.876336] usb 2-1.1: Endpoint 3 MaxPacketSize 8 [ 259.876344] usb 2-1.1: Setting MaxPacketSize 8 [ 259.876531] ftdi_sio ttyUSB0: Unable to read latency timer: -32 [ 259.876906] ftdi_sio ttyUSB0: Unable to write latency timer: -32 [ 259.877099] usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB0 => OK * via "arduino"-IDE (last Beta 1.5.8 binary from arduino.cc) * Preferences: Board: Arduini Nano, Programmer: avrisp mkII, Port: /dev/ttyUSB0 * load any example-programm to the board: [ 324.258430] ftdi_sio ttyUSB0: ftdi_set_termios FAILED to set databits/stopbits/parity [ 324.258769] ftdi_sio ttyUSB0: ftdi_set_termios urb failed to set baudrate [ 324.259146] ftdi_sio ttyUSB0: urb failed to clear flow control [ 324.259891] ftdi_sio ttyUSB0: ftdi_set_termios urb failed to set baudrate [ 324.260278] ftdi_sio ttyUSB0: urb failed to clear flow control [ 324.260645] ftdi_sio ttyUSB0: failed to get modem status: -32 [ 324.511185] ftdi_sio ttyUSB0: failed to get modem status: -32 [...] => NOT OK I can see the RX-led on the Arduino-board flashing - some informations seem to be sent to the device. On a Ubuntu 12.04 machine it all works without any problems - I can upload programs to the Arduino - so the hardware of the Arduino is ok. I could not find some helpful info at Google. Only the hint to press the reset-button on the board immetially before upload. But it does not help. Is there anybody who can give me a hint? Is it a Gentoo related problem? How can I check health of the tty USB0-device? whit helpless regards Jens |