2003-09-27 12:58:49

by Jonathan Paisley

[permalink] [raw]
Subject: [Bluez-users] Re: snd-bluez-sco

On Sat, 27 Sep 2003 1:34pm +0200, Rainer Jochem wrote:

> then I do:
> root@marvin:# bluezsco xx:xx:xx:xx:xx:xx 6
> Error: control open (hw:2): No such device
> Error: Can't find device. Bail

This error is coming from the bluezsco tool, when it's trying to open
hwdep ALSA interface for the snd-bluez-sco driver.

It cycles through the ALSA devices (hw:0, hw:1, hw:2, etc) trying to
identify a device which has an hwdep interface of type
SND_HWDEP_IFACE_BLUEZ_SCO. The error you're seeing is the loop bailing
because it didn't find the device, and you only have ALSA device hw:0 and
hw:1 (presumably your real audio card and the snd-bluez-sco driver).

Perhaps you could try adding some debugging printf()s to the
find_hwdep_device() function to try to identify whether it is finding the
snd-bluez-sco device, and if so, what hwdep interface type it is
reporting.

I haven't yet tried the code against alsa 0.9.7, so it's possible there
may be some incompatabilities.

Thanks.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users