Audio service class?
Hello,
I am wanting to use a bluetooth headset with bluetooth-alsa. However, I
haven't been able get the dongle to pick up the headset. hciconfig -a gives me this output:
hci0: Type: USB
BD Address: 00:13:EF:F0:D0:6A ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN
RX bytes:404 acl:0 sco:0 events:18 errors:0
TX bytes:323 acl:0 sco:0 commands:18 errors:0
Features: 0xff 0xff 0x8f 0xf8 0x18 0x18 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'BlueZ (0)'
Class: 0x3e0100
Service Classes: Networking, Rendering, Capturing
Device Class: Computer, Uncategorized
HCI Ver: 1.2 (0x2) HCI Rev: 0x639 LMP Ver: 1.2 (0x2) LMP Subver: 0x639
Manufacturer: Cambridge Silicon Radio (10)
The class is set to 0x3e0100, but Audio is not included in the Service Classes list. (I assume this is the reason why the headset is not being detected.) Is the Audio service class not supported by some dongles? Is there some kernel option that needs to be set?
I am using Arch linux with kernel 2.6.12, bluez-lib and bluez-util 2.20.
Anyone know what might be wrong?
Thanks for any help!
MWM
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 5 lines · Brad Midgley
Matthew
Quoted 1 line
haven't been able get the dongle to pick up the headset.
what does this mean? it isn't found by 'hcitool scan' or something?
Yeah, that's what I mean.
Quoted 5 lines
Quoted 3 lines
The class is set to
0x3e0100, but Audio is not included in the Service Classes list. (I assume this is the reason why the headset is not being detected.)the host sets the service class mask--it's not a feature of the dongle.
That's what I thought. From the hcid.conf man page, I see that Audio is bit 6 which is set by 0x3e. So why isn't Audio listed? (For that matter, 0x3e should also enable Object Transfer, which isn't in the list either.) I tried other classes as well, with no success. (Such as 0x200100, which should give me only Audio, but gives me nothing.)
Any clue what is causing this?
Thanks!
MWM
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Matthew
Quoted 1 line
haven't been able get the dongle to pick up the headset.
what does this mean? it isn't found by 'hcitool scan' or something?
Quoted 1 line
The class is set to
0x3e0100, but Audio is not included in the Service Classes list. (I assume this is the reason why the headset is not being detected.)
the host sets the service class mask--it's not a feature of the dongle.
brad
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Matthew,
Device class on the host seems to be a first-level service advertisement queried by devices initiating a connection to the host. Device class, sdp record, and listening/server socket are all necessary to accept a new connection "cold" from the headset. We don't support this currently, but we should.
We do have a lot of trouble with dual boot systems or using a dongle on different hosts to talk to the same headset. Are you doing either of those? (we have some hints on bluetooth-alsa.sf.net)
You're putting the headset in pairing mode before the scan, right? Most sets flash between blue and red while in pairing mode.
Brad
Quoted 29 lines · Matthew Marshall
Quoted 6 lines · Brad Midgley
Matthew
Quoted 1 line
haven't been able get the dongle to pick up the headset.
what does this mean? it isn't found by 'hcitool scan' or something?
Yeah, that's what I mean.
Quoted 5 lines
Quoted 3 lines
The class is set to
0x3e0100, but Audio is not included in the Service Classes list. (I assume this is the reason why the headset is not being detected.)the host sets the service class mask--it's not a feature of the dongle.
That's what I thought. From the hcid.conf man page, I see that Audio is bit 6 which is set by
0x3e. So why isn't Audio listed? (For that matter,0x3eshould also enable Object Transfer, which isn't in the list either.) I tried other classes as well, with no success. (Such as0x200100, which should give me only Audio, but gives me nothing.)Any clue what is causing this?
Thanks!
MWM
Quoted 8 lines
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi Brad,
Thanks for the help!
Turns out I made a stupid mistake... I was using ciptool instead of hcitool :$ I guess the fact that the Audio service class isn't show doesn't matter?
Anyway, although I am now able to detect the headset, I'm still having problems. I'll play with it some more, and come back here if I cannot figure it out on my own :P
Thanks!
MWM
Quoted 57 lines · Brad Midgley
Matthew,
Device class on the host seems to be a first-level service advertisement queried by devices initiating a connection to the host. Device class, sdp record, and listening/server socket are all necessary to accept a new connection "cold" from the headset. We don't support this currently, but we should.
We do have a lot of trouble with dual boot systems or using a dongle on different hosts to talk to the same headset. Are you doing either of those? (we have some hints on bluetooth-alsa.sf.net)
You're putting the headset in pairing mode before the scan, right? Most sets flash between blue and red while in pairing mode.
Brad
Quoted 28 lines · Matthew Marshall
Quoted 5 lines · Brad Midgley
Matthew
Quoted 1 line
haven't been able get the dongle to pick up the headset.
what does this mean? it isn't found by 'hcitool scan' or something?
Yeah, that's what I mean.
Quoted 5 lines
Quoted 3 lines
The class is set to
0x3e0100, but Audio is not included in the Service Classes list. (I assume this is the reason why the headset is not being detected.)the host sets the service class mask--it's not a feature of the dongle.
That's what I thought. From the hcid.conf man page, I see that Audio is bit 6 which is set by
0x3e. So why isn't Audio listed? (For that matter,0x3eshould also enable Object Transfer, which isn't in the list either.) I tried other classes as well, with no success. (Such as0x200100, which should give me only Audio, but gives me nothing.)Any clue what is causing this?
Thanks!
MWM
Quoted 10 lines
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play:
http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 9 lines
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users