首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么我们需要一个usbkbd的司机当有usbhid?

为什么我们需要一个usbkbd的司机当有usbhid?
EN

Unix & Linux用户
提问于 2015-03-01 14:22:08
回答 1查看 2.4K关注 0票数 3

我发现默认情况下是usbhid控制我的USB键盘。我是通过做rmmod usbhid来发现的。当我移除usbhid时,usb键盘停止工作。注意,usbkbd尚未插入。然后我插入usbkbd,然后键盘又开始工作了。如果键盘可以由通用驱动程序usbhid处理,那么为什么我们需要一个单独的usbkbd?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2015-03-01 14:25:32

内核文档中有一个答案:

代码语言:javascript
复制
3.1.2 usbmouse
~~~~~~~~~~~~~~
For embedded systems, for mice with broken HID descriptors and just any
other use when the big usbhid wouldn't be a good choice, there is the
usbmouse driver. It handles USB mice only. It uses a simpler HIDBP
protocol. This also means the mice must support this simpler protocol. Not
all do. If you don't have any strong reason to use this module, use usbhid
instead.

3.1.3 usbkbd
~~~~~~~~~~~~
Much like usbmouse, this module talks to keyboards with a simplified
HIDBP protocol. It's smaller, but doesn't support any extra special keys.
Use usbhid instead if there isn't any special reason to use this.

来自Documentation/input/input.txt

票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/187545

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档