Re: [Alsa-user] Why won't this card work?
Adrian McMenamin wrote: # aplay -L null Discard all samples (playback) or generate zero samples (capture) # aplay /aine-email.wav Playing WAVE '/aine-email.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for '(null)' aplay: set_params:895: Access type not available # aplay --device=0 /aine-email.wav ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM 0 aplay: main:545: audio open error: No such file or directory Any clues as to why this would happen? (As I said, this sample will play correctly through oss emulation) Please try aplay -Dhw0,0 file the device syntax is mandatory afaik. If that works you can start building a proper alsa config file with all kinds of useful stuff on top of that. smime.p7s Description: S/MIME Cryptographic Signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] two apps using sound
Hi! Please help me to understand if this is a fundamental issue in Alsa or just a misconfiguration in my system. Symptoms: Amarok or Mplayer can not initialize sound after watching a clip from Youtube in Firefox. It takes closing the Firefox to release the sound system. Fedora 7 with kernel 2.6.23.8-34 Thanks. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] two apps using sound
On Jan 3, 2008 1:49 PM, Alexander Saydakov [EMAIL PROTECTED] wrote: Hi! Please help me to understand if this is a fundamental issue in Alsa or just a misconfiguration in my system. Symptoms: Amarok or Mplayer can not initialize sound after watching a clip from Youtube in Firefox. It takes closing the Firefox to release the sound system. Fedora 7 with kernel 2.6.23.8-34 Apps that use the old OSS API block the soundcard if your sound device lacks hardware mixing. Upgrade to the latest Flash plugin which uses ALSA and software mixing will work. Lee - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Why won't this card work?
On 03/01/2008, Erik Slagter [EMAIL PROTECTED] wrote: Please try aplay -Dhw0,0 file the device syntax is mandatory afaik. If that works you can start building a proper alsa config file with all kinds of useful stuff on top of that. Does this $ aplay -Dhw0,0 /aine-email.wav ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw0,0 aplay: main:545: audio open error: No such file or directory - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Why won't this card work?
On Thu, 2008-01-03 at 19:48 +, Adrian McMenamin wrote: On 03/01/2008, Erik Slagter [EMAIL PROTECTED] wrote: Please try aplay -Dhw0,0 file the device syntax is mandatory afaik. If that works you can start building a proper alsa config file with all kinds of useful stuff on top of that. Does this $ aplay -Dhw0,0 /aine-email.wav ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw0,0 aplay: main:545: audio open error: No such file or directory that'll be -dhw:0,0 /J\ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Why won't this card work?
On 03/01/2008, Jonathan Stowe [EMAIL PROTECTED] wrote: On Thu, 2008-01-03 at 19:48 +, Adrian McMenamin wrote: On 03/01/2008, Erik Slagter [EMAIL PROTECTED] wrote: Please try aplay -Dhw0,0 file the device syntax is mandatory afaik. If that works you can start building a proper alsa config file with all kinds of useful stuff on top of that. Does this $ aplay -Dhw0,0 /aine-email.wav ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw0,0 aplay: main:545: audio open error: No such file or directory that'll be -dhw:0,0 Getting this $ aplay -dhw:0,0 /aine-email.wav Playing WAVE '/aine-email.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for '(null)' aplay: set_params:895: Access type not available $ aplay -Dhw:0,0 /aine-email.wav Playing WAVE '/aine-email.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono aplay: set_params:895: Access type not available $ aplay -L null Discard all samples (playback) or generate zero samples (capture) $ aplay -l List of PLAYBACK Hardware Devices card 0: AICA [AICA], device 0: AICA PCM [AICA PCM] Subdevices: 1/1 Subdevice #0: subdevice #0 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Why won't this card work?
On Jan 3, 2008 3:04 PM, Adrian McMenamin [EMAIL PROTECTED] wrote: On 03/01/2008, Jonathan Stowe [EMAIL PROTECTED] wrote: On Thu, 2008-01-03 at 19:48 +, Adrian McMenamin wrote: On 03/01/2008, Erik Slagter [EMAIL PROTECTED] wrote: Please try aplay -Dhw0,0 file the device syntax is mandatory afaik. If that works you can start building a proper alsa config file with all kinds of useful stuff on top of that. Does this $ aplay -Dhw0,0 /aine-email.wav ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw0,0 aplay: main:545: audio open error: No such file or directory that'll be -dhw:0,0 Getting this $ aplay -dhw:0,0 /aine-email.wav Playing WAVE '/aine-email.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for '(null)' aplay: set_params:895: Access type not available The problem is almost certainly an incorrect cross compile that causes ALSA to look for config files in the build host path rather than the target path. But I don't know how to verify this without strace. Is it possible for you to compile ALSA on the target? Lee - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Why won't this card work?
On 03/01/2008, Lee Revell [EMAIL PROTECTED] wrote: On Jan 3, 2008 3:04 PM, Adrian McMenamin [EMAIL PROTECTED] wrote: On 03/01/2008, Jonathan Stowe [EMAIL PROTECTED] wrote: On Thu, 2008-01-03 at 19:48 +, Adrian McMenamin wrote: On 03/01/2008, Erik Slagter [EMAIL PROTECTED] wrote: Please try aplay -Dhw0,0 file the device syntax is mandatory afaik. If that works you can start building a proper alsa config file with all kinds of useful stuff on top of that. Does this $ aplay -Dhw0,0 /aine-email.wav ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw0,0 aplay: main:545: audio open error: No such file or directory that'll be -dhw:0,0 Getting this $ aplay -dhw:0,0 /aine-email.wav Playing WAVE '/aine-email.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for '(null)' aplay: set_params:895: Access type not available The problem is almost certainly an incorrect cross compile that causes ALSA to look for config files in the build host path rather than the target path. But I don't know how to verify this without strace. Is it possible for you to compile ALSA on the target? Theoretically possible but I think it might OOM (and be *extremely* slow) but I can try it - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Why won't this card work?
On Thu, 3 Jan 2008 15:50:06 -0500 Lee Revell [EMAIL PROTECTED] wrote: The problem is almost certainly an incorrect cross compile that causes ALSA to look for config files in the build host path rather than the target path. But I don't know how to verify this without strace. Is it possible for you to compile ALSA on the target? Lee In such a case the problem is programmers who write the code that in case of such a problem does not print full path of the files the piece of code tries to open. A bug should be filed - it's elementary user unfriendliness. Regards, Sergei. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Why won't this card work?
On 03/01/2008, Lee Revell [EMAIL PROTECTED] wrote: On Jan 3, 2008 3:04 PM, Adrian McMenamin [EMAIL PROTECTED] wrote: On 03/01/2008, Jonathan Stowe [EMAIL PROTECTED] wrote: On Thu, 2008-01-03 at 19:48 +, Adrian McMenamin wrote: On 03/01/2008, Erik Slagter [EMAIL PROTECTED] wrote: Please try aplay -Dhw0,0 file the device syntax is mandatory afaik. If that works you can start building a proper alsa config file with all kinds of useful stuff on top of that. Does this $ aplay -Dhw0,0 /aine-email.wav ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw0,0 aplay: main:545: audio open error: No such file or directory that'll be -dhw:0,0 Getting this $ aplay -dhw:0,0 /aine-email.wav Playing WAVE '/aine-email.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for '(null)' aplay: set_params:895: Access type not available The problem is almost certainly an incorrect cross compile that causes ALSA to look for config files in the build host path rather than the target path. But I don't know how to verify this without strace. Just thinking about this, though, I have no config files on the target. Do I need them? What should they contain? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] Why won't this card work?
On 03/01/2008, Lee Revell [EMAIL PROTECTED] wrote: On Jan 3, 2008 3:04 PM, Adrian McMenamin [EMAIL PROTECTED] wrote: On 03/01/2008, Jonathan Stowe [EMAIL PROTECTED] wrote: On Thu, 2008-01-03 at 19:48 +, Adrian McMenamin wrote: On 03/01/2008, Erik Slagter [EMAIL PROTECTED] wrote: Please try aplay -Dhw0,0 file the device syntax is mandatory afaik. If that works you can start building a proper alsa config file with all kinds of useful stuff on top of that. Does this $ aplay -Dhw0,0 /aine-email.wav ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM hw0,0 aplay: main:545: audio open error: No such file or directory that'll be -dhw:0,0 Getting this $ aplay -dhw:0,0 /aine-email.wav Playing WAVE '/aine-email.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for '(null)' aplay: set_params:895: Access type not available The problem is almost certainly an incorrect cross compile that causes ALSA to look for config files in the build host path rather than the target path. But I don't know how to verify this without strace. I have thought about this. This would only be a problem if the build specifies a relative path. The files in the target are deployed to the standard directory. Why would this be an issue then? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] OSS out SPDIF Port SoundBlaster Live!
Well, I've learned the dsp_map=3 switch does indeed do something. Changing it's value causes an oss file to appears under pcm2p, pcm3p, based upon this switch. However, I never get sound out the spdif port. How does this work anyways? How does the pcm get converted to a digital stream out the spdif? Jim Jim Duda wrote: Can anyone explain how I can get the PCM sound normally sent through /dev/dsp to route out through the SPDIF port on a SoundBlaster Live! (emu10k1)? I've seen one posting which claims that all I need to do is add options snd-pcm-oss dsp_map=3 to modprobe.conf. Unfortunately, that doens't seem to work for me. Can anyone offer any advice as to how to debug or figure out how what needs to be done? Thanks, Jim - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] two apps using sound
Apps that use the old OSS API block the soundcard if your sound device lacks hardware mixing. Upgrade to the latest Flash plugin which uses ALSA and software mixing will work. Also try starting firefox with aoss. Note that aoss will not be wrapping any child instances (pop-ups) launched from said firefox instance. $ aoss firefox HTH, - James - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
[Alsa-user] ALSA (linux2.6) support for ARM platform?
Hi folks, From the technical report What's new in Linux 2.6, http://free-electrons.com/doc/linux26.pdf It says: ALSA replaced OSS. However, ALSA still incompatible with the ARM platform. Made x86 architecture related assumption that conflicts with ARM caching mechanisms. Plain audio playback can still be achieved though. So will there be a problem if we are going to use ALSA on ARM platform? And if this is a problem, are there any solutions for the ARM platform to run Linux ALSA? Thanks, Sarick - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user