LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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 09-14-2012, 02:11 PM   #1
toodr
LQ Newbie
 
Registered: Jul 2004
Distribution: Slackware14.0_RC4
Posts: 20

Rep: Reputation: 0
bluetooth not working - ? - Slackware 14.0 RC4 and bluez-4.99


It seems that bluetooth is not working for me.
Slackware 14.0 RC4 64bit + multilib
bluez-4.99-x86_64-2

the daemon is running, kde bluetooth applet is running
I can scan for devices,
hcitool scan is working, ... shows the surrounding devices,
hcitool dev is working, .... shows the adaptor,

when I try to connect with:
obexftp -b D0:00:C7:1D:E1:E0 -p DSC_5053.JPG
the commands starts OK
Browsing D0:00:C7:1D:E1:E0 ...
Connecting...failed: connect
Tried to connect for 2125ms
error on connect(): Invalid argument
Still trying to connect
Connecting...failed: connect
Tried to connect for 76ms
error on connect(): Invalid argument
Still trying to connect
Connecting...failed: connect
Tried to connect for 13ms
error on connect(): Invalid argument
Still trying to connect

and that is it ... no connection, cannot send files, cannot browse device.

The other device is Samsung GT-I5500 phone, but the same happens to a Nexus7 tablet.
I have a feeling bluetooth used to work in Slackware 13.37

Does anybody have the same problem or is it only me?
It seems like an obexftp issue.
 
Old 09-14-2012, 07:21 PM   #2
hotchili
Member
 
Registered: Sep 2009
Location: Germany
Distribution: slackware64-current
Posts: 69

Rep: Reputation: 17
Hey there,

I just tried it with my phone (GT-I5700), it works for me (slackware 14.0 rc4 64bit + multilib, like you):
Code:
$obexftp -b 34:C3:AC:00:16:27 -p IMG_0519.JPG          
Browsing 34:C3:AC:00:16:27 ...
Connecting..\done
Tried to connect for 141ms
Sending "IMG_0519.JPG"...\done
Disconnecting..|done
But I have a custom android version on the phone which doesn't handle bluetooth uploads out of the box (says connection refused).
So I run an APP on the phone for that it's called "bluetooth file transfer". When that APP is running I can use obexftp.

With the latest bluetooth update there was a small change to /etc/bluetooth/audio.conf ( Enable=Socket ),
filetransfer is not audio, but who knows... make sure you have that change.

Last edited by hotchili; 09-14-2012 at 07:24 PM.
 
Old 10-19-2012, 12:33 AM   #3
Rod3775
Member
 
Registered: May 2008
Location: Washington State
Distribution: Slackware-14.1
Posts: 34
Blog Entries: 8

Rep: Reputation: 0
I'm running a 32 bit clean install of slackware-14-stable and get the exact same message out of obexftp. Pairing works OK, and if I use the browsing commands on my cell (a Pantech C3B) I can pick up files from the computer and store them on the cell, but I cannot send files from the cell to the computer. And obexfs, which is a wrapper for opexftp, won't mount the cell file system. The same adapter dongle, a BCM2210, works fine on Windows XP.
 
Old 10-19-2012, 08:22 AM   #4
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,236

Rep: Reputation: 176Reputation: 176
Through trial and error I found it necessary to disable Bluedevil in KDE and use Blueman to get the job done.
 
Old 10-19-2012, 10:54 AM   #5
toodr
LQ Newbie
 
Registered: Jul 2004
Distribution: Slackware14.0_RC4
Posts: 20

Original Poster
Rep: Reputation: 0
more details

I have done quite a lot of research about this and this is what it is like now:

the bluetooth card is ID 413c:8160 Dell Computer Corp. Wireless 365 Bluetooth,

I have another dell laptop which has exactly the same Slackware 14 system, 64bit multilib
but has another Bluetooth card inside : ID 413c:8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card,
which is working OK.

Having in mind that the 413c:8160 Dell Wireless 365 Bluetooth used to work with Slackware 13.37 - this may be
more than some config problem. More so the bluez stack is now on Dbus, this could be a Dbus connection issue as well.

On working Bluetooth comp. "hciconfig -a" gives:
hci0: Type: BR/EDR Bus: USB
BD Address: 00:1F:E1:BE:27:37 ACL MTU: 1021:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1111 acl:0 sco:0 events:38 errors:0
TX bytes:896 acl:0 sco:0 commands:38 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x79 0x83
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'studio-0'
Class: 0x5a0100
Service Classes: Networking, Capturing, Object Transfer, Telephony
Device Class: Computer, Uncategorized
HCI Version: 2.1 (0x4) Revision: 0x5115
LMP Version: 2.1 (0x4) Subversion: 0x423d
Manufacturer: Broadcom Corporation (15)

And on the Non-working comp:
hci0: Type: BR/EDR Bus: USB
BD Address: 00:25:56:E0:7A:2A ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN ISCAN
RX bytes:1307 acl:0 sco:0 events:54 errors:0
TX bytes:967 acl:0 sco:0 commands:54 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xff 0x79 0x83
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'jastreb-inspiron-0'
Class: 0x5a0100
Service Classes: Networking, Capturing, Object Transfer, Telephony
Device Class: Computer, Uncategorized
HCI Version: 2.1 (0x4) Revision: 0x50ad
LMP Version: 2.1 (0x4) Subversion: 0x423d
Manufacturer: Broadcom Corporation (15)

The only obvious difference is the HCI Version, Revision number:
for the working card - 0x5115
and for the non-working card - 0x50ad, whatever it may mean!

On the non-working comp any hcitool command except "scan and inq" gives an error (input/output error).
I tried to compile a bluez-4.101 package, but it didn't change anything. This cannot be hardware issue
because the card is working OK in Win7.

Looks more like a firmware issue, or a Dbus issue, or a kernel driver issue.
Both computers have the same kernel 3.2.29.
Maybe I should try a different kernel?
 
  


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
[SOLVED] Bluetooth mouse issues after upgrading to BlueZ 4 in -current cgorac Slackware 2 05-08-2010 12:56 AM
searching for bluetooth services using bluez sdp Josephus Ross Programming 9 06-28-2007 03:17 PM
problem in Bluez bluetooth stack sonijindal Linux - Hardware 0 02-26-2007 08:05 AM
BlueTooth Bluez-utils porting dubrick_vit Linux - Software 2 01-29-2006 03:08 AM
USB bluetooth w/ bluez on 2.6.8.1 (slackware 10) mo0 Slackware 0 10-03-2004 03:30 AM


All times are GMT -5. The time now is 09:54 AM.

Main Menu
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