Bekijk de volledige versie : how to load 2 usbserial
Hi,
I need to use 2 usb serial devices with diferents vendor and product ids.
I have copied and renamed usbserial module to load it twice :) ... but the 2nd device use the same tty from the 1st loaded... :mad:
How to use the two serial devices, from different vendors, at same time?
Any ideas?
dyonisos
14-12-2008, 18:42
you only need to load the usbserial module once. Try that.
I have perfectly working 2 usb-serial interfaces of same brand.
Thanks Dyonisos,
The problem is that I wanna load two diferents usb serial devices. None of the devices is registered, so I have no add the vendor and product id parameters to usbserial module:
insmod usbserial vendor=0x12d1 product=0x1003
and
insmod usbserial vendor=0x0404 product=0x6001
Any ideas are welcome...
cu
well, I guess in the second case you are mistaken by 1 digit. If so, after usbserial.o you should load ftdi_sio.o
cat /proc/tty/driver/usb-serial
usbserinfo:1.0 driver:v1.4
0: module:ftdi_sio name:"FTDI FT232R Compatible" vendor:0403 product:6001 num_ports:1 port:1 path:usb-01:03.2-1.1
Hi al37919,
No I'm not mistaken. In dmesg, the vendor is 0x0404. This is a Ham radio USB device called EZMASTER (http://www.hamradiosolutions.com). I'm not shure, but I think that usb chip it's a FTDI (the windows driver is a FTDI...). How to discover the FTDI chip model? opening the box?
My goal is to use this device as a remote serial over TCP (with ser2net daemon in the WL500gp) with the "TCP-com client" virtual COM in windows.
I have tested this - with sucess - in a OpenSuse linux box (kernel 2.6!) without any problem, but in the WL500g doesn't work...
Anyway, thanks for your help :)
CU
Install lsusb.
It will give you information which it can read from usb device. However, I'm not sure that it will be of much help.