mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
conf: Add usbhid and hidbus to GENERIC* kernel configs
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 Differential Revision: https://reviews.freebsd.org/D45658 Reviewed by: emaste, imp, wulf (all older version) Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
5f75cd390a
commit
13d00a43cb
13 changed files with 54 additions and 9 deletions
|
|
@ -324,7 +324,9 @@ device ohci # OHCI PCI->USB interface
|
||||||
device ehci # EHCI PCI->USB interface (USB 2.0)
|
device ehci # EHCI PCI->USB interface (USB 2.0)
|
||||||
device xhci # XHCI PCI->USB interface (USB 3.0)
|
device xhci # XHCI PCI->USB interface (USB 3.0)
|
||||||
device usb # USB Bus (required)
|
device usb # USB Bus (required)
|
||||||
device ukbd # Keyboard
|
device usbhid # USB HID Transport
|
||||||
|
device hkbd # HID Keyboard
|
||||||
|
device ukbd # USB Keyboard
|
||||||
device umass # Disks/Mass storage - Requires scbus and da
|
device umass # Disks/Mass storage - Requires scbus and da
|
||||||
|
|
||||||
# Sound support
|
# Sound support
|
||||||
|
|
@ -375,6 +377,7 @@ device uinput # install /dev/uinput cdev
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID Bus
|
||||||
options IICHID_SAMPLING # Workaround missing GPIO INTR support
|
options IICHID_SAMPLING # Workaround missing GPIO INTR support
|
||||||
|
|
||||||
# EFI devices
|
# EFI devices
|
||||||
|
|
|
||||||
|
|
@ -191,7 +191,9 @@ device musb
|
||||||
|
|
||||||
device axe # USB-Ethernet
|
device axe # USB-Ethernet
|
||||||
device umass # Disks/Mass storage - Requires scbus and da
|
device umass # Disks/Mass storage - Requires scbus and da
|
||||||
|
device usbhid # USB HID Transport
|
||||||
device uhid # "Human Interface Devices"
|
device uhid # "Human Interface Devices"
|
||||||
|
device hkbd # Allow keyboard like HIDs to control console
|
||||||
device ukbd # Allow keyboard like HIDs to control console
|
device ukbd # Allow keyboard like HIDs to control console
|
||||||
|
|
||||||
# Device mode support
|
# Device mode support
|
||||||
|
|
@ -225,6 +227,7 @@ device sound
|
||||||
# Framebuffer support
|
# Framebuffer support
|
||||||
device vt
|
device vt
|
||||||
device kbdmux
|
device kbdmux
|
||||||
|
device hms
|
||||||
device ums
|
device ums
|
||||||
device videomode
|
device videomode
|
||||||
device vchiq
|
device vchiq
|
||||||
|
|
@ -262,6 +265,7 @@ device aw_thermal # Allwinner Thermal Sensor Controller
|
||||||
|
|
||||||
# HID support
|
# HID support
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID Bus
|
||||||
|
|
||||||
# Flattened Device Tree
|
# Flattened Device Tree
|
||||||
options FDT # Configure using FDT/DTB data
|
options FDT # Configure using FDT/DTB data
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@ device usb_template # Control of the gadget
|
||||||
# Comment following lines for boot console on serial port
|
# Comment following lines for boot console on serial port
|
||||||
device vt
|
device vt
|
||||||
device kbdmux
|
device kbdmux
|
||||||
|
device hkbd
|
||||||
device ukbd
|
device ukbd
|
||||||
|
|
||||||
device sdhci
|
device sdhci
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,7 @@ device ehci # EHCI USB interface
|
||||||
device xhci # XHCI USB interface
|
device xhci # XHCI USB interface
|
||||||
device tegra124_xusb_fw # Tegra XUSB firmware
|
device tegra124_xusb_fw # Tegra XUSB firmware
|
||||||
device usb # USB Bus (required)
|
device usb # USB Bus (required)
|
||||||
|
device usbhid # USB HID Transport
|
||||||
device umass # Disks/Mass storage - Requires scbus and da
|
device umass # Disks/Mass storage - Requires scbus and da
|
||||||
device uhid # "Human Interface Devices"
|
device uhid # "Human Interface Devices"
|
||||||
#device u3g # USB modems
|
#device u3g # USB modems
|
||||||
|
|
@ -129,6 +130,9 @@ device drm2
|
||||||
|
|
||||||
# HID support
|
# HID support
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID Bus
|
||||||
|
device hkbd # Allow keyboard like HIDs to control console
|
||||||
|
device hms # HID mouse
|
||||||
|
|
||||||
# Flattened Device Tree
|
# Flattened Device Tree
|
||||||
options FDT # Configure using FDT/DTB data
|
options FDT # Configure using FDT/DTB data
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,9 @@ device uhci # UHCI USB interface
|
||||||
device ehci # EHCI USB interface (USB 2.0)
|
device ehci # EHCI USB interface (USB 2.0)
|
||||||
device xhci # XHCI USB interface (USB 3.0)
|
device xhci # XHCI USB interface (USB 3.0)
|
||||||
device usb # USB Bus (required)
|
device usb # USB Bus (required)
|
||||||
device ukbd # Keyboard
|
device usbhid # USB HID Transport
|
||||||
|
device hkbd # HID Keyboard
|
||||||
|
device ukbd # USB Keyboard
|
||||||
device umass # Disks/Mass storage - Requires scbus and da
|
device umass # Disks/Mass storage - Requires scbus and da
|
||||||
|
|
||||||
# Sound support
|
# Sound support
|
||||||
|
|
@ -112,6 +114,7 @@ device mmcsd # mmc/sd flash cards
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID Bus
|
||||||
|
|
||||||
# Firmware
|
# Firmware
|
||||||
device mmio_sram # Generic on-chip SRAM
|
device mmio_sram # Generic on-chip SRAM
|
||||||
|
|
|
||||||
|
|
@ -289,7 +289,9 @@ device ohci # OHCI PCI->USB interface
|
||||||
device ehci # EHCI PCI->USB interface (USB 2.0)
|
device ehci # EHCI PCI->USB interface (USB 2.0)
|
||||||
device xhci # XHCI PCI->USB interface (USB 3.0)
|
device xhci # XHCI PCI->USB interface (USB 3.0)
|
||||||
device usb # USB Bus (required)
|
device usb # USB Bus (required)
|
||||||
device ukbd # Keyboard
|
device usbhid # USB HID Transport
|
||||||
|
device hkbd # HID Keyboard
|
||||||
|
device ukbd # USB Keyboard
|
||||||
device umass # Disks/Mass storage - Requires scbus and da
|
device umass # Disks/Mass storage - Requires scbus and da
|
||||||
|
|
||||||
# Sound support
|
# Sound support
|
||||||
|
|
@ -336,4 +338,5 @@ device uinput # install /dev/uinput cdev
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID Bus
|
||||||
options IICHID_SAMPLING # Workaround missing GPIO INTR support
|
options IICHID_SAMPLING # Workaround missing GPIO INTR support
|
||||||
|
|
|
||||||
|
|
@ -174,12 +174,15 @@ device uhci # UHCI PCI->USB interface
|
||||||
device ohci # OHCI PCI->USB interface
|
device ohci # OHCI PCI->USB interface
|
||||||
device ehci # EHCI PCI->USB interface
|
device ehci # EHCI PCI->USB interface
|
||||||
device usb # USB Bus (required)
|
device usb # USB Bus (required)
|
||||||
|
device usbhid # USB HID Transport
|
||||||
device uhid # "Human Interface Devices"
|
device uhid # "Human Interface Devices"
|
||||||
device ukbd # Keyboard
|
device hkbd # HID Keyboard
|
||||||
|
device ukbd # USB Keyboard
|
||||||
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
||||||
device ulpt # Printer
|
device ulpt # Printer
|
||||||
device umass # Disks/Mass storage - Requires scbus and da0
|
device umass # Disks/Mass storage - Requires scbus and da0
|
||||||
device ums # Mouse
|
device hms # HID Mouse
|
||||||
|
device ums # USB Mouse
|
||||||
device atp # Apple USB touchpad
|
device atp # Apple USB touchpad
|
||||||
device urio # Diamond Rio 500 MP3 player
|
device urio # Diamond Rio 500 MP3 player
|
||||||
# USB Ethernet
|
# USB Ethernet
|
||||||
|
|
@ -235,3 +238,4 @@ device virtio_balloon # VirtIO Memory Balloon device
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID Bus
|
||||||
|
|
|
||||||
|
|
@ -214,11 +214,14 @@ device ohci # OHCI PCI->USB interface
|
||||||
device ehci # EHCI PCI->USB interface
|
device ehci # EHCI PCI->USB interface
|
||||||
device xhci # XHCI PCI->USB interface
|
device xhci # XHCI PCI->USB interface
|
||||||
device usb # USB Bus (required)
|
device usb # USB Bus (required)
|
||||||
|
device usbhid # USB HID Transport
|
||||||
device uhid # "Human Interface Devices"
|
device uhid # "Human Interface Devices"
|
||||||
device ukbd # Keyboard
|
device hkbd # HID Keyboard
|
||||||
|
device ukbd # USB Keyboard
|
||||||
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
||||||
device umass # Disks/Mass storage - Requires scbus and da0
|
device umass # Disks/Mass storage - Requires scbus and da0
|
||||||
device ums # Mouse
|
device hms # HID Mouse
|
||||||
|
device ums # USB Mouse
|
||||||
# USB Ethernet
|
# USB Ethernet
|
||||||
device aue # ADMtek USB Ethernet
|
device aue # ADMtek USB Ethernet
|
||||||
device axe # ASIX Electronics USB Ethernet
|
device axe # ASIX Electronics USB Ethernet
|
||||||
|
|
@ -288,3 +291,4 @@ device virtio_balloon # VirtIO Memory Balloon device
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID Bus
|
||||||
|
|
|
||||||
|
|
@ -210,11 +210,14 @@ device ohci # OHCI PCI->USB interface
|
||||||
device ehci # EHCI PCI->USB interface
|
device ehci # EHCI PCI->USB interface
|
||||||
device xhci # XHCI PCI->USB interface
|
device xhci # XHCI PCI->USB interface
|
||||||
device usb # USB Bus (required)
|
device usb # USB Bus (required)
|
||||||
|
device usbhid # USB HID Transport
|
||||||
device uhid # "Human Interface Devices"
|
device uhid # "Human Interface Devices"
|
||||||
device ukbd # Keyboard
|
device hkbd # HID Keyboard
|
||||||
|
device ukbd # USB Keyboard
|
||||||
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
||||||
device umass # Disks/Mass storage - Requires scbus and da0
|
device umass # Disks/Mass storage - Requires scbus and da0
|
||||||
device ums # Mouse
|
device hms # HID Mouse
|
||||||
|
device ums # USB Mouse
|
||||||
# USB Ethernet
|
# USB Ethernet
|
||||||
device aue # ADMtek USB Ethernet
|
device aue # ADMtek USB Ethernet
|
||||||
device axe # ASIX Electronics USB Ethernet
|
device axe # ASIX Electronics USB Ethernet
|
||||||
|
|
@ -269,3 +272,4 @@ device virtio_balloon # VirtIO Memory Balloon device
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID Bus
|
||||||
|
|
|
||||||
|
|
@ -109,10 +109,13 @@ device uart
|
||||||
options USB_DEBUG # enable debug msgs
|
options USB_DEBUG # enable debug msgs
|
||||||
#device uhci
|
#device uhci
|
||||||
device ehci
|
device ehci
|
||||||
|
device hkbd
|
||||||
device ukbd
|
device ukbd
|
||||||
|
device hms
|
||||||
device ums
|
device ums
|
||||||
device umass
|
device umass
|
||||||
device usb
|
device usb
|
||||||
|
device usbhid
|
||||||
device vlan
|
device vlan
|
||||||
|
|
||||||
# P1022 DIU
|
# P1022 DIU
|
||||||
|
|
@ -124,3 +127,4 @@ device fbd
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID bus
|
||||||
|
|
|
||||||
|
|
@ -116,10 +116,13 @@ device uart
|
||||||
options USB_DEBUG # enable debug msgs
|
options USB_DEBUG # enable debug msgs
|
||||||
#device uhci
|
#device uhci
|
||||||
device ehci
|
device ehci
|
||||||
|
device hkbd
|
||||||
device ukbd
|
device ukbd
|
||||||
|
device hms
|
||||||
device ums
|
device ums
|
||||||
device umass
|
device umass
|
||||||
device usb
|
device usb
|
||||||
|
device usbhid
|
||||||
device vlan
|
device vlan
|
||||||
|
|
||||||
# VirtIO support
|
# VirtIO support
|
||||||
|
|
@ -139,3 +142,4 @@ device fbd
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID bus
|
||||||
|
|
|
||||||
|
|
@ -112,15 +112,19 @@ options USB_DEBUG # enable debug msgs
|
||||||
device ehci
|
device ehci
|
||||||
device umass
|
device umass
|
||||||
device usb
|
device usb
|
||||||
|
device usbhid
|
||||||
device vlan
|
device vlan
|
||||||
|
|
||||||
# Desktop related
|
# Desktop related
|
||||||
device vt
|
device vt
|
||||||
device fbd
|
device fbd
|
||||||
options KBD_INSTALL_CDEV
|
options KBD_INSTALL_CDEV
|
||||||
|
device hkbd
|
||||||
device ukbd
|
device ukbd
|
||||||
|
device hms
|
||||||
device ums
|
device ums
|
||||||
|
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID bus
|
||||||
|
|
|
||||||
|
|
@ -119,12 +119,15 @@ device uhci # UHCI USB interface
|
||||||
device ehci # EHCI USB interface (USB 2.0)
|
device ehci # EHCI USB interface (USB 2.0)
|
||||||
device xhci # XHCI USB interface (USB 3.0)
|
device xhci # XHCI USB interface (USB 3.0)
|
||||||
device usb # USB Bus (required)
|
device usb # USB Bus (required)
|
||||||
|
device usbhid # USB HID Transport
|
||||||
|
device hkbd # Keyboard
|
||||||
device ukbd # Keyboard
|
device ukbd # Keyboard
|
||||||
device umass # Disks/Mass storage - Requires scbus and da
|
device umass # Disks/Mass storage - Requires scbus and da
|
||||||
|
|
||||||
# HID support
|
# HID support
|
||||||
options HID_DEBUG # enable debug msgs
|
options HID_DEBUG # enable debug msgs
|
||||||
device hid # Generic HID support
|
device hid # Generic HID support
|
||||||
|
device hidbus # Generic HID Bus
|
||||||
|
|
||||||
# Serial (COM) ports
|
# Serial (COM) ports
|
||||||
device uart # Generic UART driver
|
device uart # Generic UART driver
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue