Uinput이 Xorg에서 작동하지 않습니다

Uinput이 Xorg에서 작동하지 않습니다

간단한 자동 클릭기를 만들기 위해 uinput을 사용하려고 합니다. Linux Mint 18.3에서는 잘 작동했지만 Ubuntu 18.04에서는 문제가 있습니다.

이것이 xinput list보여주는 것입니다:

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                    id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                    id=10   [slave  pointer  (2)]
⎜   ↳ SIGMACHIP USB Keyboard                        id=12   [slave  pointer  (2)]
⎜   ↳ uinput_autoclicker                            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)]
    ↳ Power Button                                  id=7    [slave  keyboard (3)]
    ↳ Sleep Button                                  id=8    [slave  keyboard (3)]
    ↳ USB2.0 Camera: USB2.0 Camera                  id=9    [slave  keyboard (3)]
    ↳ SIGMACHIP USB Keyboard                        id=11   [slave  keyboard (3)]
    ↳ SIGMACHIP USB Keyboard                        id=13   [slave  keyboard (3)]

그리고 evtest출력:

Event: time 1528384945.343765, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1528384945.343765, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1528384945.343765, -------------- SYN_REPORT ------------
Event: time 1528384945.368880, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1528384945.368880, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1528384945.368880, -------------- SYN_REPORT ------------
Event: time 1528384945.394015, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1528384945.394015, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1528384945.394015, -------------- SYN_REPORT ------------
Event: time 1528384945.419128, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1528384945.419128, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1528384945.419128, -------------- SYN_REPORT ------------
Event: time 1528384945.444304, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
Event: time 1528384945.444304, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
Event: time 1528384945.444304, -------------- SYN_REPORT ------------

등등…

grep -e "Using input driver " /var/log/Xorg.0.log:

[  3012.644] (II) Using input driver 'libinput' for 'uinput_autoclicker'

키보드 등을 에뮬레이션하려고 해도 같은 문제가 발생합니다. 어떻게 해결할 수 있나요?

UPD:XUbuntu에 설치된 계피를 사용합니다. xorg.conf에 의해 자동 생성됩니다 nvidia-settings.

관련 정보