Page MenuHomeFreeBSD

conf: Add hkbd and hms to GENERIC* kernel configs
Needs ReviewPublic

Authored by manu on Thu, Jun 20, 8:11 AM.
Tags
None
Referenced Files
F86879072: D45658.diff
Wed, Jun 26, 10:40 PM
F86879071: D45658.diff
Wed, Jun 26, 10:40 PM
F86878878: D45658.id.diff
Wed, Jun 26, 10:37 PM
F86878875: D45658.id.diff
Wed, Jun 26, 10:37 PM
Unknown Object (File)
Sat, Jun 22, 1:03 PM
Unknown Object (File)
Fri, Jun 21, 6:59 PM
Unknown Object (File)
Fri, Jun 21, 10:39 AM
Unknown Object (File)
Thu, Jun 20, 2:36 PM

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 Skipped
Unit
Tests Skipped

Event Timeline

manu requested review of this revision.Thu, Jun 20, 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.Thu, Jun 20, 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.Mon, Jun 24, 4:59 AM