无法将文件从手机传输到笔记本电脑 Ubuntu 14.04

无法将文件从手机传输到笔记本电脑 Ubuntu 14.04

我有 Moto G - Android 4.4.4。我配对了手机,想将文件从手机传输到笔记本电脑(Ubuntu 14.04)。但无法做到。

在此处输入图片描述

虽然我可以通过蓝牙浏览文件,并能够在笔记本电脑上访问图片和播放视频。(这些都在我的手机里)

dmesg | grep Blue 的输出

 [   15.929503] Bluetooth: Core ver 2.17
[   15.929525] Bluetooth: HCI device and connection manager initialized
[   15.929536] Bluetooth: HCI socket layer initialized
[   15.929538] Bluetooth: L2CAP socket layer initialized
[   15.929543] Bluetooth: SCO socket layer initialized
[   23.451049] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   23.451053] Bluetooth: BNEP filters: protocol multicast
[   23.451067] Bluetooth: BNEP socket layer initialized
[   23.480577] Bluetooth: RFCOMM TTY layer initialized
[   23.480596] Bluetooth: RFCOMM socket layer initialized
[   23.480603] Bluetooth: RFCOMM ver 1.11

有关文件 /etc/blueoth/main.conf 的信息

[General]

# List of plugins that should not be loaded on bluetoothd startup
#DisablePlugins = network,input

# Default adaper name
# %h - substituted for hostname
# %d - substituted for adapter id
Name = %h-%d

# Default device class. Only the major and minor device class bits are
# considered.
Class = 0x000100

# How long to stay in discoverable mode before going back to non-discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
DiscoverableTimeout = 0

# How long to stay in pairable mode before going back to non-discoverable
# The value is in seconds. Default is 0.
# 0 = disable timer, i.e. stay pairable forever
PairableTimeout = 0

# Use some other page timeout than the controller default one
# which is 16384 (10 seconds).
PageTimeout = 8192

# Automatic connection for bonded devices driven by platform/user events.
# If a platform plugin uses this mechanism, automatic connections will be
# enabled during the interval defined below. Initially, this feature
# intends to be used to establish connections to ATT channels.
AutoConnectTimeout = 60

# What value should be assumed for the adapter Powered property when
# SetProperty(Powered, ...) hasn't been called yet. Defaults to true
InitiallyPowered = true

# Remember the previously stored Powered state when initializing adapters
RememberPowered = true

# Use vendor id source (assigner), vendor, product and version information for
# DID profile support. The values are separated by ":" and assigner, VID, PID
# and version.
# Possible vendor id source values: bluetooth, usb (defaults to usb)
#DeviceID = bluetooth:1234:5678:abcd

# Do reverse service discovery for previously unknown devices that connect to
# us. This option is really only needed for qualification since the BITE tester
# doesn't like us doing reverse SDP for some test cases (though there could in
# theory be other useful purposes for this too). Defaults to true.
ReverseServiceDiscovery = true

# Enable name resolving after inquiry. Set it to 'false' if you don't need
# remote devices name and want shorter discovery cycle. Defaults to 'true'.
NameResolving = true

# Enable runtime persistency of debug link keys. Default is false which
# makes debug link keys valid only for the duration of the connection
# that they were created for.
DebugKeys = false

# Enable the GATT functionality. Default is false
EnableGatt = false

答案1

看来防火墙/安全策略阻止了 RW 权限,首先检查 Ubuntu 防火墙规则,启用或允许您访问而不是设备,使两个设备相互信任以建立安全连接。还要检查移动手机的设置。

请记住:刷新默认防火墙规则始终不是一个好主意。如果我们假设硬件正常工作,则检查两个设备上的安全和策略设置。

相关内容