maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   N900 not finding BT devices (https://talk.maemo.org/showthread.php?t=37317)

OskariU 2009-12-15 18:10

N900 not finding BT devices
 
Hi!

I encountered a problem that my N900 won't allow me to find any BT handsfree devices. I can find computers with BT though. I have installed PC-connection-manager (and also deleted it) and I think this problem has something to do with it.

I had my BH-904 handsfree paired some time ago. Some time ago it worked well. Then came the problem: the sound did not come through to my handsfree... Then I unpaired my HF-device and not N900 won't find any HF-devices (tried another one too)...

Could you find a solution.

Cheers!

benny1967 2009-12-15 18:18

Re: N900 not finding BT devices
 
It'sjust the other way round here... I can "see" my BT headset and my phone from the N900, but not my computer.

bonerp 2009-12-15 19:33

Re: N900 not finding BT devices
 
mine connects and pairs, then says its lost the connection but actually it hasnt as I can send files!!!:confused:

OskariU 2009-12-16 21:50

Re: N900 not finding BT devices
 
I think the problem has something to do with bluetooth profiles. I think that my N900 somehow can't use the handset profiles. Before I unpaired my headset from N900 the connection did establish between devices but the sound did not came through to my BT handset.

So how am I able to "change" HFP and HSP profiles back on?

Anybody who knows something because I don't :confused:

VDVsx 2009-12-17 17:53

Re: N900 not finding BT devices
 
Quote:

Originally Posted by OskariU (Post 431060)
I think the problem has something to do with bluetooth profiles. I think that my N900 somehow can't use the handset profiles. Before I unpaired my headset from N900 the connection did establish between devices but the sound did not came through to my BT handset.

So how am I able to "change" HFP and HSP profiles back on?

Anybody who knows something because I don't :confused:

I already saw similar problems with PC-connection-manager, please check under '/etc/bluetooth/main.conf' if this line is not commented (#) : DisablePlugins = network,input,hal


PS. I don't know your level of expertise, if these instructions aren't clear enough for you, please tell me.

OskariU 2009-12-17 21:11

Re: N900 not finding BT devices
 
Quote:

Originally Posted by VDVsx (Post 432176)
I already saw similar problems with PC-connection-manager, please check under '/etc/bluetooth/main.conf' if this line is not commented (#) : DisablePlugins = network,input,hal


PS. I don't know your level of expertise, if these instructions aren't clear enough for you, please tell me.

I'm glad you asked :) My expertise is high in using the apps but in this kind of stuff very low. So I would be happy if you could clarify this for me. But thanks if this solves the problem. This is so annoying...

VDVsx 2009-12-17 23:07

Re: N900 not finding BT devices
 
Quote:

Originally Posted by OskariU (Post 432463)
I'm glad you asked :) My expertise is high in using the apps but in this kind of stuff very low. So I would be happy if you could clarify this for me. But thanks if this solves the problem. This is so annoying...

Ok, so first we need to find if this is really the issue.

1 - Install rootsh (available in Extras)
2 - Open X terminal and type: sudo gainroot
3 - Again in terminal type: vi /etc/bluetooth/main.conf
3 - At the beginning of the file you should have: 'DisablePlugins = network...' If this line is proceeded by one #, it means that the line is commented, if the line is not commented stop here.
4 - Press i (edit mode)
5 - Remove the #
6 - Press Esc (on screen button) and then type: :w (write) hit enter, and :q (quit) hit enter
7 - Now you need to restart the bluetooth system, you can reboot the device or you can type: stop bluetoothd (stop the system) hit enter, and than: start bluetoothd (start the system again) hit enter.

HTH

OskariU 2009-12-18 18:14

Re: N900 not finding BT devices
 
I really appreciate your help. But this didn't solve the problem. I did understand what you meant, I have enough skills for that. I did like you said, but no, headsets not found.

This is how my blutooth main.conf looks like now (no # lines mentioned):

DisablePlugins = network,input,hal

Name = Nokia N900

Class = 0x00020c
...
DiscoverableTimeout = 0

PairableTimeout = 0

PageTimeout = 8192

DiscoverSchedulerInterval = 0

IntiallyPowered = false

RememberPowered = true

# DeviceID = 1234:5678:abcd

ReverseServiceDiscovery = true

NameResolving = true

VDVsx 2009-12-18 22:22

Re: N900 not finding BT devices
 
Quote:

Originally Posted by OskariU (Post 433687)
I really appreciate your help. But this didn't solve the problem. I did understand what you meant, I have enough skills for that. I did like you said, but no, headsets not found.

This is how my blutooth main.conf looks like now (no # lines mentioned):

DisablePlugins = network,input,hal

Name = Nokia N900

Class = 0x00020c
...
DiscoverableTimeout = 0

PairableTimeout = 0

PageTimeout = 8192

DiscoverSchedulerInterval = 0

IntiallyPowered = false

RememberPowered = true

# DeviceID = 1234:5678:abcd

ReverseServiceDiscovery = true

NameResolving = true

Everything seems correct, but you don't have in the first line of the file this descriptor: "[General]" ?

For reference the default aspect of the file is something like this:
Code:

                                                                           
[General]                                                                   
                                                                           
# List of plugins that should not be loaded on bluetoothd startup           
DisablePlugins=network,input,hal                                                 
                                                                           
# Default adaper name                                                       
# %h - substituted for hostname                                             
# %d - substituted for adapter id                                           
Name=Nokia N900                                                             
                                                                           
# Default device class. Only the major and minor device class bits are     
# considered.                                                               
Class=0x00020c                                                             
                                                                           
# How long to stay in discoverable mode before going back to non-discoverable 
# The value is in seconds. Default is 180, i.e. 3 minutes.                   
# 0 = disable timer, i.e. stay discoverable forever                           
DiscoverableTimeout=0             

# How long to stay in pairable mode before going back to non-discoverable   
# The value is in seconds. Default is 0.                                   
# 0 = disable timer, i.e. stay pairable forever                             
PairableTimeout=0                                                           
                                                                           
# Use some other page timeout than the controller default one               
# which is 16384 (10 seconds).                                             
PageTimeout=8192                                                           
                                                                           
# Discover scheduler interval used in Adapter.DiscoverDevices               
# The value is in seconds. Defaults is 0 to use controller scheduler.       
DiscoverSchedulerInterval=0                                                 
                                                                           
# What value should be assumed for the adapter Powered property when       
# SetProperty(Powered, ...) hasn't been called yet. Defaults to true       
InitiallyPowered=false                                                       
                                                                             
# Remember the previously stored Powered state when initializing adapters     
RememberPowered=true     

# Use vendor, product and version information for DID profile support.     
# The values are separated by ":" and VID, PID and version.                 
#DeviceID = 1234:5678:abcd                                                 
                                                                           
# Do reverse service discovery for previously unknown devices that connect to
# us. This option is really only needed for qualification since the BITE tester
# doesn't like us doing reverse SDP for some test cases (though there could in
# theory be other useful purposes for this too). Defaults to true.           
ReverseServiceDiscovery=true                                                 
                                                                             
# Enable name resolving after inquiry. Set it to 'false' if you don't need   
# remote devices name and want shorter discovery cycle. Defaults to 'true'.   
NameResolving=true

If your file is different, for e.g doesn't have the text comments is because it was wrongly parsed by some application, but the problem should be somewhere else.

amorek13 2009-12-18 23:30

Re: N900 not finding BT devices
 
Quote:

Originally Posted by VDVsx (Post 432648)
Ok, so first we need to find if this is really the issue.

1 - Install rootsh (available in Extras)
2 - Open X terminal and type: sudo gainroot
3 - Again in terminal type: vi /etc/bluetooth/main.conf
3 - At the beginning of the file you should have: 'DisablePlugins = network...' If this line is proceeded by one #, it means that the line is commented, if the line is not commented stop here.
4 - Press i (edit mode)
5 - Remove the #
6 - Press Esc (on screen button) and then type: :w (write) hit enter, and :q (quit) hit enter
7 - Now you need to restart the bluetooth system, you can reboot the device or you can type: stop bluetoothd (stop the system) hit enter, and than: start bluetoothd (start the system again) hit enter.

HTH

i am getting a message that "q" is not implemented


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

vBulletin® Version 3.8.8