Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 40

Thread: Use an USB-serial port converter

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Exclamation pl2303 usb > serial converter

    I have connected an usb to serial converter, ATEN UC-232A (pl2303.o module) to my asus 500g.
    Which port number should I use if I want to connect to the converter over a wireless tcp connection? I suppose
    that the IP is the same as the IP of the router?

  2. #2

    Enable stty?

    How do I enable the stty command on my asus 500g?

    I'm trying to make the router communicate with a microcontroller. The microcontroller drives a robot that i have built, which has object recognition capabilities. I will be very greatful if someone could help me with this.

  3. #3

    Looking for binary!

    Does anyone have a firmware binary that has the stty command enabled for the busybox?

  4. #4
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    270
    Quote Originally Posted by vlad75
    Come on now! Anyone???
    Did you try to search forum? You should find a link to compiled (a bit old but perhaps still working) busybox v1.00-pre5. Try the attached file.
    Attached Files Attached Files

  5. #5
    Thank you very much . I'm quite new to linux so can you please tell me how I install the busybox binary on my router?

  6. #6
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    270
    Quote Originally Posted by vlad75
    Thank you very much . I'm quite new to linux so can you please tell me how I install the busybox binary on my router?
    Just copy to some directory and run... USB flash disk preferred.

  7. #7

    Serial port using TCP?

    I have attached a microcontroller to my 500g using an usb -> serial converter. I can now read and write to the microcontroller using a telnet client. Now I want to write a program on a stationary computer that should read and write to the microcontroller using a TCP connection, but I don't know which port number the serial port has on the router or if this is the right way to go?. Please help me, any suggestions would be appreciated.

    The registered driver looks like this:
    Jan 1 00:01:12 kernel: usb.c: registered new driver serial
    Jan 1 00:01:12 kernel: usbserial.c: USB Serial support registered for Generic
    Jan 1 00:01:12 kernel: usbserial.c: USB Serial Driver core v1.4
    Jan 1 00:01:22 kernel: usbserial.c: USB Serial support registered for PL-2303
    Jan 1 00:01:22 kernel: usbserial.c: PL-2303 converter detected
    Jan 1 00:01:22 kernel: usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
    Jan 1 00:01:22 kernel: pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.11

  8. #8

    Connect to serial port

    Can I connect to my serial port on my Asus 500g (using usb -> serial converter) using anything else then a telnet client?.

  9. #9

    Simple question!

    I have this row in my logfile:

    Code:
    Jan 25 16:43:09 kernel: hub.c: new USB device 00:04.0-1, assigned address 2
    What does this line say? What do the numbers mean?
    Last edited by vlad75; 25-01-2006 at 21:16.

  10. #10
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    377
    It tells you there has been a new usb device detected on the router (not neccecary a single device, can be part of a multi-endpoint device) and that no driver for it is loaded or avaliable.

    The numbers are internal numberings of the kernal for usb-devices, you can savely ignore them for now. think of a sort of path-description to the device from kernal-view.

    Greets
    My Stuff: WL-500g, Mapower H31x 10GB HD, Philips Webcam Vesta PRO, TerraTec Webcam PRO, USB Hub

  11. #11

    TCP server

    I want to run a TCP server on my asus 500g to be able to connect to my serial device, attached to the USB port (using serial -> USB converter), from a remote computer. Someone must have done this before. Where should I look? Any ideas?

  12. #12

    Problem reading from serial port

    When reading from the serial port using command cat /dev/usb/tts/0 I must send about 4000 characters to the port (from a external serial device) before anything is printed in the terminal window of the router. I suspect that it happens when the buffer is full. Can this be a bug or am I doing anything wrong?

  13. #13

    USB Problems Hub and PL2303 problem.

    Hi,

    I'm not sure if this is the correct forum for this but....

    I'm running the latest Oleg firmware on a WL-500gd, I've recently purchased three pl2303 based usb to serial adapters and a Belkin usb 2 four port hub.

    When a pl2303 is plugged into either of the two onboad usb ports it is detected and I can use it, when plugged in via the hub I get these messages in dmesg...

    hub.c: new USB device 01:02.2-2.3, assigned address 5
    usb.c: unable to get device descriptor (error=-32)
    hub.c: new USB device 01:02.2-2.3, assigned address 6
    usb.c: unable to get device descriptor (error=-32)

    lsusb returns the following before the list of devices:
    Unknown line at line 1809
    Duplicate HUT Usage Spec at line 2650

    and the pl2303 is not listed.

    I'm going to try to get my hands on another usb hub to eliminate that from the process, but I'm faily sure the hub is fine as my memory card is working fine via it.

    Does anyone have any help/advice/ideas on how to proceded

    Many thanks,

    SgtWilko.

  14. #14
    Well testing with a USB 1.1 hub and everything works fine.

    Strangly enough the usb 2 hub works perfectly on my Debian machine, with the serial devices being detected correctly.

    So to overview;
    The hub works on Debian Kernel 2.6.8-2-686-smp.
    It works with the memory stick, but not with the serial adapters on Olegs firmware.

    The serial devices work on an older usb 1.1 hub so there is probably nothing wrong with the pl2303 drivers.

    So now if I can find another usb 2 hub I'll be able to tell if it's the hub or the fact it's a usb2 hub that's the problem.

  15. #15
    Well I think I've discovered the answer, apparently the linux kernel and the pl2303 module included in Olegs firmware can not work with certain usb 1 devices via a usb 2 hub.

    The pl2303 driver for the current 2.4 kernel is especially broken in this regard.

    So I will buy a usb 1 hub to replace the usb 2 hub.

    Thanks for your help...

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Howto add serial port to WL-500gx/gp
    By Josephus in forum WL-500g/WL-500gx Tutorials
    Replies: 50
    Last Post: 05-11-2012, 11:32
  2. Serial port for WL-500g
    By sveasoft in forum WL-500g Pics & Specs
    Replies: 6
    Last Post: 08-03-2005, 21:39

Tags for this Thread

Posting Permissions

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