Results 1 to 5 of 5

Thread: FTDI USB Breakout driver on Ubuntu

  1. FTDI USB Breakout driver on Ubuntu

    Hi guys,

    I have problems installing the FTDI USB basic breakout drivers on Ubuntu. I have gone to http://www.ftdichip.com/Drivers/, downloaded the FTDI driver of Linux 64bit version 1.5.0(Since my laptop CPU is intel Centrino 2, i believe it is 64bit). Then i extract the ftdi_sio.tar.gz. After i start the terminal, and enter the folder, there are 4 files there: ftdi_sio.c, ftdi_sio.h, Makefile, and Rules.make. So i type "make", thousands of errors pop out. Here is just a copy of the last piece:

    ftdi_sio.c:1785: error: ‘struct usb_serial_port’ has no member named ‘tty’
    ftdi_sio.c:1806: error: ‘struct urb’ has no member named ‘actual_length’
    ftdi_sio.c:1840: warning: type defaults to ‘int’ in declaration of ‘_min2’
    ftdi_sio.c:1840: error: ‘struct urb’ has no member named ‘actual_length’
    ftdi_sio.c:1933: error: ‘struct usb_serial_port’ has no member named ‘open_count’
    ftdi_sio.c:1950: error: ‘struct urb’ has no member named ‘transfer_buffer_length’
    ftdi_sio.c:1955: error: expected ‘)’ before ‘KBUILD_MODNAME’
    ftdi_sio.c: In function ‘ftdi_break_ctl’:
    ftdi_sio.c:1984: error: expected ‘)’ before ‘KBUILD_MODNAME’
    ftdi_sio.c: In function ‘ftdi_set_termios’:
    ftdi_sio.c:2001: error: ‘struct usb_serial_port’ has no member named ‘tty’
    ftdi_sio.c:2016: error: ‘struct usb_serial_port’ has no member named ‘tty’
    ftdi_sio.c:2053: error: expected ‘)’ before ‘KBUILD_MODNAME’
    ftdi_sio.c: In function ‘ftdi_tiocmget’:
    ftdi_sio.c:2166: error: expected ‘)’ before ‘KBUILD_MODNAME’
    ftdi_sio.c:2185: error: expected ‘)’ before ‘KBUILD_MODNAME’
    ftdi_sio.c: In function ‘ftdi_ioctl’:
    ftdi_sio.c:2236: error: ‘current’ undeclared (first use in this function)
    make: *** [ftdi_sio.o] Error 1

    I don't know if i have miss installing some other package or not. Any suggestion would be really appreciated.

  2. #2
    Join Date
    Apr 2009
    Location
    Stanford, CA USA
    Posts
    590
    Rep Power
    49

    Re: FTDI USB Breakout driver on Ubuntu

    Hi Xi,

    I did not have to install any special drivers to use the FTDI USB board with the ArbotiX under Ubuntu 10.04. It simply shows up as /dev/ttyUSB0 or /dev/ttyUSB1 depending one whether or not I also have the Serializer connected via USB. No doubt you have already checked this, but be sure you plug the FTDI connector to the ArbotiX with the correct orientation (look for the GRN and BLK pin identifiers on both and line them up.) Also, you need to set the baud rate to 38400 unless you have changed it in the ArbotiX firmware. (I'm actually using 57600 because I did change it in the ArbotiX firmware.)

    --patrick
    The Pi Robot Project
    http://www.pirobot.org

  3. #3
    Join Date
    May 2008
    Posts
    2,228
    Images
    155
    Rep Power
    127

    Re: FTDI USB Breakout driver on Ubuntu

    I believe since Ubuntu version 4, the FTDI drivers have been built in. Just try connecting the device and see if it works.

    -Fergs

  4. #4
    Join Date
    May 2008
    Location
    TN
    Posts
    853
    Images
    99
    Rep Power
    73

    Re: FTDI USB Breakout driver on Ubuntu

    Yeah they have been in the Kernel since 2.4.
    "If A is a success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
    -
    Einstein

    Don't be a HelpVampire

  5. Re: FTDI USB Breakout driver on Ubuntu

    Kay..I got it. Thanks guys.

    Xi

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. RB110 FTDI Driver Com 5 and 6
    By kiwibrisa in forum Arbotix, Microcontrollers, Arduino
    Replies: 1
    Last Post: 09-23-2010, 01:16 AM
  2. Question(s) ArbotiX, XBee and The FTDI Basic Breakout
    By Robonaut in forum Arbotix, Microcontrollers, Arduino
    Replies: 4
    Last Post: 02-27-2010, 08:22 PM
  3. Question(s) Installing VCP Driver crashed my USB Ports??
    By Alex in forum Off Topic
    Replies: 30
    Last Post: 07-24-2008, 05:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •