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
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[bluetooth](ubuntu)

Martin Hope
Fayas
Asked: 2025-04-25 10:25:19 +0800 CST

蓝牙不工作

  • 5

我使用的是 Acer Aspire Lite (AL15-41) 笔记本电脑和 Ubuntu 24.04 系统。问题是 Ubuntu 无法识别蓝牙设备(我的手机和音​​箱)。我的手机也无法识别我的笔记本电脑。

截屏

我已将内核更新到最新版本。但这个问题没有得到解决。我现在该怎么办?

bluetooth
  • 2 个回答
  • 133 Views
Martin Hope
Ur Niiicb
Asked: 2025-04-09 21:06:36 +0800 CST

蓝牙显示但未检测到或未被检测到,如何修复?

  • 5

内核版本: *6.11.0-21-generic*

sudo dmesg | grep -i bluetooth | tail -n 30

[    3.686609] usb 3-3: Product: Bluetooth Radio
[    5.272165] Bluetooth: Core ver 2.22
[    5.272217] NET: Registered PF_BLUETOOTH protocol family
[    5.272220] Bluetooth: HCI device and connection manager initialized
[    5.272227] Bluetooth: HCI socket layer initialized
[    5.272231] Bluetooth: L2CAP socket layer initialized
[    5.272239] Bluetooth: SCO socket layer initialized
[    5.399632] Bluetooth: hci0: urb 000000006b6bc71e failed to resubmit (2)
[    7.443428] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[    8.555200] Bluetooth: hci0: unexpected event for opcode 0x0c03
[    8.556660] Bluetooth: hci0: unexpected event for opcode 0x0000
[    8.765298] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.765307] Bluetooth: BNEP filters: protocol multicast
[    8.765315] Bluetooth: BNEP socket layer initialized
[    8.768694] Bluetooth: MGMT ver 1.23
[   17.810960] Bluetooth: RFCOMM TTY layer initialized
[   17.810981] Bluetooth: RFCOMM socket layer initialized
[   17.810995] Bluetooth: RFCOMM ver 1.11

LSUSB

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 13d3:3601 IMC Networks Bluetooth Radio
Bus 003 Device 003: ID 04f2:b729 Chicony Electronics Co., Ltd Chicony USB2.0 Camera
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

usb-devices | grep -A 20 -i bluetooth


    S:  Product=Bluetooth Radio
    S:  SerialNumber=00e04c000001
    C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
    E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
    I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
    E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
    
    T:  Bus=03 Lev=01 Prnt=02 Port=03 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
    D:  Ver= 2.01 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=04f2 ProdID=b729 Rev=27.39
    S:  Manufacturer=CHICONY
    S:  Product=Chicony USB2.0 Camera
    S:  SerialNumber=200901010001
    C:  #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
    E:  Ad=83(I) Atr=03(Int.) MxPS=  32 Ivl=4ms
    I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

lsmod | grep -i bluetooth

    bluetooth            1028096  44 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm

bluetooth
  • 1 个回答
  • 81 Views
Martin Hope
xealits
Asked: 2025-02-08 11:21:13 +0800 CST

Ubuntu 24.04,蓝牙控制器已连接但未显示在 Steam 中

  • 5

这是 8BitDo SN30 pro+ 控制器。它通过 USB 蓝牙适配器连接。它以前工作得很好。但在最近的升级之后的某个时候,整个行为都变差了。它以前在连接时会振动 - 现在再也不会了。它可以在连接后立即随机断开连接。不知何故,通过重新启动和重新配对,我最近确实让它在 Steam 游戏中工作了几次。但这太痛苦了。

blueman-applet我看到它在和 中已配对、信任并连接bluetoothctl info。但 Steam 检测不到它:Steam > 设置 > 控制器显示“未检测到控制器”。

而且我没有在 下看到任何与控制器相关的内容/dev。即根据Arch Gamepad wiki,它应该在 下显示为/dev/input/jsX和/dev/input/by-id/。在我的情况下,没有jsX设备,/dev/input/只包含eventX和mice。mouse0我在下面看到的/dev/input/by-id/只有我的键盘和鼠标。 下还有更多内容/dev/input/by-path/:

$ ls /dev/input/by-path/ -l
total 0
lrwxrwxrwx 1 root root 9 Feb  8 03:31 pci-0000:09:00.4-usb-0:2:1.1-event-mouse -> ../event3
lrwxrwxrwx 1 root root 9 Feb  8 03:31 pci-0000:09:00.4-usb-0:2:1.1-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 Feb  8 03:31 pci-0000:09:00.4-usbv2-0:2:1.1-event-mouse -> ../event3
lrwxrwxrwx 1 root root 9 Feb  8 03:31 pci-0000:09:00.4-usbv2-0:2:1.1-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9 Feb  8 03:31 platform-eeepc-wmi-event -> ../event4
lrwxrwxrwx 1 root root 9 Feb  8 03:31 platform-i8042-serio-0-event-kbd -> ../event2

我认为i8042是键盘驱动程序。我不确定是什么platform-eeepc-wmi-event。

所以,我猜测,蓝牙连接了设备,但控制器无法被识别。

当我journalctl -f通过蓝牙连接时,我得到了这个:

dunst[10327]: CRITICAL: Source ID 73 was not found when attempting to remove it
kernel: nintendo 0005:057E:2009.0008: unknown main item tag 0x0
kernel: nintendo 0005:057E:2009.0008: hidraw3: BLUETOOTH HID v80.01 Gamepad [Pro Controller] on 44:01:bb:ad:a0:55
kernel: nintendo 0005:057E:2009.0008: Failed to get joycon info; ret=-110
kernel: nintendo 0005:057E:2009.0008: Failed to retrieve controller info; ret=-110
kernel: nintendo 0005:057E:2009.0008: Failed to initialize controller; ret=-110
kernel: nintendo 0005:057E:2009.0008: probe - fail = -110
kernel: nintendo: probe of 0005:057E:2009.0008 failed with error -110

那么,它被识别为任天堂控制器但无法初始化?我该如何解决这个问题?我应该为控制器安装一些驱动程序吗?

更新:我还将控制器上的 FW 更新为最新支持的版本 v6.01。但仍然nintendo ... failed to initialize the controller出现相同的错误journalctl -f。

bluetooth
  • 1 个回答
  • 15 Views
Martin Hope
Srinath Avadhanula
Asked: 2025-02-02 02:39:09 +0800 CST

蓝牙配对在 Ubuntu 24.04 中不起作用

  • 5

我的新ABS 桌面上安装了 Ubuntu 24.04 ,尽管 hciconfig、bluetoothctl 没有显示任何错误,但在扫描期间我却看不到任何设备。

$ hciconfig
hci0:   Type: Primary  Bus: USB
        BD Address: FC:B0:DE:38:30:96  ACL MTU: 1021:8  SCO MTU: 255:12
        UP RUNNING PSCAN ISCAN
        RX bytes:5389 acl:0 sco:0 events:539 errors:0
        TX bytes:19604 acl:0 sco:0 commands:519 errors:0

手动使用 bluetoothctl 执行以下操作:

$ bluetoothctl
Waiting to connect to bluetoothd...[bluetooth]# Agent registered
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
[bluetooth]# Default agent request successful
[bluetooth]# scan on
[bluetooth]# SetDiscoveryFilter success
[bluetooth]# Discovery started
[bluetooth]# [CHG] Controller FC:B0:DE:38:30:96 Discovering: yes
[bluetooth]#

据我所知, lsmod 没有显示任何有趣的东西:

$ lsmod | grep btusb
btusb                  77824  0
btrtl                  32768  1 btusb
btintel                57344  1 btusb
btbcm                  24576  1 btusb
btmtk                  12288  1 btusb
bluetooth            1028096  46 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm

~ ⌚ 13:34:42
$ lsmod | grep bluetooth
bluetooth            1028096  46 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           16384  2 bluetooth

以下是 的输出lsusb; sudo dmesg | egrep -i 'blue|firm':

$ lsusb; sudo dmesg | egrep -i 'blue|firm'
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller
Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0489:e112 Foxconn / Hon Hai Bluetooth Radio
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
[    1.157720] usb 3-1: Product: Bluetooth Radio
[    4.892212] systemd[1]: Mounting snap-firmware\x2dupdater-127.mount - Mount unit for firmware-updater, revision 127...
[    4.893131] systemd[1]: Mounting snap-firmware\x2dupdater-147.mount - Mount unit for firmware-updater, revision 147...
[    5.078863] Bluetooth: Core ver 2.22
[    5.103287] NET: Registered PF_BLUETOOTH protocol family
[    5.103290] Bluetooth: HCI device and connection manager initialized
[    5.103294] Bluetooth: HCI socket layer initialized
[    5.103296] Bluetooth: L2CAP socket layer initialized
[    5.103303] Bluetooth: SCO socket layer initialized
[    5.319068] rtw89_8851be 0000:08:00.0: loaded firmware rtw89/rtw8851b_fw.bin
[    5.319858] rtw89_8851be 0000:08:00.0: Firmware version 0.29.41.3 (65cefb31), cmd version 0, type 5
[    5.319861] rtw89_8851be 0000:08:00.0: Firmware version 0.29.41.3 (65cefb31), cmd version 0, type 3
[    6.292072] [drm] Loading DMUB firmware via PSP: version=0x05000F00
[    6.292458] [drm] Found VCN firmware Version ENC: 1.30 DEC: 3 VEP: 0 Revision: 4
[    6.292464] amdgpu 0000:0b:00.0: amdgpu: Will use PSP to load VCN firmware
[    7.299392] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.299396] Bluetooth: BNEP filters: protocol multicast
[    7.299401] Bluetooth: BNEP socket layer initialized
[    7.300285] Bluetooth: MGMT ver 1.22
[    9.138499] Bluetooth: RFCOMM TTY layer initialized
[    9.138505] Bluetooth: RFCOMM socket layer initialized
[    9.138508] Bluetooth: RFCOMM ver 1.11
[ 7300.714099] audit: type=1400 audit(1738440042.768:183): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=28130 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[18100.787075] audit: type=1400 audit(1738450842.532:184): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=74038 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

此时我已经没有主意了,非常感谢任何帮助。为了“好玩”,这是我尝试使用 chat-gpt 进行的调试会话

bluetooth
  • 1 个回答
  • 69 Views
Martin Hope
Relic
Asked: 2025-01-08 19:35:29 +0800 CST

Ubuntu 24.04.01 LTS 上联发科(蓝牙)MT7921 没有蓝牙,WiFi 可用

  • 5

我使用的是 Acer Nitro V ANV15,它使用联发科蓝牙 MT7921 来实现 WiFi 和蓝牙。我的系统是 Ubuntu 24.04.01 LTS,内核是 6.8.0-51-generic。

我尝试重新启动并检查蓝牙的状态,它确实显示服务正在运行。但是,尝试通过 GNOME 设置打开蓝牙时,切换按钮无法工作。使用带有 bluetoothctl 的终端也显示没有默认控制器。

奇怪的是,WiFi 部分仍然正常工作。我甚至尝试将其关闭,以防它干扰蓝牙,但没有成功。为了确保万无一失,我还运行了 sudo apt update and upgrade。

此外,我使用 Windows 进行双启动,蓝牙在该操作系统上正常工作。在双启动安装过程中,WiFi 开箱即用(运行 sudo apt update and upgrade 一次后)。

鉴于我看过关于 ~5.0 Linux 内核的此问题的报告,这似乎不是一个老问题。这个新版本有修复吗?

编辑:Jeremy31 询问的附加信息:

lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0408:403a Quanta Computer, Inc. ACER HD User Facing
Bus 003 Device 003: ID 13d3:3606 IMC Networks Wireless_Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
sudo dmesg | egrep -i 'blue|firm'
[    0.149202] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    2.048553] Bluetooth: Core ver 2.22
[    2.048577] NET: Registered PF_BLUETOOTH protocol family
[    2.048578] Bluetooth: HCI device and connection manager initialized
[    2.048582] Bluetooth: HCI socket layer initialized
[    2.048584] Bluetooth: L2CAP socket layer initialized
[    2.048588] Bluetooth: SCO socket layer initialized
[    2.371476] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adlp_dmc.bin (v2.20)
[    2.384614] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.20.0
[    2.384620] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[    2.743129] mt7921e 0000:3e:00.0: WM Firmware Version: ____010000, Build Time: 20240219111038
[    3.103798] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.103803] Bluetooth: BNEP filters: protocol multicast
[    3.103807] Bluetooth: BNEP socket layer initialized
[    3.774665] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0:
[    3.774670] sof-audio-pci-intel-tgl 0000:00:1f.3:  Firmware file:     intel/sof/sof-rpl.ri
[    3.775861] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    3.775866] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    3.864754] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[    3.864759] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[    4.450398] Bluetooth: hci0: Opcode 0x0c03 failed: -110
[ 1380.079922] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.20.0
[ 1380.079926] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[ 1380.940420] audit: type=1400 audit(1736591719.235:249): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=16622 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[ 5091.766316] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.20.0
[ 5091.766330] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[ 5121.929122] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/adlp_guc_70.bin version 70.20.0
[ 5121.929127] i915 0000:00:02.0: [drm] GT0: HuC firmware i915/tgl_huc.bin version 7.9.3
[ 5123.394812] audit: type=1400 audit(1736612644.852:267): apparmor="DENIED" operation="open" class="file" profile="snap.firmware-updater.firmware-notifier" name="/proc/sys/vm/max_map_count" pid=42330 comm="firmware-notifi" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
No message appears for dkms status after installing it
bluetooth
  • 1 个回答
  • 69 Views
Martin Hope
user149408
Asked: 2025-01-01 23:54:37 +0800 CST

取消配对后无法与 UE MEGAOOM 配对

  • 5

在使用 UE MEGABOOM 时遇到问题后,我尝试取消配对并重新配对。但是,配对不断失败 - 我尝试过重新启动,以及使用 Blueman 和 进行配对bluetoothctl。

我收到的只是一条消息,告诉妈妈配对失败。bluetoothctl给了我:

Failed to pair: org.bluez.Error.AuthenticationFailed

怎么回事?

bluetooth
  • 1 个回答
  • 15 Views
Martin Hope
J. Doe
Asked: 2024-12-29 00:13:23 +0800 CST

为什么 ubuntu 无法成功连接配对的耳机?

  • 5

我的耳机已在 ubuntu (24.04.1 LTS) 上与蓝牙配对,但当我单击“连接”时,操作失败。每次我想要连接时,我都必须断开耳机(从配对设备列表中)并再次修复。如何解决这个问题?

bluetooth
  • 1 个回答
  • 45 Views
Martin Hope
voidf.0xb3
Asked: 2024-11-23 03:50:14 +0800 CST

每次重启后都必须配对蓝牙耳机

  • 5

我的新蓝牙耳机(HONOR CHOICE 开放式耳塞)出了点问题。我可以将它们与我的 Ubuntu 24.10 PC(一台带有蓝牙适配器的台式电脑)配对,配对后它们工作正常,直到我重新启动电脑(或重新启动服务bluetooth),这时它就无法连接了。我之前的蓝牙耳机没有出现这种情况,在 Ubuntu 上运行良好。

重启后,我连接耳机的唯一方法是经过另一个配对过程:经过一些调整(关闭耳机或适配器并反复尝试连接)后,Ubuntu 要求我确认一个 6 位数的代码,单击“确认”后,耳机即可再次工作。(顺便说一句,6 位数的代码本身很奇怪:以前的耳机不需要代码,而且耳机无论如何都无法显示代码,所以我实际上并没有将该代码与任何东西进行比较。)

完成此过程后,LinkKeyin/var/lib/bluetooth/XX:XX:XX:XX:XX:XX/XX:XX:XX:XX:XX:XX/info会发生变化;此外,我安装的蓝牙管理器程序(blueman包)在标有“蓝牙配对请求”的通知中显示相同的代码。这让我有理由确信这实际上是另一次配对。

此问题特定于 Ubuntu:在同一台计算机上安装 Windows 11 时不会发生此问题,重启后重新连接没有任何问题。(请注意,这不是在双启动的情况下必须在两个不同的操作系统之间同步蓝牙密钥的问题:在这里我将耳机与 Ubuntu 配对,然后再次重新启动到 Ubuntu,根本不触及 Windows。我只提到 Windows 以将问题缩小到 Ubuntu,而不是耳机或 PC 硬件。)

如果我尝试通过命令行连接耳机,它会产生以下错误消息(我删除了设备的地址):

$ bluetoothctl connect XX:XX:XX:XX:XX:XX
Attempting to connect to XX:XX:XX:XX:XX:XX
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
Failed to connect: org.bluez.Error.Failed br-connection-unknown

我该如何修复此问题?

编辑:我发现了这个btmon工具,它似乎可以转储计算机与其交互的设备之间交换的蓝牙消息的完整痕迹。

在失败的连接尝试的跟踪中,我发现了以下交换:

> HCI Event: Link Key Request (0x17) plen 6                                                                                                                                                                          #55 [hci0] 13.039915
        Address: XX:XX:XX:XX:XX:XX (Tiinlab Corporation)
< HCI Command: Link Key Request Negative Reply (0x01|0x000c) plen 6                                                                                                                                                  #56 [hci0] 13.039939
        Address: XX:XX:XX:XX:XX:XX (Tiinlab Corporation)

以下是成功连接尝试的跟踪的相应部分(配对之后和重启之前):

> HCI Event: Link Key Request (0x17) plen 6                                                                                                                                  #34 [hci0] 13.524821
        Address: XX:XX:XX:XX:XX:XX (Tiinlab Corporation)
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22                                                                                                                  #35 [hci0] 13.524834
        Address: XX:XX:XX:XX:XX:XX (Tiinlab Corporation)
        Link key[16]: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

看来,Ubuntu 在服务bluetooth重启后不记得它有一个该设备的链接密钥。

bluetooth
  • 1 个回答
  • 75 Views
Martin Hope
daemon_nio
Asked: 2024-09-21 04:18:34 +0800 CST

我无法在 Ubuntu 24.04 LTS 中打开蓝牙

  • 6

和许多用户一样,我也遇到了蓝牙问题。我使用的Linux 6.8.0-45-generic on x86_64 #45-Ubuntu 24.04.1 LTS是刚刚安装的。
当我继续Settings -> Bluetooth并单击启用开关时,它会立即自行禁用。

我的笔记本电脑刚刚购买,您可以在此处查看完整规格

我尝试遵循

  • 我无法在 Ubuntu 22.04 LTS 中打开蓝牙
  • https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1859592

没有人能解决问题。
我无法从笔记本电脑中取出电池,因此我尝试了在 BIOS 上禁用/启用的技巧,但没有帮助。

报告的主要错误信息是:

  • 蓝牙:hci0:操作码 0x0c03 失败:-110
sudo dmesg | grep -i blue
[    2.511496] Bluetooth: Core ver 2.22
[    2.511532] NET: Registered PF_BLUETOOTH protocol family
[    2.511535] Bluetooth: HCI device and connection manager initialized
[    2.511548] Bluetooth: HCI socket layer initialized
[    2.511553] Bluetooth: L2CAP socket layer initialized
[    2.511561] Bluetooth: SCO socket layer initialized
[    4.437283] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.437291] Bluetooth: BNEP filters: protocol multicast
[    4.437307] Bluetooth: BNEP socket layer initialized
[    4.675379] Bluetooth: hci0: Opcode 0x0c03 failed: -110

但与许多其他报告错误的人不同的是,当我检查bluetooth.service的状态时,它显示active:

sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Tue 2024-09-17 13:17:46 BST; 21min ago
       Docs: man:bluetoothd(8)
   Main PID: 949 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 37564)
     Memory: 2.8M (peak: 3.1M)
        CPU: 51ms
     CGroup: /system.slice/bluetooth.service
             └─949 /usr/libexec/bluetooth/bluetoothd

Sep 17 13:17:46 matrix bluetoothd[949]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support micp plugin
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support vcp plugin
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support mcp plugin
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support bass plugin
Sep 17 13:17:46 matrix bluetoothd[949]: src/plugin.c:plugin_init() System does not support bap plugin
Sep 17 13:17:46 matrix bluetoothd[949]: Bluetooth management interface 1.22 initialized
Sep 17 13:17:46 matrix systemd[1]: Starting bluetooth.service - Bluetooth service...
Sep 17 13:17:46 matrix (uetoothd)[949]: bluetooth.service: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (>
Sep 17 13:17:46 matrix systemd[1]: Started bluetooth.service - Bluetooth service.

有人能给我一些建议吗?我可以尝试/检查什么?




lsusb已编辑:根据要求 添加输出。

$ lsusb; sudo dmesg| grep -i firm
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 13d3:3585 IMC Networks Wireless_Device
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 2b7e:c858 Kingcome FHD WebCam
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

它是一个内置蓝牙,而不是 USB 蓝牙...但是为了防止我遗漏某些东西,我还是添加了它。

bluetooth
  • 1 个回答
  • 67 Views
Martin Hope
Andrew Harlan
Asked: 2024-08-31 16:08:27 +0800 CST

我是否必须在 ubuntu 上启用蓝牙连接才能使用蓝牙鼠标?

  • 5

我意识到尽管我使用的是蓝牙鼠标,但 Ubuntu 上的蓝牙连接已关闭。几天来,指针一直无法平稳移动,所以我正在寻找可能的原因。我认为鼠标通过其 USB 适配器进行蓝牙通信,但我想知道我是否也应该在 Ubuntu 上启用蓝牙连接。但是打开它并没有帮助解决问题。

bluetooth
  • 1 个回答
  • 18 Views

Sidebar

Stats

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

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve