From owner-freebsd-current@FreeBSD.ORG Sat Feb 17 19:11:13 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E57EA16A400 for ; Sat, 17 Feb 2007 19:11:12 +0000 (UTC) (envelope-from kosio.dimitrov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 7BF1513C4A3 for ; Sat, 17 Feb 2007 19:11:12 +0000 (UTC) (envelope-from kosio.dimitrov@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so1911700nfc for ; Sat, 17 Feb 2007 11:11:11 -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=oqWgpx/+7I0Z3LpNUZRzNZ4qe7YEAABkmAadWyz5NTJZm64MoHYesDXhCq0ndc7lAMMCCPKiLpMncbMbGf/Zd/egeS4oBSzNZUkGkoTErE4rB08OO/QrexhBLnt0JJY71IAmI6g7+b1W8ME8j+/uIV7muLyRbmF3AgtuhlJbFaE= Received: by 10.82.116.15 with SMTP id o15mr7310888buc.1171739470103; Sat, 17 Feb 2007 11:11:10 -0800 (PST) Received: by 10.82.100.19 with HTTP; Sat, 17 Feb 2007 11:11:09 -0800 (PST) Message-ID: <8103ad500702171111k277aecddj99e261a11676b952@mail.gmail.com> Date: Sat, 17 Feb 2007 21:11:09 +0200 From: "Konstantin Dimitrov" To: "O. Hartmann" In-Reply-To: <45D744FD.1040504@mail.zedat.fu-berlin.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> X-Mailman-Approved-At: Sat, 17 Feb 2007 21:30:20 +0000 Cc: freebsd-multimedia@freebsd.org, "Mr. Darren" , freebsd-current@freebsd.org Subject: Re: envy24ht: M-Audio Revolution 5.1 broken (FreeBSD 7.0-CURRENT/AMD64) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2007 19:11:13 -0000 you can't change the volume at all and no matter what value you use, e.g. 0, 50, 100, always the same very silent sound going out or when use 0 you can mute the sound, when you use 100 the sound is very silent, but not as much silent as when you use 50 ? On 2/17/07, O. Hartmann wrote: > Konstantin Dimitrov wrote: > > Oliver, seems like the init data for Revo 5.1 are wrong, that is why > > the sound is badly distorted, until now i haven't had access to Revo > > 5.1 hardware for tests, so it's somehow expected problem, but with > > several trials and errors we should be able to find the right init > > data, so get the first slightly modified version from here: > > > > http://envy24.svobodno.com/driver/envy24ht/current/envy24ht.c > > > > rebuild and report back the result ... > > > > On 2/17/07, O. Hartmann wrote: > >> Mr. Darren wrote: > >> > Does anyone have this working at the moment? I can't > >> > seem to play any audio. Can't open /dev/dsp0.0! and > >> > so forth. > >> > -Darren > >> > %uname -a > >> > FreeBSD DARREN 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri > >> > Feb 16 22:40:32 UTC 2007 > >> > root@DARREN:/usr/obj/usr/src/sys/DARREN amd64 > >> > > >> > FreeBSD Audio Driver (newpcm: 64bit) > >> > Installed devices: > >> > pcm0: at io > >> > 0x9800:32,0x9400:16,0x9000:16,0x8c00:64 irq 18 > >> > (5p/3r/1v channels duplex default) > >> > %ls /dev/dsp* > >> > /dev/dsp0.0 /dev/dsp0.5 /dev/dsp0.p1 /dev/dsp0.r1 > >> > /dev/dspW0.2 /dev/dspW0.7 > >> > /dev/dsp0.1 /dev/dsp0.6 /dev/dsp0.p2 /dev/dsp0.r2 > >> > /dev/dspW0.3 /dev/dspW0.8 > >> > /dev/dsp0.2 /dev/dsp0.7 /dev/dsp0.p3 /dev/dsp0.v0 > >> > /dev/dspW0.4 > >> > /dev/dsp0.3 /dev/dsp0.8 /dev/dsp0.p4 /dev/dspW0.0 > >> > /dev/dspW0.5 > >> > /dev/dsp0.4 /dev/dsp0.p0 /dev/dsp0.r0 /dev/dspW0.1 > >> > /dev/dspW0.6 > >> > %ls /dev/audio* > >> > /dev/audio0.0 /dev/audio0.2 /dev/audio0.4 > >> > /dev/audio0.6 /dev/audio0.8 > >> > /dev/audio0.1 /dev/audio0.3 /dev/audio0.5 > >> > /dev/audio0.7 > >> > % > >> > > >> > > >> > > >> > > >> > >> Just half an hour ago I got my new M-Audio Revolution 5.1: > >> > >> pcm0: port > >> 0xec00-0xec1f,0xe880-0xe8ff > >> irq 18 at device 8.0 on pci4 > >> pcm0: [GIANT-LOCKED] > >> pcm0: system configuration > >> SubVendorID: 0x1412, SubDeviceID: 0x3631 > >> XIN2 Clock Source: 49.152MHz(192kHz*256) > >> MPU-401 UART(s) #: not implemented > >> ADC #: 1 > >> DAC #: 3 > >> Multi-track converter type: I2S(with volume, 192KHz support, 24bit > >> resolution, > >> ID#0x0) > >> S/PDIF(IN/OUT): 0/1 ID# 0x00 > >> GPIO(mask/dir/state): 0x3fff85/0x4000fa/0x72 > >> > >> > >> Box is based on ASUS A8N32-SLI, AMD64 running FreeBSD 7.0-CURRENT/AMD64 > >> (no 32Bit compatibility), SCHED_ULE, PREEMPTION, driver snd_envy24ht > >> hardwired into the kernel. > >> I'm able to start sound playing via VLC or mplayer and I can hear > >> something that sounds like the music I expected to hear but it is highly > >> distorted and scrambled. > >> After a while sound dies, comes back for a second and then disappear > >> again ... > >> > >> > >> Regards Oliver > Hello Konstantin, > I applied the patch - and it works, half the way. Sound is now playing > undistorted, but it is very, very silent, I need the amplifier of my > HiFi rack to amplify the sound input at a very high level. > Changing volume via 'mixer' command doesn't help: > > hartmann: mixer > Mixer vol is currently set to 100:100 > Mixer treble is currently set to 0:0 > Mixer synth is currently set to 0:0 > Mixer pcm is currently set to 100:100 > Mixer speaker is currently set to 0:0 > Mixer line is currently set to 100:100 > Mixer mic is currently set to 0:0 > Mixer cd is currently set to 0:0 > Mixer mix is currently set to 0:0 > > > Every mixer-reachable instance is pumped up to 100%, the others, synth > for example, aren't configured and return with a notice about that fact: > > hartmann: mixer synth 100 > Setting the mixer synth from 0:0 to 100:100. > mixer: WRITE_MIXER: Device not configured > hartmann: mixer vol 100 > Setting the mixer vol from 100:100 to 100:100. > hartmann: > > > Well, it is really impressive how fast you answered, thanks. > > Regards, > Oliver >