您尚未登录。

#1 2020-01-28 19:35:30

luqiyihui
会员
注册时间: 2018-03-16
帖子: 25

关于蓝牙的问题求助

笔记本:DELL LATITUDE E7250
已经安装了pulseaudio-alsa pulseaudio-bluetooth bluez-libs bluez-utils bluez-firmware
已经start和enable蓝牙服务了

在终端下
[luqi@Archlinux ~]$ rfkill list
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
1: dell-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
[luqi@Archlinux ~]$ uname -a
Linux Archlinux 4.19.98-1-lts #1 SMP Thu, 23 Jan 2020 10:06:59 +0000 x86_64 GNU/Linux
[luqi@Archlinux ~]$ bluetoothctl
Agent registered
[CHG] Controller 48:D2:24:DC:4E:2F Pairable: yes
[bluetooth]# show
Controller 48:D2:24:DC:4E:2F (public)
    Name: Archlinux
    Alias: Archlinux
    Class: 0x000c010c
    Powered: yes
    Discoverable: no
    DiscoverableTimeout: 0x000000b4
    Pairable: yes
    UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
    UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
    UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
    UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    Modalias: usb:v1D6Bp0246d0534
    Discovering: no
Advertising Features:
    ActiveInstances: 0x00
    SupportedInstances: 0x05
    SupportedIncludes: tx-power
    SupportedIncludes: appearance
    SupportedIncludes: local-name
[bluetooth]# discoverable on
Changing discoverable on succeeded
[CHG] Controller 48:D2:24:DC:4E:2F Discoverable: yes
[bluetooth]# show
Controller 48:D2:24:DC:4E:2F (public)
    Name: Archlinux
    Alias: Archlinux
    Class: 0x000c010c
    Powered: yes
    Discoverable: yes
    DiscoverableTimeout: 0x000000b4
    Pairable: yes
    UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
    UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
    UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
    UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
    UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
    UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
    UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
    UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
    UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
    Modalias: usb:v1D6Bp0246d0534
    Discovering: no
Advertising Features:
    ActiveInstances: 0x00
    SupportedInstances: 0x05
    SupportedIncludes: tx-power
    SupportedIncludes: appearance
    SupportedIncludes: local-name
[bluetooth]# list
Controller 48:D2:24:DC:4E:2F Archlinux [default]
[bluetooth]# scan on
Discovery started
[CHG] Controller 48:D2:24:DC:4E:2F Discovering: yes
[bluetooth]#

问题:
scan on时没有扫描到音响、耳机或我的手机,同时我手机也无法扫描到电脑

我想问下,是不是那里没有注意到的细节使得我的蓝牙无法使用?请大家来指点下,谢谢!

离线

#2 2020-01-28 19:57:25

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 关于蓝牙的问题求助

很多蓝牙设备默认是不可被发现的状态。比如现代 Android 系统,只有在处于蓝牙配对新设备界面时,它自己才是可被发现的。别的设备通常也会有一个操作用来连接新设备。

离线

#3 2020-01-29 09:37:54

luqiyihui
会员
注册时间: 2018-03-16
帖子: 25

Re: 关于蓝牙的问题求助

依云 说:

很多蓝牙设备默认是不可被发现的状态。比如现代 Android 系统,只有在处于蓝牙配对新设备界面时,它自己才是可被发现的。别的设备通常也会有一个操作用来连接新设备。

可是我已经discoverable  on 了,同时手机蓝牙也设置为可发现状态了,也没能相互扫描到,用Ubuntu live启动U盘启动后可以相互扫描到,所以我怀疑我arch在蓝牙设置上是不是有没注意到的地方?

离线

#4 2020-01-29 11:51:13

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 关于蓝牙的问题求助

奇怪,我刚试了一下,我这边的情况是:

小米手机:能看到 Sony 手机
Sony:能看到小米手机和电脑
电脑:能看到小米手机和 Sony 手机

实际上小米手机看不到的设备还挺多,大部分大概是信号比较弱吧,但是电脑就在旁边,不知道为什么也看不到。
PS: 小米手机处于随时可被发现的状态……

离线

页脚