Viestissä Perjantai 20. Kesäkuuta 2003 08:00, Michael J. McGillick kirjoitti: > Determining which USB port this unit is running on. dmesg | grep 'UPS' It should be a HID device, e.g. hiddev0: $ dmesg | grep UPS hiddev0: USB HID v1.00 Joystick [American Power Conversion Back-UPS ES/CyberFort 500 FW: 4.1.I USB FW: d1] on usb2:2.0 > - How do I tell Linux about the hardware, and ensure it is using the > correct driver. Edit the nut configuration files /etc/sysconfig/ups and /etc/ups/* chmod the USB device file (/dev/usb/hiddev*) so that the driver can read and write the device. > - How do I correctly configure the configuration files to talk with this > unit. In /etc/sysconfig/ups set MODEL=hidups and DEVICE=/dev/usb/hiddev0 (or whatever is the correct HID device. In /etc/ups/ups.conf define the name for your ups and re-define the driver and port. In /etc/ups/upsd.users declare names, passwords and permissions. These are separate from normal Linux usernames/passwords. In /etc/ups/upsmon.conf define the UPS to be monitored, together with a username and password matching those defined in upsd.users -- Markku Kolkka markku.kolkka@xxxxxxxxxxxx