Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: jeffcraighead on August 16, 2012, 10:41:09 AM

Title: FT245R USB-CAN adapter, ftdi_sio, and modprobe
Post by: jeffcraighead on August 16, 2012, 10:41:09 AM
I've got a EasySync USB2-F-7001 USB-CAN bus adapter that I need to get working with my TC install. The USB system sees the device fine and enumerates it, however it is not bound to the ftdi_sio driver. It does have a unique product ID, however even when I execute 'modprobe ftdi_sio vendor=0x0403 product=0xfac6' nothing happens. Ubuntu also does not bind the driver automatically, however if I execute the above modprobe statement, it then binds as expected. So what is the difference between Ubuntu and TC here? Any suggestions?

Thanks!
Title: Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
Post by: tinypoodle on August 16, 2012, 11:00:06 AM
Have you loaded the usb-serial-*-tinycore extension?
 
Title: Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
Post by: jeffcraighead on August 16, 2012, 11:51:55 AM
I'm away from the PC now, but I'm going to say I think that usb-serial is being loaded because I have 2 other FT232 based devices that work fine on that machine.
Title: Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
Post by: Rich on August 16, 2012, 12:27:39 PM
Hi jeffcraighead
Quote
however even when I execute 'modprobe ftdi_sio vendor=0x0403 product=0xfac6' nothing happens
By nothing happens, do you mean the terminal simply responds with a prompt, or executing:
Code: [Select]
dmesg | taildoes not show the device as being recognized?
Title: Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
Post by: jeffcraighead on August 16, 2012, 12:38:43 PM
dmesg shows no indication that the device was recognized.
Title: Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
Post by: Rich on August 16, 2012, 12:48:36 PM
Hi jeffcraighead
If you execute  lsmod , does it show that  ftdi_sio  was loaded?
Title: Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
Post by: jeffcraighead on August 16, 2012, 01:32:02 PM
Yes, although that was because I had other FTDI adapters plugged in also I think. I'll boot up without those plugged in and make sure it is still loading.
Title: Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
Post by: tinypoodle on August 16, 2012, 02:18:05 PM
If you want to add/change parameters of a module you have to remove it first.
Title: Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
Post by: jeffcraighead on August 16, 2012, 04:18:17 PM
Yes! Thank you! Unloading and reloading the mod with the additional params worked.