LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i install FTDI drivers in Debian? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-install-ftdi-drivers-in-debian-4175532118/)

chicken dance 01-26-2015 01:31 AM

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,

michaelk 01-26-2015 07:43 AM

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.

chicken dance 01-26-2015 08:33 AM

Quote:

Originally Posted by michaelk (Post 5306863)
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,

michaelk 01-26-2015 08:53 AM

/dev/ttyUSB0 is the "com" port. Yes, it could be a permission problem.

suicidaleggroll 01-26-2015 11:41 AM

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.

chicken dance 01-26-2015 08:17 PM

Quote:

Originally Posted by suicidaleggroll (Post 5306958)
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!

suicidaleggroll 01-26-2015 08:35 PM

Quote:

Originally Posted by chicken dance (Post 5307111)
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!


All times are GMT -5. The time now is 07:25 AM.