View Single Post
VDVsx's Avatar
Posts: 1,070 | Thanked: 1,604 times | Joined on Sep 2008 @ Helsinki
#9
Originally Posted by OskariU View Post
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.
__________________
Valério Valério
www.valeriovalerio.org