Hello,
I'm trying to get nut (Network UPS Tool) working on my centos 5 OpenVZ.
I've added the USB device to the devices list in the conf file after finding them with the "lsusb" command.
DEVICES="c:189:256:rw c:189:257:rw"
and restarted the virtual.
I then create the nodes on the virtual:
mkdir -p /dev/bus/usb/003/002
mknod 001 c 189 256
mknod 002 c 189 257
I can then see the UPS with the "lsusb" command under the virtual..
However when I attempt to start up nut I'm getting this:
# /usr/local/ups/bin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - MGE UPS SYSTEMS/U-Talk driver 0.89 (2.4.1)
tcgetattr(/dev/bus/usb/003/002): Inappropriate ioctl for device
Driver failed to start (exit status=1)
Which seems to me to be an issue with the way I've routed the USB devices... though I've set it to RW..
Did I miss a step here? any help would be great..
Cheers,
---Guy
I'm trying to get nut (Network UPS Tool) working on my centos 5 OpenVZ.
I've added the USB device to the devices list in the conf file after finding them with the "lsusb" command.
DEVICES="c:189:256:rw c:189:257:rw"
and restarted the virtual.
I then create the nodes on the virtual:
mkdir -p /dev/bus/usb/003/002
mknod 001 c 189 256
mknod 002 c 189 257
I can then see the UPS with the "lsusb" command under the virtual..
However when I attempt to start up nut I'm getting this:
# /usr/local/ups/bin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - MGE UPS SYSTEMS/U-Talk driver 0.89 (2.4.1)
tcgetattr(/dev/bus/usb/003/002): Inappropriate ioctl for device
Driver failed to start (exit status=1)
Which seems to me to be an issue with the way I've routed the USB devices... though I've set it to RW..
Did I miss a step here? any help would be great..
Cheers,
---Guy