I recently found myself the owner of an APC UPS that talks over USB.
I installed apcupsd and disabled uhidev(4) with config(8) so that it
would instead show up as ugen(4) as noted in the apcupsd docs.  The
dmesg lines below are both against a -stable GENERIC, and are not
cumulative.

Now I am looking to attach other USB items - camera, keyboard, mouse -
that would undoubtedly require uhidev to work.  I have tried several
different methods to get things to cooperate, without success.

I suspect that I have two options, but at this point I don't know how
to accomplish either.
A) Specifically configure ONLY the ugen0 device.
B) Disable uhidev ONLY where the ugen0 needs to be found.

Suggestions are welcome; thanks in advance.

--david

# disable uhidev
#
ugen0 at uhub0 port 1
ugen0: APC Back-UPS ES 750 FW:819.z2.D USB FW:z2, rev 1.10/1.06, addr 2
ugen1 at uhub0 port 2
ugen1: Canon Inc. Canon Digital Camera, rev 2.00/0.02, addr 3

# add ugen0
#   clone ugen (299)
#   above ugen (299)
# change ugen0
#   port 1
# disable ugen
#
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: APC Back-UPS ES 750 FW:819.z2.D USB FW:z2, rev 1.10/1.06,
addr 2, iclass 3/0
uhidev0: 123 report ids
uhid0 at uhidev0 reportid 1: input=0, output=0, feature=1
uhid1 at uhidev0 reportid 2: input=0, output=0, feature=1
[...etc...]
uhid49 at uhidev0 reportid 123: input=0, output=0, feature=2
Canon Inc. Canon Digital Camera, class 0/0, rev 2.00/0.02, addr 3,
uhub0 port 2 not configured

Reply via email to