LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I load ftdi_sio Kernel Module? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-load-ftdi_sio-kernel-module-315841/)

MicahCarrick 04-21-2005 05:51 PM

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

MicahCarrick 04-21-2005 06:01 PM

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

jtshaw 04-21-2005 07:28 PM

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.

MicahCarrick 04-22-2005 10:22 AM

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/

Nobber 04-22-2005 10:36 AM

Have you tried:

/sbin/modprobe ftdi_sio

?

MicahCarrick 04-22-2005 01:56 PM

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

halestorm914 11-20-2009 03:34 AM

Did you ever figure this out? I am having the exact same problem.

barneygumble742 01-09-2010 12:02 AM

it should show up as /dev/usb/ttsusb0


All times are GMT -5. The time now is 01:11 AM.