LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2015, 01:31 AM   #1
chicken dance
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 32

Rep: Reputation: Disabled
How do i install FTDI drivers in Debian?


Hi all

I need help with the above topic as i have followed the instructions on the FTDI website but have had no luck in getting my device to communicate with my machine. dmesg reports it has found the device at ttyusb0 and recognises it as a FTDI device, but when i scan my ports with my program it does not detect it. the program is Tuner Studio and my device is a Megasquirt EFI controller.

thanks,

Last edited by chicken dance; 01-26-2015 at 08:14 PM.
 
Old 01-26-2015, 07:43 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,391

Rep: Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652
I'm not familiar with either the hardware or software...

Are you using EFIs shielded USB to serial port adapter? With the information provided it appears that the device is recognised correctly. Is the error specific to the serial port or not finding the controller? Can you configure tunerstudio with the device ID vs only scanning?

Have you verified or tried using the serial adapter, controller on another system or with windows?

Have you verified the adapter works separately from the controller? Using minicom and a loopback adapter if you can see what you type then all should be working correctly. You can use any serial port settings.

Are you plugging the adapter straight into the controller or using a second cable? If so have you verified that cable is the correct type and working?

I assume the controller is working.
 
Old 01-26-2015, 08:33 AM   #3
chicken dance
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I'm not familiar with either the hardware or software...

Are you using EFIs shielded USB to serial port adapter? With the information provided it appears that the device is recognised correctly. Is the error specific to the serial port or not finding the controller? Can you configure tunerstudio with the device ID vs only scanning?

Have you verified or tried using the serial adapter, controller on another system or with windows?

Have you verified the adapter works separately from the controller? Using minicom and a loopback adapter if you can see what you type then all should be working correctly. You can use any serial port settings.

Are you plugging the adapter straight into the controller or using a second cable? If so have you verified that cable is the correct type and working?

I assume the controller is working.
I have confirmed my hardware is working as it works with Windows on the bench. It seems as though I don't get assigned a com port for my device @ ttyusb0. I would assume that is what the driver's are supposed to do? The controller is built into my device and works with Windows and supposedly linux. Linux finds the hardware and knows what it is, but can't or won't open communication with it. Could it be a permissions problem? I will try and set the address manually and see if that works.

Thanks,
 
Old 01-26-2015, 08:53 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,391

Rep: Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652Reputation: 1652
/dev/ttyUSB0 is the "com" port. Yes, it could be a permission problem.
 
Old 01-26-2015, 11:41 AM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,396

Rep: Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017
You don't need FTDI drivers in Linux, it's built into the kernel. The dmesg output tells you it's working, so chances are either the software isn't or it's a permission issue. The port will be at /dev/ttyUSB0, and your user needs to be a member of the "dialout" group in order to use it.
 
1 members found this post helpful.
Old 01-26-2015, 08:17 PM   #6
chicken dance
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
You don't need FTDI drivers in Linux, it's built into the kernel. The dmesg output tells you it's working, so chances are either the software isn't or it's a permission issue. The port will be at /dev/ttyUSB0, and your user needs to be a member of the "dialout" group in order to use it.
Was a permissions problem i used the following in a root terminal:

id frank

this listed what groups frank was in

usermod -a -G dialout frank

this added frank to the dialout group which was required for my software.

thanks everyone!
 
Old 01-26-2015, 08:35 PM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,396

Rep: Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017Reputation: 2017
Quote:
Originally Posted by chicken dance View Post
Was a permissions problem i used the following in a root terminal:

id frank

this listed what groups frank was in

usermod -a -G dialout frank

this added frank to the dialout group which was required for my software.

thanks everyone!
The perfect solution to your problem, good job!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to install HP Storageworks G2 Tape on Debian (no drivers at HP.com) davidstvz Linux - Hardware 10 04-28-2010 03:29 PM
FTDI drivers errors mikeinf Linux - Hardware 3 01-05-2010 07:13 AM
How do I install Debian drivers? Chronothread Linux - Software 1 12-26-2007 03:35 PM
Need IDE Controller Drivers for Debian Install Jicksta Debian 3 09-13-2004 05:28 PM
IDE Controller Drivers for Debian Install Jicksta Linux - Hardware 0 09-12-2004 03:32 PM


All times are GMT -5. The time now is 02:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration