Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Microsoft Surface Ergonomic Keyboard BT issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Nadhor
n00b
n00b


Joined: 03 Feb 2003
Posts: 58
Location: Germany

PostPosted: Tue Aug 08, 2017 7:22 pm    Post subject: [Solved] Microsoft Surface Ergonomic Keyboard BT issues Reply with quote

Hello.
I've got myself a new Microsoft Surface Ergonomic Keyboard with Bluetooth LE (see https://www.microsoft.com/accessories/en-us/products/surface/surface-ergonomic-keyboard ) and seem to have some issues getting it to work with my gentoo box.
I'm currently running:
Quote:
Linux 4.9.6-gentoo-r1 #1 SMP PREEMPT Sat Feb 25 12:26:01 CET 2017 x86_64 Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz GenuineIntel GNU/Linux

with bluez version
Quote:
[ebuild R ~] net-wireless/bluez-5.46:0/3::gentoo USE="alsa cups experimental obex readline test-programs udev -debug -deprecated -doc -extra-tools (-selinux) -systemd {-test} -user-session" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7"

Furthermore, I'm still running bluez manually with:
Quote:
/usr/libexec/bluetooth/bluetoothd -En

and use bluetoothctl to manage my bluetooth devices. I've managed to successfully pair a smartphone and a bluetooth headset. Only the keyboard is now giving me a headache.
I find the keyboard using >>scan on<<, can pair it using >>pair XX:XX:XX:XX:XX:XX<<, trust it with >>trust XX:XX:XX:XX:XX:XX<< and then successfully connect with >>connect XX:XX:XX:XX:XX:XX<<. But, as soon as I try to enter something nothing happens.
The only info I get from the daemon is:
Quote:
bluetoothd[30455]: No cache for D0:41:04:7C:3C:F8
bluetoothd[30455]: input-hog profile accept failed for D0:41:04:7C:3C:F8

Searching the internet for the above didn't really give me a clue.

When using "blueberry" I also find the keyboard, and can connect with it, but get no input either.
Connecting it with Android work just fine, so it should be no problem with the keyboard.

Does anyone have an idea what I'm doing wrong or what I should try to get the keyboard working with gentoo?
Thanks and regards.


Last edited by Nadhor on Tue Aug 08, 2017 8:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
R0b0t1
Apprentice
Apprentice


Joined: 05 Jun 2008
Posts: 255

PostPosted: Tue Aug 08, 2017 7:55 pm    Post subject: Reply with quote

Unfortunately I can't help directly, but I can recommend that you try talking to the developers (e.g. send a message to the respective mailing list) of the Bluetooth software you have tried. They should be able to help you troubleshoot your device to the point you could ask a kernel developer for help if you need it. I only suggest this as a faulty device implementation of Bluetooth is not unprecedented. Perhaps the most famous example is Sony's PS3 controller. Using it with Linux requires a specially driver to make up for what very well may be an intentional misimplementation of the Bluetooth protocol. There are other Linux drivers which have had to slowly accumulate device specific workarounds.

Otherwise, someone who knows more than me might find cause to leave a message for you. In either case please keep the forum updated.
Back to top
View user's profile Send private message
Nadhor
n00b
n00b


Joined: 03 Feb 2003
Posts: 58
Location: Germany

PostPosted: Tue Aug 08, 2017 8:42 pm    Post subject: Reply with quote

Hmpf. Should have sooner looked into the kernel config.
I looked for "UHID" in the config and found something that was enabled and thought it was the correct setting.
But rebuilding/updating to kernel to latest version, I found
Code:
<*>   User-space I/O driver support for HID subsystem

was NOT enabled in my original config.
After enabling it, now the keyboard works as intented.
Yippiee for me. ;-)

@R0b0t1: Thanks for the help, I had a look into their mailing list and found entries indicating, that the keyboard should work. The bluez version mentioned there was an older one than the one I am using currently, so that couldn't be the issue. Only their kernel was marginally newer - so your tip of looking there DID help me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum