> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/kbdmux.4.md).

# kbdmux.4

`kbdmux` — 键盘多路复用器

## 名称

`kbdmux`

## 概要

`device kbdmux`

`在 /boot/device.hints 中： hint.kbdmux.0.disabled="1"`

## 描述

`kbdmux` 键盘驱动提供对基本键盘多路复用的支持。它围绕“超级键盘”的概念构建。`kbdmux` 驱动作为主键盘，使用来自挂接到它的所有从键盘的输入。

可以使用 kbdcontrol(1) 工具将键盘挂接到 `kbdmux` 键盘驱动或从中卸下。

## 参见

kbdcontrol(1), [atkbd(4)](/man/man4/atkbd.4.md), syscons(4), ukbd(4), vt(4)

## 历史

`kbdmux` 模块实现于 FreeBSD 6.0。

## 作者

Maksim Yevmenkin <m_evmenkin@yahoo.com>

## 注意事项

`kbdmux` 键盘驱动将所有从键盘切换到 `K_RAW` 模式。因此，挂接到 `kbdmux` 键盘的所有从键盘共享相同的状态。`kbdmux` 键盘在逻辑上等价于一个具有大量重复按键的键盘。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/kbdmux.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
