Turn on USB support for most USB devices. udbp is not turned on since
NETGRAPH is not present in GENERIC at the moment. Also, change some settings to support USB installs: - Add KBD_INSTALL_CDEV as an option to make /dev/kbd[01] actually work. - Turn on keyboard probing in sc0. The syscons driver will now use a flag documented in ukbd(4) but not in sc(4) that tells syscons to actively search for a keyboard device if none is found. This allows USB keyboards to just be plugged in and instantly start working. - Require the atkbd0 driver to actually probe to see if a keyboard is there. This allows USB keyboards to be seen by sc0 if an AT keyboard isn't plugged into the computer. This also means that you will no longer be able to plug an AT keyboard into a machine after it has booted a GENERIC kernel and use it. AT keyboards aren't designed for this anyway. USB keyboards are designed for this, and they work.
This commit is contained in:
parent
dc785636aa
commit
558d6032c2
@ -52,6 +52,7 @@ options SYSVSEM #SYSV-style semaphores
|
||||
options P1003_1B #Posix P1003_1B real-time extensions
|
||||
options _KPOSIX_PRIORITY_SCHEDULING
|
||||
options ICMP_BANDLIM #Rate limit bad replies
|
||||
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
||||
|
||||
# To make an SMP kernel, the next two are needed
|
||||
#options SMP # Symmetric MultiProcessor Kernel
|
||||
@ -113,7 +114,7 @@ device mlx # Mylex DAC960 family
|
||||
|
||||
# atkbdc0 controls both the keyboard and the PS/2 mouse
|
||||
device atkbdc0 at isa? port IO_KBD
|
||||
device atkbd0 at atkbdc? irq 1
|
||||
device atkbd0 at atkbdc? irq 1 flags 0x1
|
||||
device psm0 at atkbdc? irq 12
|
||||
|
||||
device vga0 at isa?
|
||||
@ -122,7 +123,7 @@ device vga0 at isa?
|
||||
pseudo-device splash
|
||||
|
||||
# syscons is the default console driver, resembling an SCO console
|
||||
device sc0 at isa?
|
||||
device sc0 at isa? flags 0x100
|
||||
|
||||
# Enable this for the pcvt (VT220 compatible) console driver
|
||||
#device vt0 at isa?
|
||||
@ -218,18 +219,18 @@ pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
|
||||
pseudo-device bpf # Berkeley packet filter
|
||||
|
||||
# USB support
|
||||
#device uhci # UHCI PCI->USB interface
|
||||
#device ohci # OHCI PCI->USB interface
|
||||
#device usb # USB Bus (required)
|
||||
device uhci # UHCI PCI->USB interface
|
||||
device ohci # OHCI PCI->USB interface
|
||||
device usb # USB Bus (required)
|
||||
#device udbp # USB Double Bulk Pipe devices
|
||||
#device ugen # Generic
|
||||
#device uhid # "Human Interface Devices"
|
||||
#device ukbd # Keyboard
|
||||
#device ulpt # Printer
|
||||
#device umass # Disks/Mass storage - Requires scbus and da
|
||||
#device ums # Mouse
|
||||
#device urio # Diamond Rio 500 MP3 player
|
||||
device ugen # Generic
|
||||
device uhid # "Human Interface Devices"
|
||||
device ukbd # Keyboard
|
||||
device ulpt # Printer
|
||||
device umass # Disks/Mass storage - Requires scbus and da
|
||||
device ums # Mouse
|
||||
device urio # Diamond Rio 500 MP3 player
|
||||
# USB Ethernet, requires mii
|
||||
#device aue # ADMtek USB ethernet
|
||||
#device cue # CATC USB ethernet
|
||||
#device kue # Kawasaki LSI USB ethernet
|
||||
device aue # ADMtek USB ethernet
|
||||
device cue # CATC USB ethernet
|
||||
device kue # Kawasaki LSI USB ethernet
|
||||
|
@ -52,6 +52,7 @@ options SYSVSEM #SYSV-style semaphores
|
||||
options P1003_1B #Posix P1003_1B real-time extensions
|
||||
options _KPOSIX_PRIORITY_SCHEDULING
|
||||
options ICMP_BANDLIM #Rate limit bad replies
|
||||
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
|
||||
|
||||
# To make an SMP kernel, the next two are needed
|
||||
#options SMP # Symmetric MultiProcessor Kernel
|
||||
@ -113,7 +114,7 @@ device mlx # Mylex DAC960 family
|
||||
|
||||
# atkbdc0 controls both the keyboard and the PS/2 mouse
|
||||
device atkbdc0 at isa? port IO_KBD
|
||||
device atkbd0 at atkbdc? irq 1
|
||||
device atkbd0 at atkbdc? irq 1 flags 0x1
|
||||
device psm0 at atkbdc? irq 12
|
||||
|
||||
device vga0 at isa?
|
||||
@ -122,7 +123,7 @@ device vga0 at isa?
|
||||
pseudo-device splash
|
||||
|
||||
# syscons is the default console driver, resembling an SCO console
|
||||
device sc0 at isa?
|
||||
device sc0 at isa? flags 0x100
|
||||
|
||||
# Enable this for the pcvt (VT220 compatible) console driver
|
||||
#device vt0 at isa?
|
||||
@ -218,18 +219,18 @@ pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation)
|
||||
pseudo-device bpf # Berkeley packet filter
|
||||
|
||||
# USB support
|
||||
#device uhci # UHCI PCI->USB interface
|
||||
#device ohci # OHCI PCI->USB interface
|
||||
#device usb # USB Bus (required)
|
||||
device uhci # UHCI PCI->USB interface
|
||||
device ohci # OHCI PCI->USB interface
|
||||
device usb # USB Bus (required)
|
||||
#device udbp # USB Double Bulk Pipe devices
|
||||
#device ugen # Generic
|
||||
#device uhid # "Human Interface Devices"
|
||||
#device ukbd # Keyboard
|
||||
#device ulpt # Printer
|
||||
#device umass # Disks/Mass storage - Requires scbus and da
|
||||
#device ums # Mouse
|
||||
#device urio # Diamond Rio 500 MP3 player
|
||||
device ugen # Generic
|
||||
device uhid # "Human Interface Devices"
|
||||
device ukbd # Keyboard
|
||||
device ulpt # Printer
|
||||
device umass # Disks/Mass storage - Requires scbus and da
|
||||
device ums # Mouse
|
||||
device urio # Diamond Rio 500 MP3 player
|
||||
# USB Ethernet, requires mii
|
||||
#device aue # ADMtek USB ethernet
|
||||
#device cue # CATC USB ethernet
|
||||
#device kue # Kawasaki LSI USB ethernet
|
||||
device aue # ADMtek USB ethernet
|
||||
device cue # CATC USB ethernet
|
||||
device kue # Kawasaki LSI USB ethernet
|
||||
|
Loading…
Reference in New Issue
Block a user