You are not logged in.

#1 2016-03-30 04:56:45

powerOfSilence
Member
Registered: 2015-12-22
Posts: 7

[SOLVED] Audio is not working

I recently installed Arch Linux on a Toshiba Satellite, 2013/14 version. It is dual booted with windows 8.1 and running on a total of 490-ish Gb. My problem is that i cannot get the sound to work. I made a /etc/asound.conf accordingly, which successfully set my default card to the correct one. After creating this file below, i rebooted.

$ cat /etc/asound.conf
# Sets proper sound card as default
pcm.!default {
	type hw
	card PCH
}

ctl.!default {
	type hw
	card PCH
}

I made sure my card was the right one because of this.

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

I then did the speaker test, which also worked with success.

$ speaker-test -c 1 -D plughw:1

speaker-test 1.1.0

Playback device is plughw:1
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
^CTime per period = 0.845941

Using alsamixer i made sure i had no muted channels,and all my channels are in the white and red range.

I play a youtube video to test my sound, but to no avail. What else can i do to fix this?

SOLUTION: sound config had error. Using the asoundconf package helped fix the issue for sound.

Last edited by powerOfSilence (2017-10-15 03:59:40)

Offline

#2 2016-03-30 14:31:13

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] Audio is not working

When you say the speaker test was a success, does that mean the program ran without error, or does it mean that sound came out?
Is pulseaudio installed? Is it running?   (Note that I am not yet saying to install it, I just want to know which branch to follow on the Ishikawa diagram)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-04-04 18:43:41

Trashlord
Member
Registered: 2008-12-08
Posts: 11

Re: [SOLVED] Audio is not working

How else did you test the audio? Only by trying to play a YouTube video?

When I installed Arch on my laptop 4 weeks ago, I had sound when playing music and videos on Audacious and VLC, but no sound on flashplayer.
If that's your issue, check your /usr/share/alsa/alsa.conf file. I had to configure that one to use the appropriate card and have had no problems since.

Offline

#4 2016-04-04 20:02:01

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Audio is not working

Although I don't have anything worthwhile to say I 'had' to comment about the irony of your forum name and this thread's topic.  big_smile

Offline

Board footer

Powered by FluxBB