Werner Flamme wrote:
[11.08.2013 12:52] [Per Jessen]:
Werner Flamme wrote:
[10.08.2013 13:56] [Per Jessen]:
I'm trying to use the HP Power Manager software which appears to require/expect a USB serial port when talking to the HP T1000 G3 UPS. The UPS _is_ connected via USB. The setup utility only works with /dev/ttySx but USB serial ports usually end up as /dev/ttyUSBx or in this case /dev/usb/hiddev0 ....
Did you try
ln -s /dev/usb/hiddev0 /dev/ttySx
?
HTH, Werner
Hi Werner
yes, I did try that one, but the setup utility doesn't recognise it as a serial port:
# LD_LIBRARY_PATH=$PWD ./DMSetup -log Shutting down UPS Device Manager Service: done. Do you wish to use SSL to communicate with HP Power Manager? [yN]: n Please enter a port to use for web communications [88]: Is your UPS connected to a network? [Yn]: n Please select a serial port to search for a UPS device on: 1) /dev/ttyS0 2) /dev/ttyS1 3) /dev/ttyS2 4) /dev/ttyS3 5) /dev/ttyS4 6) /dev/ttyS5 7) /dev/ttyS6 8) /dev/ttyS7 9) /dev/ttyS8 10) /dev/ttyS9 [1]: 10 Looking for serial devices: Failed to Open Communications Port. Failed to find device, please check your connections and try again.
ttyS0 is a real serial port, which I tried too - there's no UPS connected, but the utility seems to recognise it as a serial port.
So, /dev/ttyS0 is a real port. Are the other mentioned ports also real? Do they exist (ll /dev/tty*) or are they only a proposal from the UPS manager?
They're only a proposal.
If they do not exist, link the port you connected your UPS to (you mentioned /dev/usb/hiddev0) to one of the non-existing ports in that list.
Yep, that's what I did - ttyS9. -- Per Jessen, Zürich (23.0°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org