Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] UPS driver error
Date: Sat, 01 Jan 2011 22:07:17
Message-Id: AANLkTinVt-jgQR8GgifDEwS=P0fsTmTC9OKg8pOGU9q5@mail.gmail.com
1 Hi All,
2
3 I have a iDowell UPS with a USB connection which I'm trying to
4 configure with Gentoo. This UPS works fine with the default settings
5 in WinXP and apparently with AppleMac boxen which it is marketed for:
6
7 http://store.apple.com/uk/product/TR423ZM/A
8
9 This is what it shows in dmesg:
10
11 usb 3-2: New USB device found, idVendor=075d, idProduct=0300
12 usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
13 usb 3-2: Product: iBox
14 usb 3-2: Manufacturer: iDowell
15 usb 3-2: SerialNumber: 00000001
16 generic-usb 0003:075D:0300.0002: hidraw1: USB HID v1.10 Device
17 [iDowell iBox] on usb-0000:00:1d.1-2/input0
18
19 I've added this udev rule in
20
21 # iDowell iBox USB
22 ATTR{idVendor}=="075d", ATTR{idProduct}=="0300", MODE="664", GROUP="nut"
23
24 and have defined this UPS and driver in /etc/nut/ups.conf:
25
26 [iDowell]
27 driver = usbhid-ups
28 port = auto
29 vendorid = 075d
30 desc = "iBox by iDowell"
31
32 However, the driver does not seem to recognise the device:
33
34 # /etc/init.d/upsd restart
35 * Starting upsd ...
36 Network UPS Tools upsd 2.4.3
37 listening on 127.0.0.1 port 3493
38 Can't connect to UPS [iDowell] (usbhid-ups-iDowell): No such file or directory
39 allowfrom in upsd.users is no longer used [ ok ]
40
41 and
42
43 # /etc/init.d/upsdrv start
44 * Starting UPS drivers ...
45 Network UPS Tools - UPS driver controller 2.4.3
46 Network UPS Tools - Generic HID driver 0.34 (2.4.3)
47 USB communication driver 0.31
48 No matching HID UPS found
49 Driver failed to start (exit status=1)
50 * Failed to start UPS drivers! [ !! ]
51
52 I have noticed that dmesg continuously fills up with messages like:
53
54 usb 3-2: USB disconnect, address 116
55 usb 3-2: new low speed USB device using uhci_hcd and address 117
56 usb 3-2: New USB device found, idVendor=075d, idProduct=0300
57 usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
58 usb 3-2: Product: iBox
59 usb 3-2: Manufacturer: iDowell
60 usb 3-2: SerialNumber: 00000001
61 generic-usb 0003:075D:0300.005C: hidraw1: USB HID v1.10 Device
62 [iDowell iBox] on usb-0000:00:1d.1-2/input0
63 usb 3-2: USB disconnect, address 117
64 usb 3-2: new low speed USB device using uhci_hcd and address 118
65 usb 3-2: New USB device found, idVendor=075d, idProduct=0300
66 usb 3-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
67 usb 3-2: Product: iBox
68 usb 3-2: Manufacturer: iDowell
69 usb 3-2: SerialNumber: 00000001
70 generic-usb 0003:075D:0300.005D: hidraw1: USB HID v1.10 Device
71 [iDowell iBox] on usb-0000:00:1d.1-2/input0
72
73 I do not know why it keeps disconnecting and reconnecting getting a
74 new address every time.
75
76 Any ideas what else I could try?
77 --
78 Regards,
79 Mick

Replies

Subject Author
[gentoo-user] Re: UPS driver error Francesco Talamona <francesco.talamona@××××.eu>