LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-12-2018, 02:04 AM   #1
narke
Member
 
Registered: Apr 2010
Posts: 169

Rep: Reputation: 2
How to pair a bluetooth device


Hi,

I want to pair a bluetooth speaker. I can now scan it with 'hcitool scan' and found it appear in the devices list. Searched google, but things seems not clear about how to pair it. Some people mentioned bluez-tools package, but it's event not in the slackbuilds.org, this brings me a feeling that the method is not a good option to Slackware. But what's the recommended way?

My Slack is 14.2.

Thanks.
-woody
 
Old 08-12-2018, 02:25 AM   #2
simotrone
LQ Newbie
 
Registered: Aug 2010
Location: Internet
Distribution: Debian, Slackware, and other...
Posts: 20

Rep: Reputation: 3
the bluez/blueman packages are all in Slackware (no slackbuilds need).
Give a try to blueman-manager for a GTK UI, or bluetoothctl for cmdl UI.
 
Old 08-12-2018, 03:40 AM   #3
narke
Member
 
Registered: Apr 2010
Posts: 169

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by simotrone View Post
the bluez/blueman packages are all in Slackware (no slackbuilds need).
Give a try to blueman-manager for a GTK UI, or bluetoothctl for cmdl UI.
Thanks. I tried to start blueman-manager, but failed with an error:

Code:
on_bluez_name_owner_changed (/usr/bin/blueman-manager:96)
org.bluez owner changed to  :1.0 
ERROR:dbus.proxies:Introspect error on org.blueman.Applet:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
ERROR:dbus.proxies:Introspect error on :1.0:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.75" (uid=1000 pid=2513 comm="/usr/bin/python2.7 /usr/bin/blueman-manager ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1143 comm="/usr/sbin/bluetoothd ")
Does anyone get a blue? Thanks.

-woody
 
Old 08-12-2018, 11:18 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,297

Rep: Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371
I haven't used 14.2 for a while, but on -current it's just:

Code:
chmod +x /etc/rc.d/rc.bluetooth
/etc/rc.d/rc.bluetooth start
blueman-applet
 
Old 08-12-2018, 12:55 PM   #5
mralk3
Senior Member
 
Registered: May 2015
Distribution: Slackware, Fedora, CentOS, Debian
Posts: 1,186

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Run it from an X session as a normal user. There should be an applet that autostarts in your chosen graphical environment after you follow dugan's directions.
 
1 members found this post helpful.
Old 08-12-2018, 04:09 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,000

Rep: Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374Reputation: 1374
Make sure your user is a member of the 'lp' group as well.
 
Old 08-15-2018, 04:57 PM   #7
simotrone
LQ Newbie
 
Registered: Aug 2010
Location: Internet
Distribution: Debian, Slackware, and other...
Posts: 20

Rep: Reputation: 3
Quote:
Originally Posted by narke View Post
Thanks. I tried to start blueman-manager, but failed with an error:

Code:
on_bluez_name_owner_changed (/usr/bin/blueman-manager:96)
org.bluez owner changed to  :1.0 
ERROR:dbus.proxies:Introspect error on org.blueman.Applet:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
ERROR:dbus.proxies:Introspect error on :1.0:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.75" (uid=1000 pid=2513 comm="/usr/bin/python2.7 /usr/bin/blueman-manager ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.0" (uid=0 pid=1143 comm="/usr/sbin/bluetoothd ")
Does anyone get a blue? Thanks.

-woody
did you try to run it as root?
 
Old 08-15-2018, 05:05 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,297

Rep: Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371Reputation: 3371
Is there a specific Bluetooth device you're trying to pair? I know that Xbox One S controllers, at least, need a special setting.
 
  


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
How to pair a bluetooth device with Linux Mint? Lentejas Linux - Hardware 2 08-27-2015 04:00 AM
Bluetooth can pair devices but there is no connectivity bobsie Slackware 9 11-11-2013 03:42 AM
bluetooth - cant pair phone abourke Linux - Newbie 1 01-26-2010 09:35 AM
unable to pair bluetooth phone raghuram_c Linux - Newbie 3 01-25-2010 06:19 AM
How to pair bluetooth devices? JET-33 Linux - Software 1 08-24-2007 11:24 AM

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

All times are GMT -5. The time now is 11:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration