Bekijk de volledige versie : USB to serial
Hi at all,
can somebody help me?
I want to runt open2300 with an usb-to-serial apadtor, but i get this in the log:
Oct 7 19:39:56 kernel: usb-uhci.c: ENXIO 40408380, flags 0, urb 8187e340, burb 8187e340
Oct 7 19:39:56 kernel: pl2303.c: pl2303_read_int_callback - usb_submit_urb failed with result -6
Oct 7 19:39:56 kernel:
when im calling fetch 2300.
I'm using this device: ttyUSB0 to read from
today i tried the ftdi driver described here: http://wl500g.info/showthread.php?t=608&highlight=FTDI
i get this in the log:
Oct 8 22:56:09 kernel: usb.c: registered new driver serial
Oct 8 22:56:09 kernel: usbserial.c: USB Serial support registered for Generic
Oct 8 22:56:09 kernel: usbserial.c: USB Serial Driver core v1.4
Oct 8 22:56:31 kernel: usbserial.c: USB Serial support registered for FTDI SIO
Oct 8 22:56:31 kernel: usbserial.c: USB Serial support registered for FTDI 8U232AM Compatible
Oct 8 22:56:31 kernel: usbserial.c: USB Serial support registered for FTDI FT232BM Compatible
Oct 8 22:56:31 kernel: usbserial.c: USB Serial support registered for USB-UIRT Infrared Receiver/Transmitter
Oct 8 22:56:31 kernel: usbserial.c: USB Serial support registered for Home-Electronics TIRA-1 IR Transceiver
Oct 8 22:56:31 kernel: ftdi_sio.c: v1.3.5:USB FTDI Serial Converters Driver
this looks good, but how can i send/read data?
I tried the fetch2300 command with the device ttyUSB0 but that doesnt work.
I'm using this Adaptor: http://wl500g.info/showthread.php?t=5648
There is a driver for it, can somebody compile it?
http://shop.intos.de/cgi-bin/ieos/process/locale/de_DE/page/33304A.html
I asked Oleg an oleo to make a driver for the wl500gp box.
The Linux driver can be downloaded here:
http://www.prolific.com.tw/eng/downloads.asp?ID=31 but this is not for MIPS
Dongle usesProlific PL-2303 chipset which was reverse engineered. See:
http://www.madingley.org/james/resources/pl2303/
So:
1. step -> i'll try the reverse engineered driver
The problem is described in open wrt forum:
http://forum.openwrt.org/viewtopic.php?id=10090
Does anybody know, if the combination (USB-Serial adapter with pl2303HX chip connected to wl-500gp V2 flashed with fw 1.9.2.7-10) is working well?
I have tried with already plugged adapter
1. to execute commands:
insmod usbserial
insmod pl2303
syslog.log looks like:
Jun 15 23:01:55 kernel: usb.c: registered new driver serial
Jun 15 23:01:55 kernel: usbserial.c: USB Serial support registered for Generic
Jun 15 23:01:55 kernel: usbserial.c: USB Serial Driver core v1.4
Jun 15 23:02:00 kernel: usbserial.c: USB Serial support registered for PL-2303
Jun 15 23:02:00 kernel: pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.10.1
and /dev/usb/tts/0 doesn't exists :(
2. then replug adapter and then syslog.log looks like:
Jun 15 23:09:09 kernel: hub.c: new USB device 00:03.1-1.2, assigned address 7
Jun 15 23:09:09 kernel: usb.c: unable to get device descriptor (error=-32)
Jun 15 23:09:09 kernel: hub.c: new USB device 00:03.1-1.2, assigned address 8
Jun 15 23:09:09 kernel: usb.c: unable to get device descriptor (error=-32)
and /dev/usb/tts/0 still doesn't exists :(
What I'm doing wrong? Is the problem in pl2303 driver?
DemonGloom
17-07-2008, 19:25
Are you plugging it into USB-Hub?
Are you plugging it into USB-Hub?
No - I plugged it directly. I used the same combination with router WL-500gp (not V2) with the latest oleg fw and everything was OK, so I think the problem is in the driver implementation in V2 fw :(.