Re: Beginner question - getting started with ALSA on a Fedora Core 6

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

 



On Mon, 8 Jan 2007, david feldman wrote:

> Much progress!
...

Good.

>
> Now the commands aplay, arecord, and so on appear to function.
>
> arecord -d 5 >file.wav produces a file, however, the file plays back as
> silence.

YOu forgot to  run alsamixer first and make sure that the
volume controls were non-zero. Alsa defaults to all volume sliders at 0,
which means no sound. That is so that y ou do not destroy your expensive
speakers or ears as the volume blasts on.

Use aplay first to make sure you can play sounds. There are loads of .wav
files on your system you can try.


>
> I think my remaining problem is around setting amixer properly.
>
> I looked at amixer trying to figure out how to enable input from the
> microphone jack of the sound device (on this machine, it's routed to a
> connector on the front panel with a microphone icon, and when I plug a sound
> source in, I can hear the sound on the machine's internal speaker.) This is
> going to take more reading, because there are so many individual
> parameters...

No just run alsamixer and start playing around. Note that you want to look
at both the capture and play pages of alsamixer.


>
> Thanks,
>
> Dave
>
>
>
>
>> From: Bill Unruh <unruh@xxxxxxxxxxxxxx>
>> To: david feldman <wb0gaz@xxxxxxxxxxx>
>> CC: alsa-user@xxxxxxxxxxxxxxxxxxxxx, steshenko_sergei@xxxxxxx
>> Subject: Re:  Beginner question - getting started with ALSA on a
>> Fedora Core 6
>> Date: Mon, 8 Jan 2007 15:31:55 -0800 (PST)
>>
>> On Mon, 8 Jan 2007, david feldman wrote:
>>
>>> Thanks Bill and Sergei!
>>>
>>> Here is the new information:
>>>
>>>> lsmod|grep snd
>>>> What does this list?
>>>
>>> Empty - no module with "snd" in it!
>>
>> OK, that means that you have no sound card driver loaded. It is not
>> surprising then that you have no sound.
>>
>> If what is below is your /etc/modprobe.conf, then just do modprobe
>> snd-card-0
>> Now, do lsmod|grep snd again. If still nothing shows up do
>> dmesg|tail -20
>> and look for error messages from the attempt to load the sound card driver.
>>
>> Maybe you do not have a CS4236 sound card?
>>
>> If you now have snd- modules loaded, try alsamixer to turn on the volume
>> (it is always off by default) and then use aplay and arecord.
>>
>>
>>
>>
>>
>>
>>>
>>>> ls /proc/asound
>>>
>>> asound does not exist in /proc.
>>>
>>> ###
>>>
>>> Here is /etc/modprobe.conf.
>>>
>>> The first three entires are due to my existing hardware, two Ethernet and
>>> one SCSI port.
>>>
>>> I do not understand the last line "remove snd-cs4236.....":
>>>
>>> alias eth0 8139too
>>> alias eth1 e100
>>> alias scsi_hostadapter aic7xxx
>>> alias snd-card-0 snd-cs4236
>>> options snd-card-0 index=0
>>> options snd-cs4236 index=0
>>> remove snd-cs4236 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; };
>>> /sbin/modprobe -r --ignore-remove snd-cs4236
>>>
>>> _________________________________________________________________
>>>> From photos to predictions, The MSN Entertainment Guide to Golden Globes
>>>> has
>>> it all. http://tv.msn.com/tv/globes2007/?icid=nctagline1
>>>
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>>> your
>>> opinions on IT & business topics through brief surveys - and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Alsa-user mailing list
>>> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
>>> https://lists.sourceforge.net/lists/listinfo/alsa-user
>>>
>>
>> --
>> 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/
>
> _________________________________________________________________
> Get FREE Web site and company branded e-mail from Microsoft Office Live
> http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>

-- 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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