LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-27-2012, 05:26 PM   #1
4Strings
Member
 
Registered: Aug 2010
Distribution: slackware-14.1
Posts: 45

Rep: Reputation: 8
Bluetooth issue - couldn't send files


Hello!

On my slackware -current, I can receive files from bluetooth external devices, but I can't send files to bluetooth external ones.
I tried with the "blueman applet" and with the "Kde Bluedevil". The external device only receives the connection request (coming from my laptop) but the sending procedure fails!

I noticed that "dmesg" returns the follow messages as soon as I try to send files:
Code:
[30867.252995] obex-data-serve[27467]: segfault at 38 ip b6f3b292 sp bfdff380 error 6 in libopenobex.so.1.4.1[b6f36000+8000]
[31172.365082] obex-data-serve[32425]: segfault at 38 ip b6fd8292 sp bff54670 error 6 in libopenobex.so.1.4.1[b6fd3000+8000]
Here is the hciconfig output:
Code:
hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:16:41:5C:3D:3B  ACL MTU: 384:8  SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN 
        RX bytes:26567372 acl:76138 sco:0 events:3980 errors:0
        TX bytes:210354 acl:2350 sco:0 commands:142 errors:0
Thanks!

Last edited by 4Strings; 04-27-2012 at 05:30 PM.
 
Old 04-28-2012, 08:46 AM   #2
4Strings
Member
 
Registered: Aug 2010
Distribution: slackware-14.1
Posts: 45

Original Poster
Rep: Reputation: 8
Hello,

I continue to investigate and I noticed that only root can send file using bluetooth!!!

I tried to launch the blueman-applet from command line in order to get some output message. When I try to send a file to my smartphone, blueman randomly reports two kind of output messages.

1. It appears a msgbox that reports "Request timeout" and the blueman output message is:
Code:
...
on_session_created (/usr/bin/blueman-sendto:300)

_________
on_session_connected (/usr/lib/python2.6/site-packages/blueman/ods/OdsManager.py:53)
session_connected 
_________
on_session_connected (/usr/bin/blueman-sendto:249)
commence transfer 
_________
send_file (/usr/bin/blueman-sendto:232)
/home/fourstrings/slackware.jpg 
_________
on_transfer_started (/usr/bin/blueman-sendto:171)
transfer started 
_________
on_session_error (/usr/bin/blueman-sendto:254)
session err org.openobex.Error.Timeout Request timeout 
_________
on_session_error (/usr/bin/blueman-sendto:254)
session err org.openobex.Error.LinkError Connection error 
_________
on_disconnected (/usr/lib/python2.6/site-packages/blueman/ods/OdsSession.py:54)
disconnected 
_________
on_session_closed (/usr/lib/python2.6/site-packages/blueman/ods/OdsManager.py:45)
__Session Closed__
2. My smartphone asks the authorization to receive the file, but the transfer hangs! Here it's the blueman output message:
Code:
send_file (/usr/bin/blueman-sendto:232)
/home/fourstrings/slackware.jpg 
_________
on_session_created (/usr/bin/blueman-sendto:300)

_________
on_session_connected (/usr/lib/python2.6/site-packages/blueman/ods/OdsManager.py:53)
session_connected 
_________
on_session_connected (/usr/bin/blueman-sendto:249)
commence transfer 
_________
__del__ (/usr/lib/python2.6/site-packages/blueman/ods/OdsSession.py:43)
deleting session 
_________
send_file (/usr/bin/blueman-sendto:232)
/home/fourstrings/slackware.jpg 
_________
on_transfer_started (/usr/bin/blueman-sendto:171)
transfer started 
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 589, in msg_reply_handler
    *message.get_args_list()))
  File "/usr/bin/blueman-sendto", line 152, in reply
    self.session.Disconnect()
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.12 was not provided by any .service files
Could be a D-Bus configuration related problem? ...or a users permission issue?
 
Old 04-29-2012, 07:49 AM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
I also had send file problems. My mobile phone receives only text files (and show them as SMSes). Other files are silently ignored, and blueman times out. This is not a big problem anyway since I can use blueman to mount my phone with obexftp.

A real problem which might be useful to mention is that if I enable bluetooth integration in kde, then I cannot send files from mobile phone to computer. The mobile phone simply says "Cannot connect". I tried to setup kde bluetooth to accept files from trusted devices as well we from all devices. None worked.

Turning off bluetooth kde integration solves the problem. (And this does not prevent me from connecting to mobile broadband via bluetooth using Network Manager. So, why not?)
 
1 members found this post helpful.
Old 05-03-2012, 05:34 PM   #4
4Strings
Member
 
Registered: Aug 2010
Distribution: slackware-14.1
Posts: 45

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by guanx View Post
...Turning off bluetooth kde integration solves the problem. ...
Thanks! Turning off bluetooth kde integration really solves the issue!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mutt: Couldn't lock /sent - Could not send the message [solved] frenchn00b Linux - General 1 07-07-2017 03:24 AM
Swatch Problem-Couldn't send email notification andrapgm03 Linux - Server 5 02-03-2011 12:17 PM
How to enable bluetooth in ubuntu to send files to mobile and vice versa amritpalpathak Linux - Software 3 02-28-2010 09:52 AM
Can't send via bluetooth phone -> computer imagineaxion Ubuntu 3 11-20-2006 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration