Reply
Thread Tools
Posts: 29 | Thanked: 1 time | Joined on Nov 2007
#1
Hi forum

I've recently flashed the N800 to OS Version 5.2008.43-7 and find that I can NOT pair the Nokia SU-8W bluetooth keyboard. I could pair on the previous version, before the upgrade.

I've done a search of this problem, and there appears to be an issue with this procedure.
Having flashed the IT, and restored my backup the N800 'finds' the keyboard and issues a code, which i type in, but immediately get the "pairing failed" error. That's happened on many occasions.

Any ideas as to whats happening?

thanks
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#2
It's a known bug (the pairing gets screwed up when you restore a backup from an earlier version), see here for details and workarounds.
 
Posts: 29 | Thanked: 1 time | Joined on Nov 2007
#3
Originally Posted by lma View Post
It's a known bug (the pairing gets screwed up when you restore a backup from an earlier version), see here for details and workarounds.

Thanks for that 'ima'. I read the entire post and users seemed to have different solutions with varying degrees of success. One poster took the battery out, left it for a few minutes and Voila!!
Well, although I would have liked THAT approach, it didn't work for me. So, here's the thing: If you could just list the step-by-step commands I should be OK....from what I've read (newbie alert!!)

I can get to x-term and then after THIS: cd /var/lib/bluetooth there is something about removing the line with the BT keyboard......?

Hope you can help....

regards
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#4
If I understand correctly (disclaimer: I don't have a bluetooth keyboard or a bora-era backup so can't test) you just need to get rid of /var/lib/bluetooth/<your:bt:mac:address>. Just to be on the safe side, I would move it somewhere else instead.

So, get a root shell, run

Code:
mv /var/lib/bluetooth/* /root
and reboot the device (not sure if this is necessary, but just in case the old data is lingering around in some daemon's memory).

Note that this will probably lose all bluetooth settings and pairings so you'll have to recreate them by hand. Do not try to restore the old backup again, make a fresh one after you get the keyboard working.
 
Posts: 29 | Thanked: 1 time | Joined on Nov 2007
#5
This is what I tried, most of the posters seem to like this one:

Start xterm
$ cd /var/lib/bluetooth/XX:XX..XX:XX/
$ grep SU-8W names


The final step is to delete the line with the BT keyboard.

What is the actual command to do that, pls??

Thanks
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#6
Use an editor, or

Code:
mv names names.bak
grep -v SU-8W names.bak > names
 
Posts: 29 | Thanked: 1 time | Joined on Nov 2007
#7
Ok - last question. Is this the total of the commands?? And if it is - could you explain EACH line to a newbie. Somebody in the thread asked for this, but seemed to be ignored.

Start xterm
$ cd /var/lib/bluetooth/XX:XX..XX:XX/
$ grep SU-8W names

mv names names.bak
grep -v SU-8W names.bak > names


Thanks again
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#8
Originally Posted by n800fm View Post
Ok - last question. Is this the total of the commands?? And if it is - could you explain EACH line to a newbie.
Sure:

cd /var/lib/bluetooth/XX:XX..XX:XX/
Change directory to /var/lib/bluetooth/XX:XX..XX:XX/
grep SU-8W names
Show all lines in file names containing the string "SU-8W" (not strictly necessary, just informational).

mv names names.bak
Rename the file names to names.bak.

grep -v SU-8W names.bak > names
Extract all lines from file names.bak that do not contain the string "SU-8W" and write them to a file called names.
 

The Following User Says Thank You to lma For This Useful Post:
Posts: 29 | Thanked: 1 time | Joined on Nov 2007
#9
Thanks for your help lma. Unfortunately it didn't work for me - I followed it to the letter...and I did gainroot.

This is what worked for me :
1) reflashed (again!) but THIS time I didn't restore the backup.

2) Then powered on the IT, paired the BT keyboard and ..then, restored.

3) Deleted the pairing of the keyboard and...re-paired.

Now, as soon as I power up the keyboard - immediate hook-up. (BT enabled, of course)

Thanks anyways - I now have a better understanding of the commands.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:59.