Re: Problem with ALSA on PPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Sat, 10 Jun 2006 12:59:15 -0400,
Lee Revell wrote:
> 
> 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.

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.


Takashi


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux