linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] Apple Wireless Keyboard
@ 2006-07-12  4:07 William Voorhees
  2006-07-12 23:27 ` Marcel Holtmann
  0 siblings, 1 reply; 14+ messages in thread
From: William Voorhees @ 2006-07-12  4:07 UTC (permalink / raw)
  To: bluez-users

Hello!

First I'd like to thank you very much for your continued efforts in
making Bluetooth on Linux work well. 

I've been trying to get my Logitech MX900 mouse, and Apple wireless
keyboard to be recognized on boot on my Ubununtu 6.06 system.
Unfortunately documentation for the bluez seems pretty sparse. So far
I've edited the /etc/default/bluez-utils file to contain this section:


############ HIDD
#
# To have Bluetooth mouse and keyboard support, get the
# Linux 2.6.6 patch or better from bluez.org, and set 
# HIDD_ENABLED to 1.
HIDD_ENABLED=1
HIDD_OPTIONS=" --server --search"
HIDD_OPTIONS=" -i 00:07:61:19:FA:E9 --server"
HIDD_OPTIONS=" -i 00:0A:95:44:AF:88 --server"
# to make hidd always use a particular interface, use something
# like this, substituting the bdaddr of the interface:
# HIDD_OPTIONS="-i AA:BB:CC:DD:EE:FF --server"
#
# remove '--master' if you're having trouble working with Ericsson
# T630 phones with hidd operational at the same time.

Where 00:07:61:19:FA:E9 is the address of my mouse and 00:0A:95:44:AF:88
the address of my keyboard. With this setup I am able to get the mouse
to work, but only if I run hidd --search by hand, after boot. 

I've tried enabling security mode three to pair the keyboard(I read in
the forum archives that it need it) but that didn't seem to work at all.
If anyone could provide me with any details on how to setup my keyboard
and mouse I'd really appetite it.




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Bluez-users] Apple wireless keyboard
@ 2008-04-22 14:58 Phil Endecott
  2008-04-22 15:13 ` Odysseus Flappington
  2008-04-23 17:25 ` Johan Hedberg
  0 siblings, 2 replies; 14+ messages in thread
From: Phil Endecott @ 2008-04-22 14:58 UTC (permalink / raw)
  To: bluez-users

Dear Bluetooth experts,

I think I am probably the bazillionth person to ask here about how to
get the Apple wireless keyboard to work properly with Linux.  Some of
the people who've solved the problem before have posted how-to pages
with recipes that worked for them, but unfortunately without really
understanding what was going on, or containing distribution-specific or
out-of-date information.  My keyboard is basically working now, but I'm
hoping that you can help me to understand what is really going on and
what is the right way to do it.

Firstly, I understand that some USB Bluetooth dongles have a "HID Mode"
where they appear as USB HID devices and all of the Bluetooth
complexity is avoided.  That would be ideal for me, but I suspect that
my dongle doesn't support that mode of operation; this page:
http://times.usefulinc.com/2004/06/12-hidproxy says that (in 2004) only
the CSR chips had this feature; is this still true?  My dongle is
(lsusb) "1131:1004 Integrated System Solution Corp." which doesn't look
like CSR.  I bought it cheapo on Ebay.  Is there a reliable way to
obtain a USB dongle with a CSR chip with this feature?  And how does
pairing work in this HID mode?  (Is it secure?)

Anyway, for the time being I have set it up the "hard way" as a real
Bluetooth keyboard.  I did this by

- Installing a kernel with the bluetooth modules.
- Installing bluez-utils.
- Starting hidd and hcid (enabling them in /etc/default/bluetooth on
this Debian box)
- Running passkey-agent --default 1234 (Debian ships this source for this)
- Running hcitool scan to get the keyboard address (which I've now
written on the back)
- Running hidd --connect <addr> and typing 1234RET on the keyboard

Now, if I understand things correctly, this PIN pairing should be a
one-off thing; there is now a file in /var/lib/bluetooth/..../linkkeys
which I presume is a key that can be used subsequently instead of the
PIN procedure - right?  (BTW, the .... in the pathname above is not the
keyboard's address; it has lots of 0s at the end.  What is it?)  So
after I reboot the keyboard should be able to connect without user
interaction.  But so far I have failed to make this happen.  I have
only been able to reconnect by deleting various things and starting
from fresh.  What do I need to do?  Do I need to add it to a
configuration file somewhere?  Do I need to arrange for hidd --connect
to be run?

Many thanks for any suggestions.

Phil.







-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Bluez-users] apple wireless keyboard
@ 2004-06-11 18:44 Simone Crippa
  2004-06-14 12:31 ` Collin R. Mulliner
  2004-06-14 16:16 ` Marcel Holtmann
  0 siblings, 2 replies; 14+ messages in thread
From: Simone Crippa @ 2004-06-11 18:44 UTC (permalink / raw)
  To: bluez-users

Hello list,

I bought a shiny new Apple Wireless Keyboard last week because I like to 
type on a "big" keyboard using my laptop, but I "hate" tethers!!!

Before buying it I quickly looked in the net to discover that it is 
indeed possible. After a deeper search for some information I discovered 
that it is not a very well documented task (either Google_Groups, 
Newsgroups, ...).

I found _some_ information on this list some weeks ago, but it didn't 
really help me a lot. So I thought, I might contact Marcel Holtmann 
directly, who seems to know quite a bit about it :-)

But since I don't want to bother him with my simple questions, I thought 
maybe someone very, very kind on this list might have faced my same 
problems before ... :-)

What I have:


- Apple Keyboard
- HP nx7000 laptop with built-in Bluetooth
- bluez-utils + libs 2.7 (Debian unstable)
- hidp module from mh3 patch on 2.6.6 kernel

What works so far:

- PIN authentification (othewise no info!!)

- synchronisation over Bluetooth with Palm (so, Bluetooth connection 
works!)

- hcitool info <BD-keyboard> (gives out lots of funny HW info! ... 
"Broadcom Corp."???)

- Palm finds Apple Keyboard (so, Bluetooth in keyboard works)

What does not work:

- hidd -s give out either:
	Searching ...
	Connecting to device 00:0A:95:39:67:0F
	Can't create HID control channel: Host is down
   or:
	Connecting to device 00:0A:95:39:67:0F
	Can't create HID control channel: Device or resource busy
   or:
         No devices in range or visible

not in that order, pick what you prefer ... which is kind of funny, 
since I touch nothing on the keyboard and the output changes continuosly.

I tried to look at "hcidump -x" for some info ... but I cannot find a 
clue! (btw: thanks to Marcel ... "hcidump -x" helped me for the PIN-auth 
problem!!!)


Thanks for your patience, Simone


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-04-24 17:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12  4:07 [Bluez-users] Apple Wireless Keyboard William Voorhees
2006-07-12 23:27 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2008-04-22 14:58 [Bluez-users] Apple wireless keyboard Phil Endecott
2008-04-22 15:13 ` Odysseus Flappington
2008-04-23 19:04   ` Phil Endecott
2008-04-23 19:50     ` Odysseus Flappington
2008-04-24 15:32       ` Phil Endecott
2008-04-23 17:25 ` Johan Hedberg
2008-04-24 15:49   ` Phil Endecott
2008-04-24 17:29     ` Johan Hedberg
2004-06-11 18:44 [Bluez-users] apple " Simone Crippa
2004-06-14 12:31 ` Collin R. Mulliner
2004-06-14 23:29   ` Marcel Holtmann
2004-06-14 16:16 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).