[PC-BSD] Still no sound on my computer

Internal storage, motherboards, PCI cards, stuff inside the case.

[PC-BSD] Still no sound on my computer

Postby royzhang1234 » 24 Aug 2010, 10:08

Hi, gentlemen. I'm beginner of FreeBSD.I've installed PCBSD 8.1 on my computer. There's no sound although i 've tried many ways. Could someone kind help me fix it? Because I don't know what had happened.

1 I've added this code to "loader.conf": [FILE]snd_hda_enable="YES"[/FILE]

2 [FILE]cat /dev/sndstat[/FILE] like this:

Code: Select all
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0: <HDA Sigmatel STAC9228X PCM #0 Analog> (play/rec) default
pcm1: <HDA Sigmatel STAC9228X PCM #1 Analog> (play/rec)
pcm2: <HDA Sigmatel STAC9228X PCM #2 Digital> (play)



3 mixer code:

Code: Select all
Mixer vol      is currently set to  77:77
Mixer pcm      is currently set to 100:100
Mixer speaker  is currently set to  75:75
Mixer line     is currently set to   0:0
Mixer rec      is currently set to  75:75
Recording source: line


4 the code in [FILE]/etc/sysctl.conf[/FILE]:
Code: Select all
# Autodetect the most recent sound card. Uncomment for Digital output / USB
#hw.snd.default_auto=1
hw.snd.defualt_unit=1


Thank you in advance.
royzhang1234
Junior Member
 
Posts: 2
Joined: 24 Aug 2010, 09:55

Postby SirDice » 24 Aug 2010, 10:18

Ok. First: [thread=7290]Topics about PC-BSD / FreeNAS / DesktopBSD / m0N0WALL / pfSense[/thread]

Have a look at the [man=4]snd_hda[/man] man page. The HDA sound chip is used in various different implementations and you may need to tweak which output on your card produces what.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16185
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby lme@ » 24 Aug 2010, 10:50

In [FILE]/boot/loader.conf[/FILE] it should be
Code: Select all
snd_hda_load="YES"
.
But as you already have several pcm devices, the soundcard is recognized already.
User avatar
lme@
 
Posts: 611
Joined: 08 Oct 2007, 19:42
Location: Düsseldorf, Germany

Postby royzhang1234 » 24 Aug 2010, 11:00

thanks for your replies. I know I should post this problem on the forum of PCBSD, but i've failed to register. Your patience is highly appreciated.

To Ime@,
The soundcard is recognized, but there's no sound.

To SirDice,

It seems that there's no description to how to tweak output of soundcard.

best regards!
royzhang1234
Junior Member
 
Posts: 2
Joined: 24 Aug 2010, 09:55

Postby SirDice » 24 Aug 2010, 12:06

royzhang1234 wrote:It seems that there's no description to how to tweak output of soundcard.

The entire man page is dedicated to it!
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16185
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands


Return to System Hardware

Who is online

Users browsing this forum: No registered users and 0 guests