Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Aug 2010 01:03:51 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        multimedia@freebsd.org
Subject:   Re: 3 devices in /dev/sndstat 
Message-ID:  <201008192303.o7JN3p2F050632@fire.js.berklix.net>
In-Reply-To: Your message "Thu, 19 Aug 2010 20:17:09 %2B0400." <18587210@ipt.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
Boris Samorodov wrote:
> On Thu, 19 Aug 2010 17:42:25 +0200 Julian H. Stacey wrote:
> 
> > kldload snd_driver ; cat /dev/sndstat
> >         FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
> >         Installed devices:
> >         pcm0: <HDA Realtek ALC888 PCM #0 Analog> (play/rec) default
> >         pcm1: <HDA Realtek ALC888 PCM #1 Analog> (play/rec)
> >         pcm2: <HDA Realtek ALC888 PCM #2 Digital> (play/rec)
> 
> Did you try to select another default unit as per SOUND(4)?
> -----
> # sysctl hw.snd.default_unit=1

Thanks !
I had no "hw.snd" 
So I built & booted a new generic kernel in case I had pollution from 8.1-RC2
kldload snd_driver
cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
Installed devices:
pcm0: <HDA Realtek ALC888 PCM #0 Analog> (play/rec) default
pcm1: <HDA Realtek ALC888 PCM #1 Analog> (play/rec)
pcm2: <HDA Realtek ALC888 PCM #2 Digital> (play/rec)
sysctl -a | grep hw.snd		# 22

xcdplayer -device /dev/acd0
sysctl hw.snd.default_unit=1
xcdplayer -device /dev/acd0
sysctl hw.snd.default_unit=2
xcdplayer -device /dev/acd0

Still no sound on this box with generic.
(I also have an 8.1 amd64 laptop here with sound from a custom kernel),
I'll run another make world over night & rethink/ compare tomorrow.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Mail plain text,  Not HTML, quoted-printable & base 64 dumped with spam.
	Avoid top posting, It cripples itemised cumulative responses.



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