User avatar
_emanuel_
Posts: 17
Joined: Wed Apr 01, 2015 9:47 pm
Location: bavaria
Contact: Website

[solved] jessie: bluetooth can not connect to kbd MS Wegde

Sat Oct 10, 2015 8:28 am

Whole palette of bluetooth tools are missing.

I can not connect to keyboard like MS Wedge:

no "hidd", "bluez-simple-agent", "bluez-test-device", ...

using the binary from other distries just gave me dbus errors.

old procedure were:
(permanently connect)
http://www.correlatedcontent.com/blog/b ... pberry-pi/
(once connect)
viewtopic.php?t=25982&p=520296
Last edited by _emanuel_ on Sat Oct 10, 2015 9:01 pm, edited 1 time in total.

User avatar
Douglas6
Posts: 3960
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: jessie: bluetooth can not connect to kbd MS Wegde

Sat Oct 10, 2015 1:00 pm

Use the bluetoothctl CLI utility with BlueZ 5, or the GUI Bluetooth Manager.

User avatar
_emanuel_
Posts: 17
Joined: Wed Apr 01, 2015 9:47 pm
Location: bavaria
Contact: Website

Re: jessie: bluetooth can not connect to kbd MS Wegde

Sat Oct 10, 2015 8:02 pm

Code: Select all

[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# pair 7C:1E:52:0B:0D:97
Attempting to pair with 7C:1E:52:0B:0D:97                                                                        
Failed to pair: org.bluez.Error.ConnectionAttemptFailed
[bluetooth]# pair 7C:1E:52:0B:0D:97                                                                              
Attempting to pair with 7C:1E:52:0B:0D:97                                                                          
[CHG] Device 7C:1E:52:0B:0D:97 Connected: yes
[CHG] Device 7C:1E:52:0B:0D:97 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled
[bluetooth]# 

User avatar
Douglas6
Posts: 3960
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: jessie: bluetooth can not connect to kbd MS Wegde

Sat Oct 10, 2015 8:10 pm

Make sure the keyboard is in discoverable mode when trying to pair.

User avatar
_emanuel_
Posts: 17
Joined: Wed Apr 01, 2015 9:47 pm
Location: bavaria
Contact: Website

Re: jessie: bluetooth can not connect to kbd MS Wegde

Sat Oct 10, 2015 8:52 pm

Code: Select all

pi@raspberrypi ~ $ sudo hciconfig hci0 down
pi@raspberrypi ~ $ sudo hciconfig hci0 up
pi@raspberrypi ~ $ bluetoothctl
[NEW] Controller 00:15:83:15:A3:10 raspberrypi [default]
[NEW] Device 7C:1E:52:0B:0D:97 Microsoft Wedge Mobile Keyboard
[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:15:83:15:A3:10 Discovering: yes
[CHG] Device 7C:1E:52:0B:0D:97 LegacyPairing: yes
[CHG] Device 7C:1E:52:0B:0D:97 Class: 0x002540
[CHG] Device 7C:1E:52:0B:0D:97 Icon: input-keyboard
[bluetooth]# pair 7C:1E:52:0B:0D:97
Attempting to pair with 7C:1E:52:0B:0D:97
[CHG] Device 7C:1E:52:0B:0D:97 Connected: yes
[agent] PIN code: 953853
[CHG] Device 7C:1E:52:0B:0D:97 Paired: yes
Pairing successful
[CHG] Device 7C:1E:52:0B:0D:97 Connected: no
[bluetooth]# connect 7C:1E:52:0B:0D:97
Attempting to connect to 7C:1E:52:0B:0D:97
[CHG] Device 7C:1E:52:0B:0D:97 Connected: yes
Connection successful
[bluetooth]# quit
Agent unregistered
[DEL] Controller 00:15:83:15:A3:10 raspberrypi [default]
pi@raspberrypi ~ $ 
@Douglas6 thank's it was in discover mode.

the agent was helpfull. I hope it will hold after reboot.

User avatar
_emanuel_
Posts: 17
Joined: Wed Apr 01, 2015 9:47 pm
Location: bavaria
Contact: Website

Re: jessie: bluetooth can not connect to kbd MS Wegde

Sat Oct 10, 2015 8:59 pm

I've got keyboard after reboot!

fine ;-)

dhannie
Posts: 1
Joined: Fri Oct 02, 2015 1:24 am

Re: [solved] jessie: bluetooth can not connect to kbd MS Weg

Fri Dec 11, 2015 2:59 am

I got pairing successful but device not connected.
What could be wrong?

Return to “Raspbian”

Who is online

Users browsing this forum: seaodyssey and 30 guests