Editing Fremantle Bluetooth Keyboard Layout
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | Bluetooth keyboards are [[Fremantle_Unsupported_Bluetooth_profiles|not officially supported]] on the [[Nokia N900|N900]], | + | Bluetooth keyboards are [[Fremantle_Unsupported_Bluetooth_profiles|not officially supported]] on the [[Nokia N900|N900]], i.e. Maemo Fremantle, but it's possible to get them working with some hacking. |
== Devices == | == Devices == | ||
- | {| class="wikitable | + | {| class="wikitable" |
- | + | ||
|- | |- | ||
! Device | ! Device | ||
- | ! | + | ! Product Link |
- | ! | + | ! Success Reports |
|- | |- | ||
| iGo Stowaway Keyboard | | iGo Stowaway Keyboard | ||
Line 25: | Line 24: | ||
| Rocketfish: [http://www.rocketfishproducts.com/pc-85-3-rocketfish-wireless-multimedia-bluetooth-keyboard-and-laser-mouse-blacksilverred.aspx] | | Rocketfish: [http://www.rocketfishproducts.com/pc-85-3-rocketfish-wireless-multimedia-bluetooth-keyboard-and-laser-mouse-blacksilverred.aspx] | ||
| [http://talk.maemo.org/showpost.php?p=659720&postcount=273] | | [http://talk.maemo.org/showpost.php?p=659720&postcount=273] | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
|} | |} | ||
Line 46: | Line 29: | ||
* Enable HID support as described [[Fremantle_Unsupported_Bluetooth_profiles|here]]. Note that the DisablePlugins line needs to be there, but it should not include the "input" keyword. | * Enable HID support as described [[Fremantle_Unsupported_Bluetooth_profiles|here]]. Note that the DisablePlugins line needs to be there, but it should not include the "input" keyword. | ||
- | * As root, download the tar file from [http://talk.maemo.org/showpost.php?p=441444&postcount=3 here] and extract it: | + | * As root, download the tar file from [http://talk.maemo.org/showpost.php?p=441444&postcount=3|here] and extract it: |
sudo gainroot | sudo gainroot | ||
Line 67: | Line 50: | ||
After running this command, press any key on the N900's internal keyboard, and you should be able to type numbers and symbols on the bluetooth keyboard. | After running this command, press any key on the N900's internal keyboard, and you should be able to type numbers and symbols on the bluetooth keyboard. | ||
- | |||
- | |||
- | |||
== Setting Layout Automatically == | == Setting Layout Automatically == | ||
Line 101: | Line 81: | ||
Put this in /etc/init.d/bluetooth-keyboard. You need to replace bluetooth-keyboard.py with the absolute path. | Put this in /etc/init.d/bluetooth-keyboard. You need to replace bluetooth-keyboard.py with the absolute path. | ||
- | + | #!/bin/sh | |
- | #!/bin/sh | + | |
+ | case "$1" in | ||
+ | start) | ||
+ | python bluetooth-keyboard.py & | ||
+ | ;; | ||
+ | stop) | ||
+ | kill $(ps ax | grep 'python bluetooth-keyboard.py' | grep -v grep | awk '{print $1}') | ||
+ | ;; | ||
+ | restart) | ||
+ | echo "$0: not implemented" | ||
+ | exit 1 | ||
+ | ;; | ||
+ | force-reload) | ||
+ | echo "$0: not implemented" | ||
+ | exit 1 | ||
+ | ;; | ||
+ | *) | ||
+ | echo "Usage: $0 {start|stop}" | ||
+ | exit 1 | ||
+ | ;; | ||
+ | esac | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
Make it executable and hook into init system | Make it executable and hook into init system | ||
chmod a+x /etc/init.d/bluetooth-keyboard | chmod a+x /etc/init.d/bluetooth-keyboard | ||
- | update-rc.d bluetooth-keyboard | + | update-rc.d bluetooth-keyboard defaults |
== Next steps == | == Next steps == | ||
- | It would be nice to build a package to do all of this | + | It would be nice to build a package to do all of this. |
- | + | ||
- | + | ||
- | + | ||
== References == | == References == | ||
- | + | General procedure: [http://talk.maemo.org/showthread.php?p=490777#post490777] | |
- | + | ||
- | + | DisablePlugins is required: [http://talk.maemo.org/showpost.php?p=385463&postcount=3] | |
- | + | ||
- | + | Installing the tarball: [http://talk.maemo.org/showpost.php?p=441137&postcount=1] | |
+ | |||
+ | Special copy commands: [http://talk.maemo.org/showthread.php?p=490777#post490777] | ||
- | + | Script to automatically run the setxkbmap command: [http://talk.maemo.org/showthread.php?p=525721#post525721] | |
- | + |
Learn more about Contributing to the wiki.