首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >蓝牙必须手动启用-Ubuntu22.04联想军团

蓝牙必须手动启用-Ubuntu22.04联想军团
EN

Ask Ubuntu用户
提问于 2022-07-15 10:02:27
回答 1查看 803关注 0票数 2

Legion 5 Pro 16IAH7H Laptop (Lenovo) - Type 82RF上升级到最新的BIOS (D1)之后,在Ubuntu22.04上启动之后,蓝牙就不启用了。

我需要手动打开设置并启用蓝牙,这时它就开始工作了。这不是旧的BIOS (v32之类的)的问题。

有什么不对的吗?

代码语言:javascript
复制
$ uname -a
Linux laptop 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
代码语言:javascript
复制
$ sudo journalctl -u bluetooth.service -b
Jul 15 11:52:24 laptop systemd[1]: Starting Bluetooth service...
Jul 15 11:52:24 laptop bluetoothd[2051]: Bluetooth daemon 5.64
Jul 15 11:52:24 laptop systemd[1]: Started Bluetooth service.
Jul 15 11:52:24 laptop bluetoothd[2051]: Starting SDP server
Jul 15 11:52:24 laptop bluetoothd[2051]: Bluetooth management interface 1.21 initialized
Jul 15 11:52:24 laptop bluetoothd[2051]: Failed to set mode: Blocked through rfkill (0x12)
Jul 15 11:52:42 laptop bluetoothd[2051]: Endpoint registered: sender=:1.93 path=/MediaEndpoint/A2DPSink/sbc
Jul 15 11:52:42 laptop bluetoothd[2051]: Endpoint registered: sender=:1.93 path=/MediaEndpoint/A2DPSource/sbc
Jul 15 11:52:42 laptop bluetoothd[2051]: Endpoint registered: sender=:1.93 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Jul 15 11:52:42 laptop bluetoothd[2051]: Endpoint registered: sender=:1.93 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Jul 15 11:52:42 laptop bluetoothd[2051]: Endpoint registered: sender=:1.93 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Jul 15 11:52:42 laptop bluetoothd[2051]: Endpoint registered: sender=:1.93 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Jul 15 11:52:42 laptop bluetoothd[2051]: Endpoint registered: sender=:1.93 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Jul 15 11:52:42 laptop bluetoothd[2051]: Endpoint registered: sender=:1.93 path=/MediaEndpoint/A2DPSource/sbc_xq_552
代码语言:javascript
复制
$ sudo dmesg | grep -i bluetooth
[   11.000350] Bluetooth: Core ver 2.22
[   11.000364] NET: Registered PF_BLUETOOTH protocol family
[   11.000365] Bluetooth: HCI device and connection manager initialized
[   11.000367] Bluetooth: HCI socket layer initialized
[   11.000368] Bluetooth: L2CAP socket layer initialized
[   11.000370] Bluetooth: SCO socket layer initialized
[   11.498471] Bluetooth: hci0: Device revision is 0
[   11.498485] Bluetooth: hci0: Secure boot is enabled
[   11.498489] Bluetooth: hci0: OTP lock is enabled
[   11.498492] Bluetooth: hci0: API lock is enabled
[   11.498494] Bluetooth: hci0: Debug lock is disabled
[   11.498498] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   11.498506] Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38
[   11.507269] Bluetooth: hci0: Found device firmware: intel/ibt-0040-0041.sfi
[   13.065574] Bluetooth: hci0: Waiting for firmware download to complete
[   13.066501] Bluetooth: hci0: Firmware loaded in 1522684 usecs
[   13.066621] Bluetooth: hci0: Waiting for device to boot
[   13.084524] Bluetooth: hci0: Device booted in 17556 usecs
[   13.084875] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-0040-0041.ddc
[   13.087502] Bluetooth: hci0: Applying Intel DDC parameters completed
[   13.091586] Bluetooth: hci0: Firmware timestamp 2022.5 buildtype 1 build 38020
[   14.644428] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.644431] Bluetooth: BNEP filters: protocol multicast
[   14.644434] Bluetooth: BNEP socket layer initialized
[   32.265356] Bluetooth: RFCOMM TTY layer initialized
[   32.265361] Bluetooth: RFCOMM socket layer initialized
[   32.265363] Bluetooth: RFCOMM ver 1.11
[   45.164334] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   45.164340] Bluetooth: HIDP socket layer initialized
[   45.165120] input: Magic Keyboard with Numeric Keypad Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/bluetooth/hci0/hci0:256/0005:004C:026C.000A/input/input29
[   45.165341] input: Magic Keyboard with Numeric Keypad as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/bluetooth/hci0/hci0:256/0005:004C:026C.000A/input/input30
[   45.165495] hid-generic 0005:004C:026C.000A: input,hidraw9: BLUETOOTH HID v1.07 Keyboard [Magic Keyboard with Numeric Keypad] on bc:6e:e2:36:61:30
[   45.488406] input: Magic Keyboard with Numeric Keypad as /devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/bluetooth/hci0/hci0:256/0005:004C:026C.000A/input/input31
[   45.488750] apple 0005:004C:026C.000A: input,hidraw9: BLUETOOTH HID v1.07 Keyboard [Magic Keyboard with Numeric Keypad] on bc:6e:e2:36:61:30

当蓝牙无法工作时,启动后:

代码语言:javascript
复制
$ rfkill list 1
1: ideapad_bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no

运行sudo rfkill unblock bluetooth支持蓝牙。BIOS没有蓝牙配置。

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2022-07-18 18:36:53

代码语言:javascript
复制
rfkill list 1

应在两行中显示“否”:

代码语言:javascript
复制
1: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no

如果软阻塞是是的,这是一个软件相关的原因。如果硬阻塞是是的,这是一个与硬件相关的原因。请用命令和结果编辑问题。

你需要一个..。

代码语言:javascript
复制
sudo rfkill unblock bluetooth

如果那不解除软锁的障碍做一个..。

代码语言:javascript
复制
sudo rfkill unblock all

再检查一遍。

如果您需要在重新启动后重新应用此功能,那么您的BIOS可能会禁用蓝牙,所以请查看那里:当您更新BIOS时,它可能已被设置为禁用(如工厂重置)。你可能还需要一个

代码语言:javascript
复制
sudo systemctl restart bluetooth

rfkill之后。

这两个命令都应该需要一次,在重新启动时,请保持将其保存在其中的状态。如果没有,请留下评论。

如果这些工作,请测试其中之一,并使用它作为一个永久的解决方案(只需要两个中的一个):

  • rfkill.default_state=1添加到GRUB引导选项(第一次在启动过程中,如果这样做可以执行vi /etc/default/grub,则查找GRUB_CMDLINE_LINUX_DEFAULT,并在最后添加rfkill.default_state=1 (有空格)保存和执行sudo update-grub)。(您可以通过删除添加的字符串来恢复此操作)
  • 黑名单(pilot6 6‘s注释)将是sudo /etc/modprobe.d/blacklist.conf,并添加黑名单ideapad_laptop (删除添加的行来恢复此功能)。

这个老虫似乎与此相关(尽管是关于解锁wifi而不仅仅是BT)。

票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1418848

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档