Q: "Does FreeBSD support my USB keyboard?"
A: "For at least five years."
This commit is contained in:
parent
0eb6fd75ba
commit
34119c9ae2
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=24523
1 changed files with 1 additions and 43 deletions
|
@ -2542,49 +2542,7 @@ disk wd2 at wdc1 drive 1 # change from wd3 to wd2</programlisting
|
||||||
|
|
||||||
<answer>
|
<answer>
|
||||||
<para>FreeBSD 4.X and later supports USB keyboards
|
<para>FreeBSD 4.X and later supports USB keyboards
|
||||||
out-of-the-box. Preliminary USB device support appeared
|
out-of-the-box. Enable USB support in
|
||||||
in FreeBSD 3.1, but might not always work as of version
|
|
||||||
3.2. If you want to experiment with the USB keyboard
|
|
||||||
support in FreeBSD 3.X, follow the procedure described
|
|
||||||
below.</para>
|
|
||||||
|
|
||||||
<procedure>
|
|
||||||
<step>
|
|
||||||
<para>Use a version of FreeBSD 3.X later than
|
|
||||||
3.2.</para>
|
|
||||||
</step>
|
|
||||||
|
|
||||||
<step>
|
|
||||||
<para>Add the following lines to your kernel configuration
|
|
||||||
file, and rebuild the kernel.</para>
|
|
||||||
|
|
||||||
<programlisting>controller uhci0
|
|
||||||
controller ohci0
|
|
||||||
controller usb0
|
|
||||||
controller ukbd0
|
|
||||||
options KBD_INSTALL_CDEV</programlisting>
|
|
||||||
</step>
|
|
||||||
|
|
||||||
<step>
|
|
||||||
<para>Go to the <filename>/dev</filename> directory and create
|
|
||||||
device nodes as follows:</para>
|
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>cd /dev</userinput>
|
|
||||||
&prompt.root; <userinput>./MAKEDEV kbd0 kbd1</userinput></screen>
|
|
||||||
</step>
|
|
||||||
|
|
||||||
<step>
|
|
||||||
<para>Edit <filename>/etc/rc.conf</filename> and add the
|
|
||||||
following lines:</para>
|
|
||||||
|
|
||||||
<programlisting>usbd_enable="YES"
|
|
||||||
usbd_flags=""</programlisting>
|
|
||||||
|
|
||||||
</step>
|
|
||||||
</procedure>
|
|
||||||
|
|
||||||
<para>If you want to use a USB keyboard in FreeBSD 4.X or
|
|
||||||
later, you just need to enable USB support in
|
|
||||||
<filename>/etc/rc.conf</filename>.</para>
|
<filename>/etc/rc.conf</filename>.</para>
|
||||||
|
|
||||||
<para>Once you have USB keyboard support enabled on your
|
<para>Once you have USB keyboard support enabled on your
|
||||||
|
|
Loading…
Reference in a new issue