usb serial com. from dd-wrt on an ASUS WL-520gC

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
jlguthri
 
Posts: 1
Joined: Sun May 29, 2011 10:05 pm

usb serial com. from dd-wrt on an ASUS WL-520gC

Post by jlguthri »

I am trying to send a serial communication via usb on an ASUS WL-520gC running dd-wrt with the command


Code: Select all

>echo "90" > /dev/usb/acm/0

before this, the router runs the following commands on startup:

Code: Select all

insmod /opt/kmod/usbserial.o;
insmod /opt/kmod/ftdi_sio.o;
insmod /opt/kmod/acm.o;
ser2net -C "3001:raw:600:/dev/usb/acm/0:9600 NONE 1STOPBIT 8DATABITS -XONXOFF -LOCAL -RTSCTS"; 
Every time I issue the command, the router appears to crash and reset itself.

I'm also running the adafruit stepper controller shield. At first, I figured I was drawing too much power from the USB controller and making it mad. I connected the motor controller shield to external power and removed the jumper.

When I issue the

Code: Select all

>echo "90" > /dev/usb/acm/0
the controller reacts, but acts like it has been reset.

I am attempting to make a set of weather dials that show the high and low temperature for tomorrow after going to noaa.gov and grabbing the .xml file that contains the forecast.

Any help or insite would be appreciated.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: usb serial com. from dd-wrt on an ASUS WL-520gC

Post by adafruit »

check out mightyohm's many tutorials?
http://mightyohm.com/blog/2008/10/detai ... -platform/

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”