Wheezy x86を新しくインストールし、USBベンダー/モデルIDが05A4/9840のTargusテンキー(モデルAKP10US)を接続しようとしています。 (FWIWシステムはVirtualBoxでも動作します)
Enter
ただし、テンキーで有効なキーはおよびのみですBack
。他のキーの場合は、文字列のようにエスケープが表示されるか、サウンドだけが聞こえます(キーボードバッファフルタイプサウンドなど)。
たとえば、端末では、押したときに0
音が聞こえ、^[[2~
押したときに.
音が聞こえます。 (OSXに接続されている数字キーパッドと比較すると、OSXではUnknown keyboard
まだ正しいキーストロークが得られますが、Windows 7では再び異なり、 +-/*
<tab>
キー<enter>
のみを使用できます。)
ダンピングdmesg
私が得る
[ 233.313462] usb 2-2: new full-speed USB device number 3 using ohci_hcd
[ 233.525221] usb 2-2: New USB device found, idVendor=05a4, idProduct=9840
[ 233.525221] usb 2-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 233.525221] usb 2-2: Product: USB Compliant Keypad
[ 233.552503] input: USB Compliant Keypad as /devices/pci0000:00/0000:00:06.0/usb2/2-2/2-2:1.0/input/input7
[ 233.552669] generic-usb 0003:05A4:9840.0002: input,hidraw1: USB HID v1.10 Keyboard [USB Compliant Keypad] on usb-0000:00:06.0-2/input0
lsusb -v
受け取るから
Bus 002 Device 003: ID 05a4:9840 Ortek Technology, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x05a4 Ortek Technology, Inc.
idProduct 0x9840
bcdDevice 1.10
iManufacturer 0
iProduct 1 USB Compliant Keypad
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 48mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 1 Keyboard
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 65
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 13
Device Status: 0x0000
(Bus Powered)
そのため、Debian はキーボードを見つけたようですが、必要に応じてキーボードに接続されません。
それでは、このキーボードを正しく有効にするには(カーネルのコンパイルなどなしで)何を設定する必要がありますか?それとも実際にはうまくいきますが、私だけが知らないのでしょうか?
編集する
フルサイズのUSBキーボードをシステムに接続するだけで、テンキーの数字を除くすべてがすぐに機能しました。動作は上記とほぼ同じです。ただし、Numlock
数字キーを押すと機能します。だから私の考えでは、数字キーパッドはうまくいきますが、ドライバがNumlock
そこから出てくるキーコードには適用されないようです。
ベストアンサー1
本物たくさん今ここ
質問以前は Numlock
。
解決策は次のとおりです。
システム設定 - >キーボード - >レイアウト設定 - >オプション - >その他の互換性オプション
確認しましたNumeric keypad keys always enter digits (as in Mac OS)
今、すべてが期待どおりに動作します。