Bekijk de volledige versie : Use an USB-serial port converter
I have compiled sources for USB-serial converters - enjoy the attached file. :)
Quickly tested with ATEN UC-232A (pl2303.o module):
insmod usbserial.o
insmod pl2303.o
mknod /dev/ttyUSB0 c 188 0
chmod 666 /dev/ttyUSB0
Hi Technik,
I have used your compiled modules with a PL2302 based usb-to-serial adapter. The modules are loaded without any errors and also the adapter was recognized correctly when plugged in (check by using dmesg). But when I am
sending only a few characters to a connected modem the system stops and reboots due to the running watchdog.
How you have checked the modules?
Which firmware are you using?
Hi Technik,
I have used your compiled modules with a PL2302 based usb-to-serial adapter. The modules are loaded without any errors and also the adapter was recognized correctly when plugged in (check by using dmesg). But when I am
sending only a few characters to a connected modem the system stops and reboots due to the running watchdog.
How you have checked the modules?
Which firmware are you using?
Yes I have tested it quickly with (a bit obsolete) 1.7.5.9-1 firmware. I did not encounter any router reboot and it seemed to be working (Hyperterminal versus microcom terminal, 9600-8-n-1).
What is your free memory size?
BTW the 2302 chip is quite different so perhaps it can't work with pl2303.o module at all. It looks strange to me that your chip was accepted by the driver...
Compare the chips:
http://www.prolific.com.tw/eng/Products.asp?ID=20
http://www.prolific.com.tw/eng/Products.asp?ID=59
Hi
Just for interrest, the Belkin Serial Adapters work also.
But what to do next with them :).
hub.c: new USB device 00:04.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x50d/0x103) is not claimed by any active driver.
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
usbserial.c: Belkin / Peracom / GoHubs USB Serial Adapter converter detected
belkin_sa.c: bcdDevice: 0205, bfc: 1
usbserial.c: Belkin / Peracom / GoHubs USB Serial Adapter converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
belkin_sa.c: USB Belkin Serial converter driver v1.2
Greets
Hi,
I also want to use an serial usb adaptor, other make (type DCU-S2U), works fine in other Linux or Windows machine, is recognised perfectly on boot-up,
but after a few characters, same problem, locks-up and then leads to a reboot of the Asus.
I have tried:
- Changing the settings of the port with ssty (disable software and/of hardware handshake)
- Using proper hardware handshake connections
- Several firmwares for the ASUS
- Adding proper end-of-line and end-of-file characters to the data
Nothing works, looks like a bug in the firmware :mad:
Anybody who has a clue??? I would be VERY gratefull if this problem could be solved.
Regards,
Peter
I also have some problems with the usb-serial-FTDI module...
It works, but I don't get "newline"... and if I echo a lot of chars, it stops after the first 100 or so...
If you know the solution, please post it here.
thanks.
UPDATE:I just solved this problem...
I recompiled usbserial.o and ftdi_sio.o (from oleg's custom fw),
and now it's working... :)
PS: [Technik] : Empty your mailbox!!! you want to send you a PM!!
Can you post your newly compiled drivers (usbserial.o and ftdi_sio.o)? I have a ftdi module that won't work, maybe the new drivers also solve my problems.
Can you post your newly compiled drivers (usbserial.o and ftdi_sio.o)? I have a ftdi module that won't work, maybe the new drivers also solve my problems.
Here it is... (tested with Oleg's 1.9.2.7-6b)
use:
insmod ./usbserial.o
insmod ./ftdi_sio.o
;)
Works great for me to! However I have another question. Can I connect to the serial port on the router from a computer connected to the network?
jbullock
22-03-2006, 23:57
I'm not sure if I should post on this thread or create a new thread. My goal is to use a Belkin USB to Serial adapter with my WL-500g (not the Deluxe model) to create a PPP connection for my DirecTiVo. I admit that I'm a novice when it comes to Linux. I know how to create the connection on a Windows based system, though I haven't found instructions yet on how to do it via Linux. My main question for this forum is: Has anyone tried using the USB to Serial adapter to create a PPP connection via the WL-500g?
Thanks
Jeremiah
@GWL - these modules are what I am looking for let's see if I can get things running on oleg "1.9.2.7-7g". I assume it is for kernel "2.4.20"?. -- it looks good dmesg:
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for FTDI SIO
usbserial.c: USB Serial support registered for FTDI 8U232AM Compatible
usbserial.c: USB Serial support registered for FTDI FT232BM Compatible
usbserial.c: USB Serial support registered for USB-UIRT Infrared Receiver/Transmitter
usbserial.c: USB Serial support registered for Home-Electronics TIRA-1 IR Transceiver
ftdi_sio.c: v1.3.5:USB FTDI Serial Converters Driver
Hi,
im using this driver, but i cant read data, can you help me?
See this thread: http://wl500g.info/showthread.php?t=10917