From: Steve S. <sa...@gm...> - 2008-01-18 17:23:48
|
I found the error, silly as usual. In /etc/asound.state: name 'Master Playback Switch' value false Duh! Setting it to true results in sound output. Amazing :-) Fix will be in revision 149. Still some issues with init ordering -- seems to want to be loaded after bluetooth init. Will fix after more debugging. Steve On Jan 18, 2008 7:58 AM, Steve Sakoman <sa...@gm...> wrote: > Revision 148 comes really close to having working alsa support. > > Devices are created in the proper location, the proper modules are > loaded in the alsa init, and there is reasonable content in > /etc/asound.state. > > You can even run alsamixer and get a "graphical" UI for the mixer (use > arrow keys to navigate, hit ESC to save & exit): > > alsamixer > > There is a speaker test app in the repo: > > ipkg install alsa-utils-speakertest > > To run the speaker test program: > > speaker-test > > The one issue: though the mixer and speaker test program seem to > function without error, there is no sound output :-) > > The workaround: build and install aumix (sorry, not in the repo yet, > you'll have to do this manually), then: > > aumix -v 80 > > At that point everything works, sound on both channels and the mixer > app controls the audio as expected. > > I also installed madplay and was able to play mp3 files without any issues. > > So, the question for all you alsa experts out there: why won't the > alsa mixer control volume prior to running aumix to set the volume? > Is there a cleaner workaround to this problem than the aumix approach? > > Thanks! > > Steve > > > On Jan 17, 2008 10:32 PM, Steve Sakoman <sa...@gm...> wrote: > > > udev driver renaming rules added in revision 142 > > > > And installed in image in revision 145 > > > > Steve > > > > > > On Jan 17, 2008 5:42 PM, Steve Sakoman <sa...@gm...> wrote: > > > udev driver renaming rules added in revision 142 > > > > > > Steve > > > > > > > > > On Jan 17, 2008 6:11 AM, Steve Sakoman <sa...@gm...> wrote: > > > > Dan's file is included as the default starting in revision 141. > > > > > > > > Thanks Dan! > > > > > > > > Steve > > > > > > > > > > > > On Jan 17, 2008 4:15 AM, Daniel Frey <dmf...@gm...> wrote: > > > > > Thank you for this information. > > > > > > > > > > After executing these commands, I have produced an asound.state file that I > > > > > am going to send to Steve so that he can include it in a future build. > > > > > > > > > > Dan > > > > > > > > > > Original Message: > > > > > ============= > > > > > > > > > > > > > > > > > > > > Daniel, > > > > > > > > > > I have the same problem using OE version 138, but have managed to get the > > > > > ALSA sound system to work with my application. The problem is that the > > > > > /dev/snd/xxxx devices are not being created. I have manually created the > > > > > devices and loaded the amixer package to get things to work. Try this: > > > > > > > > > > mkdir /dev/snd > > > > > mknod -m 600 /dev/snd/controlC0 c 116 0 > > > > > mknod -m 600 /dev/snd/pcmC0D0c c 116 24 > > > > > mknod -m 600 /dev/snd/pcmC0D0p c 116 16 > > > > > mknod -m 600 /dev/snd/timer c 116 33 > > > > > mknod -m 600 /dev/snd/seq c 116 1 > > > > > mknod -m 600 /dev/snd/midiC0D0 c 116 8 > > > > > mknod -m 600 /dev/snd/hwC0D0 c 116 4 > > > > > > > > > > amixer set Master 100% on > > > > > amixer set Capture 100% on > > > > > > > > > > I suspect the either the devices aren't set up statically or dynamically > > > > > with udev but lack the familiarity to identify the proper fix in udev ... > > > > > this works for me, for now. > > > > > > > > > > -- > > > > > View this message in context: > > > > > http://www.nabble.com/Re%3A-Gumstix-OE-AudioStix2-tp14778423p14908687.html > > > > > Sent from the Gumstix mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by: Microsoft > > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > _______________________________________________ > > > > > gumstix-users mailing list > > > > > gum...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > > > > > > > > > > > > > > > |