gwl
20-01-2006, 19:59
Hello,
I connected a USB->Serial adapter to my wl500g. (kernel module: FTDI)
loaded: usbserial.o and ftdi_sio.o, and now I have a new device: /dev/usb/tts/0
So, I connected a text terminal to it, and I can echo some chars into it.
now the problem... if I do:
echo "123" > /dev/usb/tts/0
echo "456" > /dev/usb/tts/0
on the terminal, I get is: 123456 (I don't get a newline!!)
I also tried : echo -e "123\n456" > /dev/usb/tts/0
and now, all I get is: 456
so... is this a driver problem? (it works ok on a linux pc...)
How do I send a newline char?!?
UPDATE Problem Solved.
look here: http://wl500g.info/showthread.php?p=25733#post25733
thanks.
:rolleyes:
I connected a USB->Serial adapter to my wl500g. (kernel module: FTDI)
loaded: usbserial.o and ftdi_sio.o, and now I have a new device: /dev/usb/tts/0
So, I connected a text terminal to it, and I can echo some chars into it.
now the problem... if I do:
echo "123" > /dev/usb/tts/0
echo "456" > /dev/usb/tts/0
on the terminal, I get is: 123456 (I don't get a newline!!)
I also tried : echo -e "123\n456" > /dev/usb/tts/0
and now, all I get is: 456
so... is this a driver problem? (it works ok on a linux pc...)
How do I send a newline char?!?
UPDATE Problem Solved.
look here: http://wl500g.info/showthread.php?p=25733#post25733
thanks.
:rolleyes: