From owner-freebsd-questions@FreeBSD.ORG Fri Nov 3 01:22:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 955E016A412 for ; Fri, 3 Nov 2006 01:22:40 +0000 (UTC) (envelope-from enigma@k1.com.br) Received: from sipserver.k1.com.br (customer-200195195217.idc.onda.com.br [200.195.195.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB18243D4C for ; Fri, 3 Nov 2006 01:22:38 +0000 (GMT) (envelope-from enigma@k1.com.br) Received: from k1.com.br (localhost [127.0.0.1]) by sipserver.k1.com.br (8.13.6/8.13.6) with ESMTP id kA2GVYfX014150 for ; Thu, 2 Nov 2006 23:22:43 -0200 (BRST) (envelope-from enigma@k1.com.br) X-MessageWall-Score: 0 (k1.com.br) Received: from [201.21.156.25] (authenticated as k1) by k1.com.br (MessageWall 1.0.8) with SMTP; 3 Nov 2006 01:22:43 -0000 From: Sergio Lenzi To: freebsd-questions Date: Thu, 02 Nov 2006 23:22:20 -0200 Message-Id: <1162516940.1466.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: snd_hda driver for 6.1 now working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 01:22:40 -0000 Hello all after trying to set up the sound on the 6.1 RELEASE on a acer aspire 3100 notebook, I realise that the driver for the sound chip was the HDA (high definition audio) That notebook use a realtek version of the sound ship. The code I get in the internet does not compile in the 6.1-RELEASE it complains about some missing entry points in the sound.ko module (that exists in the -current kernel). I do not want to to use the CURRENT so I fixed the code to work with the 6.1-RELEASE.. the main problem was the distorted sound it produces The problem was that the realtek chip was not able to make dma larger than 4096 bytes long a small fix in the hdac.c code did the trick.... Just get the file http://www.k1.com.br/downloads/snd_hda.tar.gz unpack it and do o make;make install inside the directory created (you must have the kernel sources installed).... EnJoy.... Sergio