From owner-freebsd-questions@FreeBSD.ORG Tue Mar 21 16:48:37 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 E8FAA16A401 for ; Tue, 21 Mar 2006 16:48:37 +0000 (UTC) (envelope-from akesson@tsl.uu.se) Received: from elvira.ekonomikum.uu.se (elvira.its.UU.SE [130.238.164.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77A2743D46 for ; Tue, 21 Mar 2006 16:48:36 +0000 (GMT) (envelope-from akesson@tsl.uu.se) Received: by elvira.ekonomikum.uu.se (Postfix, from userid 204) id F3E208B2; Tue, 21 Mar 2006 17:48:34 +0100 (MEZ) Received: from elvira.its.uu.se(127.0.0.1) by elvira.its.uu.se via virus-scan id s26750; Tue, 21 Mar 06 17:48:28 +0100 Received: from delirium.tsl.uu.se (delirium.tsl.uu.se [130.238.67.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elvira.ekonomikum.uu.se (Postfix) with ESMTP id C7896456 for ; Tue, 21 Mar 2006 17:48:27 +0100 (MEZ) Date: Tue, 21 Mar 2006 18:46:25 +0100 (CET) From: Anna Davour To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: sound on Compaq Presario (and kernel question) 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: Tue, 21 Mar 2006 16:48:38 -0000 Trying to get the sound to work on my Compaq Presario M2000. With version= =20 5.4 everything worked fine except sound and ACPI. After looking at=20 http://people.freebsd.org/~ariff/ I had the impression that I could get=20 the sound to work by applying the provided patch, but that it should work= =20 without extra tricks if I upgraded to version 6 of the kernel. Well, I=20 didn't succeed with the patch, but since I didn't think sound so importan= t=20 I let it be for the moment. Later I decided to upgrade anyway, and now I return to the sound problem. Now uname -a gives: FreeBSD possession 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Mar 9=20 20:27:08 CET 2006 granntyckt@possession:/usr/obj/usr/src/sys/KERNEL2=20 i386 Here I must ask what PRERELEASE actually means. It's not in the handbook=20 as far as I can see. This is the message I get when starting KDE, unchanged since before the=20 kernel upgrade: Sound server informational message: Error while initializing the sound driver: device /dev/dsp can't be opened (No such file or directory) The sound server will continue, using the null output device. When I do kldload snd_driver the following message appears on the console= : pcm0: mem 0xc0003400-0xc00034ff irq 17 at device 20.5 on pc= i0 pcm0: WARNING: timeout during codec detection; codecs might be present bu= t=20 haven't interrupted What does this mean? It seems to find the right module, but it still=20 doesn't work and I don't understand the message. Now, according to=20 instructions I also run the following: possession# pciconf -lv | grep -B 4 audio subclass =3D PCI-PCI pcm0@pci0:20:5: class=3D0x040100 card=3D0x3091103c chip=3D0x43701002 rev=3D= 0x02=20 hdr=3D0x00 vendor =3D 'ATI Technologies Inc' class =3D multimedia subclass =3D audio possession# sysctl hw.snd.verbose=3D2 hw.snd.verbose: 1 -> 2 possession# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: possession# sysctl hw.snd hw.snd.report_soft_formats: 1 hw.snd.targetirqrate: 32 hw.snd.verbose: 2 hw.snd.maxautovchans: 0 hw.snd.unit: 0 possession# /usr/sbin/mixer mixer: /dev/mixer: No such file or directory And by the way I got another problem as well. After upgrading the kernel = I=20 had a strange crash where the screen turned white (actually grey with som= e=20 vague patterns) and I could do nothing except turning off the power. Coul= d=20 not contact the computer from outside, it was really dead. It only=20 happened once, but I would like to know why -- or if anyone else has seen= =20 a similar behaviour. Lots of questionmarks here. I will greatly appreciate to get some of them= =20 straightened out. /wokka --=20 Doktorand, Institutionen f=F6r k=E4rn- och partikelfysik Uppsala universitet http://www3.tsl.uu.se/~akesson/