Jon Sjöstedt
2010-Apr-19 13:54 UTC
[Nut-upsdev] Trouble detecting APC Smart-UPS connected via usb
Hello! I have installed the nut package from the OpenBSD 4.4 packages tree, nut-2.2.1p0 I have a new APC Smart-UPS 750 which I plan to connect via USB. When I try to start the usbhid-ups i get debug level is '2' upsdrv_initups... No appropriate HID device found No matching HID UPS found for almost anything i try. OpenBSD detects my UPS and assigns it to a device and it can be seen using usbdevs. The only clue I have so far is that there should be something with the USB subsystem. Example line that does not work: $ sudo usbhid-ups -DD -a ups-closetmonster -x port=/dev/ugen0.00 > Network UPS Tools: 0.29 USB communication driver - core 0.32 () debug level is '2' upsdrv_initups... No appropriate HID device found No matching HID UPS found Any ideas? -- <--------------------------------------------> jonsjostedt at gmail.com jonsjostedt at hotmail.com
Kjell Claesson
2010-Apr-19 16:05 UTC
[Nut-upsdev] Trouble detecting APC Smart-UPS connected via usb
> Hello!Hello Jon,> > I have installed the nut package from the OpenBSD 4.4 packages tree, > nut-2.2.1p0 >Maybe this page give you some hint. I'm not so good at openbsd. https://calomel.org/nut_ups.html> I have a new APC Smart-UPS 750 which I plan to connect via USB. When I > try to start the usbhid-ups i get > > debug level is '2' > upsdrv_initups... > No appropriate HID device found > No matching HID UPS found > > for almost anything i try. > > OpenBSD detects my UPS and assigns it to a device and it can be seen > using usbdevs. The only clue I have so far is that there should be > something with the USB subsystem. > > Example line that does not work: > $ sudo usbhid-ups -DD -a ups-closetmonster -x port=/dev/ugen0.00 > > Network UPS Tools: 0.29 USB communication driver - core 0.32 () > > debug level is '2' > upsdrv_initups... > No appropriate HID device found > No matching HID UPS found > > Any ideas?Hej /Kjell
Stuart D. Gathman
2010-Apr-19 18:04 UTC
[Nut-upsdev] Trouble detecting APC Smart-UPS connected via usb
On Mon, 19 Apr 2010, Jon Sj?stedt wrote:> I have installed the nut package from the OpenBSD 4.4 packages tree, nut-2.2.1p0 > > I have a new APC Smart-UPS 750 which I plan to connect via USB. When I > try to start the usbhid-ups i get > > debug level is '2' > upsdrv_initups... > No appropriate HID device found > No matching HID UPS foundOn Redhat EL5, the udev system doesn't make the device nodes for the UPS accessible to nut by default. Perhaps something similar is happening on OpenBSD. In theory, there is some way to tweak the udev rules. In practice, I find it simpler to do a chown in rc.local. -- Stuart D. Gathman <stuart at bmsi.com> Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 "Confutatis maledictis, flammis acribus addictis" - background song for a Microsoft sponsored "Where do you want to go from here?" commercial.