Hey guys, I'm having a strange problem! I've installed and configured Bluez in my zenwalk linux (for the guys that don't know this distro
www.zenwalk.org), ok in text mode my bluetooth is running, at least it can find and be found by others bluetooth devices! I've installed to, the kdebluetooth package, when I run kbluetoothd without usb bluetooth adapter, no problem, but when I connect the adapter, this message appears:
[HTML]"To use the kbtobexsrv service, some other devices might require a modified class number for
your bluetooth adapter in /etc/bluetooth/hcid.conf.
Currently the class is set to 0x100. We suggest you change this to something like 0x100100
instead and restart BlueZ's hcid. The service will be activated anyway."[/HTML]
after I click in ok, kbluetoothd crashs!!
I've modified hcid.conf class number, restarted the rc.bluetooth, restarted after the system, but the same message is showed, neither the number of the current class change!
I'm adding here my hcid.conf file, I hope it can help:
Code:
#
# HCI daemon configuration file.
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security user;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# Default PIN code for incoming connections
passkey "1234";
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "bluetooth (%d)";
# Local device class
class 0x100100;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
lp rswitch,hold,sniff,park;
}
Please, someone help me!!