LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-12-2005, 07:40 AM   #1
Spartan552
LQ Newbie
 
Registered: Nov 2005
Location: Paris
Distribution: Debian
Posts: 23

Rep: Reputation: 15
Unhappy sound with AC97


HI, I have FreeBSD 6.0 and an AC97 sound card but I can't hear anything. My /dev/sndstat is empty. I've seen on web pages we could create a new device by typing sh MAKEDEV pcm but MAKEDEV doesn't exist in my computer. Maybe It's a bad solution. Help!!!!
 
Old 11-12-2005, 07:43 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Go to www.alsa-project.org and follow the instructions for your sound card.
 
Old 11-12-2005, 09:03 AM   #3
Spartan552
LQ Newbie
 
Registered: Nov 2005
Location: Paris
Distribution: Debian
Posts: 23

Original Poster
Rep: Reputation: 15
ok but I don't find the soundcard in the list
 
Old 11-12-2005, 12:03 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
In Linux we'd do lspci, not sure of the command in *BSD, on my pc it shows up as an Intel card.
 
Old 11-12-2005, 09:16 PM   #5
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Quote:
Originally posted by Spartan552
ok but I don't find the soundcard in the list
There are several ways to see if your soundcard is supported, but if you are sure that it is an AC97 compatible chip set the you can do the following.

1) Become root
2) cd to /boot
3) with your favorite editor add the following 2 lines to /boot/loader.conf (don't worry that loader.conf is empty!)

sound_load="YES" # Digital sound subsystem
snd_ich_load="YES" # Intel ICH


Reboot the system. See if that works. If it does not then examine the list of soundcards supported in /boot/defaults/loader.conf. You will find the list of sound cards near the end of the file. Add that line to /boot/loader.conf and change the "NO" to a "YES". Reboot and see if that doesn't help.

Cheers--
Charles
 
Old 11-12-2005, 10:27 PM   #6
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
You can also kldload snd_ich if you want to save the rebooting for the windows crowd
 
Old 11-14-2005, 07:24 AM   #7
Spartan552
LQ Newbie
 
Registered: Nov 2005
Location: Paris
Distribution: Debian
Posts: 23

Original Poster
Rep: Reputation: 15
I try to load all the modules but It did'nt work
 
Old 11-15-2005, 05:17 AM   #8
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
What is the output of pciconf -lv | grep AC97 ?


What happens if you do kldload sound.ko as root? Do dmesg | grep pcm to see what happens.

Last edited by rehab junkie; 11-15-2005 at 05:20 AM.
 
Old 11-15-2005, 03:45 PM   #9
xaenn
Member
 
Registered: Nov 2004
Posts: 53

Rep: Reputation: 15
What happens if you do this as root:

kldload snd_driver
 
Old 11-15-2005, 05:23 PM   #10
Spartan552
LQ Newbie
 
Registered: Nov 2005
Location: Paris
Distribution: Debian
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by xaenn
What happens if you do this as root:

kldload snd_driver
I already tried it... didn't work


kldload sound.ko
kldload: can't load sound.ko: File exists (maybe because I recompiled the kernel with the line "device sound" ?)

dmesg | grep pcm
nothing


pciconf -lv | grep AC97
nothing

but pciconf -lv prints someting that may be interesting
none0@pci0:27:0: class=0x040300 card=0x11731043 chip=0x26688086 rev=0x04 hdr=0x00
vendor = 'Intel Corporation'
device = '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller'
class = multimedia
 
Old 11-16-2005, 11:20 PM   #11
xaenn
Member
 
Registered: Nov 2004
Posts: 53

Rep: Reputation: 15
Quote:
Originally posted by Spartan552
I already tried it... didn't work
Didn't work how? As in getting an error, or just no sound?
 
Old 11-17-2005, 02:05 AM   #12
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
You also haven't told us the result of specifically loading kldload /boot/kernel/snd_ich.ko as root. This is the ko that should work.


Maybe recompile the kernel without the sound device, then try the above kldload.
 
Old 11-17-2005, 10:21 AM   #13
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 43
FreeBSD Doesn't Support Intel 82801 Sound

I have the same problem with my Intel 82801 onboard high-definition audio controller. Word is, FreeBSD doesn't support it yet. Here's the thread I started earlier about it: http://www.linuxquestions.org/questi...hreadid=368581. There's also a bit about it on my website: http://mysite.verizon.net/taylor_ven...xbsd/beta.html. And here's the FreeBSD problem report for the 82801 audio controller: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/84311.

Sorry, but it looks like we'll just have to wait a bit until support gets to us. I don't know if it works with Linux OSS or ALSA, but it's a pretty recent chipset, so I kinda doubt it.
 
Old 11-17-2005, 02:17 PM   #14
Spartan552
LQ Newbie
 
Registered: Nov 2005
Location: Paris
Distribution: Debian
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Didn't work how? As in getting an error, or just no sound?
Quote:
Maybe recompile the kernel without the sound device, then try the above kldload.
Both don't work. I don't get sound.



Quote:
Sorry, but it looks like we'll just have to wait a bit until support gets to us. I don't know if it works with Linux OSS or ALSA, but it's a pretty recent chipset, so I kinda doubt it.
Yeah I saw it but I was not hopeless... and I'm still not
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound at all with FC4 and on board AC97 sound ATI motherboard janie Fedora 2 10-13-2005 12:50 PM
No Sound Comes Out..., Ac97 Wrack Linux - Laptop and Netbook 15 11-25-2004 07:09 PM
AC97 int. sound slackware 9.0 no sound TheDanLayerOSI Linux - Hardware 1 06-13-2003 05:42 AM
Sound Help ac97 charlespsu Linux - General 2 01-28-2003 03:44 AM
AC97 Sound Help Please KeithKessler Linux - General 0 05-24-2002 10:41 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration