Bluetooth 蓝牙5.0 ubuntu 18.04

目前,ubuntn对蓝牙5.0支持的比较差。

市面上暂时没有免驱动的蓝牙5.0适配器。

我用的蓝牙适配器是 ORICO BTA608,官网上支持win7-win10。

因为,ORICO BTA608使用的是TRL8761B芯片,所以我手动安装驱动。

我的内核做了一次升级(后来发现有可能不用升级)

参考这篇博客即可

ubuntu 更新内核HWE_billbliss的专栏-CSDN博客Ubuntu 20.04 LTS - Focalsudo apt-get install --install-recommends linux-generic-hwe-20.04Ubuntu 18.04 LTS - Bionic# DESKTOPsudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04 # SERVERsudo apt-get install --ihttps://blog.csdn.net/billbliss/article/details/121953950查看下linux版本

$ uname -r
5.4.0-92-generic

插入蓝牙设配器bluetooth adaptor,

查看下HCI信息

$ hciconfig -a
hci0:	Type: Primary  Bus: USB
	BD Address: 8C:88:2B:13:28:89  ACL MTU: 1021:6  SCO MTU: 255:12
	UP RUNNING 
	RX bytes:426150 acl:0 sco:0 events:2258 errors:0
	TX bytes:4849 acl:0 sco:0 commands:106 errors:0
	Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF PARK 
	Link mode: SLAVE ACCEPT 

这边发现信息不全,于是可以下载最新的驱动

https://mpow.s3-us-west-1.amazonaws.com/mpow_BH519A_driver+for+Linux.7z

cd ~/Downloads/ && wget https://mpow.s3-us-west-1.amazonaws.com/mpow_BH519A_driver+for+Linux.7z

解压之后,进入文件夹内部

Bluetooth 蓝牙5.0 ubuntu 18.04_第1张图片

 可以打开readme.txt

开头内容如下:

===============
  TITLE
===============

The document describes how to support Realtek Bluetooth UART and USB driver in Linux system.

===============
  REQUIREMENT
===============

The supported kernel version is 2.6.32 - 5.7.1

=============================
  QUICKLY INSTALL AUTOMATICALLY
=============================

  $ sudo make install INTERFACE=all
or
  $ sudo make install INTERFACE=usb
or
  $ sudo make install INTERFACE=uart

用全部安装即可

sudo make install INTERFACE=all

现在再看一下HCI信息

$ hciconfig -a
hci0:	Type: Primary  Bus: USB
	BD Address: 8C:88:2B:13:28:89  ACL MTU: 1021:6  SCO MTU: 255:12
	UP RUNNING 
	RX bytes:426427 acl:0 sco:0 events:2261 errors:0
	TX bytes:4858 acl:0 sco:0 commands:109 errors:0
	Features: 0xff 0xff 0xff 0xfe 0xdb 0xfd 0x7b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH HOLD SNIFF PARK 
	Link mode: SLAVE ACCEPT 
	Name: 'geek4cv'
	Class: 0x1c0104
	Service Classes: Rendering, Capturing, Object Transfer
	Device Class: Computer, Desktop workstation
	HCI Version:  (0xa)  Revision: 0x99a
	LMP Version:  (0xa)  Subversion: 0x2885
	Manufacturer: Realtek Semiconductor Corporation (93)

打开蓝牙设置界面,蓝牙已可用。

Bluetooth 蓝牙5.0 ubuntu 18.04_第2张图片

 

你可能感兴趣的:(ubuntu,linux,蓝牙)