LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > HCL > I/O Devices > Apple
User Name
Password

Notices

Search · Register · Submit New Product ·
 

Apple Wireless Keyboard
Reviews Views Date of last review
1 46994 01-23-2006
spacer
Recommended By Average Price Average Rating
100% of reviewers None indicated None indicated



Description: Use a bluetooth-keyboard only for all tasks (without the need of an additional keyboard connected via cable while in BIOS or boot-manager)

OS:
SUSE Linux 9.2 32bit

software:
bluez-libs-2.10-2
bluez-utils-2.10-15
(kdebluetooth-0.0.cvs20050131-5)

Bluetooth-Adaptor:
D-Link DBT-120 (USB)

If the DBT-120 is at least Rev. 2, you can update the firmware on it (using an Apple-Computer). This allows you to use the Apple Wireless Keyboard already at boot-time bevor any bluetooth-stack is loaded.

On power-up it will work as a HID-proxy. That means it will establish the connection to the Apple Wireless Keyboard (and should do with a bluetooth-mouse as well, but I haven't tested that) without pairing and present it to the System as an ordinary USB-keyboard
(or USB-mouse).
In this mode you can already use your Apple Wireless Keyboard with every OS that supports USB-keyboards.

If you want to use the DBT-120 to connect other bluetooth-devices as well, you need to switch it from HID- to HCI-mode. Under Linux use:

hid2hci --tohci

That has to be done once every time you boot linux.

(Under Windows I used a tool call hidtohci.exe, available from another bluetooth-keyboard-manufacturer. Worked fine with my hardware. I don't remember where I found it, just google for it)

The very first time you do that, you need to pair the DBT-120 and the Apple Wireless Keyboard. I don't remember exactly what I did to accomplish that (have a look at the documentation that comes with bluez.utils, especially at README.keyboard mouse), but it was tricky, because i had to blindly hack the PIN after I first connected the Apple Wireless Keyboard with

hidd -c

If you wait to long (some seconds), the pairing might fail.

If that all works, make sure you have configured the hci-daemon (hcid) to become master on incoming connections.
(The Apple Wireless Keyboard falls in sleep mode if you don't use it for a while. A single press of a key wakes it up and lets it try to reconnect to the DBT-120. That will fail without forcing hcid to switch to master)
For that my /etc/bluetooth/hcid.conf looks contains the following line:

lm master;


I'm not sure, which of the following lines are critical for the Apple Wireless Keyboard to work properly. Start with the defaults and change one by one until everything works:

autoinit yes;
security auto;
pairing multi;
class 0x100100;
iscan enable;
pscan enable;
lp rswitch,hold,sniff,park;
auth disable;
encrypt disable;

I bought my bt-hardware in July 2004 and I'm not sure if it works with your gear.


The Updater can be found here:
http://www.apple.com/support/downloa...updater12.html

This is a description of the update:
http://docs.info.apple.com/article.html?artnum=86493
(Apple claims that the DBT-120 will get incompatible with non-Macs afterwards. This is WRONG. But you need to switch it from HID- to HCI-mode as mentioned bevor.)
Keywords: bluetooth bt keyboard
Connection Type: bluetooth


Author
Post A Reply 
Old 01-23-2006, 02:09 PM   #1
wilho
 
Registered: Apr 2005
Distribution: Gentoo
Posts: 9

Rep: Reputation:
Would you recommend the product? yes | Price you paid? (in USD): None indicated | Rating: 0

Kernel (uname -r):
Distribution:



Excellent information, than you very much!

If someone could confirm dbt-120 compatibility in hci-mode with Logitech's V270 mouse, I'd be grateful. Allso information of flashing without mac would be appreciated.
 




  



All times are GMT -5. The time now is 03:32 AM.

Main Menu

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration