Package: digitemp
Verson: 3.4.0-1

<[EMAIL PROTECTED]>  wrote:
> Could you test the original tarball?

Tested.  Sorry it took me so long.  The original and your package
behave the same.  Note the '-o2' and '-o3' output in the session log
belog.  They correctly override the default format now, but if I
understand the explanation in the manpage correctly, the output should
be one line per sensor, with the enumerated sensor label being first.
Command 505 would then look like this:

DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
0       20.34
1       27.88

The one that's important to me, though is the '-o "FORMAT STRING"'.
This one is still not working. (See 507)

------------------------- 8< ----------------------------

501$ digitemp_DS9097U   -s /dev/ttyS0 -w
DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
..
Devices on the Main LAN
264D906E0000006C : DS2438 Temperature, A/D Battery Monior
2647EE6D000000E4 : DS2438 Temperature, A/D Battery Monior

502$ digitemp_DS9097U -s /dev/ttyS0 -a
DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com

503$ digitemp_DS9097U -s /dev/ttyS0 -i
DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Turning off all DS2409 Couplers
..
Searching the 1-Wire LAN
264D906E0000006C : DS2438 Temperature, A/D Battery Monior
2647EE6D000000E4 : DS2438 Temperature, A/D Battery Monior
ROM #0 : 264D906E0000006C
ROM #1 : 2647EE6D000000E4
Wrote .digitemprc

504$ digitemp_DS9097U -s /dev/ttyS0 -a
DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Jul 28 13:00:35 Sensor 0 C: 20.25 F: 68.45 H: 24%
Jul 28 13:00:36 Sensor 1 C: 27.81 F: 82.06 H: 0%

505$ digitemp_DS9097U -s /dev/ttyS0 -a -o2
DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
0       20.34   27.88

506$ digitemp_DS9097U -s /dev/ttyS0 -a -o3
DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
0       68.51   82.17

507$ digitemp_DS9097U -s /dev/ttyS0 -a -o "Sensor: %S F: %F"s
DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Jul 28 13:02:50 Sensor 0 C: 19.81 F: 67.66 H: 24%
Jul 28 13:02:50 Sensor 1 C: 28.00 F: 82.40 H: 0%

508$ cat .digitemprc 
TTY /dev/ttyS0
READ_TIME 1000
LOG_TYPE 1
LOG_FORMAT "%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F"
CNT_FORMAT "%b %d %H:%M:%S Sensor %s #%n %C"
HUM_FORMAT "%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F H: %h%%"
SENSORS 2
ROM 0 0x26 0x4D 0x90 0x6E 0x00 0x00 0x00 0x6C 
ROM 1 0x26 0x47 0xEE 0x6D 0x00 0x00 0x00 0xE4 
-- 
Chad Walstrom <[EMAIL PROTECTED]>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to