maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   The easy way to connect N800 to I go keyboard (https://talk.maemo.org/showthread.php?t=13789)

jaslar 2008-02-03 04:13

Re: The easy way to connect N800 to I go keyboard
 
BoxOfSnoo, as noted above, yep, I sure did. About the only thing I haven't tried is entering the passcode with the on screen keyboard first (which I have to do on my Palm), THEN the regular keyboard. Has anybody tried that?

Nitesky 2008-02-03 04:25

Re: The easy way to connect N800 to I go keyboard
 
No,don't bother with the on screen keyboard. I did try that by mistake....it doesn't work. Just do everything in the exact order and make sure to hit the enter key. Sometimes you have to hit it several times. Keep trying. I was frustrated too but it finally did work!

chrisblessing 2008-02-03 05:07

Re: The easy way to connect N800 to I go keyboard
 
There is a bug report on this issue at https://bugs.maemo.org/show_bug.cgi?id=2640

The issue appears to be isolated to a number of text files created in a directory (/var/lib/bluetooth/<your:bt:mac:address>/). If any of the files contains blank lines above the keyboard's MAC address, pairing won't work. For me what worked was to systematically go through each file and remove the empty lines, a process which took several attempts at pairing and then checking the files. I repeated this approach after 3 re-flashes (with and without backup). as well as on my wife's brand new N800. Both devices now recognize the iGo seamlessly.

The unfortunate news is that it's a frustrating and time-consuming undertaking. Additionally, you must have root access to the files, and either VI or nano for editing the files. And you may find that you've edited the same file numerous times. Search the forums for information on "becomeroot" and "VI."

jaslar 2008-02-03 20:20

Re: The easy way to connect N800 to I go keyboard
 
That sounded promising, chrisblessing. But I just did that: called up each file in turn:
classes
features
input
lastused
config
hidd
lastseen
names

but there WERE no empty lines. I then retried pairing. Enter passcode, enter. Enter passcode numerous times, enter numerous times. Nada.

I even tried to turn off "trusted device" - nothing.

I do have a question, though. My situation is a N800 user, upgrading from a successful pairing in 2007, to OS 2008, AND restoring from backup. Is that part of the pattern? Has anybody tried just upgrading, and NOT restoring from backup, then trying to pair?

P.S. Another thought occurred to me. What happens if you delete the bluetooth/MAC directory and try to rebuild it?

strick9 2008-02-04 22:01

Re: The easy way to connect N800 to I go keyboard
 
Well, I resorted to reinstalling the OS. But I tried OS2008 first. This time, I did not run my backup restore with the OS install and after rebooting, I went first to pair the keyboard (canceled the startup for restore, phone, etc). This time, the pairing works. I then restored my data and all seems well so far.
I'm glad that I got OS2008 to work because OS2007 did not work with my phone for GPRS/EDGE communications (Samsung D357).
Hopefully, this solution will work for others with this upgrade/bluetooth issue.

Thanks,
Strick9

dubwise 2008-02-05 23:08

Re: The easy way to connect N800 to I go keyboard
 
Got my 4 row iGo keyboard today.
Pairing it to my N810 was a bit of a nuisance, there's something hit or miss there.
Got it working, though. When it powers down, the onscreen keyboard comes back, which is cool.
Likewise if I disconnect through the Bluetooth icon.
A little sad to see there's no Fkeys.

When the keyboard times out, it seems I have to Ctrl-FnBlue-FnGreen the keyboard,
and then Bluetooth icon|Devices|Edit|Connect|Cancel|Close|Cancel on the N810
to reconnect and get back to what I was doing.
Surely there's a better way?

GeneralAntilles 2008-02-05 23:28

Re: The easy way to connect N800 to I go keyboard
 
Quote:

Originally Posted by dubwise (Post 138778)
When the keyboard times out, it seems I have to Ctrl-FnBlue-FnGreen the keyboard,
and then Bluetooth icon|Devices|Edit|Connect|Cancel|Close|Cancel on the N810
to reconnect and get back to what I was doing.
Surely there's a better way?

It just reconnects when I press a key here. . . .

gowen 2008-02-06 10:59

Re: The easy way to connect N800 to I go keyboard
 
Quote:

Originally Posted by chrisblessing (Post 137508)
The issue appears to be isolated to a number of text files created in a directory (/var/lib/bluetooth/<your:bt:mac:address>/). If any of the files contains blank lines above the keyboard's MAC address, pairing won't work. For me what worked was to systematically go through each file and remove the empty lines, a process which took several attempts at pairing and then checking the files. I repeated this approach after 3 re-flashes (with and without backup). as well as on my wife's brand new N800. Both devices now recognize the iGo seamlessly.

The unfortunate news is that it's a frustrating and time-consuming undertaking. Additionally, you must have root access to the files, and either VI or nano for editing the files. And you may find that you've edited the same file numerous times. Search the forums for information on "becomeroot" and "VI."

I found that by removing all references to the keyboards MAC address from these files I was able to repair it.
Try:

cd /var/lib/bluetooth/*
grep Think *

This should list the line in the names file showing the keyboards MAC address. Using all or part of the MAC address type

grep <your MAC address> *

This will list all of the files you need to edit.

EDIT: As musikgoat points out below, you need to reboot after editing the files.

Hope this helps

dubwise 2008-02-06 13:15

Re: The easy way to connect N800 to I go keyboard
 
Quote:

Originally Posted by GeneralAntilles (Post 138793)
It just reconnects when I press a key here. . . .

See, I knew there as a better way.

jaslar 2008-02-08 04:34

Re: The easy way to connect N800 to I go keyboard
 
Boy, I continue to be baffled. I did find the file in which the MAC address of my keyboard was listed. To be clear, these are the steps I followed:

1. sudo gainroot
2. cd /var/lib/bluetooth/
3. ls
4. cd [mac address]
5. Look in the config file to see what Mac the keyboard is assigned
6. Edit each of the remaining files to remove that MAC address
7. Go to control panel
8. Choose Bluetooth keyboard
9. Get the keyboard flashing (Ctrl-blue fn-green fn)
10. Choose Pair
11. Select the name of the device
12. type the passcode, hit blue fn-OK a bunch of times
13. select OK

And it fails!

Grrrrrr.


All times are GMT. The time now is 18:16.

vBulletin® Version 3.8.8