这个很奇怪。
问题如下:
- 有谁遇到过类似的事情吗?
- 我应该从哪里开始尝试自己解决问题?例如问题/搜索的路径是什么?
- 我可以尝试什么方法来获得这个,这样我就不必打开设置屏幕。
几周前更新之前...一切都很好。然后我下载软件更新后,开始出现以下情况。
我在 ThinkPad P52s 上,运行 Ubuntu。
我打开 Chrome、Spotify 以及任何使用声音的应用程序,都可以毫无问题地播放声音。但是一旦我插入耳机(https://en-de.sennheiser.com/momentum-wireless-headphones-with-mic)——然后打开电源……声音传输到耳机……一秒钟……然后它从笔记本电脑扬声器出来……然后它回到耳机……然后它回到笔记本电脑,等等。
这一切都已修复……如果我打开并保持打开声音设置屏幕。无论我切换到数字输出还是模拟输出,问题仍然存在。似乎可以解决问题的方法是打开此屏幕:
其他信息。
我已将笔记本电脑通过 HDMI 插入外接显示器 - 但我尝试将其拔下,问题仍然存在。
我尚未通过蓝牙将电脑与耳机配对。
插入 USB 时不会出现此问题,而是插入 USB 后打开耳机时才会出现此问题 - 这听起来可能很明显 - 但我想具体说明一下。
系统信息
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
$ uname -a
Linux hamildank 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ lspci -v | grep -A7 -i "audio"
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Subsystem: Lenovo Sunrise Point-LP HD Audio
Flags: bus master, fast devsel, latency 64, IRQ 148
Memory at ed148000 (64-bit, non-prefetchable) [size=16K]
Memory at ed130000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl
这里还有几周前我的 apt 历史记录的链接: https://gist.github.com/grok/3ca82d50bcc9075b069f2e54b9e975ab
完成后获取更多信息tail -f syslog
:
Jul 12 13:13:55 hamildank dbus-daemon[2722]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/mpris/MediaPlayer2" interface="org.freedesktop.DBus.Properties" member="Get" name=":1.5147" mask="receive" pid=6881 label="snap.spotify.spotify" peer_pid=10904 peer_label="snap.code.code"
Jul 12 13:13:55 hamildank dbus-daemon[2722]: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/mpris/MediaPlayer2" interface="org.freedesktop.DBus.Properties" member="Get" name=":1.5148" mask="receive" pid=6881 label="snap.spotify.spotify" peer_pid=10906 peer_label="snap.code.code"
Jul 12 13:13:56 hamildank pulseaudio[4053]: W: [alsa-sink-USB Audio] alsa-util.c: Got POLLNVAL from ALSA
Jul 12 13:13:56 hamildank pulseaudio[4053]: W: [alsa-sink-USB Audio] alsa-util.c: Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): No such device
Jul 12 13:13:56 hamildank kernel: [12509.348043] usb 1-2: USB disconnect, device number 10
Jul 12 13:13:56 hamildank gsd-media-keys[4265]: Unable to get default sink
Jul 12 13:13:56 hamildank gsd-media-keys[4265]: Unable to get default source
Jul 12 13:13:56 hamildank upowerd[3885]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
Jul 12 13:13:56 hamildank upowerd[3885]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1
Jul 12 13:13:56 hamildank upowerd[3885]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2
Jul 12 13:13:56 hamildank acpid: input device has been disconnected, fd 18
Jul 12 13:13:56 hamildank kdeconnectd.desktop[4327]: UdevQt: unhandled device action "unbind"
Jul 12 13:13:56 hamildank kdeconnectd.desktop[4327]: message repeated 2 times: [ UdevQt: unhandled device action "unbind"]
Jul 12 13:13:56 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) config/udev: removing device MOMENTUM M2 AEBT Consumer Control
Jul 12 13:13:56 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (**) Option "fd" "52"
Jul 12 13:13:56 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) event8 - MOMENTUM M2 AEBT Consumer Control: device removed
Jul 12 13:13:56 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) UnloadModule: "libinput"
Jul 12 13:13:56 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) systemd-logind: releasing fd for 13:72
Jul 12 13:13:56 hamildank upowerd[3885]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.3/0003:1395:004B.0006
Jul 12 13:13:56 hamildank upowerd[3885]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.3
Jul 12 13:13:56 hamildank upowerd[3885]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2
Jul 12 13:13:56 hamildank kdeconnectd.desktop[4327]: UdevQt: unhandled device action "unbind"
Jul 12 13:13:56 hamildank kdeconnectd.desktop[4327]: UdevQt: unhandled device action "unbind"
Jul 12 13:13:56 hamildank gnome-shell[3758]: clutter_input_device_get_device_type: assertion 'CLUTTER_IS_INPUT_DEVICE (device)' failed
Jul 12 13:13:56 hamildank gnome-shell[3758]: JS ERROR: TypeError: device is null#012_init/<@resource:///org/gnome/shell/ui/keyboard.js:619:1
Jul 12 13:13:56 hamildank kernel: [12510.097545] usb 1-2: new full-speed USB device number 11 using xhci_hcd
Jul 12 13:13:57 hamildank kernel: [12510.257736] usb 1-2: New USB device found, idVendor=1395, idProduct=004b, bcdDevice=95.90
Jul 12 13:13:57 hamildank kernel: [12510.257743] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 12 13:13:57 hamildank kernel: [12510.257747] usb 1-2: Product: MOMENTUM M2 AEBT
Jul 12 13:13:57 hamildank kernel: [12510.377102] input: MOMENTUM M2 AEBT as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.3/0003:1395:004B.0007/input/input30
Jul 12 13:13:57 hamildank kernel: [12510.377155] input: MOMENTUM M2 AEBT Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.3/0003:1395:004B.0007/input/input31
Jul 12 13:13:57 hamildank mtp-probe: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2"
Jul 12 13:13:57 hamildank mtp-probe: bus: 1, device: 11 was not an MTP device
Jul 12 13:13:57 hamildank kernel: [12510.433762] hid-generic 0003:1395:004B.0007: input,hiddev0,hidraw0: USB HID v1.11 Device [MOMENTUM M2 AEBT] on usb-0000:00:14.0-2/input3
Jul 12 13:13:57 hamildank kdeconnectd.desktop[4327]: UdevQt: unhandled device action "bind"
Jul 12 13:13:57 hamildank kdeconnectd.desktop[4327]: UdevQt: unhandled device action "bind"
Jul 12 13:13:57 hamildank upowerd[3885]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1
Jul 12 13:13:57 hamildank upowerd[3885]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2
Jul 12 13:13:57 hamildank kdeconnectd.desktop[4327]: UdevQt: unhandled device action "bind"
Jul 12 13:13:57 hamildank upowerd[3885]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) config/udev: Adding input device MOMENTUM M2 AEBT Consumer Control (/dev/input/event8)
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (**) MOMENTUM M2 AEBT Consumer Control: Applying InputClass "libinput keyboard catchall"
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) Using input driver 'libinput' for 'MOMENTUM M2 AEBT Consumer Control'
Jul 12 13:13:57 hamildank upowerd[3885]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.3/0003:1395:004B.0007
Jul 12 13:13:57 hamildank kdeconnectd.desktop[4327]: UdevQt: unhandled device action "bind"
Jul 12 13:13:57 hamildank upowerd[3885]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.3
Jul 12 13:13:57 hamildank kdeconnectd.desktop[4327]: UdevQt: unhandled device action "bind"
Jul 12 13:13:57 hamildank upowerd[3885]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 52 paused 0
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (**) MOMENTUM M2 AEBT Consumer Control: always reports core events
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (**) Option "Device" "/dev/input/event8"
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (**) Option "_source" "server/udev"
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) event8 - MOMENTUM M2 AEBT Consumer Control: is tagged by udev as: Keyboard
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) event8 - MOMENTUM M2 AEBT Consumer Control: device is a keyboard
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) event8 - MOMENTUM M2 AEBT Consumer Control: device removed
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.3/0003:1395:004B.0007/input/input31/event8"
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) XINPUT: Adding extended input device "MOMENTUM M2 AEBT Consumer Control" (type: KEYBOARD, id 10)
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (**) Option "xkb_layout" "us,ru"
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (**) Option "xkb_variant" ","
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) event8 - MOMENTUM M2 AEBT Consumer Control: is tagged by udev as: Keyboard
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) event8 - MOMENTUM M2 AEBT Consumer Control: device is a keyboard
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) config/udev: Adding input device MOMENTUM M2 AEBT (/dev/input/event7)
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) No input driver specified, ignoring this device.
Jul 12 13:13:57 hamildank /usr/lib/gdm3/gdm-x-session[2127]: (II) This device may have been added with another device file.
Jul 12 13:13:57 hamildank rtkit-daemon[4054]: Supervising 3 threads of 1 processes of 1 users.
Jul 12 13:13:57 hamildank rtkit-daemon[4054]: Successfully made thread 10972 of process 4053 (n/a) owned by '1000' RT at priority 5.
Jul 12 13:13:57 hamildank rtkit-daemon[4054]: Supervising 4 threads of 1 processes of 1 users.
Jul 12 13:13:57 hamildank rtkit-daemon[4054]: Supervising 4 threads of 1 processes of 1 users.
Jul 12 13:13:57 hamildank rtkit-daemon[4054]: Successfully made thread 10973 of process 4053 (n/a) owned by '1000' RT at priority 5.
Jul 12 13:13:57 hamildank rtkit-daemon[4054]: Supervising 5 threads of 1 processes of 1 users.
Jul 12 13:13:57 hamildank gsd-media-keys[4265]: Unable to get default source