RFC: snd_hda(4) -- Intel High Definition Audio driver

Joel Dahl joel at FreeBSD.org
Mon Sep 4 17:17:55 UTC 2006


Hi all,

Ariff Abdullah (ariff@) has been working on snd_hda(4) for a while now,
which is a High Definition Audio driver and should enable basic audio
capabilities on a lot of new machines on the market.  He's been busy
with improving the driver lately, so he asked me to send out an
announcement and a call for testers -- yes, the driver is ready for a
wider audience now.  :-)

This driver is based on Stephane E. Potvin's HDA driver, although big
parts have been rewritten since then.  The driver is still in an early
form and many parts needs refinements, but basic audio capabilities such
as playback/recording should work and we would like to get this into
CURRENT soon, if everything goes according to the plan.

%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% So, how do I test it? %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%

Well, grab all files from:

http://people.freebsd.org/~ariff/HDA/

# cd <hdasourcecode>
# make
# kldload ./snd_hda.ko

Test your sound...

If the above works and you would like to enable audio at startup, do
this:

# cp snd_hda.ko /boot/modules/
# kldxref /boot/modules/
Add snd_hda_load="YES" to /boot/loader.conf
# reboot

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% It doesn't work!  What should I do? %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

If you can kldload the driver, do this:

# sysctl debug.bootverbose=1
# kldunload snd_hda
# kldload snd_hda
# dmesg | grep ^pcm

...and send us the output along with a description of your problem.
Also, include the output of:

# uname -a
# pciconf -lv | grep -B 4 audio
# sysctl hw.snd.verbose=2 ; cat /dev/sndstat
# sysctl hw.snd
# /usr/sbin/mixer

If you cannot get any sound, it is important that you test to plug
in speakers/headset into any jacks available.  BIOS bugs, vendor
issues etc can cause screwed up audio routing.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Anything else I need to know? %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

You can visit us on #freebsd-azalia @ freenode.

-- 
Joel



More information about the freebsd-multimedia mailing list