游戏鼠标被检测为键盘

游戏鼠标被检测为键盘

一家我以前从未听说过的公司送给我一只游戏鼠标作为礼物。自然是不行的。当我第一次插入电源时,LED 灯亮了,就是这样。没有动作,没有按钮——什么都不起作用。从以下片段来看,它似乎被检测为键盘。我怎样才能解决这个问题?

猫/var/log/Xorg.0.log:

[358259.417] (II) config/udev: Adding input device SINOWEALTH Game Mouse (/dev/input/event10)
[358259.417] (**) SINOWEALTH Game Mouse: Applying InputClass "libinput keyboard catchall"
[358259.417] (II) Using input driver 'libinput' for 'SINOWEALTH Game Mouse'
[358259.417] (**) SINOWEALTH Game Mouse: always reports core events
[358259.417] (**) Option "Device" "/dev/input/event10"
[358259.417] (**) Option "_source" "server/udev"
[358259.417] (II) event10 - SINOWEALTH Game Mouse: is tagged by udev as: Keyboard
[358259.417] (II) event10 - SINOWEALTH Game Mouse: device is a keyboard
[358259.417] (II) event10 - SINOWEALTH Game Mouse: device removed
[358259.433] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.1/0003:258A:1007.0006/input/input18/event10"
[358259.433] (II) XINPUT: Adding extended input device "SINOWEALTH Game Mouse" (type: KEYBOARD, id 11)
[358259.433] (II) event10 - SINOWEALTH Game Mouse: is tagged by udev as: Keyboard
[358259.433] (II) event10 - SINOWEALTH Game Mouse: device is a keyboard

lsusb -v -d 258A:1007

Bus 001 Device 005: ID 258a:1007  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x258a 
  idProduct          0x1007 
  bcdDevice            1.00
  iManufacturer           1 SINOWEALTH
  iProduct                2 Game Mouse
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              256mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      71
         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               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      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.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     213
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled

答案1

可能并不适合所有人,但我通过简单地重新启动计算机就解决了这个问题。可能应该先完成它,但自从我需要重新启动它来修复某些问题以来已经有一段时间了。

相关内容