On Saturday 01 January 2011, Mick wrote:
> Hi All,
>
> I have a iDowell UPS with a USB connection which I'm trying to
> configure with Gentoo. This UPS works fine with the default settings
> in WinXP and apparently with AppleMac boxen which it is marketed for:
>
> http://store.apple.com/uk/product/TR423ZM/A
>
> This is what it shows in dmesg:
>
> usb 3-2: New USB device found, idVendor=075d, idProduct=0300
> usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
> usb 3-2: Product: iBox
> usb 3-2: Manufacturer: iDowell
> usb 3-2: SerialNumber: 00000001
> generic-usb 0003:075D:0300.0002: hidraw1: USB HID v1.10 Device
> [iDowell iBox] on usb-0000:00:1d.1-2/input0
>
> I've added this udev rule in
>
> # iDowell iBox USB
> ATTR{idVendor}=="075d", ATTR{idProduct}=="0300", MODE="664",
> GROUP="nut"
>
> and have defined this UPS and driver in /etc/nut/ups.conf:
>
> [iDowell]
> driver = usbhid-ups
> port = auto
> vendorid = 075d
> desc = "iBox by iDowell"
>
> However, the driver does not seem to recognise the device:
>
> # /etc/init.d/upsd restart
> * Starting upsd ...
> Network UPS Tools upsd 2.4.3
> listening on 127.0.0.1 port 3493
> Can't connect to UPS [iDowell] (usbhid-ups-iDowell): No such file or
> directory allowfrom in upsd.users is no longer used
> [ ok ]
>
> and
>
> # /etc/init.d/upsdrv start
> * Starting UPS drivers ...
> Network UPS Tools - UPS driver controller 2.4.3
> Network UPS Tools - Generic HID driver 0.34 (2.4.3)
> USB communication driver 0.31
> No matching HID UPS found
> Driver failed to start (exit status=1)
> * Failed to start UPS drivers!
> [ !! ]
>
> I have noticed that dmesg continuously fills up with messages like:
>
> usb 3-2: USB disconnect, address 116
> usb 3-2: new low speed USB device using uhci_hcd and address 117
> usb 3-2: New USB device found, idVendor=075d, idProduct=0300
> usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
> usb 3-2: Product: iBox
> usb 3-2: Manufacturer: iDowell
> usb 3-2: SerialNumber: 00000001
> generic-usb 0003:075D:0300.005C: hidraw1: USB HID v1.10 Device
> [iDowell iBox] on usb-0000:00:1d.1-2/input0
> usb 3-2: USB disconnect, address 117
> usb 3-2: new low speed USB device using uhci_hcd and address 118
> usb 3-2: New USB device found, idVendor=075d, idProduct=0300
> usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
> usb 3-2: Product: iBox
> usb 3-2: Manufacturer: iDowell
> usb 3-2: SerialNumber: 00000001
> generic-usb 0003:075D:0300.005D: hidraw1: USB HID v1.10 Device
> [iDowell iBox] on usb-0000:00:1d.1-2/input0
>
> I do not know why it keeps disconnecting and reconnecting getting a
> new address every time.
>
> Any ideas what else I could try?
I think is an issue with the UDEV rules.
At the end of /etc/udev/rules.d/10-local.rules I put this line for my
liebert USB UPS:
SUBSYSTEMS=="usb",ATTRS{idVendor}=="10af",ATTRS{idProduct}=="0004",SYMLINK+="liebert-
ups" MODE="0660", GROUP="nut", OPTIONS="last_rule"
and in
/etc/nut/ups.conf
user = nut
[liebert]
port = /dev/liebert-ups
driver = liebert
Make sure also about permissions:
lrwxrwxrwx 1 root root 11 2 gen 10.34 /dev/liebert-ups -> usb/hiddev0
crw-rw---- 1 root nut 180, 96 2 gen 10.34 usb/hiddev0
HTH
Francesco
--
Linux Version 2.6.36-gentoo-r6, Compiled #1 SMP PREEMPT Tue Dec 28
20:43:07 CET 2010
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4019.24 Bogomips Total
aemaeth