3 devices in /dev/sndstat

Julian H. Stacey jhs at berklix.com
Thu Aug 19 23:04:27 UTC 2010


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.


More information about the freebsd-multimedia mailing list