apc Back UPS CS 650 on OpenBSD

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

apc Back UPS CS 650 on OpenBSD

Vlad Magereanu
Hello,
 
I have an OpenBSD 3.7 box (Aug 19 18:16:56 ns /bsd: OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
Aug 19 18:16:56 ns /bsd:     [hidden email])
and an APC Back UPS CS 650 with an usb cable. The kernel detects the ups like this:

uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: American Power Conversion Back-UPS CS 650 FW:817.v2.I USB FW:v2, rev 1.10/0.06, addr 2, iclass 3/0
uhidev0: 98 report ids
uhid0 at uhidev0 reportid 1: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 2: input=0, output=0, feature=1
uhid2 at uhidev0 reportid 3: input=0, output=0, feature=1
uhid3 at uhidev0 reportid 4: input=0, output=0, feature=1
uhid4 at uhidev0 reportid 5: input=0, output=0, feature=1
uhid5 at uhidev0 reportid 6: input=0, output=0, feature=2
uhid6 at uhidev0 reportid 7: input=2, output=0, feature=2
uhid7 at uhidev0 reportid 8: input=0, output=0, feature=2
uhid24 at uhidev0 reportid 9: input=0, output=0, feature=2
uhid8 at uhidev0 reportid 10: input=0, output=0, feature=2
uhid9 at uhidev0 reportid 11: input=0, output=0, feature=2
uhid10 at uhidev0 reportid 12: input=1, output=0, feature=1
uhid11 at uhidev0 reportid 13: input=2, output=0, feature=2
uhid12 at uhidev0 reportid 14: input=0, output=0, feature=2
uhid13 at uhidev0 reportid 15: input=0, output=0, feature=1
uhid14 at uhidev0 reportid 16: input=0, output=0, feature=2
uhid15 at uhidev0 reportid 17: input=0, output=0, feature=1
uhid16 at uhidev0 reportid 18: input=0, output=0, feature=2
uhid17 at uhidev0 reportid 19: input=0, output=0, feature=3
uhid18 at uhidev0 reportid 20: input=0, output=0, feature=1
uhid19 at uhidev0 reportid 21: input=0, output=0, feature=2
uhid20 at uhidev0 reportid 22: input=1, output=0, feature=1
uhid21 at uhidev0 reportid 23: input=0, output=0, feature=1
uhid22 at uhidev0 reportid 24: input=0, output=0, feature=2
uhid23 at uhidev0 reportid 25: input=0, output=0, feature=2
uhid25 at uhidev0 reportid 26: input=0, output=0, feature=2
uhid26 at uhidev0 reportid 27: input=0, output=0, feature=1
uhid27 at uhidev0 reportid 28: input=0, output=0, feature=1
uhid28 at uhidev0 reportid 29: input=0, output=0, feature=2
uhid29 at uhidev0 reportid 30: input=0, output=0, feature=2
uhid30 at uhidev0 reportid 31: input=0, output=0, feature=2
uhid31 at uhidev0 reportid 32: input=0, output=0, feature=4
uhid32 at uhidev0 reportid 33: input=0, output=0, feature=1
uhid33 at uhidev0 reportid 34: input=0, output=0, feature=1
uhid34 at uhidev0 reportid 35: input=0, output=0, feature=2
uhid35 at uhidev0 reportid 36: input=0, output=0, feature=2
uhid36 at uhidev0 reportid 37: input=0, output=0, feature=2
uhid37 at uhidev0 reportid 38: input=0, output=0, feature=2
uhid38 at uhidev0 reportid 39: input=0, output=0, feature=2
uhid39 at uhidev0 reportid 40: input=0, output=0, feature=2
uhid40 at uhidev0 reportid 41: input=0, output=0, feature=3
uhid41 at uhidev0 reportid 42: input=0, output=0, feature=2
uhid42 at uhidev0 reportid 43: input=0, output=0, feature=2
uhid43 at uhidev0 reportid 44: input=0, output=0, feature=2
uhid44 at uhidev0 reportid 45: input=0, output=0, feature=2
uhid45 at uhidev0 reportid 46: input=0, output=0, feature=1
uhid46 at uhidev0 reportid 47: input=0, output=0, feature=1
uhid47 at uhidev0 reportid 48: input=0, output=0, feature=1
uhid48 at uhidev0 reportid 49: input=0, output=0, feature=1
uhid49 at uhidev0 reportid 50: input=0, output=0, feature=1
uhid50 at uhidev0 reportid 51: input=2, output=0, feature=2
uhid51 at uhidev0 reportid 52: input=0, output=0, feature=1
uhid52 at uhidev0 reportid 53: input=0, output=0, feature=2
uhid53 at uhidev0 reportid 54: input=0, output=0, feature=1
uhid54 at uhidev0 reportid 55: input=0, output=0, feature=1
uhid55 at uhidev0 reportid 62: input=0, output=0, feature=4
uhid56 at uhidev0 reportid 63: input=0, output=0, feature=4
uhid57 at uhidev0 reportid 64: input=0, output=0, feature=1
uhid58 at uhidev0 reportid 65: input=0, output=0, feature=2
uhid59 at uhidev0 reportid 66: input=0, output=0, feature=1
uhid60 at uhidev0 reportid 69: input=0, output=0, feature=3
uhid61 at uhidev0 reportid 70: input=0, output=0, feature=1
uhid62 at uhidev0 reportid 71: input=0, output=0, feature=1
uhid63 at uhidev0 reportid 72: input=0, output=0, feature=4
uhid64 at uhidev0 reportid 81: input=0, output=0, feature=1
uhid65 at uhidev0 reportid 82: input=0, output=0, feature=2
uhid66 at uhidev0 reportid 96: input=0, output=0, feature=2
uhid67 at uhidev0 reportid 97: input=0, output=0, feature=1
uhid68 at uhidev0 reportid 98: input=0, output=0, feature=4

[hidden email]# usbdevs -d
addr 1: UHCI root hub, Intel
  uhub0
 addr 2: Back-UPS CS 650 FW:817.v2.I USB FW:v2, American Power Conversion
   uhidev0
addr 1: UHCI root hub, Intel
  uhub1
 
 
if i try to MAKEDEV uhidev0 it doesn't work. My question is which device do i have to make so i can communicate with the ups.
 
Thank you,
Vlad Magereanu
Reply | Threaded
Open this post in threaded view
|

Re: apc Back UPS CS 650 on OpenBSD

Adam Kropelin
Vlad Magereanu wrote:

> Hello,
>  I have an OpenBSD 3.7 box (Aug 19 18:16:56 ns /bsd: OpenBSD 3.7
> (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005
> Aug 19 18:16:56 ns /bsd:
> [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC)
> and an APC Back UPS CS 650 with an usb cable. The kernel detects the
> ups like this:
>
>[...]
>
>   if i try to MAKEDEV uhidev0 it doesn't work. My question is which
> device do i have to make so i can communicate with the ups.

Read the Apcupsd manual, in the section titled "Checking out your USB
subsystem". Scroll down to the part about BSD systems and follow the
instructions there.

--Adam



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Apcupsd-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/apcupsd-users