Ubuntu GNOME 15.04 上的 8 月 LP205R

Ubuntu GNOME 15.04 上的 8 月 LP205R

类似问题之前有人问过,但没有答案。我无法发表评论,也没有答案,因此我看不出除了再次提问之外还有其他选择。

我有一台 USB 激光演示器 August LP205R,它无法在 GNOME Ubuntu 15.04 上运行,但在 Windows 上可以正常使用 PowerPoint 和 PDF 演示文稿。以下是上一个链接中要求的输出:

xinput

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                id=11   [slave  pointer  (2)]
⎜   ↳ RF 2.4G  RF 2.4G                          id=14   [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)]
    ↳ Laptop_Integrated_Webcam_HD               id=9    [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=10   [slave  keyboard (3)]
    ↳ Dell WMI hotkeys                          id=12   [slave  keyboard (3)]
    ↳ RF 2.4G  RF 2.4G                          id=13   [slave  keyboard (3)]

lsusb

Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 0c45:64ad Microdia 
Bus 001 Device 005: ID 1d57:83ed Xenta 
Bus 001 Device 002: ID 8087:07e6 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

xev仅在开始/结束幻灯片按钮上提供输出:

KeyPress event, serial 33, synthetic NO, window 0x3000001,
    root 0xac, subw 0x0, time 14518987, (642,556), root:(643,609),
    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 0x3000001,
    root 0xac, subw 0x0, time 14519138, (642,556), root:(643,609),
    state 0x11, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

我甚至尝试过之前getscancodes推荐dmesg | tail的:

~/Downloads$ tar -xvzf getscancodes-1.0.tar.gz
getscancodes/
getscancodes/getscancodes.c
getscancodes/getscancodes
getscancodes/Makefile
getscancodes/getscancodes.o

~/Downloads$ cd getscancodes/

~/Downloads/getscancodes$ make
gcc -O2 -Wall   -c -o getscancodes.o getscancodes.c
gcc -o  getscancodes getscancodes.o

~/Downloads/getscancodes$ sudo ./getscancodes /dev/input/event16
[sudo] password for : 
getscancodes: No such file or directory

~/Downloads/getscancodes$ cd ..

~/Downloads$ sudo ./getscancodes /dev/input/event16
sudo: ./getscancodes: command not found

~/Downloads$ cd getscancodes/

~/Downloads/getscancodes$ dmesg | tail
[ 8630.569019] usb 1-1.2: New USB device found, idVendor=1d57, idProduct=83ed
[ 8630.569043] usb 1-1.2: New USB device strings: Mfr=1, Product=1, SerialNumber=0
[ 8630.569059] usb 1-1.2: Product: RF 2.4G 
[ 8630.569073] usb 1-1.2: Manufacturer: RF 2.4G 
[ 8631.425965] usbcore: registered new interface driver usbhid
[ 8631.425982] usbhid: USB HID core driver
[ 8631.720489] input: RF 2.4G  RF 2.4G  as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:1D57:83ED.0001/input/input11
[ 8631.776680] hid-generic 0003:1D57:83ED.0001: input,hidraw0: USB HID v1.10 Keyboard [RF 2.4G  RF 2.4G ] on usb-0000:00:1d.0-1.2/input0
[ 8631.778126] input: RF 2.4G  RF 2.4G  as /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:1D57:83ED.0002/input/input12
[ 8631.833351] hid-generic 0003:1D57:83ED.0002: input,hidraw1: USB HID v1.10 Mouse [RF 2.4G  RF 2.4G ] on usb-0000:00:1d.0-1.2/input1

~/Downloads/getscancodes$

我想知道是否有人可以帮助我弄清楚是否以及如何更新或*-keyboard.hwdb根据上述数据创建新文件,如下所示:

提前致谢! :)

答案1

  • 在网上寻找类似的设备,指出您的设备1d57:83ed Xenta,它会创建两个输入设备(鼠标和键盘),标记为RF 2.4G RF 2.4G带有id=14&id=13来自您的命令输出。

  • getscancodes已在~/Downloads/getscancodes文件夹中创建但/dev/input/event16不是相应的事件设备文件。您可以使用以下方法查找相关事件文件:

    xinput --list-props 14
    xinput --list-props 13
    

    然后运行./getscancodes /dev/input/eventXX两个事件文件并尝试所有键。

  • 如果getscancodes不起作用,Ubuntu 存储库中有一个标准工具。试一试:

    sudo apt-get install evtest
    sudo evtest
    
  • 方法解释于如何更改单个设备(Logitech 演示器)的键盘映射?已经过时了。

    因此Xubuntu - Logitech 演示器仅部分工作其中有与注释/标题中提到的相同的说明/lib/udev/hwdb.d/60-keyboard.hwdb

相关内容