From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "mx1.suse.de", Issuer "SuSE Linux AG internal IMAP-Server CA" (not verified)) by ozlabs.org (Postfix) with ESMTP id D774A67B7F for ; Fri, 15 Apr 2005 02:18:23 +1000 (EST) Date: Thu, 14 Apr 2005 18:18:17 +0200 Message-ID: From: Takashi Iwai To: Benjamin Herrenschmidt In-Reply-To: <1113484515.5516.100.camel@gaston> References: <1113113792.9517.476.camel@gaston> <1113483344.5614.17.camel@localhost> <1113484515.5516.100.camel@gaston> MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev list , Johannes Berg , "debian-powerpc@lists.debian.org" Subject: Re: [PATCH] pmac: sound support for latest laptops List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , At Thu, 14 Apr 2005 23:15:14 +1000, Benjamin Herrenschmidt wrote: > > On Thu, 2005-04-14 at 14:55 +0200, Johannes Berg wrote: > > Hi, > > > > > This patch hacks the current Alsa snd-powermac driver to add support for > > > recent machine models with the tas3004 chip, that is basically new > > > laptop models. > > > > So this works, but is incompatible with gstreamer. I took it with a > > rhythmbox/gstreamer developer and he said that it's a driver issue. A > > gstreamer log is here: > > http://johannes.sipsolutions.net/files/rhythmbox-alsa-debug > > (produced by GST_DEBUG=alsa*:5 rhythmbox 2>&1 | tee logfile) > > > > He also asked me to try > > $ gst-launch-0.8 sinesrc ! alsasink device=hw:0 > > > > which yields: > > RUNNING pipeline ... > > ERROR: pipeline doesn't want to play. > > > > So the conclusion was: > > "set_periods_near ioctl does something weird" > > > > Any ideas? > > I don't know, this is definitely not a problem with the platform > specific part of the driver, which is what I've been dealin with lately. > You may find a better answer with the Alsa folks regarding the actual > PCM implementation. Could you try the very latest CVS alsa-lib? (Maybe you'll need to wait until tomorrow for sync with anon tree.) In the latest version, alsa-lib will show verbose messages to stderr when $LIBASOUND_DEBUG is set. Takashi