Re: hid-input.c && vendor defined usage pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 02, 2024 at 08:00:59AM -0700, Dmitry Torokhov wrote:
> Hi Aseda,
> 
> On Tue, Sep 24, 2024 at 07:32:30PM -0500, Aseda Aboagye wrote:
> > Perhaps this is a naive question, but why does `hidinput_configure_usage()` in
> > `hid-input.c` configure vendor defined usage pages? In actuality, it seems like
> > it's mainly handling some HP specific usage pages.  Why aren't those in some
> > `hid-hp.c` file that's selected by a kernel config?
> 
> It is simply a historic artefact. These usages were mapped way before we
> had HID sub-drivers and accompanying infrastructure.

Do you reckon that we're stuck with this behaviour now since migrating them
out, will likely break users who don't have the appropriate sub-drivers
selected in their kernel config?

Thanks,

-- 
Aseda Aboagye




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux