[Soekris] net4801 + openbsd + serial device

jacco jaccorens at mac.com
Sun Apr 27 10:20:45 UTC 2008


Hello,

I recently bought an net4801 for using it to graph the output with  
RRDTool for my solarpanel converter. This converter uses an DB-9 based  
serial device, for talking to the unit itself. This works under  
Windows XP using an usb serial converter on 9600baud. Now I want to  
use the unit with the soekris, but Whatever I try, somehow I can't get  
the software (shell script) to talk to the serial device

More info:

http://www.mastervolt.com/download.php?id=3018

http://sourceforge.net/projects/solget/

What I need, is a way to check what tty the device is on, and if it  
does sent signals, and at what rate.

The part of the graphing script communicating with the device is this:

printf \x11\x00\x00\x00\xB6\x00\x00\x00\xC7 > /dev/tty
dd if=/dev/tty of=/root/tmp/output bs=1 count=31 &

The result I get:

root at soekris 36 ~# ./test.sh
x11x00x00x00xB6x00x00x00xC7
root at soekris 37 ~# dd: /dev/tty: Input/output error
1+0 records in
1+0 records out
1 bytes transferred in 6.744 secs (0 bytes/sec)

--
jacco


More information about the Soekris-tech mailing list