Re: Sound doesn't work on embedded linux

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

 



You arfe trying to access using OSS. Try using direct alsa first., 
Ie, what happens if you use aplay or arecord. 
Once you have also worink you can figure out why oss emulation is not owrking
( eg because you forgot to load the oss emulation drivers)
What does 
alsamixer
show?
On Tue, 31 Aug 2010, Vladislav Rafael wrote:

> I need help with the sound on our appliance. We are compiling the kernel (2.6.32.4) with the alsa and the drivers configured as built -in.
> when the kernel is starting it loads the driver (Intel HDA) and recognizes the sound card successfully (VIA VT82xx).
>
> All the relevant devices appear (under /dev and under /proc). I can see IRQ 17 assigned to the sound.
> However when trying to  play a sound I get an Invalid Argument error.
>
> It seems that the ioctl commands on the device return EINVAL.
> The dmesg command shows the following messages:
>
> ALSA sound/core/oss/pcm_oss.c:871: No usable accesses
> ALSA sound/core/oss/pcm_oss.c:871: No usable accesses
> ALSA sound/pci/hda/hda_codec.c:1096: hda_codec_cleanup_stream: NID=0x10
> ALSA sound/pci/hda/hda_codec.c:1096: hda_codec_cleanup_stream: NID=0x11
> ALSA sound/pci/hda/hda_codec.c:1096: hda_codec_cleanup_stream: NID=0x12
> ALSA sound/pci/hda/hda_codec.c:1096: hda_codec_cleanup_stream: NID=0x13
>
> Does anybody have any idea what can be the problem?
>
> Thanks

-- 
William G. Unruh   |  Canadian Institute for|     Tel: +1(604)822-3273
Physics&Astronomy  |     Advanced Research  |     Fax: +1(604)822-5324
UBC, Vancouver,BC  |   Program in Cosmology |     unruh@xxxxxxxxxxxxxx
Canada V6T 1Z1     |      and Gravity       |  www.theory.physics.ubc.ca/

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux