2006-01-11 22:08:30

by Niv

[permalink] [raw]
Subject: [Bluez-users] headset wont work <sdp?>

Thanks to all how helped port bluetooth to linux,
I have joined the mailin-list about a week ago. I notice that Brad and
Marchel answer ppl, so,let me try to make this a good question:

I am running Gentoo 2005.1 with ck-sources kernel 2.6.14-ck8. I had
bt_sco working for a while. here is my dongle:
hci0: Type: USB
BD Address: 00:10:60:A8:86:A3 ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:4112 acl:0 sco:0 events:392 errors:0
TX bytes:4094 acl:0 sco:0 commands:214 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'blacky does BT device (0)'
Class: 0x3e0100
Service Classes: Networking, Rendering, Capturing
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x33c LMP Ver: 1.1 (0x1) LMP Subver:
0x33c
Manufacturer: Cambridge Silicon Radio (10)

I am tring to use a logitech mobile freedom :
# hcitool info 00:0D:44:33:E1:63
Requesting information ...
BD Address: 00:0D:44:33:E1:63
Device Name: Logitech HS02-V07

yet when I try to find the channel:
# sdptool search --bdaddr 00:0D:44:33:E1:63 0x1108
Class 0x1108
Failed to connect to SDP server on 00:0D:44:33:E1:63: Permission denied

my probelm is that I follow the guide at bluetooth-alsa.sourceforge.net
and when I:
# esdctl stop
blacky niv # hciconfig hci0 voice 0x0060
blacky niv # btsco2 00:0D:44:33:E1:63
Device is 2:0
Voice setting: 0x0060
Can't connect RFCOMM channelCan't connect RFCOMM channelCan't connect
RFCOMM channelCan't connect RFCOMM channelCan't connect RFCOMM
channelCan't connect RFCOMM channelCan't connect RFCOMM channelCan't
connect RFCOMM channelCan't connect RFCOMM channelCan't connect RFCOMM
channelCan't connect RFCOMM channelCan't connect RFCOMM channelCan't
connect RFCOMM channet

I also tried it with btsco and even with "1" as it uses channel 1. still
same response.
I tried restarting both alsa deamon and the bluetooth. same thing.
I think I m using the current version - as I emerged it two days ago,
how can I tell what version I use?

Thanks a lot,
Niv


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2006-01-13 03:20:55

by Niv

[permalink] [raw]
Subject: Re: [Bluez-users] headset wont work <sdp?>

YES! so sweet!

RTFM - (mailing list wise) did pay off

1. I am using a bluetooth USB adaptor named: billionton V1.1 P/N
USBBT02-B (has the CSR core 02) the barcode reads 6 45988 25000 1
2. I can hear music on my logitech mobile freedom V1.2 (also worked on a
V1.1 in the past) via btsco. I have also tested two way conversation via
skype.
3. I can hear music on my *CC&C Technologies, Inc **BT-MINI-HS (picture
is here: http://www.geeks.com/details.asp?invtid=BT-MINI-HS ).*
I also managed to hear high quality audio (A2DP) on them.

Niv
**


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-01-13 01:47:02

by Niv

[permalink] [raw]
Subject: Re: [Bluez-users] headset wont work <sdp?>

blacky niv # hcid -n
hcid[28261]: Bluetooth HCI daemon
hcid[28261]: Can't open system message bus connection: Failed to connect
to socket /var/run/dbus/system_bus_socket: No such file or directory
hcid[28261]: Starting security manager 0
hcid[28261]: Registering DBUS Path: /org/bluez/Device/hci0
Segmentation fault
blacky niv # ls -la /var/run/dbus/system_bus_socket
ls: /var/run/dbus/system_bus_socket: No such file or directory
blacky niv # locate system_bus_socket
blacky niv # /etc/init.d/dbus
dbus dbus.init-0.60
blacky niv # /etc/init.d/dbus
dbus dbus.init-0.60
blacky niv # /etc/init.d/dbus start
* Starting D-BUS system messagebus
... [ ok ]
blacky niv # hcid -n
hcid[28466]: Bluetooth HCI daemon
hcid[28466]: Starting security manager 0
hcid[28466]: Registering DBUS Path: /org/bluez/Manager/default/Controller
hcid[28466]: Registering DBUS Path: /org/bluez/Manager/hci0/Controller
hcid[28466]: Registering DBUS Path: /org/bluez/Device/hci0

wait a min , aint dbus in the dependend /etc/init.d/bluetooth ?


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-01-12 22:43:44

by Niv

[permalink] [raw]
Subject: Re: [Bluez-users] headset wont work <sdp?>

sorry for postting so much, its just that I am putting an effort to
resolve it by myself.
I am at the point of suspecting the headset aint pairing right:
> HCI Event: PIN Code Request (0x16) plen 6
bdaddr 00:02:72:E1:03:6A
> ACL data: handle 41 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0000 scid 0x0041 result 3 status 0
Connection refused - security block
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 41 reason 0x13
Reason: Remote User Terminated Connection

I deleted all content of /var/lib/bluetooth/<dongle addr
>/ and I also turned auth and encrypt off in hcid.conf

when I reset /etc/init.d/bluetooth I see:
* Starting Bluetooth ...
* Starting hcid
... [ !! ]
* Starting sdpd
... [ ok ]
* Starting rfcomm
... [ ok ]

I have already uninstall and reinstall all bluez as well as
bluetooth-alsa to the latest version
:-(
Niv


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2006-01-12 18:14:59

by Niv

[permalink] [raw]
Subject: Re: [Bluez-users] headset wont work <sdp?>

More info:


# hcidump -X
HCI sniffer - Bluetooth packet analyzer ver 1.27
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
> HCI Event: Command Complete (0x0e) plen 6
0000: 01 25 0c 00 60 00 .%..



> I am running Gentoo 2005.1 with ck-sources kernel 2.6.14-ck8. I had
> bt_sco working for a while. here is my dongle:
> hci0: Type: USB
> BD Address: 00:10:60:A8:86:A3 ACL MTU: 192:8 SCO MTU: 64:8
> UP RUNNING PSCAN ISCAN
> RX bytes:4112 acl:0 sco:0 events:392 errors:0
> TX bytes:4094 acl:0 sco:0 commands:214 errors:0
> Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
> Link policy: RSWITCH HOLD SNIFF PARK
> Link mode: SLAVE ACCEPT
> Name: 'blacky does BT device (0)'
> Class: 0x3e0100
> Service Classes: Networking, Rendering, Capturing
> Device Class: Computer, Uncategorized
> HCI Ver: 1.1 (0x1) HCI Rev: 0x33c LMP Ver: 1.1 (0x1) LMP
> Subver: 0x33c
> Manufacturer: Cambridge Silicon Radio (10)
>
> I am tring to use a logitech mobile freedom :
> # hcitool info 00:0D:44:33:E1:63
> Requesting information ...
> BD Address: 00:0D:44:33:E1:63
> Device Name: Logitech HS02-V07
>
> yet when I try to find the channel:
> # sdptool search --bdaddr 00:0D:44:33:E1:63 0x1108
> Class 0x1108
> Failed to connect to SDP server on 00:0D:44:33:E1:63: Permission denied
>
> my probelm is that I follow the guide at
> bluetooth-alsa.sourceforge.net and when I:
> # esdctl stop
> # hciconfig hci0 voice 0x0060
> # btsco2 -v 00:0D:44:33:E1:63
> Device is 2:0
> Voice setting: 0x0060
> Can't connect RFCOMM channelCan't connect RFCOMM channelCan't connect
> RFCOMM channelCan't connect RFCOMM channelCan't connect RFCOMM
> channelCan't connect RFCOMM channelCan't connect RFCOMM channelCan't
> connect RFCOMM channelCan't connect RFCOMM channelCan't connect RFCOMM
> channelCan't connect RFCOMM channelCan't connect RFCOMM channelCan't
> connect RFCOMM channet
>
> I also tried it with btsco and even with "1" as it uses channel 1.
> still same response.
> I tried restarting both alsa deamon and the bluetooth. same thing.
> I think I m using the current version - as I emerged it two days ago,
> how can I tell what version I use?
>
> Thanks a lot,
> Niv




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users