maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Bluetooth just stopped working on N900? (https://talk.maemo.org/showthread.php?t=40352)

robertwbrandt 2010-01-13 16:25

Bluetooth just stopped working on N900?
 
I have had my new N900 for less than a week and I love it! (despite a few problems here and there) However, I ran into a problem which I really need to fix.

I paired my N900 to a Jabra BT3030 headset (which I have been using with my old E70 for ever). It looked like everything worked, then the Phone dropped the bluetooth connection and now it will not remember the Bluetooth settings?? When I reboot the N900, the bluetooth is not active and when I try to activate it, it keeps asking for the name (and whether is should be on and visible) but even after entering the name and checking both boxes (to turn it on and visible) and pressing Save, it never actually turns on bluetooth???

I know bluetooth was at one time working fine as I used the bluetooth transfer function to my info from my old E70 to this new N900.

When I go to the "About Product" option in settings, the Bluetooth MAC Address is no longer showing either. My guess is that the device no longer sees the hardware even though the software "thinks" it is there.

There was a suggestion in the Nokia Forums to reflash the Maemo OS. I think I did one better by reflashing the BIOS, which then asked me to install the upgrade for Maemo (Maemo 5 1.2009.44-1.203.4 UK Version)

I took a look at Bug 3293 and that doesn't seem to be the problem.

Is there another way to reinstall the OS? Any other ideas?

Thanks
Bob

dwould 2010-01-13 16:32

Re: Bluetooth just stopped working on N900?
 
I had exactly the same symptoms but for a different set of steps.
my problem turned out to be in
/var/lib/bluetooth/[your-bt-mac-address]/linkkeys
this file basically tracks the devices you've connected to.
I had managed to edit this file and put a blank line at the top, and deleting this line and rebooting fixed everything.

However it might be that any one of a number of odd problems can cause the bluetooth stack to fail to come up properly.
Still, worth checking.

cenwesi 2010-01-13 18:38

Re: Bluetooth just stopped working on N900?
 
intresting...it is only the bt3030 that seems to work 100% with this phone.

robertwbrandt 2010-01-14 14:01

Re: Bluetooth just stopped working on N900?
 
Thanks, that put me right on track. I eventually needed to wipeout the entire directory (after making sure I had a backup) and let the N900 start from scratch again, but after that it works (for now anyway)

Bob

Quote:

Originally Posted by dwould (Post 468669)
I had exactly the same symptoms but for a different set of steps.
my problem turned out to be in
/var/lib/bluetooth/[your-bt-mac-address]/linkkeys
this file basically tracks the devices you've connected to.
I had managed to edit this file and put a blank line at the top, and deleting this line and rebooting fixed everything.

However it might be that any one of a number of odd problems can cause the bluetooth stack to fail to come up properly.
Still, worth checking.


meticulous1 2010-03-08 14:52

Re: Bluetooth just stopped working on N900?
 
Quote:

Originally Posted by dwould (Post 468669)
I had exactly the same symptoms but for a different set of steps.
my problem turned out to be in
/var/lib/bluetooth/[your-bt-mac-address]/linkkeys
this file basically tracks the devices you've connected to.
I had managed to edit this file and put a blank line at the top, and deleting this line and rebooting fixed everything.

However it might be that any one of a number of odd problems can cause the bluetooth stack to fail to come up properly.
Still, worth checking.

how to find that file?

robertwbrandt 2010-03-08 15:01

Re: Bluetooth just stopped working on N900?
 
Quote:

my problem turned out to be in
/var/lib/bluetooth/[your-bt-mac-address]/linkkeys
I used SSH to connect to the device. SSH rocks!! It should be included by default! However until it is, you will need to install it manually. OpenSSH Client and Server should be available for download from maemo.org.

Bob

meticulous1 2010-03-17 19:55

Re: Bluetooth just stopped working on N900?
 
Quote:

Originally Posted by robertwbrandt (Post 559999)
I used SSH to connect to the device. SSH rocks!! It should be included by default! However until it is, you will need to install it manually. OpenSSH Client and Server should be available for download from maemo.org.

Bob

im having real problems locating that software .............is the software named ............Open SSH ? and wher eon maemo site would i find it...could u be a lil more specific

robertwbrandt 2010-03-17 20:20

Re: Bluetooth just stopped working on N900?
 
On my device, it is called "OpenSSH Client and Server"

It looks like it installs two other packages called "OpenSSH Client" and "OpenSSH Server"

Not sure where I found it, but I'm sure it is not that hidden.

meticulous1 2010-03-17 20:33

Re: Bluetooth just stopped working on N900?
 
[QUOTE=robertwbrandt;570990]On my device, it is called "OpenSSH Client and Server"

It looks like it installs two other packages called "OpenSSH Client" and "OpenSSH Server"

Not sure where I found it, but I'm sure it is not that hidden.


ok lemme start over and explain everything,

i plugged the nokia n900 into my laptop via USB and i selected mass storage mode and the folders that are showing up is non of what u mentioned before.....i even tried viewing hiddin files and folders in windows explorer but that was no help either......so if u do have the time could u kinda break it down step by step

robertwbrandt 2010-03-17 20:43

Re: Bluetooth just stopped working on N900?
 
Quote:

Originally Posted by meticulous1 (Post 571008)
i plugged the nokia n900 into my laptop via USB and i selected mass storage mode and the folders that are showing up is non of what u mentioned before.....i even tried viewing hiddin files and folders in windows explorer but that was no help either......so if u do have the time could u kinda break it down step by step

Okay, the device is a fully blown linux system with a normal file structure.

When you SSH into the device you can access this file system, however when you use the USB Mass Storage mode, it only shows you what is beneath the path /home/user/MyDocs This is so you don't accidentally delete important files.

You have to install the OpenSSH Server on your device.
Connect the device to a network
Find the IP Address
SSH unto the N900 from an OpenSSH client on another machine
Modify the file mentioned above.

When I get time tomorrow I will try to elaborate further. It is Paddy's Day in Ireland. :)

meticulous1 2010-03-17 20:59

Re: Bluetooth just stopped working on N900?
 
well im having problems downloading the software.....could u zip it and email to me sdali1@hotmail.com and i'll try figure out from there thanks .............

gidoca 2010-03-17 21:22

Re: Bluetooth just stopped working on N900?
 
Quote:

Originally Posted by meticulous1 (Post 571043)
well im having problems downloading the software.....could u zip it and email to me sdali1@hotmail.com and i'll try figure out from there thanks .............

It's in the network category of the application manager. After installing it on the N900, just use a Software like WinSCP on your PC to connect to it if you are not familiar with the command line. But be careful, don't change or delete arbitrary files, as that might cause your device not to boot any more. In that case, you would need to reflash. Also keep in mind that if you don't choose a secure password during installation, others might be able to connect to your phone when you're connected to a WLAN.

pallie23 2010-05-13 14:20

Re: Bluetooth just stopped working on N900?
 
I fixed a Bluetooth issue on the n900 by the following method (a bit of a combination of other posts & hopefully in layman's terms!)

A Warning - you need to be 'root' to do this (Administrator privileges), doing anything in root can kill your phone, if you follow this you won't break anything, if you muck about with anything else or any other file/folders you may kill your phone, and then you will need to wipe it and re-flash - not fun!

Also, by doing this, you will wipe any Bluetooth profiles/connections you have - you will need to re-connect with your devices again.

Open the X Terminal program

You should be in /home/user directory

You need to be 'root' to do this type:
sudo gainroot

You should now be root (super user) - to check, type: whoami - when you press enter, it should say 'root'

Now type the following:
cd /var/lib/blu*

You should now see and be in directory: /var/lib/bluetooth

Now type:
ls (That is LS in lowercase)

You should see at least 2 folders, one will be a MAC address which will look something like this: 08:00:69:02:01:FC And maybe a folder called 'maemo-callerid-allowed', and maybe some other folders. You are only interested in the MAC address, so now do this:

Now type:
cd 08*

NOTE: I put 08* as my MAC address example begins with 08, just replace that with what ever your MAC address directory shows as, the * just saves you having to type all the MAC address, as there is only one directory beginning with 08, you can put * for the system to do the rest

Now type:
ls (That is LS in lowercase)

You will now see the below folders

classes
config
did
eir
featured
lastseen
lastused
linkkeys
manufacturers
names
profiles
sdp
trusts

They are all to do with Bluetooth, you now need to rename each folder to the same name but with .old on the end, so if you ever need to, you can move it back, or access the old data within it - this will ensure you are backing up your data - there may be a quicker way in UNIX to do this on mass, but I am not a true geek (yet!)

Do this for each folder - and if you have any additional folders than I list above, do it for them also!

To change the name of each directory, type this:

mv classes classes.old [this changes the name of the classes directory to classes.old]
- Repeat this for every folder, example: mv config config.old etc until they are all changed

To check the status (if you think you have forgotten one) type:
ls (That is LS in lowercase) - This will list all the files and folders, if any are left just mv [original name] [original name.old]

Once all folders are renamed, the system will basically think it has no Bluetooth settings or information, and it should make all the folders again with clean brand new files in them with the default NokiaN900 name - to check this worked, turn the phone off, and back on, then go into Bluetooth settings... fingers crossed it works for you! :D

azstunt 2010-05-13 15:26

Re: Bluetooth just stopped working on N900?
 
could anyone please upload the contents of /var/lib/bluetooth ? I had the same issue a while ago (but I believe mine is linked to overclocking) and now, all I have in that directory is a file called "maemo-callerid-none".

I know that my MAC address won't be the same, but I would like to try.

pallie23 2010-05-13 16:07

Re: Bluetooth just stopped working on N900?
 
I think you need the bluetooth MAC address as a folder, it would be specific to your phone - not sure how to find your phone BT MAC address, do a search, and then add it as a folder under /var/lib/bluetooth

lbt 2011-04-09 22:51

[POSSIBLE FIX] Re: Bluetooth just stopped working on N900?
 
Old thread I know - this is search fodder really.

simple answer : power off, remove battery for a while (a minute), restart.

I've just had this problem and after much hunting it seems that if you have a problem with bluetooth not working and the bluetooth MAC address not appearing in the "about product" then there may be a problem with the BT chip.

I saw:
# dmesg | grep hci
[26616.798797] hci_h4p hci_h4p: Registering HCI H4P device
[26616.930725] hci_h4p hci_h4p: No cts from bt chip
[26616.930877] hci_h4p: probe of hci_h4p failed with error -110

See: https://bugs.maemo.org/show_bug.cgi?id=9895

HTH


All times are GMT. The time now is 17:49.

vBulletin® Version 3.8.8