LinuxQuestions.org
Visit the LQ Articles and Editorials section
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, 06:26 PM   #1
4Strings
Member
 
Registered: Aug 2010
Distribution: slackware-14.1
Posts: 38

Rep: Reputation: 5
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 06:30 PM.
 
Old 04-28-2012, 09:46 AM   #2
4Strings
Member
 
Registered: Aug 2010
Distribution: slackware-14.1
Posts: 38

Original Poster
Rep: Reputation: 5
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, 08:49 AM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 147Reputation: 147
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, 06:34 PM   #4
4Strings
Member
 
Registered: Aug 2010
Distribution: slackware-14.1
Posts: 38

Original Poster
Rep: Reputation: 5
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Swatch Problem-Couldn't send email notification andrapgm03 Linux - Server 5 02-03-2011 01:17 PM
How to enable bluetooth in ubuntu to send files to mobile and vice versa amritpalpathak Linux - Software 3 02-28-2010 10:52 AM
mutt: Couldn't lock /sent - Could not send the message [solved] frenchn00b Linux - General 0 11-08-2009 09:06 PM
Can't send via bluetooth phone -> computer imagineaxion Ubuntu 3 11-20-2006 08:00 AM


All times are GMT -5. The time now is 11:38 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration