Re: Need to specify card for aplay

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

 



On Thu, 2009-07-30 at 09:09 -0500, Matt Zagrabelny wrote:
> On Wed, 2009-07-29 at 20:58 -0700, Bob Plantz wrote:
> > I'm running Debian sid and don't have sound.
> > 
> > If I do
> >   bob@debian:~$aplay -D surround51:CARD=CK8S,DEV=0 ring.wav
> > it works fine. But if I don't explicitly specify the card:
> >   bob@debian:~$ aplay ring.wav
> >   ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect:
> >   Connection refused
> 
> Do you have pulse audio installed?

No, I don't have it installed.

> 
> Is aplay pulse aware?
> 

I don't know how to determine this.

I have also tried using alsactl init, which gives:

debian:/home/bob# alsactl init
Unknown hardware: "NFORCE" "Realtek ALC658D" "AC97a:414c4781" "0x147b"
"0x1c14"
Hardware is initialized using a guess method
/usr/share/alsa/init/default:51: control element not found
/usr/share/alsa/init/default:52: missing closing brace for format
/usr/share/alsa/init/default:52: error parsing CTL attribute
/usr/share/alsa/init/default:52: invalid rule

Lines 48-56 in /usr/share/alsa/init/default are:
48: CTL{reset}="mixer"
49: CTL{name}="Headphone Playback
Volume",PROGRAM=="__ctl_search",GOTO="headphone0_end"
50: # if master volume control is present, turn headphone volume to max
51:ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="headphone0_end"
52:ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="headphone0_end"
53:CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
54:LABEL="headphone0_end"
55:CTL{name}="Headphone Playback Switch",PROGRAM=="__ctl_search", \
56:  CTL{values}="on"



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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