Ctrl Alt AltGr 鍵在 Ubuntu 16.04 上不起作用

Ctrl Alt AltGr 鍵在 Ubuntu 16.04 上不起作用

我有一個帶英文鍵的USB遊戲鍵盤(前段時間在速賣通上買的)。即使使用西班牙語配置,它也可以在 Windows 上完美運行。

問題是在 Linux 上,這些Ctrl Alt AltGr鍵不起作用,它們都被檢測為左鍵Shift。這是 xev 出口:

KeyPress event, serial 36, synthetic NO, window 0x2800001,
    root 0xcd, subw 0x0, time 189078, (97,87), root:(1057,627),
    state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x2800001,
    root 0xcd, subw 0x0, time 189150, (97,87), root:(1057,627),
    state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 36, synthetic NO, window 0x2800001,
    root 0xcd, subw 0x0, time 189294, (97,87), root:(1057,627),
    state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x2800001,
    root 0xcd, subw 0x0, time 189366, (97,87), root:(1057,627),
    state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 36, synthetic NO, window 0x2800001,
    root 0xcd, subw 0x0, time 189990, (97,87), root:(1057,627),
    state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

這是以下的輸出lsusb

Bus 002 Device 004: ID 0c45:7603 Microdia 
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse 
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 003: ID 0e8f:0021 GreenAsia Inc. Multimedia Keyboard Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

這是以下的輸出xinput

 Virtual core pointer                       id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ PixArt USB Optical Mouse                  id=10   [slave  pointer  (2)]
⎜   ↳ SONiX USB Keyboard                        id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Video Bus                                 id=7    [slave  keyboard (3)]
    ↳ Power Button                              id=8    [slave  keyboard (3)]
    ↳ GASIA USB MSN KB                          id=9    [slave  keyboard (3)]
    ↳ SONiX USB Keyboard                        id=11   [slave  keyboard (3)]
    ↳ Eee PC WMI hotkeys                        id=13   [slave  keyboard (3)]

我使用 Ubuntutu 16.04,但在舊版本中問題是相同的。我嘗試了一些修復並使用 gnome 調整工具,但這不起作用。

一些想法?

--編輯:我剛剛修復了安裝此驅動程式https://bitbucket.org/Swoogan/aziokbd 在 Ubuntu 18 64 位元上工作。

相關內容