You need to have R&D mode enabled on the device to use this. Search maemo 
wiki for details how to do that. You also need xterm installed on 
the device, there is no GUI yet.

HOWTO

1. Copy kbdd.tgz to the device and extract it somewhere.

Nokia770-45:~# tar zxvf kbdd.tgz

2. Create or edit btkbd.conf file in the kbdd directory with proper 
keyboard address and keyboard type.

Nokia770-45:~# cd kbdd/
Nokia770-45:~/kbdd# echo >btkbd.conf 'BDADDR="yo:ur:bd:ad:dd:rr"'
Nokia770-45:~/kbdd# echo >>btkbd.conf 'KBTYPE=btfoldable'
Nokia770-45:~/kbdd# echo >>btkbd.conf 'PORTNUM=2'

You can find keyboard address by making keyboard discoverable (press 
button in top right corner, keyboard LED should start blinking) and 
executing 'hcitool scan' as root or './btkbd scan' as user in the xterm.

KBTYPE is kbdd keyboard type. Execute kbdd --help to see the types.

PORTNUM is bluetooth rfcomm port number on n770 side. Port 0 may be used 
for you mobile phone so use something bigger than 0 in case of problems.

3. Make keyboard discoverable and execute btkbd script.

Nokia770-45:~/kbdd# ./btkbd

Make sure the keyboard accepts connection. Be ready to pair the keyboard 
for the first time - it should pop up dialog on the N770 display after 
btkbd is executed. Pin is 0000 for ipaq bluetooth foldable keyboard.

4. Execute btkbd script again to disconnect the keyboard.

5. If it works you can add menu shortcut. Just run the
install_shortcut.sh script in kbdd directory.

PROBLEMS

root is required for inserting the module and binding rfcomm port. This 
means you need to have R&D mode enabled for 'sudo gainroot' mechanism to 
work because the script calls itself as root via 'sudo gainroot'.

TODO

1. make installation package.

2. Create GUI.

CHANGELOG

December 28, 2005 
- intial version

January 3, 2006
- display keepalive and unblanking implemented

January 4, 2006
- fixed bug with superfluous error message on each keypress (but sent to /dev/null anyway)

April 30, 2006
- added menu shortcut, can be executed as user if R&D mode is enabled

May 9, 2006
- Freedom keyboard added to kbdd by David Lapetina <ntic@lapetina.org>

May 27, 2006
- Freedom keyboard was broken (by me, not David), fixed

CONTACT

Frantisek Dufka <dufkaf@seznam.cz>

