[Nut-upsdev] DeviceKit-power
Марк Коренберг
socketpair at gmail.com
Mon Dec 28 08:58:57 UTC 2009
My UPS Powercom WOW-1000U does greatly work with NUT, but not
auto-cofigurable...
This UPS is not usb-hid ups, and works well with this settings in NUT:
[powercom]
desc = "powercom"
driver = powercom
port = "/dev/serial/by-id/usb-POWERCOM_CO.__LTD._USB_to_Serial-if00-port0"
type = IMP
lsusb -v fragment attached.
Unlike other UPSes, gnome-power-manager does not see this device
(after installing nut-hal-drivers in Ubuntu), and /dev/ttyUSB0 having
group "dialout" (not "nut"). I'm not guru of devkit/hal/udev
"rules.d" rules and other stuff, so, can you patch original
device-kit-power rules?
Or, please answer what to read and where i should make changes. I can
send you a patch, if this device will work on my PC.
To NUT maintainer. Please add descriptions of Powercom WOW-UPSes
("WOW-500 U", "WOW-700 U", "WOW-850 U", "WOW-1000 U") to
/usr/share/nut/driver.list
"Powercom" "WOW-xxx U" "" "powercom".
Also, all WOW-UPSes work with type=IMP and does not work without
specifying type.
--
Segmentation fault
-------------- next part --------------
Bus 005 Device 002: ID 0d9f:0002 Powercom Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0d9f Powercom Co., Ltd
idProduct 0x0002
bcdDevice 0.00
iManufacturer 1 POWERCOM CO., LTD.
iProduct 2 USB to Serial
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 Sample HID
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
** UNRECOGNIZED: 09 21 00 01 00 01 22 25 00
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
More information about the Nut-upsdev
mailing list