通过蓝牙向android设备发送文件不成功,但接收文件可以
Tofloor
poster avatar
duanyao
deepin
2018-04-19 22:16
Author
本帖最后由 duanyao 于 2018-4-19 14:26 编辑

测试过的 android 设备:Nubia z17 mini 和 Lenovo 2 A8 50F 。PC 硬件:联想 V470。

从 PC 用 blueman 通过蓝牙向 android 设备发送文件不成功,一直停留在发送对话框上:


日志里面也没看出问题,跟蓝牙相关的只有:
4月 19 14:25:21 duanyao-laptop com.deepin.dde.ControlCenter[2159]: 2018-04-19, 14:25:21.405 [Debug  ] [startupnotificationmonitor.cpp monitor_event_func                  51] startup notification initiated:  blueman-manager-6729-duanyao-laptop-/usr/bin/blueman-sendto-4_TIME7601971
4月 19 14:25:21 duanyao-laptop blueman-sendto[10585]: GtkDialog mapped without a transient parent. This is discouraged.
4月 19 14:25:21 duanyao-laptop com.deepin.dde.ControlCenter[2159]: 2018-04-19, 14:25:21.941 [Debug  ] [startupnotificationmonitor.cpp monitor_event_func                  59] startup notification completed:  blueman-manager-6729-duanyao-laptop-/usr/bin/blueman-sendto-4_TIME7601971
4月 19 14:25:25 duanyao-laptop blueman-sendto[10585]: GtkDialog mapped without a transient parent. This is discouraged.

但是反过来,从 android 设备发送文件到 deepin PC 则没有问题;其它蓝牙功能例如耳机、音频源也没发现问题。

之前也试过从 Win10 发送文件到 android 设备是成功的。

blueman 版本  2.0.4-1,内核版本 4.9.0-deepin13-amd64 。

Reply Favorite View the author
All Replies
avatar
duanyao
deepin
2018-04-25 00:15
#1
本帖最后由 duanyao 于 2018-4-25 12:49 编辑

又试了一下别的内核版本,发现 ukuu 的 4.16.3 内核没有这个问题,发送、接收文件都正常;但 deepin 的 4.14.0-deepin2-amd64 内核不能发送,症状与上面描述的一样。

update: ukuu 的 4.16.3 内核,发送文件也只成功了两三次,后来就再也不行了。

Reply View the author
avatar
duanyao
deepin
2018-04-25 20:50
#2
补充一些我的蓝牙设备信息:

$ sudo hciconfig
hci0:        Type: Primary  Bus: USB
        BD Address: C0:18:85:EB4:E4  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING PSCAN
        RX bytes:21147 acl:0 sco:0 events:189 errors:0
        TX bytes:5533 acl:0 sco:0 commands:92 errors:0

$ sudo rfkill list
0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: ideapad_bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

$ lsusb
Bus 002 Device 005: ID 0bda:0139 Realtek Semiconductor Corp. RTS5139 Card Reader Controller
Bus 002 Device 004: ID 0489:e00d Foxconn / Hon Hai Broadcom Bluetooth 2.1 Device
Bus 002 Device 003: ID 1c7a:0603 LighTuning Technology Inc.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 5986:0364 Acer, Inc
Bus 001 Device 003: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Reply View the author
avatar
duanyao
deepin
2018-04-25 20:52
#3
看来跟这个bug报告很相似:
https://bbs.deepin.org/post/154606
Reply View the author