View Single Post
Posts: 6 | Thanked: 5 times | Joined on Jan 2010
#2
I've managed to get my Apple wireless keyboard working by compiling the hid-apple kernel module. This is missing from the installed kernel modules and is required for the kernel to recognize the device.

With this loaded, the steps below (hildon-im-xkbtool --list, setxkbmap, etc.) get everything working nicely.

Cheers.

Originally Posted by Ulysses View Post
Hello all,

I would like to spend some time and effort to make the apple wireless keyboard work with the N900, with the help of the community.

We already know that it is possible to make some bluetooth keyboards work with the N900. At least, Jeff succeeded with a Stowaway IGo.

http://talk.maemo.org/showthread.php?t=38372

In order to make an apple bluetooth keyboard work in maemo 5, we would need to fulfill the following requirements:

1, pair the keyboard
2, make sure the keyboard has been registered as an input device (hildon-im-xkbtool --list)
3, Run the setxkbmap command to associate the keyboard layout we want (and not the default SU-W8)

So here are my observations:

The problem with the Apple wireless keyboard is that although it pairs fine, it is not being registered as an input device (hildon-im-xkbtool --list won't show it in its output).

Since maemo 5 uses the bluez stack, we have at our disposal the bluez commands to try to understand what is happening.

Nokia-N900-42-11:~# hcitool scan
Scanning ...
00:26:CC4:0E:80 Nokia 3720
00:1D:4F:A7:71:46 Apple Wireless Keyboard

Good, found it. Now let's create a connection:

Nokia-N900-42-11:~# hcitool cc 00:1D:4F:A7:71:46

Seems good. As mentioned in many places, the Apple wireless keyboard requires encryption and authentication. So let's do that.

Nokia-N900-42-11:~# hcitool auth 00:1D:4F:A7:71:46
Not connected.

Bummer, indeed.

Nokia-N900-42-11:~# hcitool con
Connections:

Connections remained empty!!

What could be the problem? Maybe someone experienced with bluez can chime in. Please use this thread to report all the information pertaining the apple wireless keyboard and the N900. With some community effort, we'll find a way to make it work.

Cheers,

Ulysses
 

The Following 2 Users Say Thank You to axonpoet For This Useful Post: