Bug#843640: bluez: Unable to transfer files over bluetooth - no file transfer settings shown

2019-08-04 Thread wferi
I can transfer files to my computer only if "Accept files from trusted
devices" in "Transfer Settings" in the "Local Services" dialog is
*unchecked*.  Otherwise the accept dialog does not appear on incoming
transfers, and in 40 seconds the transfer eventually times out with
FORBIDDEN(0x43).  The sending device is trusted.
-- 
Regards,
Feri



Bug#843640: bluez: Unable to transfer files over bluetooth - no file transfer settings shown

2016-11-11 Thread Julian Gilbey
On Wed, Nov 09, 2016 at 09:39:44PM +0100, Michal Zimen wrote:
> Hi,
> 
> try to run this:
> 
>   systemctl --user start obex
> 
>   systemctl enable --user obex.service
> 
> and then you should see the  process /usr/lib/bluetooth/obexd  running

Hi Michal,

Thanks for this advice (and it would be good to put this in some
README file).  I now have obexd running both as root and as my user.

However, while I can now transfer files to the device from my Linux
machine, I still cannot receive files as a regular user.

Here's the /var/log/daemon.log output when receiving a file
(successfully) as root.  It starts from when I ran blueman-manager as
root (with only /usr/lib/bluetooth/bluetoothd and
/usr/lib/bluetooth/obexd running, the former as root, the latter as
both root and myself (jdg)):


Nov 11 12:14:02 erdos dbus[733]: [system] Activating service 
name='org.blueman.Mechanism' (using servicehelper)
Nov 11 12:14:02 erdos blueman-mechanism: Starting blueman-mechanism
Nov 11 12:14:02 erdos dbus[733]: [system] Successfully activated service 
'org.blueman.Mechanism'
Nov 11 12:14:02 erdos blueman-mechanism: loading RfKill
Nov 11 12:14:02 erdos blueman-mechanism: loading Ppp
Nov 11 12:14:02 erdos blueman-mechanism: loading Rfcomm
Nov 11 12:14:02 erdos blueman-mechanism: loading Network
Nov 11 12:14:32 erdos blueman-mechanism: Exiting
Nov 11 12:14:44 erdos obexd[29973]: CONNECT(0x0), (null)(0x)
Nov 11 12:14:44 erdos obexd[29973]: CONNECT(0x0), (null)(0x0)
Nov 11 12:14:45 erdos obexd[29973]: PUT(0x2), (null)(0x)
Nov 11 12:14:54 erdos obexd[29973]: PUT(0x2), CONTINUE(0x10)
Nov 11 12:15:51 erdos obexd[29973]: DISCONNECT(0x1), (null)(0x)
Nov 11 12:15:51 erdos obexd[29973]: DISCONNECT(0x1), SUCCESS(0x20)
Nov 11 12:15:51 erdos obexd[29973]: disconnected: Transport got disconnected
Nov 11 12:15:51 erdos bluetoothd[24349]: Unable to get io data for Object Push: 
getpeername: Transport endpoint is not connected (107)


(I tried sending a file twice, the first time unsuccessfully, the
second time successfully.)

In addition, here is the console output:

erdos:~ # blueman-manager 
_
Load (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:60)
['PulseAudioProfile', 'Services'] 
_
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading  
_
__load_plugin (/usr/lib/python3/dist-packages/blueman/main/PluginManager.py:133)
loading  
_
pa_context_event 
(/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
1 
blueman-manager version 2.0.4 starting
Stale PID, overwriting
_
pa_context_event 
(/usr/lib/python3/dist-packages/blueman/main/PulseAudioUtils.py:341)
2 
_
on_bluez_name_owner_changed (/usr/bin/blueman-manager:96)
org.bluez owner changed to  :1.11707 
_
get_interface_version 
(/usr/lib/python3/dist-packages/blueman/bluez/BlueZInterface.py:13)
Detected BlueZ 5 
_
SetAdapter (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:271)
 
_
on_adapter_changed 
(/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerToolbar.py:83)
toolbar adapter /org/bluez/hci0 
_
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties 
_
add_device (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:317)
adding new device 
_
do_cache (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:496)
Caching new device BC:79:AD:D8:35:88 
_
row_update_event 
(/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:264)
row update event Fake False 
_
row_update_event 
(/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:264)
row update event Trusted 0 
_
row_update_event 
(/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:264)
row update event Paired 1 
_
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties 
_
add_device (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:317)
adding new device 
_
do_cache (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:496)
Caching new device 0C:14:20:99:F1:D0 
_
row_update_event 
(/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:264)
row update event Fake False 
_
row_update_event 
(/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:264)
row update event Trusted 0 
_
row_update_event 
(/usr/lib/python3/dist-packages/blueman/gui/manager/ManagerDeviceList.py:264)
row update event Paired 1 
_
__init__ (/usr/lib/python3/dist-packages/blueman/main/Device.py:26)
caching initial properties 
_
add_device (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:317)
adding new device 
_
do_cache (/usr/lib/python3/dist-packages/blueman/gui/DeviceList.py:496)
Caching new device 00:1E:A3:24:AD:EE 
_
row_update_event 

Bug#843640: bluez: Unable to transfer files over bluetooth - no file transfer settings shown

2016-11-09 Thread Michal Zimen

Hi,

try to run this:

  systemctl --user start obex

  systemctl enable --user obex.service

and then you should see the  process /usr/lib/bluetooth/obexd running*
*


Michal+


On 11/08/2016 03:00 PM, Julian Gilbey wrote:

On Tue, Nov 08, 2016 at 01:54:44PM +, Julian Gilbey wrote:

Package: bluez
Version: 5.43-1
Severity: important

The settings window (shown in attached screenshots) says "Applet's
transfer service plug-in is disabled".  I have no idea how to enable
it, though.  I do have bluez-obexd installed, if that is of any help.

I wonder whether it is a permissions issue, as when I run
blueman-services as root, it shows the transfer dialog fine.

Julian



--
~Epitheton s.r.o./AMDG



Bug#843640: bluez: Unable to transfer files over bluetooth - no file transfer settings shown

2016-11-08 Thread Julian Gilbey
On Tue, Nov 08, 2016 at 01:54:44PM +, Julian Gilbey wrote:
> Package: bluez
> Version: 5.43-1
> Severity: important
> 
> The settings window (shown in attached screenshots) says "Applet's
> transfer service plug-in is disabled".  I have no idea how to enable
> it, though.  I do have bluez-obexd installed, if that is of any help.

I wonder whether it is a permissions issue, as when I run
blueman-services as root, it shows the transfer dialog fine.

   Julian



Bug#843640: bluez: Unable to transfer files over bluetooth - no file transfer settings shown

2016-11-08 Thread Julian Gilbey
Package: bluez
Version: 5.43-1
Severity: important

The settings window (shown in attached screenshots) says "Applet's
transfer service plug-in is disabled".  I have no idea how to enable
it, though.  I do have bluez-obexd installed, if that is of any help.

Thanks!

   Julian

-- System Information:
Debian Release: stretch/sid
  APT prefers jessie
  APT policy: (500, 'jessie'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bluez depends on:
ii  dbus 1.10.12-1
ii  init-system-helpers  1.45
ii  kmod 22-1.1
ii  libc62.24-5
ii  libdbus-1-3  1.10.12-1
ii  libglib2.0-0 2.50.1-1
ii  libreadline7 7.0-1
ii  libudev1 231-9
ii  lsb-base 9.20161101
ii  udev 231-9

bluez recommends no packages.

Versions of packages bluez suggests:
ii  pulseaudio-module-bluetooth  9.0-4

-- no debconf information