Results 1 to 7 of 7

Thread: USB to serial

  1. #1
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299

    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:

    Code:
    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
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  2. #2
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    today i tried the ftdi driver described here: http://wl500g.info/showthread.php?t=608&highlight=FTDI

    i get this in the log:
    Code:
    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/pr...ge/33304A.html
    Last edited by britnet; 09-10-2007 at 10:29.
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  3. #3
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    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
    Last edited by britnet; 12-10-2007 at 14:41.
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  4. #4
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    The problem is described in open wrt forum:

    http://forum.openwrt.org/viewtopic.php?id=10090
    Last edited by britnet; 16-04-2008 at 16:24.
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  5. #5
    Join Date
    Jun 2008
    Location
    Slovakia
    Posts
    2

    wl-500gp V2 & USB-Serial Adapter with pl2303 chip

    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?

  6. #6
    Join Date
    Jun 2008
    Location
    Russia, Perm
    Posts
    476

  7. #7
    Join Date
    Jun 2008
    Location
    Slovakia
    Posts
    2
    Quote Originally Posted by DemonGloom View Post
    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 .

Similar Threads

  1. linuxrc bug? - WL-500g not booting from usb drive with hub
    By daniel632 in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-03-2012, 15:28
  2. Unstable boot from USB
    By Tamadite in forum WL-500g Q&A
    Replies: 6
    Last Post: 20-08-2008, 15:19
  3. Problem mit Printer und HD am Usb Hub...
    By Sidd in forum German Discussion - Deutsch (DE)
    Replies: 4
    Last Post: 29-03-2006, 17:53
  4. WL500g 2 USB Drucker und ein LPT
    By Trebron in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 27-01-2006, 23:48
  5. Wl500g > 2 USB and 1 LPT Printer
    By Trebron in forum WL-500g Q&A
    Replies: 0
    Last Post: 27-01-2006, 22:17

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •