On Thu, Dec 23, 2021 at 07:50:24AM +0000, Raf Czlonka wrote: > On Wed, Dec 22, 2021 at 08:32:16AM GMT, Claudio Jeker wrote: > > On Tue, Dec 21, 2021 at 03:49:47PM -0500, [email protected] wrote: > > > > > > Hello OpenBSD developers, > > > > > > I am interested in contributing to improve the uhidpp(4) > > > (Logitech Unifying Reciever) support in OpenBSD. > > > > > > Currently, the uhidpp(4) driver only handles detecting certain > > > sensors, but I would like more robust support for these devices, > > > including: > > > > > > * pairing and unpairing devices on the command-line > > > * controlling the scrolling speed/auxiliary buttons of wireless mice > > > > > > Do you know where I should start? Should I work on the uhidpp(4) > > > driver, or should I go ahead and start writing a command-line utility, > > > like uhidppctl(8)? > > > > I doubt we want a uhidppctl(8) unless it is really necessary. > > I would expect wsmouse(4) to handle the controlling of scrolling > > speed and auxiliary buttons. > > Hi Claudio, > > I had to do pair some devices recently for both Logitech Unifying > receiver as well as How Dell Universal Pairing receiver (out of > scope here), and it was a bit of a faff having to source another > machine and OS. So, purely from a user perspective, given that a > single receiver can pair up to six devices, it would be nice not > having to use another machine/OS to do the pairing step :^)
I agree with you and I did not talk about pairing devices in my reply because this is a more complex topic. We only had the now removed netbt stack that had pairing implemented and it was rather bad to use. Device pairing should work a bit like how WiFi join works. Another thing to not forget is that all of our wifi adapters use ifconifg(4) for configuration. We don't ship a iwmctl, iwnctl, iwxctl, bwfmctl, ralctl, runctl, wiconfig and mtwctl. Sure currently this is only about Logitech so uhidppctl(8) works but what when more such adapters are added? -- :wq Claudio
