You are not logged in.

#1 2011-09-17 04:42:36

empthollow
Member
Registered: 2009-09-26
Posts: 168

Bluetooth Connection Refused obex

I have succesfully paird my htc hero (running cm7) and my lg saber.  When i try to send a file I get connection refused.  I am using blueman.  I have tried using obexftp from command line and i get this output.

obexftp -b B0:89:91:53:CC:EA -p wavycurls.jpg
Browsing B0:89:91:53:CC:EA ...
Connecting...failed: connect
Tried to connect for 200ms
error on connect(): Permission denied
Still trying to connect
Connecting..\done
Tried to connect for 123ms
Sending "picture.jpg"...-done
Disconnecting..\done

From command line, this does send the file.  I presume the front end halts at the permission denied error thus never sending the file.  I have other problems interfacing/ browsing my devices but I think they may be related to this and I am unfamiliar with bluetooth neuances in linux. 

I am sure this is a linux software/config issue because if I reboot into my hackintosh partition I can send and browse fine, at least with my lg saber.

Any help is appreciated since I cannot find a solution via google.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

#2 2011-11-16 07:41:25

randomize46
Member
From: Moldova
Registered: 2011-11-16
Posts: 3

Re: Bluetooth Connection Refused obex

Hi
I got the same problem on my Arch with Samsung Galaxy S+ android phone, device was successfully paired and authorized (on both sides), it also can send files to PC, but I get connection refused when I try sending files to phone.
Anyway with my old Nokia phone bluetooth file transfers work perfect.
I also have no problems with sending files to android pthone from Windows PC's

Offline

#3 2011-11-16 11:54:54

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: Bluetooth Connection Refused obex

I haven't tried it, but maybe you need:

extra/gvfs-obexftp 1.10.1-1
    ObexFTP (bluetooth) backend for gvfs

Possibly might need the following as well - as it is needed even for non-gnome desktops for granting permissions.

extra/polkit-gnome 0.105-1
    PolicyKit integration for the GNOME desktop

Last edited by David Batson (2011-11-16 11:57:59)

Offline

#4 2011-11-16 15:36:31

empthollow
Member
Registered: 2009-09-26
Posts: 168

Re: Bluetooth Connection Refused obex

I have gvfs-obex installed, not sure about gnome-polkit.  I tried on my desktop with the same bluetooth adapter and got to browse my phone.  I had to connect using a bluetooth app on my android phone.  If I tried to connect from the computer side and it crashed my phone, but I'm not sure that has anything to do with linux.  I have arch installed on both computers.  gnome-polkit not installed on desktop.  gvfs-obexftp is installed and works with pcmanfm on desktop.


--empthollow
Check out my Arch based live distro http://fluxcapacity.99k.org

Offline

Board footer

Powered by FluxBB