On 2024/01/19 13:15, Stuart Henderson wrote:
> On 2024/01/19 13:27, Radek wrote:
> > I'm not using any USB keyboard but I need USB port to manage APC UPS 
> > connected by USB cable (apcupsd).
> 
> Yes exactly.

...actually, maybe it needs to be "disable uhidev".

Point is that if you don't need other uhid devices to be handled
by kernel drivers, you can disable the driver, and they'll fallback
to being handled by ugen - same as is done more selectively by the
patch.

And by not using the patch, you can use a standard downloaded
kernel avoiding the need to rebuild on a relatively slow
machine - and, assuming you want to move back onto normal releases
later, you'll then be able to use syspatch.


> > On Fri, 19 Jan 2024 11:05:13 +0000
> > Stuart Henderson <s...@spacehopper.org> wrote:
> > 
> > > On 2024/01/19 08:32, Radek wrote:
> > > > > It looks like you are running 7.4 release with a self compiled
> > > > > kernel.
> > > > True, is it GENERIC kernel compiled with usb APC UPS support, the rest 
> > > > is untouched.
> > > > [root@@krz74~:]grep APC /usr/src/sys/dev/usb/usb_quirks.c
> > > >  { USB_VENDOR_APC, USB_PRODUCT_APC_UPS, ANY, { UQ_BAD_HID }},
> > > >  { USB_VENDOR_APC, USB_PRODUCT_APC_UPS5G, ANY, { UQ_BAD_HID }},
> > > 
> > > btw, for this case (headless machine so no real need for a USB
> > > keyboard), you may be able to simply "disable uhid" in bsd.re-config(5)
> > > and avoid the need to recompile kernels.
> > > 
> > 
> > 
> > Radek
> > 
> 

Reply via email to