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
--- Uffe Jakobsen [Sun, Apr 27, 2008 at 01:09:50PM +0200]: ---
Hi,
jacco wrote:
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:
On 2008-04-27, jacco [EMAIL PROTECTED] wrote:
printf \x11\x00\x00\x00\xB6\x00\x00\x00\xC7 /dev/tty
dd if=/dev/tty of=/root/tmp/output bs=1 count=31
See man 4 tty
___
Soekris-tech mailing list
Soekris-tech@lists.soekris.com
On Sun, 27 Apr 2008, Uffe Jakobsen wrote:
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:
Looking at the script part that you've provided
Hi,
jacco wrote:
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:
[EMAIL PROTECTED] 36 ~# ./test.sh
x11x00x00x00xB6x00x00x00xC7
[EMAIL
On 27 apr 2008, at 13:09, Uffe Jakobsen wrote:
Hi,
jacco wrote:
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:
[EMAIL PROTECTED] 36 ~#
This converter uses an DB-9 based serial device,
It's a trivial thing in one sense...but surely this should be DE-9.
I've never seen a DB-9 and doubt they exist; what's commonly miscalled
a DB-9 is actually a DE-9. The letter after the D indicates the shell
size, and the DB shell is the 25-pin
On Sun, Apr 27, 2008 at 06:19:21PM +0200, jacco wrote:
[...]
Here's my dmesg output, booting OpenBSD on the soekris:
[...]
usb0 at ohci0: USB revision 1.0
uhub0 at usb0: Compaq OHCI root hub, rev 1.00/1.00, addr 1
[...]
Was that before or after attaching the USB dongle? If before,
connect it,
Jacco,
Looking at the solget script, it uses '/dev/tty/1' as the input/output
device, have you tried this?
Also, you could use a serial breakout box to see any traffic.
You should include line 322 in your test.sh.
# Configure serial port
stty -hupcl -clocal ignbrk -icrnl -ixon
On 04/27/2008 03:05:38 PM, William Estrada wrote:
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
I'm jumping into the middle of this without looking at details,
but I did just setup a soekris
10 matches
Mail list logo