04/05/20 17:59 Q2c4si3F
>>414
見てみました。バス上での見え方は変わらないようです(普通にUSBキーボードに見えてる)。
問題は hid→usbkbd の変化ですか。というか、この部分をカーネルのどこが判断して
表示させてるのかはわからないんですが。
で、えーと、デフォルトカーネルでは hid.o と usbkbd.o/usbmouse.o とかが両方入ってたり
します? (すみません今手元に環境がないので確認できないのです)
だとするとまずいですね。このへんのデバイス毎のドライバ(usbkbd, usbmouse等)と
HID系の統合ドライバである hid.o は干渉します。一応、hid.o を使うことが推奨
されてますし。
そのへんが悪戯してる? いずれにせよ、起動直後は usbkbd.o で認識できないようですし。
USB HIDBP Keyboard (basic) support
CONFIG_USB_KBD
Say Y here only if you are absolutely sure that you don't want
to use the generic HID driver for your USB keyboard and prefer
to use the keyboard in its limited Boot Protocol mode instead.
This is almost certainly not what you want.
This code is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module will be called usbkbd.o. If you want to compile it as a
module, say M here and read <file:Documentation/modules.txt>.
If even remotely unsure, say N.