求助,关于蓝牙
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: 求助,关于蓝牙
执行以下指令将结果全部复制贴上来,不要节选zechagl 写了:装了ubuntu的双系统 使用lsusb查询,没有关于bluetooth的项
代码: 全选
uname -a
cat /etc/issue
lspci -knn | grep -iA2 net
lsusb
sudo lshw -C net
sudo rfkill list all
sudo hciconfig -a
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户
-
- 帖子: 4
- 注册时间: 2016-09-26 16:39
- 系统: ubuntu
Re: 求助,关于蓝牙
Linux zechagl 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linuxvickycq 写了:执行以下指令将结果全部复制贴上来,不要节选zechagl 写了:装了ubuntu的双系统 使用lsusb查询,没有关于bluetooth的项代码: 全选
uname -a cat /etc/issue lspci -knn | grep -iA2 net lsusb sudo lshw -C net sudo rfkill list all sudo hciconfig -a
Ubuntu 14.04.4 LTS \n \l
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo Device [17aa:380a]
Kernel driver in use: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
Subsystem: Lenovo Device [17aa:b736]
Kernel driver in use: rtl8723be
Bus 003 Device 002: ID 8087:8000 Intel Corp.
Bus 003 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 001 Device 004: ID 0bda:b728 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 5986:0652 Acer, Inc
Bus 001 Device 002: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: eth0
version: 10
serial: 28:d2:44:83:d1:39
size: 10Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
resources: irq:45 ioport:5000(size=256) memory:d0604000-d0604fff memory:d0600000-d0603fff
*-network
description: Wireless interface
product: RTL8723BE PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 00
serial: 14:2d:27:49:e9:05
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8723be driverversion=4.2.0-27-generic firmware=N/A ip=222.195.67.2 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:19 ioport:4000(size=256) memory:d0500000-d0503fff
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
hci0: Type: BR/EDR Bus: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:14 acl:0 sco:0 events:1 errors:0
TX bytes:3 acl:0 sco:0 commands:1 errors:0
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: 求助,关于蓝牙
1. 内核自带驱动 "rtl8723be" 不支持蓝牙,需为蓝牙安装单独驱动。研究一下 https://github.com/lwfinger/rtl8723au_btzechagl 写了: product: RTL8723BE PCIe Wireless Network Adapter
Kernel driver in use: rtl8723be
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2. 安装蓝牙驱动 "rtl8723au_bt" 后,再用 rfkill 检查蓝牙是否仍为 Soft blocked: yes
补充:驱动可以如下方式安装
代码: 全选
sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt-get update
sudo apt-get install rtlwifi-new-dkms linux-firmware rtl8723au-bt-dkms
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户
-
- 帖子: 4
- 注册时间: 2016-09-26 16:39
- 系统: ubuntu
Re: 求助,关于蓝牙
使用git上的make,发生错误vickycq 写了:1. 内核自带驱动 "rtl8723be" 不支持蓝牙,需为蓝牙安装单独驱动。研究一下 https://github.com/lwfinger/rtl8723au_btzechagl 写了: product: RTL8723BE PCIe Wireless Network Adapter
Kernel driver in use: rtl8723be
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
2. 安装蓝牙驱动 "rtl8723au_bt" 后,再用 rfkill 检查蓝牙是否仍为 Soft blocked: yes
补充:驱动可以如下方式安装代码: 全选
sudo add-apt-repository ppa:hanipouspilot/rtlwifi sudo apt-get update sudo apt-get install rtlwifi-new-dkms linux-firmware rtl8723au-bt-dkms
make -C /lib/modules/4.2.0-27-generic/build M=/home/zechagl/rtl8723au_bt modules
make[1]: 正在进入目录 `/usr/src/linux-headers-4.2.0-27-generic'
CC [M] /home/zechagl/rtl8723au_bt/rtk_btusb.o
/home/zechagl/rtl8723au_bt/rtk_btusb.c:41:2: error: #error "This repo is only for kernels older than 4.1.0. For kernel 4.1 or later, use the kernel branch."
#error "This repo is only for kernels older than 4.1.0. For kernel 4.1 or later, use the kernel branch."
^
/home/zechagl/rtl8723au_bt/rtk_btusb.c: In function ‘btusb_intr_complete’:
/home/zechagl/rtl8723au_bt/rtk_btusb.c:168:3: error: implicit declaration of function ‘hci_recv_fragment’ [-Werror=implicit-function-declaration]
if (hci_recv_fragment(hdev, HCI_EVENT_PKT,
^
/home/zechagl/rtl8723au_bt/rtk_btusb.c: In function ‘btusb_close’:
/home/zechagl/rtl8723au_bt/rtk_btusb.c:575:18: error: ‘NUM_REASSEMBLY’ undeclared (first use in this function)
for (i = 0; i < NUM_REASSEMBLY; i++) {
^
/home/zechagl/rtl8723au_bt/rtk_btusb.c:575:18: note: each undeclared identifier is reported only once for each function it appears in
/home/zechagl/rtl8723au_bt/rtk_btusb.c:576:10: error: ‘struct hci_dev’ has no member named ‘reassembly’
if(hdev->reassembly) {
^
/home/zechagl/rtl8723au_bt/rtk_btusb.c:577:18: error: ‘struct hci_dev’ has no member named ‘reassembly’
kfree_skb(hdev->reassembly);
^
/home/zechagl/rtl8723au_bt/rtk_btusb.c:578:8: error: ‘struct hci_dev’ has no member named ‘reassembly’
hdev->reassembly = NULL;
^
cc1: some warnings being treated as errors
make[2]: *** [/home/zechagl/rtl8723au_bt/rtk_btusb.o] 错误 1
make[1]: *** [_module_/home/zechagl/rtl8723au_bt] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-4.2.0-27-generic'
make: *** [all] 错误 2
使用你的3条命令后,仍然是yes
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: 求助,关于蓝牙
安装 rtlwifi-new-dkms rtl8723au-bt-dkms 的过程中注意观察模块是否成功构建,有无明显错误信息zechagl 写了:使用你的3条命令后,仍然是yes
安装 rtlwifi-new-dkms rtl8723au-bt-dkms 后先重新启动计算机
若仍为 Soft blocked: yes,尝试 sudo rfkill unblock all
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户
-
- 帖子: 4
- 注册时间: 2016-09-26 16:39
- 系统: ubuntu
Re: 求助,关于蓝牙
蓝牙模块可以了,但是不好用,搜不到手机,而且设置界面经常卡死。总之,还是谢谢你了。vickycq 写了:安装 rtlwifi-new-dkms rtl8723au-bt-dkms 的过程中注意观察模块是否成功构建,有无明显错误信息zechagl 写了:使用你的3条命令后,仍然是yes
安装 rtlwifi-new-dkms rtl8723au-bt-dkms 后先重新启动计算机
若仍为 Soft blocked: yes,尝试 sudo rfkill unblock all