Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2007 14:44:12 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org, freebsd-multimedia@freebsd.org
Cc:        "Hofmann, Laurent" <laurent@kally.net>
Subject:   Re: Memory leak / Kernel Panic using snd_uaudio (USB Sound Card)
Message-ID:  <200703311444.12171.hselasky@c2i.net>
In-Reply-To: <009d01c77390$66923050$33b690f0$@net>
References:  <008701c77317$1dfbc5f0$59f351d0$@net> <200703311315.31654.hselasky@c2i.net> <009d01c77390$66923050$33b690f0$@net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 31 March 2007 14:30, Hofmann, Laurent wrote:
> -----Message d'origine-----
> De=A0: owner-freebsd-usb@freebsd.org [mailto:owner-freebsd-usb@freebsd.or=
g]
> De la part de Hans Petter Selasky
> Envoy=E9=A0: samedi 31 mars 2007 13:16
> =C0=A0: freebsd-usb@freebsd.org
> Objet=A0: Re: Memory leak / Kernel Panic using snd_uaudio (USB Sound Card)
>
>
> Just do a SVN update and try again. By a mistake I removed a patch for
> FreeBSD
> 6.2.
>
> --HPS
>
>
> Thank you very much. It compiled like a charm. I also included the driver
> in the kernel instead of using it as a module.
> I'm now playing some music, I will tell you if the kernel panic still
> occur...

Ok.

>
> Just one more remark :
> The driver is not detected as before :
> uaudio0: <Guillemot USB Audio, class 0/0, rev 1.10/1.00, addr 126>
> uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format
> uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format
> uaudio0: No midi sequencer
> uaudio0: WARNING: Unplugging the device while it is in use will cause a
> panic!
> pcm0: <USB audio> on uaudio0
>
> dolphin# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <USB audio> at ?  (1p/1r/0v channels duplex default)
>
> Before I had more lines, one of these lines was indicating a 6 channel
> device. Now I have the feeling that only the front channels are available=
 ?

I don't know if the current audio system supports more than 2 channels.

There is a knob in uaudio.c that you can tune:

static u_int8_t  uaudio_default_channels =3D 2;

But you probably have to add some code to tell the upper sound layers that=
=20
there is more than 2 channels!

>
> PS : Do you know when these drivers will be included in Freebsd ?
>

I hoped before 7.0 was out, but it might be later. I am not the one decidin=
g=20
that. But if many people like you turn up and tell the list how much faster=
=20
and how much more solid the new USB stack is, then it might happen faster ;=
=2D)

=2D-HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703311444.12171.hselasky>