Re: Porting ARM ALSA driver to 2.6.16 kernel

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

 



On Wed, 2006-06-14 at 08:30 -0600, Ross Wille wrote:
> Hi,
> 
> I have an ALSA sound driver working on an ARM platform running on a 
> 2.6.10 kernel.  But when I ported this driver to the 2.6.16.19 kernel 
> it does not work.  The device nodes show up, but when I try to call any 
> of the OSS-emulation ioctls (for example, SNDCTL_DSP_SETFMT) I get a 
> -EINVAL return code from the ioctl call and a "No usable accesses" 
> error gets printed to the console.  (I do have OSS emulation enabled in 
> the kernel.)
> 

The only problem I've experienced lately with ALSA on ARM is this gcc
optimisation bug:-

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27363

This only applies to gcc 4.1.0 (it's fixed in 4.1.1) and caused the
SNDRV_PCM_FORMAT_* refinement (in sound/core/pcm_native.c) to break.

A few things to also check:-

 o Does aplay/arecord and alsamixer work (they don't use OSS
emulation) ?
 o Does the Dummy driver work ?

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