From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 4 17:17:55 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CE4616A580 for ; Mon, 4 Sep 2006 17:17:55 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from av11-1-sn2.hy.skanova.net (av11-1-sn2.hy.skanova.net [81.228.8.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36FFC43D7D for ; Mon, 4 Sep 2006 17:17:48 +0000 (GMT) (envelope-from joel@FreeBSD.org) Received: by av11-1-sn2.hy.skanova.net (Postfix, from userid 502) id C5147382E3; Mon, 4 Sep 2006 19:17:46 +0200 (CEST) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av11-1-sn2.hy.skanova.net (Postfix) with ESMTP id B71D638103 for ; Mon, 4 Sep 2006 19:17:46 +0200 (CEST) Received: from dude.automatvapen.se (81-235-164-56-no21.tbcn.telia.com [81.235.164.56]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id 9B26A37E47 for ; Mon, 4 Sep 2006 19:17:46 +0200 (CEST) From: Joel Dahl To: freebsd-multimedia@FreeBSD.org Content-Type: text/plain Date: Mon, 04 Sep 2006 19:17:48 +0200 Message-Id: <1157390268.673.57.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: RFC: snd_hda(4) -- Intel High Definition Audio driver X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 17:17:55 -0000 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 # 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