Laptop's sound Card Driver

This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment.

Laptop's sound Card Driver

Postby gore » 07 Jan 2011, 16:58

Hello all,

I managed to get FreeBSD 8.1-RELEASE installed on my Laptop, which I'm happy about since it's got decent hardware in it and works great with the Video Card so far.

The Sound Card is.... Where I get a little hazy. I literally can't remember which part of this goes into [FILE]/boot/loader.conf[/FILE].

So, here is what I did:

Code: Select all
Me@root# kldload snd_driver


Then, once it finished, I did this:

Code: Select all
cat /dev/sndstat


This is the output:

Code: Select all
FreeBSD Audio Driver  (newpcm: 32bit 2009061500/i386)
Installed Devices:
pcm0: <Intel ICH4 (82801DB)> (play/rec) default


OK, so, my issue is that I don't remember which section of that I do after this:

Code: Select all
vi /boot/loader.conf
snd_newpcm_load="YES"


I don't remember which section I add to that file so it loads my driver at boot. It's been a while, and the Sound Card my Laptop has, though a decent one in most OSs, I don't remember which portion I need to add to that [FILE]/boot/loader.conf[/FILE] file.

Anyway, I just need to know two things:

#1. Which section do I add to the part that says snd_newpcm?

#2. Once done, I can't remember how to play sounds without being root, and I'm kind of half asleep right now, so, either a section of the handbook that works, or, just a quickie "do this" is all fine with me.

That's like literally the ONLY thing I can't remember right now lol.

By the way, 8.1-RELEASE ROCKS!
gore
Member
 
Posts: 116
Joined: 09 Jun 2010, 20:00
Location: Michigan

Postby SirDice » 07 Jan 2011, 17:11

gore wrote:OK, so, my issue is that I don't remember which section of that I do after this:

vi /boot/loader.conf
snd_newpcm_load="YES"

I don't remember which section I add to that file so it loads my driver at boot. It's been a while, and the Sound Card my Laptop has, though a decent one in most OSs, I don't remember which portion I need to add to that boot/loader.conf file.


Hi Gore :)

Just add [FILE]snd_ich_load="YES"[/FILE] to [file]/boot/loader.conf[/file]. That's all.

All this does is [man=8]kldload[/man] the [man=4]snd_ich[/man] driver during boot.
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 wblock@ » 07 Jan 2011, 17:13

There isn't a [FILE]snd_newpcm[/FILE]. Looking through [file]/boot/defaults/loader.conf[/file], I think you need [FILE]snd_ich_load="YES"[/FILE].

(Edit: simulpost doh!)
User avatar
wblock@
Old Fart
 
Posts: 10199
Joined: 07 Sep 2009, 23:23
Location: Milky Way galaxy

Postby gore » 07 Jan 2011, 17:21

SirDice wrote:Hi Gore :)

Just add snd_ich_load="YES" to [file]/boot/loader.conf[/file]. That's all.

All this does is [man=8]kldload[/man] the [man=4]snd_ich[/man] driver during boot.


So I had it right the first time I looked at should have left ICH... A German forgetting "ich" how "selfless" of me ;) (Ich - "I" in German lol).

Thanks man. Been a LONG one.
gore
Member
 
Posts: 116
Joined: 09 Jun 2010, 20:00
Location: Michigan


Return to Mobile Computing

Who is online

Users browsing this forum: No registered users and 0 guests