Bluetooth 헤드폰 일시중지/재생 버튼이 작동하지 않음

Bluetooth 헤드폰 일시중지/재생 버튼이 작동하지 않음

Manjaro 17.1.10을 실행하는 노트북에서 헤드폰(Plantronics BackBeat Pro 2)의 일시 중지/재생 버튼을 작동시키려고 노력했습니다. 또한 완벽하게 작동하는 다음 및 이전 버튼도 있습니다. 나는 Spotify, Clementine 및 VLC에서 동일한 결과를 얻었습니다.

나는 다음에 대한 Arch 위키 페이지를 읽었습니다.

내가 찾은 바에 따르면 uinput커널 모듈을 로드해야 하는 것 같습니다. 내가 읽은 가이드에는 두 곳의 다른 장소로 가야 한다고 나와 있으며 어느 쪽도 무엇을 넣어야 하는지 설명하지 않습니다.

/etc/rc.conf

/etc/modules-load.d/uinput.conf \<-- (레거시 방법을 위한 것 같은데요?)

검색하다가 얻은 내용은 이렇습니다.

[ibro@ibro-pc ~]$ lsmo |grep uinput
bash: lsmo: command not found
[ibro@ibro-pc ~]$ lsmod |grep uinput
uinput                 20480  1
[ibro@ibro-pc ~]$ grep uinput /proc/modules
uinput 20480 1 - Live 0xffffffffc048d000
[ibro@ibro-pc ~]$ grep uinput /proc/$(uname -r)/modules.builtin
grep: /proc/4.14.40-1-MANJARO/modules.builtin: No such file or directory
[ibro@ibro-pc ~]$ pulseaudio --version
pulseaudio 11.1

uinput 따라서 이것이 문제라고 가정 하면 다른 솔루션이 아닌 경우 추가할 위치와 방법을 파악해야 합니다 .

Linux에서 지원을 추가하고 싶은 두 가지 추가 헤드폰 기능이 있습니다.

  • 착용 시에는 스마트 일시정지, 착용 시에는 계속 재생
  • 활성 청취 모드: 소리가 감지되면 음악을 일시 중지합니다.

둘 다 실행할 때 일시 중지/재생 버튼과 매우 유사한 출력을 갖습니다.xev

KeyPress event, serial 35, synthetic NO, window 0x8800001,
    root 0x16a, subw 0x0, time 13766406, (-871,191), root:(420,262),
    state 0x0, keycode 209 (keysym 0x1008ff31, XF86AudioPause), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x8800001,
    root 0x16a, subw 0x0, time 13766437, (-871,191), root:(420,262),
    state 0x0, keycode 209 (keysym 0x1008ff31, XF86AudioPause), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 35, synthetic NO, window 0x8800001,
    root 0x16a, subw 0x0, time 13767016, (-871,191), root:(420,262),
    state 0x0, keycode 208 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
    XKeysymToKeycode returns keycode: 172
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x8800001,
    root 0x16a, subw 0x0, time 13767047, (-871,191), root:(420,262),
    state 0x0, keycode 208 (keysym 0x1008ff14, XF86AudioPlay), same_screen YES,
    XKeysymToKeycode returns keycode: 172
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

실제 키보드 일시정지/재생 버튼입니다.

FocusIn event, serial 34, synthetic NO, window 0x8800001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

FocusOut event, serial 34, synthetic NO, window 0x8800001,
    mode NotifyGrab, detail NotifyAncestor

FocusOut event, serial 34, synthetic NO, window 0x8800001,
    mode NotifyUngrab, detail NotifyPointer

FocusIn event, serial 34, synthetic NO, window 0x8800001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

관련 정보