From owner-freebsd-multimedia@FreeBSD.ORG Tue Oct 29 15:45:56 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A0876C54 for ; Tue, 29 Oct 2013 15:45:56 +0000 (UTC) (envelope-from freebsd-multimedia@dino.sk) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) (using SSLv3 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 427192015 for ; Tue, 29 Oct 2013 15:45:55 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by mailhost.netlab.sk with ESMTPSA; Tue, 29 Oct 2013 16:45:50 +0100 id 005080BE.526FD82E.00017311 Date: Tue, 29 Oct 2013 16:45:47 +0100 From: Milan Obuch To: Juergen Lock Subject: Re: Asus E35M1-I on board audio does not work... Message-ID: <20131029164547.6de092a6@zeta.dino.sk> In-Reply-To: <201310271500.r9RF0C93097440@enceladus10.kn-bremen.de> References: <20131024110335.5abbb5c0@zeta.dino.sk> <201310271500.r9RF0C93097440@enceladus10.kn-bremen.de> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; i386-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 15:45:56 -0000 On Sun, 27 Oct 2013 16:00:12 +0100 (CET) Juergen Lock wrote: > In article <20131024110335.5abbb5c0@zeta.dino.sk> you write: > >Hi, > > > >I have E35M1-I board and would like get working on board audio. There > >are both analog and digital audio ports, according sysctl dev.pcm > >there are > > > Sorry if I ask something obvious, :) but are your speakers connected > via the ati hdmi connection? If not you may need to set the > hw.snd.default_unit sysctl... > Yes, see below... Milan > HTH, > Juergen > > >dev.pcm.0.%desc: ATI R6xx (HDMI) > >dev.pcm.0.%driver: pcm > >dev.pcm.0.%location: nid=3 > >dev.pcm.0.%parent: hdaa0 > >dev.pcm.0.play.vchans: 1 > >dev.pcm.0.play.vchanmode: passthrough > >dev.pcm.0.play.vchanrate: 48000 > >dev.pcm.0.play.vchanformat: s16le:2.0 > >dev.pcm.0.play.32bit: 0 > >dev.pcm.0.buffersize: 65536 > >dev.pcm.0.bitperfect: 0 > >dev.pcm.1.%desc: Realtek ALC892 (Rear Analog) > >dev.pcm.1.%driver: pcm > >dev.pcm.1.%location: nid=20,24,26 > >dev.pcm.1.%parent: hdaa1 > >dev.pcm.1.play.vchans: 1 > >dev.pcm.1.play.vchanmode: fixed > >dev.pcm.1.play.vchanrate: 48000 > >dev.pcm.1.play.vchanformat: s16le:2.0 > >dev.pcm.1.play.32bit: 24 > >dev.pcm.1.rec.vchans: 1 > >dev.pcm.1.rec.vchanmode: fixed > >dev.pcm.1.rec.vchanrate: 48000 > >dev.pcm.1.rec.vchanformat: s16le:2.0 > >dev.pcm.1.rec.32bit: 24 > >dev.pcm.1.rec.autosrc: 2 > >dev.pcm.1.buffersize: 65536 > >dev.pcm.1.bitperfect: 0 > >dev.pcm.2.%desc: Realtek ALC892 (Front Analog) > >dev.pcm.2.%driver: pcm > >dev.pcm.2.%location: nid=27,25 > >dev.pcm.2.%parent: hdaa1 > >dev.pcm.2.play.vchans: 1 > >dev.pcm.2.play.vchanmode: fixed > >dev.pcm.2.play.vchanrate: 48000 > >dev.pcm.2.play.vchanformat: s16le:2.0 > >dev.pcm.2.play.32bit: 24 > >dev.pcm.2.rec.vchans: 1 > >dev.pcm.2.rec.vchanmode: fixed > >dev.pcm.2.rec.vchanrate: 48000 > >dev.pcm.2.rec.vchanformat: s16le:2.0 > >dev.pcm.2.rec.32bit: 24 > >dev.pcm.2.rec.autosrc: 2 > >dev.pcm.2.buffersize: 65536 > >dev.pcm.2.bitperfect: 0 > >dev.pcm.3.%desc: Realtek ALC892 (Rear Digital) > >dev.pcm.3.%driver: pcm > >dev.pcm.3.%location: nid=30 > >dev.pcm.3.%parent: hdaa1 > >dev.pcm.3.play.vchans: 1 > >dev.pcm.3.play.vchanmode: passthrough > >dev.pcm.3.play.vchanrate: 48000 > >dev.pcm.3.play.vchanformat: s16le:2.0 > >dev.pcm.3.play.32bit: 24 > >dev.pcm.3.buffersize: 65536 > >dev.pcm.3.bitperfect: 0 > >dev.pcm.4.%desc: Realtek ALC892 (Onboard Digital) > >dev.pcm.4.%driver: pcm > >dev.pcm.4.%location: nid=17 > >dev.pcm.4.%parent: hdaa1 > >dev.pcm.4.play.vchans: 1 > >dev.pcm.4.play.vchanmode: passthrough > >dev.pcm.4.play.vchanrate: 48000 > >dev.pcm.4.play.vchanformat: s16le:2.0 > >dev.pcm.4.play.32bit: 24 > >dev.pcm.4.buffersize: 65536 > >dev.pcm.4.bitperfect: 0 > > > >and 'sysctl hw.snd' tells > > > >hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 > >hw.snd.feeder_rate_polyphase_max: 183040 > >hw.snd.feeder_rate_min: 1 > >hw.snd.feeder_rate_max: 2016000 > >hw.snd.feeder_rate_round: 25 > >hw.snd.feeder_rate_quality: 1 > >hw.snd.feeder_eq_presets: > >PEQ:16000,0.2500,62,0.2500:-9,9,1.0:44100,48000,88200,96000,176400,192000 > >hw.snd.feeder_eq_exact_rate: 0 hw.snd.report_soft_formats: 1 > >hw.snd.report_soft_matrix: 1 > >hw.snd.latency: 5 > >hw.snd.latency_profile: 1 > >hw.snd.vpc_autoreset: 1 > >hw.snd.vpc_0db: 45 > >hw.snd.vpc_reset: 0 > >hw.snd.compat_linux_mmap: 0 > >hw.snd.vpc_mixer_bypass: 1 > >hw.snd.verbose: 0 > >hw.snd.default_auto: 0 > >hw.snd.version: 2009061500/i386 > >hw.snd.default_unit: 0 > >hw.snd.maxautovchans: 16 > > > >Running 'mixer' gets > > > >Mixer vol is currently set to 100:100 > >Mixer pcm is currently set to 100:100 > > > >When I try any analog audio port, there are three jacks, there is no > >signal at all (blue and red, which should be probably input) or some > >noise only (green). This was tested with hw.snd.default_unit set to ---------------------------------------------------------------------- > >any of 0, 1, 2, 3, 4. Also, relevant lines in dmesg: ---------------------------------------------------------------------- > > > >hdacc0: at cad 0 on hdac0 > >hdaa0: at nid 1 on hdacc0 > >pcm0: (HDMI)> at nid 3 on hdaa0 > >hdacc1: at cad 0 on hdac1 > >hdaa1: at nid 1 on hdacc1 > >pcm1: at nid 20 and 24,26 on hdaa1 > >pcm2: at nid 27 and 25 on hdaa1 > >pcm3: at nid 30 on hdaa1 > >pcm4: at nid 17 on hdaa1 > > > >On next reboot I will try verbose boot, so possibly full picture > >could be drawn, but in between, has anybody any hint what I could > >try? Anything else I should post? There is HDMI output as well, but > >no sound here, too, with hw.snd.default_unit set to 0. > > > >Regards, > >Milan > > >