hi community,
I am using Dreamlinux 3.5 desktop edition. I recently upgraded to bluez 4.42 and bluez-gnome 1.27-1. my device seems configured but i fail to pair my phone
raghu@DL:~$ sudo hciconfig -a
hci0: Type: USB
BD Address: 00:1D:D9:EF:BC:B2 ACL MTU: 1017:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:882 acl:0 sco:0 events:49 errors:0
TX bytes:461 acl:0 sco:0 commands:49 errors:0
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'DL-0'
Class: 0x5a210c
Service Classes: Networking, Capturing, Object Transfer, Telephony
Device Class: Computer, Laptop
HCI Ver: 2.0 (0x3) HCI Rev: 0x213b LMP Ver: 2.0 (0x3) LMP Subver: 0x41d3
Manufacturer: Broadcom Corporation (15)
raghu@DL:~$ hcitool scan
Scanning ...
00:1D:25:2C:DF:52 Kalyan
00:16:41:B9:D7:2A WEBLAYS02
00:1C:BD:7F:6C:AE Fly SX210
raghu@DL:~$ hcitool dev
Devices:
hci0 00:1D:D9:EF:BC:B2
however when i try to connect to my "fly sx210" mobile phone the pin is asked in the phone, when i enter the pin i get this
raghu@DL:~$ hidd --connect 00:1C:BD:7F:6C:AE
Can't get device information: Invalid exchange
raghu@DL:~$ sudo hcitool cc 00:1C:BD:7F:6C:AE
Can't create connection: Input/output error
then i check bluetoothd i get unable to get on DBus
raghu@DL:~$ sudo bluetoothd -nd
bluetoothd[8382]: Bluetooth daemon 4.42
bluetoothd[8382]: Enabling debug information
bluetoothd[8382]: parsing main.conf
bluetoothd[8382]: discovto=0
bluetoothd[8382]: pairto=0
bluetoothd[8382]: pageto=8192
bluetoothd[8382]: name=%h-%d
bluetoothd[8382]: class=0x5a210c
bluetoothd[8382]: discov_interval=0
bluetoothd[8382]: Key file does not have key 'DeviceID'
bluetoothd[8382]: Unable to get on D-Bus
then i did modprobe btusb reset =1 still i get the same result
my /etc/Dbus-1/system.conf is like this
<policy context="default">
<!-- All users can connect to system bus -->
<allow user="*"/>
<!-- Holes must be punched in service configuration files for
name ownership and sending method calls -->
<deny own="*"/>
<deny send_type="method_call"/>
<!-- Signals and reply messages (method returns, errors) are allowed
by default -->
<allow send_type="signal"/>
<!-- commented out part
<allow send_requested_reply="true" send_type="method_return"/>
<allow send_requested_reply="true" send_type="error"/>
-->
<!-- Newly added line to fix permission problems -->
<allow send_requested_reply="true" />
<!-- All messages may be received by default -->
<allow receive_type="method_call"/>
<allow receive_type="method_return"/>
<allow receive_type="error"/>
<allow receive_type="signal"/>
<!-- Allow anyone to talk to the message bus -->
<allow send_destination="org.freedesktop.DBus"/>
<!-- But disallow some specific bus services -->
<deny send_destination="org.freedesktop.DBus"
send_interface="org.freedesktop.DBus"
send_member="UpdateActivationEnvironment"/>
</policy>
my hcid.conf is as follows
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 auto;
# 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 "%h-%d";
# Local device class
class 0x5a210c;
# 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;
}
no matter what i try my bluetoothd cant get on DBus and also my bluetooth applet does not appear as it says
raghu@DL:~$ bluetooth-applet
Bluetooth OBEX server failed: Could not create server socket
Bluetooth FTP server failed: Could not create server socket
please suggest a solution as everthing used to work perfectly before the upgrade, it has been a very frustrating week.
my email is
raghuramconu@gmail.com
thanks in advance
Raghuram