You are not logged in.

#1 2013-01-25 19:25:58

ryzion
Member
Registered: 2012-03-20
Posts: 95

Logitech K810

Hey guys,

has somebody managed to pair the keyboard?

I tried it using blueman and bluez, the blueman manager detects the keyboard but fails to set it up (auth failed after entering the key). I can pair it once without a key, but in order to connect it on the next boot I have to reset the keyboards bluetooth connections.

I've also tried this: http://devasive.blogspot.de/2012/11/ubu … iring.html

"sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX" returns either a timeout or auth failed. Other bluetooth devices work well.

Offline

#2 2013-02-07 07:44:34

jbb
Member
Registered: 2013-02-07
Posts: 1

Re: Logitech K810

Hi there..
I had the same issue as you but I solved it while playing around on LinuxMint. The issue is that once you type in "sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX" the computer waits for a passkey, which never arrives, because you don't know what it is. Using the "bluez hcidump" tool (install if required), you can see what the passkey is and type it into the K810 before the connection times out.
Below is copied & pasted from the link you mentioned, plus what I did to get my K810 to work:


In a new terminal type:
"hcitool scan" and copy mac address XX:XX:XX:XX:XX:XX

Now in another terminal type:
"sudo hcidump -at"

You should get something like (followed by a blinking cursor):
HCI sniffer - Bluetooth packet analyzer ver 2.4
device: hci0 snap_len: 1028 filter: 0xffffffffffffffff

Switch back to your original terminal and type:
"sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX"

Now in the hcidump terminal you will see a few  things scroll past until you get something that looks like:
2013-02-07 15:35:40.653393 > HCI Event: User Passkey Notification (0x3b) plen 10
    bdaddr XX:XX:XX:XX:XX:XX passkey 66235

Type the 'passkey' in to the keyboard on the K810 and press ENTER
On success you should get "Release" and "New device (/org/bluez/..."

Now set device as trusted:
"sudo bluez-test-device trusted XX:XX:XX:XX:XX:XX yes"

You might have a connection now, but still need to:
"sudo bluez-test-input connect XX:XX:XX:XX:XX:XX"

Now reboot and hope for the best!


I have no idea why this doesn't work in the GUI as I would assume it does the same as what happens in the terminal. Only thing I can think of is the su rights.

Offline

#3 2013-11-14 23:00:57

panitoni
Member
Registered: 2013-11-14
Posts: 2

Re: Logitech K810

Sorry to re-awaken this topic, but I have just purchased one of these keyboards in the hope this would work within Arch.  However I am having issues with pairing the device.  I have followed the advice as mentioned in this post but my hcidump -at output does not provide a passkey.
Instead of the passkey output I recieve

2013-11-14 22:43:50.159445 > HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr 00:1F:20:92:41:04

I have tried two different bluetooth devices both give the same response.

I have searched google for the error and most are dated over a year ago.  Once points to a BlueZ kernel issue, which after a year I would hope to have been resolved.
http://www.spinics.net/lists/linux-blue … 27600.html

Another points to blueman causing the problem and suggests removing the package.  I'm not using blueman.
https://bbs.archlinux.org/viewtopic.php?id=146617

Am I missing something obvious?

I'm fully aware that once I enter the passkey it will work, but without the visibility of the key I'm a bit stuck.  The key also changes every time.  It works quite happily on android devices.

I did manage to get it briefly working using the hidd command, however as soon as the keyboard sleeps it stops working until I reissue the command, not very useful.

I appreciate any help.

Thanks.

command used to start pairing is : -

bluez-simple-agent hci0 00:1F:20:92:41:04


Please not full text of dump in case it is needed is: -

CI sniffer - Bluetooth packet analyzer ver 5.10
device: hci0 snap_len: 1500 filter: 0xffffffffffffffff
2013-11-14 22:43:49.011451 > HCI Event: Command Status (0x0f) plen 4
    Create Connection (0x01|0x0005) status 0x00 ncmd 1
2013-11-14 22:43:50.119540 > HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 13 bdaddr 00:1F:20:92:41:04 type ACL encrypt 0x00
2013-11-14 22:43:50.120451 > HCI Event: Command Status (0x0f) plen 4
    Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
2013-11-14 22:43:50.130455 > HCI Event: Read Remote Supported Features (0x0b) plen 11
    status 0x00 handle 13
    Features: 0xbc 0x04 0x82 0x78 0x00 0x06 0x59 0x83
2013-11-14 22:43:50.132463 > HCI Event: Command Status (0x0f) plen 4
    Read Remote Extended Features (0x01|0x001c) status 0x00 ncmd 1
2013-11-14 22:43:50.135524 > HCI Event: Read Remote Extended Features (0x23) plen 13
    status 0x00 handle 13 page 1 max 1
    Features: 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00
2013-11-14 22:43:50.136525 > HCI Event: Command Status (0x0f) plen 4
    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
2013-11-14 22:43:50.156506 > HCI Event: Remote Name Req Complete (0x07) plen 255
    status 0x00 bdaddr 00:1F:20:92:41:04 name 'Logitech K810'
2013-11-14 22:43:50.157503 > HCI Event: Command Status (0x0f) plen 4
    Authentication Requested (0x01|0x0011) status 0x00 ncmd 1
2013-11-14 22:43:50.159445 > HCI Event: Command Complete (0x0e) plen 10
    Link Key Request Negative Reply (0x01|0x000c) ncmd 1
    status 0x00 bdaddr 00:1F:20:92:41:04
2013-11-14 22:43:50.161494 > HCI Event: Command Complete (0x0e) plen 10
    IO Capability Request Reply (0x01|0x002b) ncmd 1
    status 0x00 bdaddr 00:1F:20:92:41:04
2013-11-14 22:44:50.307431 > HCI Event: Auth Complete (0x06) plen 3
    status 0x05 handle 13
    Error: Authentication Failure

Offline

#4 2013-11-18 20:47:56

panitoni
Member
Registered: 2013-11-14
Posts: 2

Re: Logitech K810

Just in case anyone is interested.  Changing the bluetooth adaptor solved this particular problem.  I'm now using an oldish Belkin Bluetooth adaptor.

Bus 003 Device 004: ID 050d:0131 Belkin Components Bluetooth Device with trace filter

The above device resolved the problem with the K810.

Thanks.

Offline

#5 2014-03-13 18:12:30

altercation
Member
From: Seattle
Registered: 2011-05-15
Posts: 136
Website

Re: Logitech K810

Under gnome 3.10, the following worked for me (based on the post by @panitoni above):

Turn on bluetooth via gnome settings. In a terminal run:

$ sudo hcidump -at

Monitor this terminal and initiate adding a new device via gnome bluetooth settings. You'll see the passkey required in the terminal during this process, which you can enter and after which gnome bluetooth settings successfully completes the pairing.


Ethan Schoonover
Precision Colors - http://ethanschoonover.com/solarized

Offline

#6 2014-05-05 23:22:25

altercation
Member
From: Seattle
Registered: 2011-05-15
Posts: 136
Website

Re: Logitech K810

Whether this is new post gnome 3.12 update, I had problems with the k810 not reconnecting automatically. This is solved by running bluetoothctl as root and trusting the device. Example:

# bluetoothctl
[bluetooth]# devices
Device 00:1F:A2:1E:C7:CB Logitech K810
[bluetooth]# trust 00:1F:A2:1E:C7:CB

This must of course be done after successful pairing.


Ethan Schoonover
Precision Colors - http://ethanschoonover.com/solarized

Offline

Board footer

Powered by FluxBB