All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Audio service class?
@ 2005-09-18 16:32 Matthew Marshall
  2005-09-18 22:02 ` Brad Midgley
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Marshall @ 2005-09-18 16:32 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Audio service class?
  2005-09-18 22:02 ` Brad Midgley
@ 2005-09-18 17:21   ` Matthew Marshall
  2005-09-19  3:47     ` Brad Midgley
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Marshall @ 2005-09-18 17:21 UTC (permalink / raw)
  To: bluez-users

On Sunday 18 September 2005 10:02 pm, Brad Midgley wrote:
> Matthew
>
> > 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.

> > 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Audio service class?
  2005-09-18 16:32 [Bluez-users] Audio service class? Matthew Marshall
@ 2005-09-18 22:02 ` Brad Midgley
  2005-09-18 17:21   ` Matthew Marshall
  0 siblings, 1 reply; 5+ messages in thread
From: Brad Midgley @ 2005-09-18 22:02 UTC (permalink / raw)
  To: bluez-users

Matthew

> 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?

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Audio service class?
  2005-09-18 17:21   ` Matthew Marshall
@ 2005-09-19  3:47     ` Brad Midgley
  2005-09-19 16:51       ` Matthew Marshall
  0 siblings, 1 reply; 5+ messages in thread
From: Brad Midgley @ 2005-09-19  3:47 UTC (permalink / raw)
  To: 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

Matthew Marshall wrote:
> On Sunday 18 September 2005 10:02 pm, Brad Midgley wrote:
> 
>>Matthew
>>
>>
>>>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.
> 
> 
>>>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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-users] Audio service class?
  2005-09-19  3:47     ` Brad Midgley
@ 2005-09-19 16:51       ` Matthew Marshall
  0 siblings, 0 replies; 5+ messages in thread
From: Matthew Marshall @ 2005-09-19 16:51 UTC (permalink / raw)
  To: 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

On Monday 19 September 2005 03:47 am, Brad Midgley wrote:
> 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
>
> Matthew Marshall wrote:
> > On Sunday 18 September 2005 10:02 pm, Brad Midgley wrote:
> >>Matthew
> >>
> >>>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.
> >
> >>>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
> > Bluez-users@lists.sourceforge.net
> > 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
> Bluez-users@lists.sourceforge.net
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-09-19 16:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-18 16:32 [Bluez-users] Audio service class? Matthew Marshall
2005-09-18 22:02 ` Brad Midgley
2005-09-18 17:21   ` Matthew Marshall
2005-09-19  3:47     ` Brad Midgley
2005-09-19 16:51       ` Matthew Marshall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.