You are not logged in.

#1 2016-10-01 10:14:29

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 83
Website

I can send but cannot receive files via bluetooth

I have a Dell XPS 13 (9343) notebook (with an Intel wifi+bluetooth card). I run KDE Plasma 5.7.5. I have always been able to transfer files from my Android cell phone and from Android tablet to my notebook via bluetooth. Until two or three days ago, that is. Bluetooth works, I keep using a couple of bluetooth mice (no problems there), I am still able to send files from my notebook to my Android devices, but I am no longer able to receive files sent from the Android devices to my notebook. The two devices are marked as trusted. I unpaired and paired them again (using both the KDE took and bluetoothctl) but that did not solve the problem. I am using the CK kernel:

cribari@darwin4 ~ $ uname -a
Linux darwin4 4.7.6-1-ck #1 SMP PREEMPT Fri Sep 30 16:41:16 EDT 2016 x86_64 GNU/Linux

The problem also happens when I use the standard (vanilla) Arch kernel and also when I use the LTS kernel. Suggestions are welcome.

cribari@darwin4 ~ $ systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
   Active: active (running) since sex 2016-09-30 23:28:33 BRT; 8min ago
     Docs: man:bluetoothd(8)
 Main PID: 2730 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/bluetooth.service
           └─2730 /usr/lib/bluetooth/bluetoothd

set 30 23:28:33 darwin4 bluetoothd[2730]: Bluetooth daemon 5.42
set 30 23:28:33 darwin4 bluetoothd[2730]: Starting SDP server
set 30 23:28:33 darwin4 bluetoothd[2730]: Bluetooth management interface 1.12 initialized
set 30 23:28:33 darwin4 bluetoothd[2730]: Failed to obtain handles for "Service Changed" characteristic
set 30 23:28:33 darwin4 bluetoothd[2730]: Sap driver initialization failed.
set 30 23:28:33 darwin4 bluetoothd[2730]: sap-server: Operation not permitted (1)
set 30 23:28:33 darwin4 bluetoothd[2730]: Endpoint registered: sender=:1.33 path=/MediaEndpoint/A2DPSource
set 30 23:28:33 darwin4 bluetoothd[2730]: Endpoint registered: sender=:1.33 path=/MediaEndpoint/A2DPSink
set 30 23:28:34 darwin4 bluetoothd[2730]: bt_uhid_send: Invalid argument (22)
set 30 23:28:34 darwin4 bluetoothd[2730]: bt_uhid_send: Invalid argument (22)

cribari@darwin4 ~ $ hciconfig -a
hci0:   Type: Primary  Bus: USB
        BD Address: 34:02:86:0C:4C:74  ACL MTU: 1021:5  SCO MTU: 96:6
        UP RUNNING PSCAN ISCAN 
        RX bytes:293063 acl:14450 sco:0 events:339 errors:0
        TX bytes:4634 acl:136 sco:0 commands:155 errors:0
        Features: 0xff 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
        Link policy: RSWITCH HOLD SNIFF 
        Link mode: SLAVE ACCEPT 
        Name: 'darwin4'
        Class: 0x1c010c
        Service Classes: Rendering, Capturing, Object Transfer
        Device Class: Computer, Laptop
        HCI Version: 4.2 (0x8)  Revision: 0x1000
        LMP Version: 4.2 (0x8)  Subversion: 0x1000
        Manufacturer: Intel Corp. (2)

cribari@darwin4 ~ $ dmesg | bluetooth
bluetooth = on
cribari@darwin4 ~ $ lsmod | grep -i bluetooth
bluetooth             454656  43 bnep,btbcm,btrtl,btusb,rfcomm,btintel
rfkill                 20480  10 cfg80211,bluetooth,dell_laptop
crc16                  16384  2 ext4,bluetooth

Linux, street photography and Baroque music enthusiast.

Offline

#2 2016-10-08 01:35:37

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 83
Website

Re: I can send but cannot receive files via bluetooth

I made some progress. I noticed that my last successful file transfer from my Android devices to my notebook was on September 26, 2016. I then noticed that on that day Bluez was updated:

[2016-09-26 13:11] [ALPM] upgraded bluez-utils (5.41-2 -> 5.42-1)
[2016-09-26 13:11] [ALPM] upgraded bluez-libs (5.41-2 -> 5.42-1)
[2016-09-26 13:11] [ALPM] upgraded bluez (5.41-2 -> 5.42-1)

I then downgraded bluez, bluez-libs and bluez-utils to version 5.41-2 and bingo! I can now send files from my cell phone and tablet to my notebook again. Hence, I believe there is a problem with version 5.42.1 of Bluez. With that installed bluetooth is functional except for one thing: the computer does not receive files over bluetooth.

Is there a way to fix that, i.e., to make version 5.42-1 become fully functional?

Last edited by cribari (2016-10-08 01:56:48)


Linux, street photography and Baroque music enthusiast.

Offline

#3 2016-10-08 21:23:15

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 167

Re: I can send but cannot receive files via bluetooth

I have the same problem, with two different laptops. One with intel bluetooth and one with broadband. Until now I haven't found any solution...

Offline

#4 2016-10-08 22:36:57

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 83
Website

Re: I can send but cannot receive files via bluetooth


Linux, street photography and Baroque music enthusiast.

Offline

#5 2016-10-11 12:07:30

lmello
Member
From: Brazil
Registered: 2012-11-06
Posts: 300

Re: I can send but cannot receive files via bluetooth

Hum, kernel or bluez bug?

'Cause I'm using kernel 4.4.24 (LTS) and I have the exact same problem with different hardware (desktop + USB bluetooth dongle)

Last edited by lmello (2016-10-11 12:08:15)


Fundamental Axiom of the Universe (aka Murphy's Law): Whatever can go wrong, will go wrong.
First Digital Deduction: Nothing obeys Murphy's Law so well as computers.
Second Digital Deduction: Everything go wrong at least once.
Third Digital Deduction: Things go wrong even when there's absolutely no possibility of anything go wrong.

Offline

#6 2016-10-11 12:16:25

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 83
Website

Re: I can send but cannot receive files via bluetooth

@lmello It's a bluez bug. It would be useful if you could share your experience in the two bug reports I opened (see links above) .

lmello wrote:

Hum, kernel or bluez bug?

'Cause I'm using kernel 4.4.24 (LTS) and I have the exact same problem with different hardware (desktop + USB bluetooth dongle)


Linux, street photography and Baroque music enthusiast.

Offline

#7 2016-10-11 13:03:11

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 167

Re: I can send but cannot receive files via bluetooth

It's for sure bluez bug. I'm using both lts and latest kernels with exactly the same problem.

Offline

#8 2016-10-31 10:52:19

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 167

Re: I can send but cannot receive files via bluetooth

Problem fixed with latest bluez update.
With version 5.43 I can receive files as before.

Offline

Board footer

Powered by FluxBB