Re: No sound in Debian Lenny

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

 



> I'd like to ask you a few questions to help me establish in my own mind how
> you have proceeded so far.
> 
> Firstly, have you tried using the 'aplay -D hw:N,M' command followed by the
> name of an LPCM wave file and tried various values to see if any choice of
> N and M produce sound?
> 
> e.g. does something like 'aplay -D hw:0,0 <wavefilename here> do nothing,
> or does it give an error, or... ?

This is the result 

bruno@CRONO:~$ aplay -D hw:0,0 sound.wav 
aplay: main:564: audio open error: No such file or directory
bruno@CRONO:~$ aplay -D hw:0,1 sound.wav 
aplay: main:564: audio open error: No such file or directory
bruno@CRONO:~$ aplay -D hw:1,0 sound.wav 
Playing WAVE 'sound.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
aplay: set_params:918: Sample format non available
bruno@CRONO:~$ aplay -D hw:1,1 sound.wav 
Playing WAVE 'sound.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
aplay: set_params:918: Sample format non available

> 
> Secondly, did you obtain the above results from a specific command or prog?
> if so, what?

I got these ouput with a ALSA team script

http://www.alsa-project.org/alsa-info.sh

> 
> Thirdly, have you tried adding a simple section to your .asoundrc file to
> explicitly define which card and device and the 'default' along with some
> basic settings? e.g. I use
> 
> pcm.!default {
> type plug
> slave {
> pcm "hw:1"
> channels 2
> format S24_3LE
> }
> }
> 
> in my .asoundrc to specify that a specific device the system identifies as
> hw:1 (and which expects the S24_3LE format) is to be used as default. Have
> you tried that with various values for the "hw:", starting either with no
> other entries for things like 'format' and then experimented on the basis
> of the info you have?

What is the command that said you what is *hw* number?

> 
> I can't immediately diagnose your problem as I don't yet know enough.
> Someone else may be able to do so! But replies to the above may help.

Sure. I welcome your help.

> 
> Afraid I am myself a learner, no expert on ALSA. But when I asked for help
> here myself I noticed the tendency of others to simply say "use jack" or
> "use pulse" or similar. Which to me seems not to help much if - like myself
> - you actually want to understand and diagnose the problem, and have posted
> on an ALSA list because you want to do this using ALSA!  :-)

I don't want and I can't install other distribution. I would like to
resolve this problem, if I can, without removing system.

> 
> Slainte,
> 
> Jim
> 

Thanks,
Bruno.


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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