Serial and linux

Posted by: Jonathan

Serial and linux - 11/01/2002 17:48

Hello, got my new unit and it's looking sweet
One problem though, how the heck do I get emptool to work over the serial connection? Would be nice to get an ip setup... (I don't have windows after that hd crashed and the computer is too old for usb).

The serial port works (normally have the modem on it) but it doesn't find my empeg on it. Any ideas?

---
>/.../empeg-car# ./emptool --serial /dev/ttyS0
2000 Checking connection [ 93%]
4002 Unit not found, check cabling and setup
---

// Jonathan
Posted by: Jonathan

Re: Serial and linux [solved] - 12/01/2002 22:41

Ok... reading a lot and testing more

Here is what worked on my box:
$> stty -crtscts raw speed 115200 < /dev/ttyS0

Which options are needed would depend on how your serial port is initialized, but I think the above takes care of most.

I really think emptool / upgclient should initialize the port as needed before trying to access it...

// Jonathan