From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 24 18:24:41 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA2EB16A4F4 for ; Sat, 24 Mar 2007 18:24:41 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 45EF713C44B for ; Sat, 24 Mar 2007 18:24:41 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id 056B21B10F15; Sat, 24 Mar 2007 19:24:40 +0100 (CET) Received: from [10.1.1.2] (unknown [192.168.25.6]) by blah.sun-fish.com (Postfix) with ESMTP id ECEE61B10F0E; Sat, 24 Mar 2007 19:24:39 +0100 (CET) Message-ID: <46056CE6.3080201@sun-fish.com> Date: Sat, 24 Mar 2007 20:24:38 +0200 From: Stefan Lambrev User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Emmanuel Mie References: <001701c76e16$c9071950$0201a8c0@Edmond> In-Reply-To: <001701c76e16$c9071950$0201a8c0@Edmond> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on BLAH Cc: freebsd-multimedia@freebsd.org Subject: Re: HDAC - no sound 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: Sat, 24 Mar 2007 18:24:41 -0000 Hi, I didn't see your mixer pcm output. Is it set to 0 ? as everything that you show seems to be ok :) Emmanuel Mie wrote: > Hello, > > I've just landed on FreeBSD planet, so things are still a bit confused, but I'm trying. > > I have a Dell Inspiron 640m (Core2Duo T5500) with Intel 82801G ICH7 integrated sound device. > > I get no particular error or warning (see various outputs below), but I have no sound at all (either in KDE or in console # cat anyfile > /dev/dsp), I just can't figure it out. > > I've been trying to get sound working, with the hdac drivers from Mr Ariff's page. I "made" hdac.ko, it didn't work. I patched it with both current.diff and snd_RELENG_6_20070312_150_lowlatency.diff.gz (I've got to be honest : I didn't really know what I was doing) > There were errors : hunks failed, and it seems it didn't find hdac.c to patch - I had not redirected the output, so it's lost, unless there's some kind of log ? > > I tried various setups and entries in /boot/loader.conf - nothing worked, so I removed all sound related entries, rebooted, and simply > # kldstat hdac > > Here are the outputs : > > ================================================= > # uname -a > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Mar 13 15:24:47 CET 2007 root@:/usr/obj/usr/src/sys/GENERIC i386 > > # pciconf -lv | grep -B 4 multimedia > class = display > pcm0@pci0:27:0: class=0x040300 card=0x01d81028 chip=0x27d88086 rev=0x01 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801G (ICH7 Family) High Definition Audio' > class = multimedia > > # dmesg | grep ^pcm > pcm0: mem 0xefebc000-0xefebffff irq 21 at device 27.0 on pci0 > pcm0: Output Streams: 4, Input Streams: 4, Bidirectional Streams: 0 > pcm0: CORB Size: 256, RIRB Size: 256 > pcm0: Cap 1d0541 sf 0 st 0 > pcm0: Set 0:3 10 > pcm0: Cap 140311 sf e0160 st 5 > pcm0: Set 0:4 20 > > # sysctl hw.snd.verbose='2' ; cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: w00t (1p/1r/0v channels duplex default) > [pcm0:play:0:dsp0.0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 > interrupts 0, underruns 0, ready 0 [b:4096/2048/2|bs:0/0/0] > {userland} -> feeder_root(0x00000000) -> {hardware} > [pcm0:record:0:dsp0.1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000 > interrupts 0, overruns 0, hfree 4096, sfree 0 [b:4096/2048/2|bs:0/0/0] > {hardware} -> feeder_root(0x00000000) -> {userland} > > # 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 > hw.snd.pcm0.buffersize: 0 > hw.snd.pcm0.vchans: 0 > > # /usr/sbin/mixer > Mixer vol is currently set to 75:75 > Mixer rec is currently set to 0:0 > Recording source: > ==================================== > Is this the full output from "mixer" command ? > I also tried setting vchans to 4 but no use. As I said, I'm new to FreeBSD, so I may very well misunderstand the way the system works. > And I'd really like to get this sound to work, as I'm supposed to use this computer to go and sell music around... > > Regards, > E. Mie > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org" >