WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: FT245R USB-CAN adapter, ftdi_sio, and modprobe  (Read 3807 times)

Offline jeffcraighead

  • Newbie
  • *
  • Posts: 9
FT245R USB-CAN adapter, ftdi_sio, and modprobe
« 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!

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
« Reply #1 on: August 16, 2012, 11:00:06 AM »
Have you loaded the usb-serial-*-tinycore extension?
 
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jeffcraighead

  • Newbie
  • *
  • Posts: 9
Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
« Reply #2 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.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11581
Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
« Reply #3 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?

Offline jeffcraighead

  • Newbie
  • *
  • Posts: 9
Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
« Reply #4 on: August 16, 2012, 12:38:43 PM »
dmesg shows no indication that the device was recognized.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11581
Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
« Reply #5 on: August 16, 2012, 12:48:36 PM »
Hi jeffcraighead
If you execute  lsmod , does it show that  ftdi_sio  was loaded?

Offline jeffcraighead

  • Newbie
  • *
  • Posts: 9
Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
« Reply #6 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.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
« Reply #7 on: August 16, 2012, 02:18:05 PM »
If you want to add/change parameters of a module you have to remove it first.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline jeffcraighead

  • Newbie
  • *
  • Posts: 9
Re: FT245R USB-CAN adapter, ftdi_sio, and modprobe
« Reply #8 on: August 16, 2012, 04:18:17 PM »
Yes! Thank you! Unloading and reloading the mod with the additional params worked.