On Sat, Nov 26, 2022 at 1:47 AM Anton Lindqvist <an...@basename.se> wrote:
> Hi, > This diff adds supports for the following to uhidpp: > > 1. Bolt receivers, they use a different set of registers for querying > paired devices. > > 2. The Unified Battery feature, this is a more competent feature > function used to report battery status compared to the Battery > feature which is already supported by uhidpp. > > Makes battery sensors appear for my Logitech Lift mouse and Paul de > Weerd's MX Anywhere 3 mouse. > > If you have a Logitech HID++ device currently lacking sensors under > sysctl hw.sensors, please give this diff a try. Send me your dmesg and > output of sysctl hw.sensors after moving the mouse to ensure a connect > interrupt has fired off. Note that the diff must be applied on top of > revision 1.37 of sys/dev/usb/uhidpp.c. > > Comments? OK? > > <snip> > @@ -193,17 +202,20 @@ struct uhidpp_device { > uint8_t d_features; > #define UHIDPP_DEVICE_FEATURE_ROOT 0x01 > #define UHIDPP_DEVICE_FEATURE_BATTERY 0x02 > +#define UHIDPP_DEVICE_FEATURE_UNIFIIED_BATTERY 0x04 > > </snip> > Do you actually mean "unifiied" with an extra "i" here? --david