Page MenuHomeFreeBSD

conf: Add hkbd and hms to GENERIC* kernel configs
ClosedPublic

Authored by manu on Jun 20 2024, 8:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 10:09 AM
Unknown Object (File)
Sun, Dec 22, 3:26 PM
Unknown Object (File)
Sat, Dec 14, 12:22 PM
Unknown Object (File)
Mon, Dec 9, 7:03 AM
Unknown Object (File)
Nov 21 2024, 9:13 PM
Unknown Object (File)
Nov 17 2024, 6:22 PM
Unknown Object (File)
Nov 17 2024, 4:01 AM
Unknown Object (File)
Oct 25 2024, 4:13 AM

Details

Summary

Include the new unified HID stack by default in generic.
This will allow us to migrate to the multi-stack hkbd and hms instead of
relying on the older ukbd and ums which only work with USB.
To test those drivers just add hw.usb.usbhid.enable=1 in loader.conf

Sponsored by: Beckhoff Automation GmbH & Co. KG

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

manu requested review of this revision.Jun 20 2024, 8:11 AM

Apart from the one mistakenly added hid kernel, I like it. But I hit approve because that mistake predates this change.

sys/powerpc/conf/QORIQ64
130

I don't think this kernel should even have hid at all

This revision is now accepted and ready to land.Jun 20 2024, 2:32 PM

Seems reasonable to me, if we have ukbd compiled in as well. Can you also indicate in the commit message what we get out of using hkbd instead of ukbd?

(Mostly as a thought experiment) would it be possible for these to all be loaded as modules?

sys/powerpc/conf/QORIQ64
130

I added it because QORIQ64 is most likely to be seen with the AmigaOne X5000 desktop (I did all the book-E work over the past decade or so with that in mind).

Seems reasonable to me, if we have ukbd compiled in as well. Can you also indicate in the commit message what we get out of using hkbd instead of ukbd?

I thought my message was clear on this, can you suggest better wording then ?

(Mostly as a thought experiment) would it be possible for these to all be loaded as modules?

They can but I'm unsure if everything works (same with old uhid stack). If I boot MINIMAL and load usb, uhid and ukbd from loader I still don't have a keyboard, same for loading usb, usbhid and hkbd. So I'm unsure if we have everything correct for runtime loadable usb stack.

Seems reasonable to me, if we have ukbd compiled in as well. Can you also indicate in the commit message what we get out of using hkbd instead of ukbd?

I thought my message was clear on this, can you suggest better wording then ?

Include the new unified HID stack by default in generic. This will allow us to migrate to the
multi-stack hkbd and hms instead of relying on the older ukbd and ums which only work with
USB.
manu retitled this revision from conf: Add usbhid and hidbus to GENERIC* kernel configs to conf: Add hkbd and hms to GENERIC* kernel configs.
manu edited the summary of this revision. (Show Details)
This revision now requires review to proceed.Jun 24 2024, 4:59 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 10 2024, 6:06 AM
This revision was automatically updated to reflect the committed changes.