Re: [Ftdi-usb-sio-devel] ftdi_sio ttyUSB0: ftdi_set_termios FAILED to set databits/stopbits/parity
Brought to you by:
bryder
From: Bill R. <bil...@gm...> - 2014-12-23 21:59:52
|
Hi there, It looks like that device is not compatible with ftdi_sio When you are searching for this kind of problem you should look for: usb vid 1a86 pid 7523 The vendor id (vid) and product id (pid) are the keys to figuring out what drive you need. Look at this; http://ubuntuforums.org/showthread.php?t=921409 According to that ubuntu link it's a ch341 device so you want a driver for that. --- Bill On Wed, Dec 24, 2014 at 3:13 AM, <jen...@we...> wrote: > 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 > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > _______________________________________________ > Ftdi-usb-sio-devel mailing list > Ftd...@li... > https://lists.sourceforge.net/lists/listinfo/ftdi-usb-sio-devel > |