Hi Team,
I've been experimenting with getting the PowerShield Defender 1200VA UPS
working and it appears to be supported by the blazer_usb driver, although it
did not have the correct permissions within udev to load the driver as the
non-root user after an RPM install on Fedora Core 16.
[root@localhost ~]# lsusb
...
Bus 006 Device 005: ID 0665:5161 Cypress Semiconductor USB to Serial
[root@localhost ~]# dmesg | grep usb
[1034160.810062] usb 6-3: new low speed USB device number 5 using ohci_hcd
[1034160.963157] usb 6-3: New USB device found, idVendor=0665, idProduct=5161
[1034160.963166] usb 6-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[1034160.963173] usb 6-3: Product: USB to Serial
[1034160.963178] usb 6-3: Manufacturer: INNO TECH
[1034160.963183] usb 6-3: SerialNumber: 20100813
[1034160.978571] generic-usb 0003:0665:5161.0006: hiddev0,hidraw2: USB HID
v1.00 Device [INNO TECH USB to Serial] on usb-0000:00:13.1-3/input0
[root@localhost ~]# upsc powershield@localhost
battery.voltage: 27.40
battery.voltage.nominal: 24.0
beeper.status: enabled
device.type: ups
driver.name: blazer_usb
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 5161
driver.parameter.vendorid: 0665
driver.version: 2.6.3
driver.version.internal: 0.04
input.current.nominal: 5.0
input.frequency: 49.9
input.frequency.nominal: 50
input.voltage: 244.5
input.voltage.fault: 244.5
input.voltage.nominal: 240
output.voltage: 244.5
ups.delay.shutdown: 30
ups.delay.start: 180
ups.load: 8
ups.productid: 5161
ups.status: OL
ups.type: offline / line interactive
ups.vendorid: 0665
NOTE: I had to put the MODE="777" in my udev rules or I would get "permission
denied" and "failed to open device" unless I ran with the "-u root" option at
the command line.
[root@localhost ~]# cat /etc/udev/rules.d/95-nut-ups.rules
SYSFS{idVendor}=="0665", SYSFS{idProduct}=="5161", MODE="777",
GROUP="@RUN_AS_USER@"
[root@localhost init.d]# /sbin/upsdrvctl start
Network UPS Tools - UPS driver controller 2.6.3
Network UPS Tools - Megatec/Q1 protocol USB driver 0.04 (2.6.3)
Supported UPS detected with mustek protocol
Vendor information unavailable
Battery runtime will not be calculated (runtimecal not set)
Cheers
Tom_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev