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

VDVsx 2009-12-18 23:54

Re: N900 not finding BT devices
 
Quote:

Originally Posted by amorek13 (Post 433948)
i am getting a message that "q" is not implemented

Yes 'q' isn't but ':q' is: "and :q (quit) hit enter".

j.s 2009-12-19 00:09

Re: N900 not finding BT devices
 
Quote:

Originally Posted by amorek13 (Post 433948)
i am getting a message that "q" is not implemented

A substitute for #6 is: Esc ZZ

That is press and release Esc key, then capital Z twice.

amorek13 2009-12-19 00:19

Re: N900 not finding BT devices
 
thank you guys got it to work

OskariU 2009-12-19 14:25

Re: N900 not finding BT devices
 
Quote:

Originally Posted by VDVsx (Post 433908)
Everything seems correct, but you don't have in the first line of the file this descriptor: "[General]" ?

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.

I have all the text lines, I just didn't bother writing them down. I also have "[General]". Do you have any idea where to find the solution next?

VDVsx 2009-12-19 14:33

Re: N900 not finding BT devices
 
Quote:

Originally Posted by OskariU (Post 434390)
I have all the text lines, I just didn't bother writing them down. I also have "[General]". Do you have any idea where to find the solution next?

If your headset worked before, the easier way is a reflash, I would say. You can analyze the transmitted Bluetooth packages and try to find the problem but is not easy if you don't have knowledge of the BlueZ stack.

x61 2009-12-19 15:11

Re: N900 not finding BT devices
 
I am in the or similar problem. It seems my BT headset is discovered but is not showing on the phone. There is beeb sound on the headset every minute or so or whenever I tried turning on/off the bluetooth. Anybody sucessfully connect to NOKIA BH-703 BLUETOOTH HEADSET.

Here is my bluetooth conf profile:
Quote:

[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

x61 2009-12-19 15:12

Re: N900 not finding BT devices
 
I am in the or similar problem. It seems my BT headset is discovered but is not showing on the phone. There is beeb sound on the headset every minute or so or whenever I tried turning on/off the bluetooth. Anybody sucessfully connect to NOKIA BH-703 BLUETOOTH HEADSET.

Here is my bluetooth conf profile:
Quote:

[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

OskariU 2009-12-19 17:07

Re: N900 not finding BT devices
 
My love-hate relationship with technology keeps growing and growing. I now tried to flash N900 according to instructions found in a wiki and the problem seems now to be my computer's usb which does not handle flashing and N900 very well... Ok, I don't need instructions for that. I decided to live without bluetooth for a while, at least.

Do you guys think next fw update could possibly fix my BT problem?

VDVsx 2009-12-19 17:22

Re: N900 not finding BT devices
 
Quote:

Originally Posted by OskariU (Post 434545)
My love-hate relationship with technology keeps growing and growing. I now tried to flash N900 according to instructions found in a wiki and the problem seems now to be my computer's usb which does not handle flashing and N900 very well... Ok, I don't need instructions for that. I decided to live without bluetooth for a while, at least.

Do you guys think next fw update could possibly fix my BT problem?

Q: Does your headset worked before with the n900 ? or never worked ? (I understood that it worked, probably miss read)

OskariU 2009-12-19 17:24

Re: N900 not finding BT devices
 
Quote:

Originally Posted by VDVsx (Post 434561)
Q: Does your headset worked before with the n900 ? or never worked ? (I understood that it worked, probably miss read)

Yep, it worked. Before that f*****g connectivity manager. So I think the problem isn't hardware.

VDVsx 2009-12-19 17:47

Re: N900 not finding BT devices
 
Quote:

Originally Posted by OskariU (Post 434564)
Yep, it worked. Before that f*****g connectivity manager. So I think the problem isn't hardware.

Ok, so a reflash should bring it back again. Could be a software bug or a none supported headset, but since it worked, the issue should be related to something that you broke in your system with some application.


All times are GMT. The time now is 11:41.

vBulletin® Version 3.8.8