LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   No audio on fresh minimal installation. (https://www.linuxquestions.org/questions/debian-26/no-audio-on-fresh-minimal-installation-4175507579/)

Randicus Draco Albus 06-10-2014 04:36 AM

No audio on fresh minimal installation.
 
I just did a fresh installation of Wheezy and have a sound problem. I did a minimal installation, then installed Openbox. I have searched for a solution, but everything I found was either several years old and pertaining to extinct software, or involved both alsa and pulse audio.

I have installed:
alsa, alsamixer, ffmeg, gstreamer, even alsa-oss (in a desperate attempt)

I have not installed pulse audio.

Master and speaker are both at full volume and not muted. I do not know what PCM is, but it is also at full volume. However, I cannot toggle it between mute and not muted.

Code:

Audio Adapter        : HDA-Intel - HDA Intel PCH
Audio Adapter        : ThinkPad EC - ThinkPad Console Audio Control

The Intel adapter is the default. The previous installation on this machine did not require non-free firmware for the audio devices, so not having it this time should not be a factor.

Since this is a minimal installation (my first), my guess is I am missing one small package that is necessary. Or perhaps I need to do a configuration step, but the only command I found is "alsaconf," which is not recognised as a command.

camorri 06-10-2014 09:18 AM

Open a console, and run two commands and post the results.

As root, 'lspaci | grep Audio' - this should produce one line showing the audio card ( chip set installed ).

As root 'lsmod | grep snd' - If you have sound modules loaded, this will list them.

We'll go from there.

TobiSGD 06-10-2014 10:15 AM

Please provide the output of
Code:

aplay -l

EDDY1 06-10-2014 06:46 PM

Quote:

As root, 'lspaci | grep Audio' - this should produce one line showing the audio card ( chip set installed ).
typo for lspci?

Randicus Draco Albus 06-10-2014 11:50 PM

Code:

# lspci | grep Audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

Code:

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code:

# lsmod | grep snd
snd_hda_codec_hdmi    30824  1
snd_hda_codec_realtek  188851  1
snd_hda_intel          26259  0
snd_hda_codec          78031  3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
snd_hwdep              13186  1 snd_hda_codec
snd_pcm                68083  3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc        13003  2 snd_pcm,snd_hda_intel
snd_seq                45126  0
snd_seq_device        13176  1 snd_seq
snd_timer              22917  2 snd_seq,snd_pcm
snd                    52889  10 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,thinkpad_acpi,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
soundcore              13065  1 snd

I do not see anything wrong, but I am not very knowledgeable about such devices.
I wonder if the problem is Alsa or xine. I have not yet tested audio files with Aqualung, because I have not yet downloaded any of my music. So far, I have only used xine. Unlikely, but perhaps I am missing a xine package? While composing this post I remembered that there is a command to test speaker output. I shall report the result after (if) I remember the command.


Edit:
I found an mp3 file amongst my files and tested it with both Aqualung and AlsaPlayer. No audio.

Randicus Draco Albus 06-11-2014 02:04 AM

I may have found the solution. After running
Code:

# alsactl init
the audio is working. I say, may have found the solution, because in the thread I found this, one person stated that the command activated the audio, but only until shutting off the computer. Even if it is not a permanent fix, at least I have sound. I shall post later if it is permanent or temporary.

widget 06-11-2014 08:59 AM

This is good to hear.

I prefer netinstall. Have done it on my boxes. Have never had this problem and have been racking what is left of my brain to see if I could think of anything you may not have installed with no results what so ever.

If this works and is simply temporary OpenBox should be easy to fix this in. You need an autostart file anyway. Just slap that puppy in there.

schneidz 06-11-2014 09:18 AM

Quote:

Originally Posted by Randicus Draco Albus (Post 5186147)
I may have found the solution. After running
Code:

# alsactl init
the audio is working. I say, may have found the solution, because in the thread I found this, one person stated that the command activated the audio, but only until shutting off the computer. Even if it is not a permanent fix, at least I have sound. I shall post later if it is permanent or temporary.

maybe you need to run alsamixer and unmute all s/pdif's.

else maybe you can add alsactl init at the end of your /etc/rc.local.

Randicus Draco Albus 06-11-2014 10:44 PM

#alsactl init did the trick. That simple little thing was all I needed to do. Yipee!


All times are GMT -5. The time now is 02:38 PM.