public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] strange btsco error
@ 2005-02-19 10:25 Florian Echtler
  2005-02-19 21:05 ` [Bluez-users] " Sebastian Roth
  0 siblings, 1 reply; 7+ messages in thread
From: Florian Echtler @ 2005-02-19 10:25 UTC (permalink / raw)
  To: bluez-users

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello everyone,

I was trying to get my BT headset running with btsco today.
This has the following result:

[root@block:/usr/src/btsco-20040219][0] $ ./btsco 00:0D:FD:.....
Device is 2:0
Error: btsco open (2-0): No such device or address

[root@block:/usr/src/btsco-20040219][255] $ 

The same happens with btsco2 after a short pause, in which a
connection seems to be established for a moment (BTW, what's
the difference between btsco and btsco2?).

Obviously, the error happens in snd_hwdep_open(), and a bit of
digging showed that the real troublemaker is some alsa-lib sub-
routine called snd_config_search_alias_hooks(). I know that
this therefore is primarily an ALSA error, but maybe one of the
authors of btsco has an idea anyway? Do I need some additional
ALSA configuration to use this?

Thanks in advance,
Yours, Florian
- -- 
Preserve wildlife - pickle a squirrel today!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCFxQf7CzyshGvatgRAgo6AKD97SZYWtG9MR0UlqIKf90aJ8zg8ACgslR4
n1v2jwYfOS19H8z2r4TknWU=
=Fsv8
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] Re: strange btsco error
  2005-02-19 10:25 [Bluez-users] strange btsco error Florian Echtler
@ 2005-02-19 21:05 ` Sebastian Roth
  2005-02-20  7:59   ` Florian Echtler
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Roth @ 2005-02-19 21:05 UTC (permalink / raw)
  To: bluez-users

Hi Florian!

 > [root@block:/usr/src/btsco-20040219][0] $ ./btsco 00:0D:FD:.....
 > Device is 2:0
 > Error: btsco open (2-0): No such device or address
Is your headset in the list of ALSA devices and the ALSA soundsystem
started? (cat /proc/asound/cards)

 > BTW, what's the difference between btsco and btsco2?
Have a look at the source :-)

Best regards,
Sebastian



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: strange btsco error
  2005-02-19 21:05 ` [Bluez-users] " Sebastian Roth
@ 2005-02-20  7:59   ` Florian Echtler
  2005-02-20 16:18     ` Sebastian Roth
  0 siblings, 1 reply; 7+ messages in thread
From: Florian Echtler @ 2005-02-20  7:59 UTC (permalink / raw)
  To: bluez-users

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> > [root@block:/usr/src/btsco-20040219][0] $ ./btsco 00:0D:FD:.....
> > Device is 2:0
> > Error: btsco open (2-0): No such device or address
> Is your headset in the list of ALSA devices and the ALSA soundsystem
> started? (cat /proc/asound/cards)

1. No, it isn't. However, this should not matter, as I stated that this
   error happens _before_ any bluetooth specific code is executed, in
   btsco.c, line 356: snd_hwdep_open().

2. cat /proc/asound/cards:

0 [CK8            ]: NFORCE - NVidia CK8
                     NVidia CK8 with ALC650F at 0xe8000000, irq 21
1 [U0x46d0x8b0    ]: USB-Audio - USB Device 0x46d:0x8b0
                     USB Device 0x46d:0x8b0 at usb-0000:00:02.0-2.4, full speed
2 [Headset        ]: Bluetooth SCO - BT Headset
                     BT Headset 1

Yours, Florian
- -- 
Preserve wildlife - pickle a squirrel today!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCGENg7CzyshGvatgRApfpAJ9imiZYq35qYnj975JU7E0/IaC3LACfWx2h
06k/NCPJ4OTlOljCSCbI66U=
=XN1E
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] Re: strange btsco error
  2005-02-20  7:59   ` Florian Echtler
@ 2005-02-20 16:18     ` Sebastian Roth
  2005-02-22  9:50       ` Florian Echtler
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Roth @ 2005-02-20 16:18 UTC (permalink / raw)
  To: bluez-users

Hi Florian,

I think your answer is a bit confusing.

> 1. No, it isn't. However, this should not matter, as I stated that this
>    error happens _before_ any bluetooth specific code is executed, in
>    btsco.c, line 356: snd_hwdep_open().
> 
> 2. cat /proc/asound/cards:
> 
> 0 [CK8            ]: NFORCE - NVidia CK8
>                      NVidia CK8 with ALC650F at 0xe8000000, irq 21
> 1 [U0x46d0x8b0    ]: USB-Audio - USB Device 0x46d:0x8b0
>                      USB Device 0x46d:0x8b0 at usb-0000:00:02.0-2.4, full speed
> 2 [Headset        ]: Bluetooth SCO - BT Headset
>                      BT Headset 1

As your output of 2. shows it _is_ in the list. That's good!

I found a thread in the mailing list:
http://thread.gmane.org/gmane.linux.bluez.devel/4000

Are you able to open the device using alsamixer as suggested by Lars
Grunewaldt?

Best regards,
Sebastian




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: strange btsco error
  2005-02-20 16:18     ` Sebastian Roth
@ 2005-02-22  9:50       ` Florian Echtler
  2005-02-22 11:41         ` Florian Echtler
  0 siblings, 1 reply; 7+ messages in thread
From: Florian Echtler @ 2005-02-22  9:50 UTC (permalink / raw)
  To: bluez-users

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I found a thread in the mailing list:
> http://thread.gmane.org/gmane.linux.bluez.devel/4000
> Are you able to open the device using alsamixer as suggested by Lars
> Grunewaldt?
Yes, that works. The ALSA device exists and can be opened, however (as I
already stated twice now) the error is somewhere in the HwDep part of 
alsa-lib. After reading the above thread, it seems to me that not using
the separate alsa-drivers, but those in the kernel, might be a solution.

Any experiences with that? Better kernel ALSA or standalone ALSA?

Yours, Florian
- -- 
Preserve wildlife - pickle a squirrel today!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCGwB37CzyshGvatgRAkOBAJ9NwaVkSBOBlXRnoHTaEA8YHPZSHwCg1Z3F
27jqM1q4U6SLTMUDL0EaApY=
=hWTL
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: strange btsco error
  2005-02-22  9:50       ` Florian Echtler
@ 2005-02-22 11:41         ` Florian Echtler
  2005-02-22 20:42           ` Brad Midgley
  0 siblings, 1 reply; 7+ messages in thread
From: Florian Echtler @ 2005-02-22 11:41 UTC (permalink / raw)
  To: bluez-users

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Any experiences with that? Better kernel ALSA or standalone ALSA?

Well, I solved that one by myself (see also 
http://thread.gmane.org/gmane.linux.bluez.devel/3790). Obviously,
kernel ALSA is necessary (I'm using 2.6.10-mh2).

Two things therefore:
1. the B-Speech Elect Headset works fine (now ;)
2. on the bluetooth-alsa site, you should really mention that external
   ALSA drivers (at least 1.0.8) won't work! (as already asked for in 
   the above thread)

Yours, Florian
- -- 
Preserve wildlife - pickle a squirrel today!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCGxp+7CzyshGvatgRAsMOAKDlUbCE1vJw3zB2W/w4bYa2/6dg+ACcDdvW
HO16/AOvfxJu+Bw5x/flhPg=
=5mjw
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Re: strange btsco error
  2005-02-22 11:41         ` Florian Echtler
@ 2005-02-22 20:42           ` Brad Midgley
  0 siblings, 0 replies; 7+ messages in thread
From: Brad Midgley @ 2005-02-22 20:42 UTC (permalink / raw)
  To: bluez-users

Florian,

I added a note about kernel alsa to the docs at bluetooth-alsa.sf.net

Brad

Florian Echtler wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
>>Any experiences with that? Better kernel ALSA or standalone ALSA?
> 
> 
> Well, I solved that one by myself (see also 
> http://thread.gmane.org/gmane.linux.bluez.devel/3790). Obviously,
> kernel ALSA is necessary (I'm using 2.6.10-mh2).
> 
> Two things therefore:
> 1. the B-Speech Elect Headset works fine (now ;)
> 2. on the bluetooth-alsa site, you should really mention that external
>    ALSA drivers (at least 1.0.8) won't work! (as already asked for in 
>    the above thread)
> 
> Yours, Florian
> - -- 
> Preserve wildlife - pickle a squirrel today!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> 
> iD8DBQFCGxp+7CzyshGvatgRAsMOAKDlUbCE1vJw3zB2W/w4bYa2/6dg+ACcDdvW
> HO16/AOvfxJu+Bw5x/flhPg=
> =5mjw
> -----END PGP SIGNATURE-----
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-02-22 20:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-19 10:25 [Bluez-users] strange btsco error Florian Echtler
2005-02-19 21:05 ` [Bluez-users] " Sebastian Roth
2005-02-20  7:59   ` Florian Echtler
2005-02-20 16:18     ` Sebastian Roth
2005-02-22  9:50       ` Florian Echtler
2005-02-22 11:41         ` Florian Echtler
2005-02-22 20:42           ` Brad Midgley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox