Hey I got the keyboard to automatically connect with the Z These instructions should also enable your mouse to work if you execute the same commands with it's bluetooth address.
You want to ensure that in your bluetooth startup scripts somewhere you start hidd with the --server argument. It will then go into the background and listen for connections.
In the stop portion of my bluetooth script I added a bit to disconnect all the hidd connections (just in case) and then killall the hidd daemon like so:
hidd --killall
killall hidd
Please note that using --killall with hidd is likely to cut out your bluetooth mouse if you have that configured. Of course the commands above go in your bluetooth start/stop script (/etc/rc.d/init.d/bluetooth or perhaps /etc/pcmcia/bluetooth if you're using Cacko [I think, just saw that on another post by maslovsky]) and not the suspend/resume script that Tumnus made which is located in /etc/apm.d/bluetooth and so if you're stopping bluetooth it shouldn't really matter that your mouse cuts out.
Basically you want to make sure that you do a:
# hidd --connect AB:CD:EF:12:34:56
first or you could do a '--search' and let it find the keyboard/mouse but if you already know the bluetooth address from a previous,
# hcitool scan
then you might as well just do --connect <BD Address> so you can test your keyboard or mouse first and then do the other. I don't know whether doing the --search will connect other devices at the same time or not, ymmv.
After the --connect (and hitting the CTRL + Blue FN + Green FN, or connect button on a mouse) you should be able to start using the keyboard. If it starts to work you're almost there. Just go ahead and CLOSE the keyboard WITHOUT telling hidd anything about unplugging it or disconnecting.
I waited about 20 seconds or long enough so that a,
# hidd --show
returned nothing. Normally it'll show your connections to input devices. You want to wait until your keyboard disappears before you open it again.
If you open now open the keyboard and tap a key you'll find the LED starts to blink indicating it's trying to reach out to someone. AND most importantly you should see that the Z starts to show characters typed in
Of course if it's a bluetooth mouse you'll probably just have to either make sure it's on or wiggle it around. Whatever it takes to wake it up and seeing as I don't own one [yet] I can't say for sure. You'd want to make sure you have the mouse package which you can find from Meanie's site over at:
http://www.users.on.net/~hluc/myZaurus/You'll find it if you search for 'enable mouse'.
Did these instructions work for anybody else? One thing I like is that I was able to use the keyboard and internet over bluetooth at the same time with no problems. I tried to include everything I could think of really, let's hope I didn't forget anything