You are not logged in.

#1 2019-10-04 06:24:31

azer
Member
From: Berlin
Registered: 2007-11-24
Posts: 20
Website

No Bluetooth Devices

Hey there,

For some reason, `scan on` does not return any devices in my system. I follow the instructions in the wiki, power on, agent on and then scan on, but no devices are returned.

I doubt that `scan on` actually scans at all. Something is funky, and I'm not sure how to debug it.

λ  bluetoothctl
Agent registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller A4:5E:60:EA:BE:4A Discovering: yes
[bluetooth]# devices
[bluetooth]#

I tried connecting directly to the device by passing the mac:

λ  bluetoothctl connect C8:08:54:7A:D0:1A
Device C8:08:54:7A:D0:1A not available

lsmod:

λ  lsmod | grep blue
bluetooth             675840  37 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           16384  2 bluetooth
rfkill                 28672  7 bluetooth,cfg80211
crc16                  16384  2 bluetooth,ext4

systemctl status:

λ  sudo systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; >
   Active: active (running) since Fri 2019-10-04 08:14:07 CEST; 9min ago
     Docs: man:bluetoothd(8)
 Main PID: 105841 (bluetoothd)
   Status: "Running"
    Tasks: 1
   Memory: 1.5M
   CGroup: /system.slice/bluetooth.service
           └─105841 /usr/lib/bluetooth/bluetoothd

Oct 04 08:14:07 azer systemd[1]: Starting Bluetooth service...
Oct 04 08:14:07 azer bluetoothd[105841]: Bluetooth daemon 5.50
Oct 04 08:14:07 azer systemd[1]: Started Bluetooth service.
Oct 04 08:14:07 azer bluetoothd[105841]: Starting SDP server
Oct 04 08:14:07 azer bluetoothd[105841]: Bluetooth management interface>
Oct 04 08:14:07 azer bluetoothd[105841]: Endpoint registered: sender=:1>
Oct 04 08:14:07 azer bluetoothd[105841]: Endpoint registered: sender=:1>

dmesg:

λ  dmesg | grep blue
[   17.104419] audit: type=1130 audit(1570166063.596:48): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=blueman-mechanism comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   47.114706] audit: type=1131 audit(1570166093.606:52): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=blueman-mechanism comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3597.071200] audit: type=1131 audit(1570169643.563:55): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 3601.206024] audit: type=1130 audit(1570169647.700:56): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

The weird thing is; this used to work as expected. I had pairing issues but scan was working fine. All of a sudden, now scan also does not work and I can't see any error indicating the problem.

Any ideas ?

Last edited by azer (2019-10-04 06:32:39)

Offline

Board footer

Powered by FluxBB