LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2005, 05:51 PM   #1
MicahCarrick
Member
 
Registered: Jul 2004
Distribution: Fedora
Posts: 241

Rep: Reputation: 31
How do I load ftdi_sio Kernel Module?


I have a PIC Microcontroller and the software to use it. Apparently I need to load the ftdi_sio kenel module to do so? What does that mean and how do I load a kernel module? I looked in /dev/proc/modules and didn't see ftdi_sio listed.

I see a file called ftdi_sio.ko in /lib/modules/2.6.10-1.766_FC3/build/include/config/usb/serial/ftdi and I know I can get to insmod in /sbin... what do I do?

Micah Carrick
Fedora Core 3 on Toshiba Laptop
 
Old 04-21-2005, 06:01 PM   #2
MicahCarrick
Member
 
Registered: Jul 2004
Distribution: Fedora
Posts: 241

Original Poster
Rep: Reputation: 31
By the way, I tried:

Code:
./insmod /lib/modules/2.6.11-1.14_FC3/kernel/drivers/usb/serial/ftdi_sio.ko
and got the error:

Code:
insmod: error inserting '/lib/modules/2.6.11-1.14_FC3/kernel/drivers/usb/serial/ftdi_sio.ko': -1 Unknown symbol in module
 
Old 04-21-2005, 07:28 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Did you compile that module from source? It appears as though you need to make sure you have the correct kernel source installed for your running kernel and then you need to re-compile the module to make sure it is also compiled for your running kernel.
 
Old 04-22-2005, 10:22 AM   #4
MicahCarrick
Member
 
Registered: Jul 2004
Distribution: Fedora
Posts: 241

Original Poster
Rep: Reputation: 31
No I didn't complie from source. The website FTDI says the "driver" for linux is built into the kernel. I did a search for the file which I was told I need to "load" which is ftdi_sio.ko and is located in /lib/modules/2.6.11-1.14_FC3/kernel/drivers/usb/serial/
My current kernel is 2.6.11-1.14_FC3

So how would I recompile the module?

Micah Carrick
http://www.micahcarrick.com/
 
Old 04-22-2005, 10:36 AM   #5
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
Have you tried:

/sbin/modprobe ftdi_sio

?
 
Old 04-22-2005, 01:56 PM   #6
MicahCarrick
Member
 
Registered: Jul 2004
Distribution: Fedora
Posts: 241

Original Poster
Rep: Reputation: 31
I have now And that worked. Thanks so much.

Code:
/sbin/modprobe -v ftdi_sio
insmod /lib/modules/2.6.11-1.14_FC3/kernel/drivers/usb/serial/usbserial.ko
insmod /lib/modules/2.6.11-1.14_FC3/kernel/drivers/usb/serial/ftdi_sio.ko
and it shows up in /proc/modules as
Code:
ftdi_sio 34629 0 - Live 0xe0b26000
However, I don't know if any of you out there know the answer to this, but shouldn't this ftdi_sio result in my device showing up in /dev/usb/tts? That's what I was told. I still can't find my device! Any help on that part?

Micah Carrick
http://www.micahcarrick.com
 
Old 11-20-2009, 03:34 AM   #7
halestorm914
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Did you ever figure this out? I am having the exact same problem.
 
Old 01-09-2010, 12:02 AM   #8
barneygumble742
LQ Newbie
 
Registered: Oct 2006
Distribution: mandriva 2007
Posts: 15

Rep: Reputation: 0
it should show up as /dev/usb/ttsusb0
 
  


Reply



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
cant load lirc kernel module kmeehl Slackware 14 01-08-2006 10:32 AM
how to load kernel module based on kernel version? linetnew Linux - Newbie 3 05-10-2005 11:45 AM
kernel freezes after a module load tytus Linux - Software 2 02-02-2005 08:35 AM
i want to compile and load a module into kernel ramya272 Linux - Newbie 3 02-21-2004 10:17 AM
how to load module to kernel jolly Linux - Networking 2 12-23-2002 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:10 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
Open Source Consulting | Domain Registration