From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 18 16:39:19 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 B0EBD16A406 for ; Sun, 18 Feb 2007 16:39:19 +0000 (UTC) (envelope-from kosio.dimitrov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD5413C461 for ; Sun, 18 Feb 2007 16:39:19 +0000 (UTC) (envelope-from kosio.dimitrov@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so2152168nfc for ; Sun, 18 Feb 2007 08:39:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k5VIr7/nqne95EoCzHgGVMacWD4Z0T7Y2Gx3aWpUPRyRijVfirb2LbXOcFaziap9SamZpqTD1AShjTqANSOmUhKaxb5qYgbqM0ZjSxWo1dmSWeG9DGcCvtoBi4QkzOqB21/1Ey7t5w3XWHsE4qb+36301QeK+NPPPX4dd13EmS0= Received: by 10.82.118.2 with SMTP id q2mr8839377buc.1171816758006; Sun, 18 Feb 2007 08:39:18 -0800 (PST) Received: by 10.82.100.19 with HTTP; Sun, 18 Feb 2007 08:39:17 -0800 (PST) Message-ID: <8103ad500702180839j76718f2axeae9dd2985a694be@mail.gmail.com> Date: Sun, 18 Feb 2007 18:39:17 +0200 From: "Konstantin Dimitrov" To: "Philipp Ost" In-Reply-To: <45D8754F.8060409@smo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <741011.28358.qm@web34714.mail.mud.yahoo.com> <45D6FD02.8090208@mail.zedat.fu-berlin.de> <8103ad500702170825y38b76fd9u7ac23ab64bd4cb4a@mail.gmail.com> <45D744FD.1040504@mail.zedat.fu-berlin.de> <8103ad500702171111k277aecddj99e261a11676b952@mail.gmail.com> <45D7581E.8080103@mail.zedat.fu-berlin.de> <8103ad500702180040g7d0550b0r455a2de2008db3de@mail.gmail.com> <45D8754F.8060409@smo.de> Cc: freebsd-multimedia@freebsd.org, "O. Hartmann" , freebsd-current@freebsd.org Subject: Re: envy24ht: M-Audio Revolution 5.1 broken (FreeBSD 7.0-CURRENT/AMD64) 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: Sun, 18 Feb 2007 16:39:19 -0000 Philipp, to compile the new code you also need 'Once-a-year Sound Mega-Commit' : http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pcm/ but anyway you don't need to do that, because that new code won't solve the problem with PHASE 22, you reported, that there is no sound at all, which means that AK4524 on PHASE 22 is completely uninitialized and thus AK4524 is in power-off state, so it is much more complex and because of that i'm still awaiting to became more free, so i can spend more time looking what's going on with PHASE 22, probably in week or two will start looking at the problem, i will mail you then. On 2/18/07, Philipp Ost wrote: > Konstantin Dimitrov wrote: > > Oliver, after mixer(8) can change the volume, that means the > > snd_envy24ht can write to and control the DAC (AK4358) on the Revo 5.1 > > and so that silent sound is the maximum volume that the hardware > > (Envy24GT+AK4358) can provide, because when do 'mixer vol 100', it set > > the AK4358 to the maximum volume, 'mixer pcm' do nothing at the > > moment, so when you do 'mixer pcm 0' or 'mixer pcm 100' nothing should > > change. > > I also reported you similar problems with a Terratec PHASE 22. I tried > the new code (see below), but that didn't change anything... > > > > i made new version, so when 'mixer pcm' is used, volume will be > > changed in software and when 'mixer vol' is used, like before, volume > > will be changed in hardware (in the DAC), i don't know how it will > > behave, but as usual the new code is here: > > > > http://envy24.svobodno.com/driver/envy24ht/current/envy24ht.c > > That's good to hear :) > > > > and you can test it and report back the results ... > > I also tried the new code, but if fails to compile: > > # make > Warning: Object directory not changed from original > /usr/src/sys/modules/sound/driver/envy24ht > @ -> /usr/src/sys > machine -> /usr/src/sys/i386/include > awk -f @/tools/makeobjops.awk @/kern/device_if.m -h > awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h > awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h > awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h > awk -f @/tools/makeobjops.awk @/dev/sound/pcm/ac97_if.m -h > awk -f @/tools/makeobjops.awk @/dev/sound/pcm/channel_if.m -h > awk -f @/tools/makeobjops.awk @/dev/sound/pcm/feeder_if.m -h > awk -f @/tools/makeobjops.awk @/dev/sound/pcm/mixer_if.m -h > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include > -finline-limit=8000 -fno-common -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -ffreestanding -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -c > /usr/src/sys/modules/sound/driver/envy24ht/../../../../dev/sound/pci/envy24ht.c > /usr/src/sys/modules/sound/driver/envy24ht/../../../../dev/sound/pci/envy24ht.c: > In function `envy24htmixer_init': > /usr/src/sys/modules/sound/driver/envy24ht/../../../../dev/sound/pci/envy24ht.c:1805: > error: `SD_F_SOFTPCMVOL' undeclared (first use in this function) > /usr/src/sys/modules/sound/driver/envy24ht/../../../../dev/sound/pci/envy24ht.c:1805: > error: (Each undeclared identifier is reported only once > /usr/src/sys/modules/sound/driver/envy24ht/../../../../dev/sound/pci/envy24ht.c:1805: > error: for each function it appears in.) > *** Error code 1 > > Stop in /usr/src/sys/modules/sound/driver/envy24ht. > # > > compiles > successfully though. > > This is on FreeBSD 6.2-STABLE #0: Fri Feb 16 20:35:24 CET 2007 (i386) > > $ pciconf -lv | grep -B 4 audio > none0@pci0:10:0: class=0x040100 card=0x1150153b chip=0x17241412 > rev=0x01 hdr=0x00 > vendor = 'VIA Technologies Inc (Was: IC Ensemble Inc)' > device = 'VT1720/24 Envy24PT/HT PCI Multi-Channel Audio Controller' > class = multimedia > subclass = audio > > As already said, this a Terratec PHASE 22. > > > HTH, > Philipp > -- > www.familie-ost.info/~pj >