LinuxQuestions.org
Social Bookmarking all things Linux and Open Source

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have access to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Go Back   LinuxQuestions.org > HCL > I/O Devices > Apple
User Name
Password

Search · Register · Submit New Product ·
 

Apple Wireless Keyboard
Reviews Views Date of last review
1 15167 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
Would you recommend the product? yes | Price you paid?: None indicated | Rating: 0

Kernel (uname -r):
Distribution:



[Log in to get rid of this advertisement]
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.
 is offline    






Add LQ To Your Yahoo Add LQ To Your Google Add LQ To Your MSN Add LQ To Your Blog
All times are GMT -5. The time now is 10:17 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration