Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Programming & Scripting
Reload this Page USB - FTDI D2xx drivers
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Programming & Scripting C, Perl, PHP, Bash Scripts, anything programming or script related post in here!

Reply
 
Thread Tools Display Modes
Old 01-10-2008   #1 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 2
USB - FTDI D2xx drivers

I am having problems porting an application from Win to Linux. It talks to an FTDI USB-serial chip. I am using the FTDI supplied 'direct D2xx' library (version 0.4.13). Installation seems OK, as some functions seem to work OK.

However, my problem is that the function FT_GetDeviceInfoList() gives all nulls for the various information fields (eg description, serial number, manufacturer, etc). The functions FT_GetDeviceInfoDetail() and FT_ListDevices() fail similarly. The function FT_CreateDeviceInfoList() returns the correct number of devices connected (tested with 0,1 or 2 devices).

The system knows the correct information about the devices, checked by both the KDE program KInfoCenter->USBDevices, and the program 'usbview'.

Has anyone had success/problems with this, especially running 2.6 kernel (I have 2.6.18, fedora 6) and version 0.4.13 of the FTDI library?

I have tried support at FTDI but they have not responded at all!

Thanks,
gl2008
gl2008 is offline   Reply With Quote
Old 07-19-2008   #2 (permalink)
Just Joined!
 
Join Date: Jul 2008
Posts: 5
I've got a same problem but found that it works OK if run under the root. I guess that lib is trying to access something in /dev/blahblah and permissions are not set properly. Any idea how to find what exactly it is trying to access?
alxlabs is offline   Reply With Quote
Old 07-20-2008   #3 (permalink)
Just Joined!
 
Join Date: Jan 2008
Posts: 2
Yeah, the best suggestion FTDI came up with was run as root, or try other distro's/versions. This was to be for a commercial application, and my customer got concerned about the implications of this fickleness of the drivers. Consequently it got put down the priority list, and I haven't searched for the exact cause. However, I would be most interested if anything more is found.
gl2008 is offline   Reply With Quote
Old 08-25-2008   #4 (permalink)
Just Joined!
 
Join Date: Jul 2008
Posts: 5
After wrestling for a bit I gave up and used a workaround - I wrote small service which accesses FTDI chip and runs at system startup as root then creates a pipe (I used this as an example - 6.3.3 FIFO Operations ). User application uses the pipe to comm. to service which comm. to FTDI and back thru another pipe...
alxlabs is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVZ + network filesystem..? RobinVossen Linux Networking 0 12-05-2007 07:36 AM
Please help!, Fiesty Fawn vs. nvdia, drivers! dilipm Ubuntu Help 14 06-12-2007 01:19 PM
Fileserver with Samba and Printserver with CUPS Howto AlexK Linux Tutorials, HOWTO's & Reference Material 2 02-05-2006 04:42 AM
My first day as a Linux user, read how it went. Nexum Linux Newbie 12 03-22-2005 08:10 PM

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 04:08 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0