You are not logged in.

#1 2009-02-02 21:07:11

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Apple wireless keyboard paired but not quite working

So I just got this überfancy Apple bluetooth keyboard. Looks pretty slick, and after some googling I found out you have to provide a PIN the first time you pair it. Which I did, and now it is paired - except, it's not working. I can press any button on it I want, there won't be any input appearing on screen.

This is what I have:

[stijn@hermes ~]$ hidd --show
xx:xx:xx:xx:xx:xx Apple Inc. Keyboard [05ac:022d] connected 
xx:xx:xx:xx:xx:xx Logitech Bluetooth Mouse [046d:b008] connected
[stijn@hermes ~]$ hcitool con
Connections:
    < xx:xx:xx:xx:xx:xx handle 43 state 1 lm MASTER 
    > xx:xx:xx:xx:xx:xx handle 45 state 1 lm MASTER

The thing pops up nicely too when I run udevadm monitor. So it does get recognised. However, tailing /var/log/messages shows this:

Feb  2 21:53:01 hermes hcid[4603]: link_key_request (sba=xx:xx:xx:xx:xx:xx, dba=xx:xx:xx:xx:xx:xx)
Feb  2 21:53:01 hermes hidd: New HID device xx:xx:xx:xx:xx:xx (Apple Inc. Keyboard)
Feb  2 21:53:01 hermes load-modules.sh: 'hid:b0005v000005ACp0000022D' is not a valid module or alias name

Now I googled this particular 'is not a valid module or alias name' and all I get are Arch-related problems... Some fairly recent. The referenced script is part of the udev package but I wouldn't know where to start digging there for the life of it. I can say these lines return every time I kill off the connection and tell hidd to re-initialise it.

Udev output:

root@hermes stijn udevadm monitor
monitor will print the received events for:
UDEV the event which udev sends out after rule processing
UEVENT the kernel uevent

UEVENT[1233608626.310588] add      /class/bluetooth/hci0/hci0:42 (bluetooth)
UDEV  [1233608626.318625] add      /class/bluetooth/hci0/hci0:42 (bluetooth)
UEVENT[1233608627.018490] add      /class/bluetooth/hci0/hci0:42/0005:05AC:022D.0004 (hid)
UDEV  [1233608627.052957] add      /class/bluetooth/hci0/hci0:42/0005:05AC:022D.0004 (hid)

Hal doesn't seem to see anything either, Xorg doesn't detect any new devices either. Here's what hal has to say:

[stijn@hermes ~]$ lshal |grep keyboard
  info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button'} (string list)
  info.product = 'AT Translated Set 2 keyboard'  (string)
  input.product = 'AT Translated Set 2 keyboard'  (string)

So it only sees my laptop's keyboard. I am gonna see if the stock kernel does any better, since I'm running my own.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#2 2009-02-02 21:29:41

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Apple wireless keyboard paired but not quite working

Nevermind, it works with the stock Arch kernel, I am missing the apple-hid module smile.

A kernel recompilation it is it seems tongue.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

Board footer

Powered by FluxBB