Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Deutsches Forum (German) Diskussionsforum
  • Search

Probleme mit ftdi-sio

Unterhaltung über Gentoo und andere Themen: Alles was nicht in ein Support-Forum gehört.
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Author
Message
pummel
n00b
n00b
Posts: 11
Joined: Tue Jul 18, 2006 9:24 am

Probleme mit ftdi-sio

  • Quote

Post by pummel » Mon Dec 22, 2014 5:09 pm

Hallo,

ich möchte einen Arduino Nano von einem Thinkpad T420 aus programmieren. Das geht via usbserial. Aber wohl leider nicht unter Gentoo :-(
(Kernel: 3.16.5-gentoon und ftdi & co als Modul gebaut, 64bit)


Das hier passiert:

* Arduino angesteckt:
[ 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

* erkennt das Gerät nicht selber; Nachhelfen:
* 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 (letzte Beta 1.5.8 als fertiges Paket gezogen)
* Board: Arduini Nano, Programmer: avrisp mkII, Port: /dev/ttyUSB0
* irgendein Beispielprogramm laden:
[ 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
[...]
=> NICHT OK

Der Upload läuft ins Leere. avrdude sagt lapidar:
...
ioctl("TIOCMGET"): Input/output error
ioctl("TIOCMGET"): Input/output error
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
...

Das ganze in einem Ubuntu 12.04 klappt auf Anhieb - Hardware ist also OK

Was sagt mit das ganze ftdi_sio - Zeugs? was kann ich wo beeinflussen? Google habe ich schon rauf und runter, da ist nichts für mich verwertbares dabei.
Hat wer Erfahrungen damit und kann mir helfen?
Top
pummel
n00b
n00b
Posts: 11
Joined: Tue Jul 18, 2006 9:24 am

  • Quote

Post by pummel » Thu Dec 25, 2014 6:20 pm

Der Zauber ist, daß der im Arduino Nano verbaute usb-serial-Konverter ein "CH341" ist. Dieser hat einen eigenen Treiber "ch341". Der von mir im Auge gehaltenen "ftdi_sio" war einfach der Falsche!
Top
Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Diskussionsforum”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic