The Following 49 Users Say Thank You to qole For This Useful Post: | ||
5spdvl, AlMehdi, asys3, attila77, BLIZZARD, borghal, BruceL, bunanson, cfh11, clasificado, Cue, debernardis, ericube, F2thaK, freemangordon, FreeThinker, fw190, giannoug, Hellmur, imperiallight, Joseph9560, Kilian, klinglerware, kureyon, Laughing Man, maartenmk, Magik, matthew_exon, Mentalist Traceur, Netweaver, nightfire, number41, OVK, phedders, realcomix, S0urcerr0r, semdev01, sjgadsby, skalogre, sophocha, strange1712, suzuka, ThomasAH, uppercase, VulcanRidr, woody14619, wumpwoast, x-lette, zvogt |
|
2010-07-11
, 21:09
|
|
Posts: 334 |
Thanked: 171 times |
Joined on Dec 2009
|
#2
|
|
2010-07-11
, 21:33
|
Posts: 42 |
Thanked: 27 times |
Joined on Jun 2010
|
#3
|
cat: can't open '/var/lib/bluetooth/0*/names': No such file or directory cat: can't open '/var/lib/bluetooth/0*/names': No such file or directory
dbus-send --system --print-reply --dest=org.bluez /org/bluez/673/hci0/dev_01_18_09_12_04_BD org.bluez.Input.Connect
/usr/bin/bt-kbd-remap: line 57: syntax error: "fi" unexpected (expecting "then")
The Following User Says Thank You to jormartr For This Useful Post: | ||
|
2010-07-11
, 21:41
|
Posts: 57 |
Thanked: 15 times |
Joined on Apr 2010
|
#4
|
|
2010-07-11
, 21:42
|
Posts: 61 |
Thanked: 24 times |
Joined on Jun 2010
|
#5
|
|
2010-07-11
, 23:20
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#6
|
The Following 3 Users Say Thank You to qole For This Useful Post: | ||
|
2010-07-12
, 01:19
|
Posts: 459 |
Thanked: 669 times |
Joined on Sep 2007
@ The DMV
|
#7
|
The Following User Says Thank You to klinglerware For This Useful Post: | ||
|
2010-07-12
, 01:58
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#8
|
With the latest version of the bt-hid-connect script, I was finally able to find and select my Think Outside Keyboard in the gui. The bluetooth icon does turn blue when I type on the BT keyboard, but I cannot generate text.
I tried to run bt-hid-connect in xterm as you requested, but I get "not found" in response. Should I be in a certain directory or run as root?
The Following 3 Users Say Thank You to qole For This Useful Post: | ||
|
2010-07-12
, 02:00
|
Posts: 61 |
Thanked: 24 times |
Joined on Jun 2010
|
#9
|
|
2010-07-12
, 02:02
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#10
|
Tags |
bluetooth, keyboard, mouse, package |
Thread Tools | |
|
THIS IS ALPHA QUALITY ONLY! IT ISN'T SAFE! BACK UP BEFORE INSTALLING! DISABLE EXTRAS-DEVEL AFTER INSTALLING!
I have taken stuff from the How to get bluetooth pc105 keyboards to work with N900 and N900 Working Bluetooth Mouse and I have made a package that gets Bluetooth keyboards and mice (Human Input Devices or "HID") working with the N900.
You need to enable Extras-devel (Dangerous and advanced! Be careful with this!) You can install it from the System category in the App Manager, or as bt-hid-scripts from apt-get.
UPDATE December 2010:
These scripts now depend on freemangordon's mouse driver and keyboard layouts. If you wish to have a GUI to configure your external mouse and keyboard, or you wish to connect USB devices instead, then use his applications instead, Ext Kbd and Ext Mou.
UPDATE Version 0.8:
So the procedure now is:
1. Pair your devices with the N900 via the Bluetooth menu.
2. Use the "BT HID Connect" icon to connect your devices properly (this will make the BT logo stay blue, the mouse and keyboard will work, incompletely)
3. Make sure your devices are disconnected, then start the "BT HID Watcher" icon to auto-configure your N900 when the devices connect.
4. Turn on your device, press a key on the keyboard, wiggle the mouse, or whatever you need to do to initiate connection, and then watch for the yellow banner on the N900 saying that you're connected. The mouse pointer should become visible for a mouse, and the keyboard should have numbers and special characters properly mapped.
Note that you may need to open the N900 keyboard and press a key to get the external keyboard working properly, and the mouse pointer is not properly visible or operational in the browser.
These scripts work very well with the Microsoft Bluetooth Notebook Mouse 5000 and the Micro Innovations folding BT keyboard (MP-0118) from DealExtreme.
Older Versions:
The main script at the moment is the BT HID Connect script (bt-dbus-connect) and icon. This script connects BT devices that seem to pair (the N900 claims the device is paired) but then don't actually connect (the BT icon on the N900 stays white). This worked to connect both my Think Outside Stowaway Keyboard and Microsoft Bluetooth Notebook Mouse 5000. You have to pair the device first and then click on the BT HID Connect icon. Choose your device from the list and it should start connecting after that.
I have another script, set-bt-input, run as root, which can turn the BT input profile on or off. It is turned on upon install.
I have also most of the pieces to make BT keyboards and mice actually work once they are connected.
Keyboard
I have included qobi's xkb-chinook hack to remap external keyboards so the numbers and special characters work. Run the bt-kbd-remap script to make the keyboard work properly with both Maemo and Easy Debian LXDE.
To set your keyboard layout, create or edit a file in your home directory (it will be created for you the first time you run bt-kbd-remap):
/home/user/.btkeyboard
The script needs to be run every time the keyboard reconnects, even after waking up from sleep. I still need to get a script set up to check for keyboard connection and run the remap script when it connects.
Mouse
I have included azerty1's fixed mouse driver (evdev_drv.so) so if your mouse can connect, it will probably work. It should just work with Easy Debian LXDE (where it is most useful).
If you want to try the mouse with Maemo, I've included azerty1's showmouse and hidemouse scripts for making the mouse pointer visible in Maemo. You have to run them from the terminal or make your own icons for those.
TO DO:
Make a device connection detector that runs the keyboard remap script if a keyboard connects or the visible mouse script if the mouse connects. If the mouse disconnects, run the hidemouse script.Done, this is the watcher scriptHave someone package the patched mouse driver, and then depend on that package. I can't move my package out of Extras-devel with azerty1's binary embedded in my package.Done, freemangordon has made an opensource version.qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
Last edited by qole; 2010-12-26 at 20:42. Reason: .btkeyboard update