Re: Problem with ALSA on PPC

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

 



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 ;-)

Fwiw, I've been using OE 

http://www.openembedded.org/

to do all my embedded (non x86) ALSA user space building. It's quite
simple and I've not had any issues wih building alsa-* yet. It even
creates the device nodes and puts all the config files in the correct
place in your target file system.


> 
> 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've had a similar issue in the past. I could see the alsa device nodes
under /dev/snd and could see the pcms in /proc/asound/pcm, although I
had error messages like this when opening the devices in alsa mode. OSS
mode worked fine.

It turned out that my alsa nodes were not in the target file
systems  /etc/device_table file. After adding them to this file and
rebooting, alsa worked fine.  

HTH

Liam 




_______________________________________________
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