From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: Re: Problem with ALSA on PPC Date: Sat, 10 Jun 2006 12:59:15 -0400 Message-ID: <1149958755.14253.24.camel@mindpipe> References: <1149891511.3894.296.camel@mindpipe> <1149902770.13569.10.camel@mindpipe> <1149933605.5081.1.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1149933605.5081.1.camel@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Adrian McMenamin Cc: alsa-devel List-Id: alsa-devel@alsa-project.org On Sat, 2006-06-10 at 11:00 +0100, Adrian McMenamin wrote: > On Fri, 2006-06-09 at 21:26 -0400, Lee Revell wrote: > > On Fri, 2006-06-09 at 18:18 -0400, Lee Revell wrote: > > > I do not have strace on this platform. How can I determine which file > > > or directory is missing? > > > > > > /usr/share/alsa/alsa.conf is present as well as the correct device > > > node: > > > > > > ~ # ls -al /dev/snd/pcmC0D0p > > > crw-rw---- 1 root 29 116, 16 Jun 9 > > > 15:54 /dev/snd/pcmC0D0p > > > > > > What am I doing wrong? > > > > > > > I found the problem by installing strace on the PPC board. alsa-lib is > > looking for its config files using the original path from the build > > host. Either my build environment is still incorrect or it's a bug - > > probably the former ;-) > > > > Once I am done maybe I will write an embedded ALSA HOWTO. > > > > Lee > > > > I had/have a very similar problem with the Dreamcast - I can only use > the oss emulation > > Asking about here didn't get me an answer so I await any answers to your > problem with anticipation... > > / # aplay -l > **** List of PLAYBACK Hardware Devices **** > aplay: device_list:230: control open (0): Invalid argument I don't know how I ever could have solved this without strace - the ALSA library is a twisty maze of function pointers. Have you looked into porting strace to your platform? Lee