[Soekris] net4801 second serial port

Jere Virta jere at muumilaakso.fi
Wed Sep 13 18:31:03 UTC 2006


Hello,

I have few DS18S20 -temperature sensors, which are connect to a serial 
port with a simple adapter.
The temperatures are read using program called digitemp. This all works 
fine in another computer,
but when connect the adapter to a soekris board, the sensors can't be 
found or read.

So my question is, are there any special magic tricks needed in using 
the second serial port?
I'm using Linux on both system.

root at lust:~# uname -a
Linux lust 2.6.15-486-voyage #1 PREEMPT Sat May 27 05:41:43 GMT 2006 
i586 GNU/Linux
-----8<-----8<-----8<-----
root at lust:~# grep tty /var/log/dmesg
Kernel command line: auto BOOT_IMAGE=Linux ro root=301 
console=ttyS0,9600n8 reboot=bios
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
-----8<-----8<-----8<-----
root at lust:~# digitemp_DS9097 -w -s /dev/ttyS1
DigiTemp v3.3.2 Copyright 1996-2004 by Brian C. Lane
GNU Public License v2.0 - http://www.brianlane.com
Turning off all DS2409 Couplers


(And here it stalls)
-----8<-----8<-----8<-----

This it what it shoud look like

chelsea% sudo digitemp_DS9097 -w -s /dev/ttyS0
DigiTemp v3.3.2 Copyright 1996-2004 by Brian C. Lane
GNU Public License v2.0 - http://www.brianlane.com
Turning off all DS2409 Couplers
..
Devices on the Main LAN
10C61E7F0008004C : DS1820/DS18S20/DS1920 Temperature Sensor
109E3F7F000800F6 : DS1820/DS18S20/DS1920 Temperature Sensor
-----8<-----8<-----8<-----

Thanks in advance,



--
Jere Virta


More information about the Soekris-tech mailing list