Quote Originally Posted by dyonisos View Post
Is there a step-by-step guide available?

I have a usb-serial converter and DS1820 with RS232 adapter. The digitemp ipkg I found is only for DS2490, DS9097 and DS9097U.

I get the error:
USB ERROR: owAcquire called with invalid port string

Please help! What can I do?
First of all remember the wl500g uses different places for the serial port location than most Linux desktops. It uses the full /dev/usb/tts/???

The serial port adapter is seen as a DS9097.

As my serial adapter that I'm using is at the following address /dev/usb/tts/0 I use the following to show all devices on the tree
Code:
 digitemp_DS9097 -s /dev/usb/tts/0 -w
See the log when you plug it in to determine what address your device is using, should be 0 unless you have multiple serial adapters.

Once you have that working and you have all your devices plugged in and can see them on the tree walk, initialise the config file by running:
Code:
digitemp_DS9097 -i
I think this creates a file in /opt/ called .digitemprc (I can't remember if I renamed mine)

Mine looks like this...
Code:
TTY /dev/usb/tts/0
READ_TIME 1500
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 1
ROM 0 0x11 0x0A 0x98 0x11 0x10 0x18 0x44 0x5B
The initialise will walk the tree and find the sensors and add them to the file.
Every time you change what sensors are attached you will need to add the addresses to the file or re-initialise.
This isn't as stupid as it might sound. Just because the order of the sensors is one way round today, doesn't mean than the devices will start-up and report in the same order tomorrow. Ironically, temperature can have a big effect on the start-up of these little parasitic devices.

In the above file, I think I added the read_time to stabilise the usb serial adpaters I'm using, as they don't quite provide enough voltage for 100% reliability.

I then call
Code:
 digitemp_DS9097 -c /opt/.digitemprc -a
This returns
Code:
DigiTemp v3.4.0 Copyright 1996-2005 by Brian C. Lane
GNU Public License v2.0 - http://www.digitemp.com
Jun 18 18:24:16 Sensor 0 C: 22.75 F: 72.95
But the format is changeable (I've changed mine in the config file) and if you use the -l logfile option the copyright text isn't logged.

For more information see the help files (Readme, etc) that are in the following.
http://www.digitemp.com/software/lin...p-3.4.0.tar.gz

To answer a question I got via PM by a different user (strange in the same week getting two questions on something I posted last year), that may or may not help others, I'm using the wl500g Delux with the usb2 ports. I have found that plugging usb1 devices into it sometimes doesn't work unless they are plugged into a usb1 hub that is plugged into the wl500 directly. So I effectivly have one usb2 port on the asus that I have a usb2 hub on (for my Toppy and external hardisk) and the other for the serial adapters and the usb memory I use to boot with.

I never got the pl2303 adapters to work plugged into a usb2 hub, after some searching I found that there is a Linux kernel bug that stops this from working.

SgtWilko