All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: Adrian McMenamin <adrian@mcmen.demon.co.uk>,
	alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: Problem with ALSA on PPC
Date: Mon, 12 Jun 2006 17:57:23 -0400	[thread overview]
Message-ID: <1150149444.3062.55.camel@mindpipe> (raw)
In-Reply-To: <s5h7j3md4bf.wl%tiwai@suse.de>

On Mon, 2006-06-12 at 13:03 +0200, Takashi Iwai wrote:
> At Sat, 10 Jun 2006 12:59:15 -0400,
> Lee Revell wrote:
> > > > 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.
> 
> Yeah, plugins hell.
> 
> >  Have you looked into
> > porting strace to your platform?
> 
> The open/close of all config stuff is done only in src/input.c and
> output.c.  The open of device files is done via snd_open_device()
> defined in include/local.h.  So, checking these entries cover most of
> open/close operations in alsa-lib.

How can I build alsa-lib with a non-standard --prefix, but at runtime
have it look for its config files in the standard location?  IOW how do
I prevent the --prefix from being prepended?

I am generating a ramdisk image that is transferred over to a PPC board,
and except for this problem, alsa-lib works on the target.

Looking at ./configure options, it seems like it's not possible?

Lee

  reply	other threads:[~2006-06-12 21:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-09 22:18 Problem with ALSA on PPC Lee Revell
2006-06-10  1:26 ` Lee Revell
2006-06-10 10:00   ` Adrian McMenamin
2006-06-10 16:59     ` Lee Revell
2006-06-12 11:03       ` Takashi Iwai
2006-06-12 21:57         ` Lee Revell [this message]
2006-06-13  9:35           ` Takashi Iwai
2006-06-13 10:57             ` Manuel Lauss
2006-06-13 18:22               ` Lee Revell
2006-06-13 15:45             ` Lee Revell
2006-06-13 16:20               ` Takashi Iwai
2006-06-12 11:41     ` Liam Girdwood
2006-06-12 22:33       ` Lee Revell
2006-06-13  0:40     ` Lee Revell
2006-06-13 18:09       ` Adrian McMenamin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1150149444.3062.55.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=adrian@mcmen.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.