On 2021/04/22 22:52, xs wrote:
> - I've seen mentions of usb_quirks.c for usbhid driver in
> /usr/local/share/doc/pkg-readmes/nut
> ```
> The option with fewest side-effects is to add the following entries to
> the table in /sys/dev/usb/usb_quirks.c and build a new kernel:
>
> { USB_VENDOR_APC, USB_PRODUCT_APC_UPS, ANY, { UQ_BAD_HID }},
> { USB_VENDOR_APC, USB_PRODUCT_APC_UPS5G, ANY, { UQ_BAD_HID }},
> ```
>
> - Would it be useful ?
No. That is for the case where a USB attaches to the uhid/upd drivers;
sometimes a device can still work with NUT when that happens, but often
not.
> - Is this related:
> https://www.mail-archive.com/[email protected]/msg62221.html ?
Since it's attaching to ugen: no.
> - What should I try to get this USB communication reliable ?
Did it work any better with an older version?
Userland access to USB devices is definitely not perfect in OpenBSD.
btw, dmesg was missing from your mail.