You are not logged in.

#1 2012-05-17 23:00:27

olejnjak
Member
Registered: 2012-05-17
Posts: 20

[SOLVED] Audio not working

Hi,

I've just installed Arch, installed all the stuff like bumblebee and synaptics touchpad drivers, according to wiki. But audio still isn't working.

I did some googling, tried some more tips, but no outcome.

In alsamixer I don't have anything muted, but speaker-test still doesn't produce any sound.

$ lsmod | grep snd
snd_hda_codec_realtek   114123  1 
snd_hda_intel          23989  2 
snd_hda_codec          92713  2 snd_hda_intel,snd_hda_codec_realtek
snd_hwdep               6556  1 snd_hda_codec
snd_pcm                74812  2 snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              19222  1 snd_pcm
snd                    59656  10 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek
soundcore               6082  1 snd

I'm using KDE but I don't think that this has anything in common with that.

Thanks for your help.

Last edited by olejnjak (2012-05-18 11:26:54)

Offline

#2 2012-05-18 00:00:55

0_0
Member
From: PRC
Registered: 2011-10-31
Posts: 10

Re: [SOLVED] Audio not working

I had the same problem in the past.
Here is my solution: add the following to /etc/modprobe.d/modprobe.conf, and restart your machine.

options snd-hda-intel model=auto

Have a try, it may work.


Yes,I am

Offline

#3 2012-05-18 00:04:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [SOLVED] Audio not working

Does `aplay -l` show your card?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2012-05-18 00:09:22

olejnjak
Member
Registered: 2012-05-17
Posts: 20

Re: [SOLVED] Audio not working

0_0 wrote:

I had the same problem in the past.
Here is my solution: add the following to /etc/modprobe.d/modprobe.conf, and restart your machine.

options snd-hda-intel model=auto

Have a try, it may work.

Thanks but that's my solution.

Trilby wrote:

Does `aplay -l` show your card?

Yep it is shown.

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

I've tried if it works in Kubuntu 12.04 and it does.

Last edited by olejnjak (2012-05-18 00:10:59)

Offline

#5 2012-05-18 00:15:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [SOLVED] Audio not working

Does speaker-test give any error, does it quit immediately, or does it generate output as if it were producing sound?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2012-05-18 00:17:40

olejnjak
Member
Registered: 2012-05-17
Posts: 20

Re: [SOLVED] Audio not working

Trilby wrote:

Does speaker-test give any error, does it quit immediately, or does it generate output as if it were producing sound?

It seems to work good but no sound.

$ speaker-test -c2

speaker-test 1.0.25

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.651934
 0 - Front Left
 1 - Front Right
Time per period = 5.973412
 0 - Front Left

Offline

#7 2012-05-18 00:22:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [SOLVED] Audio not working

Yup. all looks normal there to me.  You wouldn't happen to have anything in your ~/.asoundrc would you?  If so, try deleting/renaming it, if not you could always try explicitly setting the default device.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2012-05-18 00:26:26

olejnjak
Member
Registered: 2012-05-17
Posts: 20

Re: [SOLVED] Audio not working

Trilby wrote:

Yup. all looks normal there to me.  You wouldn't happen to have anything in your ~/.asoundrc would you?  If so, try deleting/renaming it, if not you could always try explicitly setting the default device.

Nope, i don't have ~/.asoundrc. You mean setting in phonon or?

Offline

#9 2012-05-18 00:49:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [SOLVED] Audio not working

Isn't phonon just a kde thing?  I really don't know anything about phonon, and am just learning my way around alsa.

I'm assuming you have the same lack of sound in the console (w/ no KDE/WM running), is that right?  If so then this is a general issue that might be easiest to tackle at the WM-independent level.  If sound works in the console, but not in KDE, then this is a phonon-specific problem, which I wouldn't know the first thing about.

The alsa page of the archwiki describes the asoundrc file settings.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2012-05-18 05:06:34

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Audio not working

Useful debugging info:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh
bash alsa-info.sh --upload

Then show us the URL that the script shows at the end.

Offline

#11 2012-05-18 05:34:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,642

Re: [SOLVED] Audio not working

Any chance pulseaudio is adding to your woes?  You might check to see if it running.  If you are not expecting it to be running, and it is, it could be sending your audio to the big bit-bucket in the sky smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#12 2012-05-18 11:26:40

olejnjak
Member
Registered: 2012-05-17
Posts: 20

Re: [SOLVED] Audio not working

ewaller wrote:

Any chance pulseaudio is adding to your woes?  You might check to see if it running.  If you are not expecting it to be running, and it is, it could be sending your audio to the big bit-bucket in the sky smile

Thanks guy, pulseaudio hasn't been installed after that everything goes fine.

Offline

Board footer

Powered by FluxBB