AsusForum.NET -- WL500g

Вернуться   AsusForum.NET -- WL500g > Asus WL-500g > WL-500g/WL-500gx Tutorials
Логин
Пароль
Регистрация FAQ Участники Поиск Свежие сообщения Пометить все разделы как прочитанные
Firmware Wizard Donate

Ответ
 
Опции темы Рейтинг: Рейтинг темы: Голосов - 10, средняя оценка - 5.00. Опции просмотра
  #1  
Старый 12-07-2004, 02:19
Technik Technik вне форума
Senior Member
 
Регистрация: Dec 2003
Адрес: Czech Republic
Сообщения: 270
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
Вложения
Тип файла: zip USB.zip (205.9 Кбайт, 1875 просмотров)
Ответить с цитированием
  #1  
Старый 12-07-2004, 02:19
AsusForum Technik вне форума
Member
 
Регистрация: Nov 2003
Адрес: Netherlands
Сообщения: 270
  #2  
Старый 13-07-2004, 15:44
Dex Dex вне форума
Junior Member
 
Регистрация: Jun 2004
Сообщения: 12
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?
Ответить с цитированием
  #3  
Старый 13-07-2004, 16:03
Technik Technik вне форума
Senior Member
 
Регистрация: Dec 2003
Адрес: Czech Republic
Сообщения: 270
Цитата:
Сообщение от Dex
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

Последний раз редактировалось Technik, 13-07-2004 в 16:27.
Ответить с цитированием
  #4  
Старый 26-09-2004, 11:26
WlanMan WlanMan вне форума
Senior Member
 
Регистрация: Aug 2004
Адрес: Germany
Сообщения: 377
Belkin Works

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
__________________
My Stuff: WL-500g, Mapower H31x 10GB HD, Philips Webcam Vesta PRO, TerraTec Webcam PRO, USB Hub
Ответить с цитированием
  #5  
Старый 29-12-2004, 12:52
palbeda palbeda вне форума
Junior Member
 
Регистрация: Dec 2004
Адрес: NL CheeseCity (Gouda)
Сообщения: 11
Отправить сообщение для palbeda с помощью MSN
Unhappy Other serial USB adaptor, same problem

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

Anybody who has a clue??? I would be VERY gratefull if this problem could be solved.

Regards,

Peter
Ответить с цитированием
  #6  
Старый 20-01-2006, 20:58
gwl gwl вне форума
Senior Member
 
Регистрация: Dec 2004
Сообщения: 143
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!!
__________________
[ WL-500G | fw: 1.9.2.7-7f ]

Последний раз редактировалось gwl, 21-01-2006 в 01:47.
Ответить с цитированием
  #7  
Старый 21-01-2006, 13:16
sodb sodb вне форума
Financial forum supporters :)
 
Регистрация: Jun 2004
Адрес: Delft, The Netherlands
Сообщения: 60
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.
Ответить с цитированием
  #8  
Старый 21-01-2006, 17:28
gwl gwl вне форума
Senior Member
 
Регистрация: Dec 2004
Сообщения: 143
Цитата:
Сообщение от sodb
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

Вложения
Тип файла: tgz ftdi_serial.tgz (24.7 Кбайт, 1030 просмотров)
__________________
[ WL-500G | fw: 1.9.2.7-7f ]
Ответить с цитированием
  #9  
Старый 24-01-2006, 20:10
vlad75 vlad75 вне форума
Junior Member
 
Регистрация: Nov 2005
Сообщения: 24
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?
Ответить с цитированием
  #10  
Старый 22-03-2006, 22:57
jbullock jbullock вне форума
Registered User
 
Регистрация: Mar 2006
Сообщения: 1
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
Ответить с цитированием
  #11  
Старый 04-09-2007, 20:55
dolphs dolphs вне форума
Junior Member
 
Регистрация: Jan 2007
Сообщения: 14
@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

Последний раз редактировалось dolphs, 04-09-2007 в 21:03.
Ответить с цитированием
  #12  
Старый 09-10-2007, 10:27
britnet britnet вне форума
Senior Member
 
Регистрация: Feb 2005
Адрес: Germany - Frankfurt a.M.
Сообщения: 302
Отправить сообщение для  britnet с помощью ICQ
Hi,

im using this driver, but i cant read data, can you help me?

See this thread: http://wl500g.info/showthread.php?t=10917
__________________
WL-500gP => 1.9.2.7-7g (2007-04-06)
Running: thttpd, php 5.1, vsftp, rrdtool

http://onlinefussballmanager.de/userbar/0/53647.png
Ответить с цитированием
Ответ

Tags
serial port, usb->com

Опции темы
Опции просмотра Оценка этой теме
Оценка этой теме:

Ваши права в разделе
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Howto add serial port to WL500gx Josephus WL-500g/WL-500gx Tutorials 34 10-01-2006 12:29
USB serial port support.... ChangKyu Beck WL-500g Custom Development 1 17-05-2005 10:52
Add just 2 Pins of Serial Port for 240V Relais Brunni WL-500g Custom Development 4 08-03-2005 21:39
USB <> Serial converter Randale91 WL-500g Q&A 6 26-09-2004 00:47
Serial port for WL-500g sveasoft WL-500g Q&A 1 05-04-2004 15:44


Часовой пояс GMT +1, время: 22:26.


Copyright ©2003 - 2008, van Boekel Networks
Вы оценили эту тему: