AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-503561

Adrian Bienias's questions

Martin Hope
Adrian Bienias
Asked: 2022-01-14 01:51:22 +0800 CST

蓝牙扬声器音量控制不起作用(但静音起作用)

  • 3
$ neofetch
OS: Pop!_OS 21.10 x86_64 
Kernel: 5.15.8-76051508-generic

我有两个蓝牙设备:扬声器SoundCore Boost和耳机EDIFIER W830BT。

当我尝试使用系统音量设置更改耳机的音量时,它确实有效。耳机上还有用于控制音量的按钮,这些按钮也可以工作(它们在 Linux 中改变系统音量)。

但是在 Linux 中更改音量的蓝牙扬声器不会影响实际音量。另一方面,使用扬声器上的音量按钮确实会改变 Linux 中的系统音量(当我使用设备的按钮时,Linux 中的音量条会按预期改变)。

此外,当我在 Linux 中静音系统音量时,它确实会影响扬声器(静音)。

总结 - 蓝牙设备工作,声音播放,我可以使用设备的按钮更改音量,但只能通过 Linux 系统音量控制扬声器音量(静音除外)。

我卸下并再次配对扬声器,但这没有帮助。

对于这两种设备,Output Device configuration都设置为Hight Fidelity Playback (A2DP Sink)。

相同的扬声器在 macOS 上运行良好(更改系统音量会影响扬声器音量)。

$ bluetoothctl devices
Device 00:22:37:59:E0:A5 SoundCore Boost
Device 5C:C6:E9:30:68:EA EDIFIER W830BT
$ bluetoothctl show
Controller 38:DE:AD:1B:85:90 (public)
    Name: xxxx
    Alias: xxxx
    Class: 0x007c010c
    Powered: yes
    Discoverable: no
    DiscoverableTimeout: 0x000000b4
    Pairable: no
    UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
    UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
    UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
    UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
    UUID: Vendor specific           (00005005-0000-1000-8000-0002ee000001)
    UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
    UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
    UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
    UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
    UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
    Modalias: usb:v1D6Bp0246d053C
    Discovering: no
    Roles: central
    Roles: peripheral
Advertising Features:
    ActiveInstances: 0x00 (0)
    SupportedInstances: 0x05 (5)
    SupportedIncludes: tx-power
    SupportedIncludes: appearance
    SupportedIncludes: local-name

关于如何解决问题的任何想法?


编辑1:

我用旧内核启动了实时 LTS 版本

$ neofetch
OS: Pop!_OS 20.04 LTS x86_64
Kernel: 5.13.0-7620-generic

事实证明,该版本没有问题 - 系统声音控制会按预期影响我的蓝牙扬声器的音量。

我还启动了当前系统的实时版本(以确认我安装的版本没有问题)并且存在音量控制问题。

所以我的猜测是内核5.15.8-76051508-generic对蓝牙和声音控制的处理方式与5.13.0-7620-generic.


编辑2:

我将内核版本降级为5.13.0.
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.13/

我下载了4个文件并安装了它们

$ ls
linux-headers-xxx_all.deb
linux-headers-xxx-generic_xxx.deb
linux-image-usigned-xxx-generic_xxx.deb
linux-modules-xxx-generic_xxx.deb

$ sudo dpkg -i *.deb

Pop!_OS 没有 GRUB 并使用kernelstub
https://github.com/isantop/kernelstub/blob/master/README.md

我使用以下命令更改了内核版本(其中 xxx 是所需的内核版本)

$ sudo kernelstub -v -k /boot/vmlinuz-xxx-generic -i /boot/initrd.img-xxx-generic

重新启动后,我看到我正在使用内核5.13.0-051300-generic,但这并不能解决音量控制问题。

$ uname -r
5.13.0-051300-generic

所以我的猜测是,这Pop!_OS改变了一些东西,20.04 LTS并且21.10破坏了我的蓝牙扬声器中正确的音量控制,这不是内核的错。

bluetooth pop-os
  • 1 个回答
  • 860 Views
Martin Hope
Adrian Bienias
Asked: 2021-12-16 04:28:39 +0800 CST

没有 wifi,iwlwifi 错误 -110 “无法准备卡”,Windows 阻止 wifi 卡?

  • 2

目前,我正在使用Pop!_OS 21.04 x86_64 内核5.15.5-76051505-generic
,但我已经在Manjaro, Tails, Ubuntu,上重现了这个问题MX。所以发行版并不重要。

当我启动 Linux 时,我无法连接到 Wi-Fi 网络。
前段时间我找到了一个解决方案,它与 Windows 连接(双启动)。
在关闭它之前,我必须在 Windows 上关闭 Wi-Fi,然后 Wi-Fi 才能在 Linux 上运行。

但是现在我的机器上只有 Linux(没有双引导)。在我使用带有一些实用工具的 live-usb Windows
之前,一切都运行良好。Hiren's BootCD PE

在我启动该实用程序(从 USB 驱动器)并连接到 Wi-Fi 后,Wi-Fi 在 Linux 上停止工作。

看起来和我之前遇到的问题一样,但这次我无法在 Hiren 的 Boot Windows 上成功禁用 Wi-Fi。我已经尝试在设备管理器中禁用Wi-Fi卡,将其完全卸载,取消选中允许因电源管理而关闭卡,一切都没有成功。

我的猜测是 Windows 以某种方式阻止了 Wi-Fi 卡,之后 Linux 无法正确初始化它。

我之前经过验证的解决方案(当我有 Windows 和 Linux 双启动时)是启动 Windows,关闭其上的 Wi-Fi,然后启动 Linux。
但现在我没有安装 Windows,只有 Windows 的 live-usb 实用程序。它使用一些非标准PE Network Manager来管理 Wi-Fi,并且在那里关闭它并没有像以前在标准 Windows Wi-Fi 接口上那样有帮助。

您对如何在 Linux 上“唤醒”无线网卡有任何想法吗?
可以清楚地检测到无线网卡,但无法正常工作。

我真的不想安装 Windows 只是为了关闭其上的 Wi-Fi 然后将其切碎。

当前 Linux 状态的日志:

$ iwconfig

lo        no wireless extensions.

enp0s31f6  no wireless extensions.
$ rfkill

ID TYPE      DEVICE              SOFT      HARD
 1 wlan      dell-wifi      unblocked unblocked
 2 bluetooth dell-bluetooth   blocked unblocked

$ sudo lshw -C network

  *-network                 
       description: Network controller
       product: Wireless 8265 / 8275
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 78
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=iwlwifi latency=0
       resources: irq:135 memory:ef100000-ef101fff
  *-network
       description: Ethernet interface
       product: Ethernet Connection (4) I219-LM
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 21
       serial: 10:65:30:2e:ee:de
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.15.5-76051505-generic firmware=0.1-4 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:131 memory:ef300000-ef31ffff
$ sudo dmesg | grep iwlwifi

Dec 15 11:06:54 ncno2 kernel: iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
Dec 15 11:06:54 ncno2 kernel: iwlwifi 0000:02:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
Dec 15 11:06:54 ncno2 kernel: iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
Dec 15 11:06:56 ncno2 kernel: iwlwifi 0000:02:00.0: Couldn't prepare the card
Dec 15 11:06:56 ncno2 kernel: iwlwifi 0000:02:00.0: Error while preparing HW: -110
Dec 15 11:06:57 ncno2 kernel: iwlwifi 0000:02:00.0: Master Disable Timed Out, 100 usec
networking wifi
  • 2 个回答
  • 604 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve