首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Targus USB号码盘在Debian Wheezy中不工作

Targus USB号码盘在Debian Wheezy中不工作
EN

Unix & Linux用户
提问于 2014-04-07 12:32:02
回答 1查看 1.3K关注 0票数 0

我正在运行Wheezy x86的新安装,并试图连接一个Targus (型号AKP10US),它的USB /Model为05A4 / 9840。(FWIW系统也在VirtualBox中运行)

然而,数字垫上唯一似乎起作用的键是EnterBack。对于其他键,我看到了像字符串一样的转义,或者我只听到了一个声音(听起来像键盘缓冲区的全类型声音)。

例如,在终端按0时,我看到^[[2~,在按.时,我听到声音。(与连接到OSX的数字键盘相比,尽管OSX表示Unknown keyboard,我仍然得到正确的击键。但在Windows 7上,它又不同了,我只有可行的+-/*<tab><enter>密钥)

dmesg扔出去我得到

代码语言:javascript
运行
复制
[  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,我得到了

代码语言:javascript
运行
复制
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应用到来自它的密钥代码中。

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2014-04-07 16:19:41

真正的D‘噢时刻

问题是Numlock

解决办法是:

系统设置->键盘->布局设置->选项->杂项兼容性选项

我查过Numeric keypad keys always enter digits (as in Mac OS)

现在一切都如我所料

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

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

复制
相关文章

相似问题

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