El botón de pausa/reproducción de los auriculares Bluetooth no funciona

El botón de pausa/reproducción de los auriculares Bluetooth no funciona

He estado intentando que funcione el botón de pausa/reproducción de mis auriculares (Plantronics BackBeat Pro 2) con mi computadora portátil con Manjaro 17.1.10. También tienen botones Siguiente y Anterior que funcionan perfectamente. Los probé en Spotify, Clementine y VLC con los mismos resultados.

He leído las páginas wiki de Arch para:

Por lo que encontré, parece que necesito cargar el uinputmódulo del kernel. Las guías que leí dicen que deben ir en dos lugares diferentes y ninguna explica qué poner.

/etc/rc.conf

/etc/modules-load.d/uinput.conf \<-- (¿Creo que esto es para un método heredado?)

Esto es lo que obtuve mientras intentaba encontrarlo:

[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

Entonces, suponiendo que este sea el problema, necesito descubrir dónde y cómo agregarlo. uinput Si no es una solución para cualquier otra cosa, podría ser

Hay dos funciones adicionales de auriculares para las que me gustaría agregar soporte en Linux.

  • Pausa inteligente cuando se quitan y continúa reproduciendo cuando se los pone
  • Modo de escucha activa: pausa la música cuando se detecta sonido.

Ambos tienen una salida muy similar al botón pausar/reproducir cuando ejecutoxev

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

Este es el botón de pausa/reproducción real del teclado.

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

información relacionada