FTDI USB-to-Serial

6 posts / 0 new
Last post
F. Membrive
F. Membrive's picture
FTDI USB-to-Serial

Hi comunity,

I want get working FTDI USB-to-Serial dispositive in my WNR3500L router.

The driver (kernel module) is not in the Std distribution of DD-WRT. Is it in BIG or Mega?

I found a kernel module for that chip, but for 2.4 kernels, I tried to load but don't work, because is not for my kernel version. Where can I get one for 2.6 kernel?

The dispositive is recognized correctly:
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0403 ProdID=6001 Rev= 4.00
S: Manufacturer=FTDI
S: Product=usb serial converter
S: SerialNumber=FTDCHXJN
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 44mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms

Thank you in advance.

Brandon C
Brandon C's picture
I don't know if it is on DD

I don't know if it is on DD-WRT. If it helps the new Beta Tomato firmware has a way to compile it with FTDI support. See here http://www.linksysinfo.org/forums/showthread.php?p=359909#post359909

F. Membrive
F. Membrive's picture
I just have this working.

I just have this working.

The way is compile the driver in your computer as kernel module. When you have it compiled, you need to find ftdi_sio.ko in the compiled archives, copy it to /jffs/ or other writable directory, and then load it with insmod. Before that, you need usbcore and usbserial kernel modules loaded.

Then, check that modules are loaded correctly with the lsmod command. If all went OK, you can use your FTDI usb-serial in /dev/usb/tts/0 (this can change in some scenarios).

Is the same way to install other hardware with drivers included in the linux kernel modified by dd-wrt (see the first link to get it).

I hope this can help (sorry for my poor english).

Brandon C
Brandon C's picture
Very cool.

Very cool.
But out of curiosity what do you plan on using it for or connecting to it?

F. Membrive
F. Membrive's picture
We use this interface at the

We use this interface at the University for make some projects and investigations. In almost scenarios, we use it for connect dispositives created by us, study others and analyze rs232/serial port, without open the router.

Now, the idea is know how many things we can do with the USB port in the WNR3500L. Is very interesting.

pelco
pelco's picture
 

 

F. Membrive said: We use this interface at the University for make some projects and investigations. In almost scenarios, we use it for connect dispositives created by us, study others and analyze rs232/serial port, without open the router. Now, the idea is know how many things we can do with the USB port in the WNR3500L. Is very interesting.

F. Membrive said: We use this interface at the University for make some projects and investigations. In almost scenarios, we use it for connect dispositives created by us, study others and analyze rs232/serial port, without open the router. Now, the idea is know how many things we can do with the USB port in the WNR3500L. Is very interesting.

 

Hi,

We have problems finding files .ko in OpenWrt firmware.

I have selected ftdi USB module but i dont know were to find it or instalit.

Can you help me?

thanks