--- 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: > > > > [EMAIL PROTECTED] 36 ~# ./test.sh > > x11x00x00x00xB6x00x00x00xC7 > > [EMAIL PROTECTED] 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) > > > > Looking at the script part that you've provided in your email and looking at > the supplied output > I would say that you use the wrong tty device. > > The output that was supposed to go to the solar-device is output to your own > terminal. > Now I'm not that familiar with OpenBSD but /dev/tty is usualy the system > concole device on most unix'es > > On Solaris/BSD's serial-devices/-ports are usually called something like > /dev/cua?? /dev/ttyd?
i use /dev/tty00 for directly connected serial consoles. _______________________________________________ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech