LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2010, 08:00 AM   #1
greplinux
Member
 
Registered: Jun 2007
Posts: 118

Rep: Reputation: 17
Linux Audio problem


Hi All,

My question may be annoying for many of you, but i have no other go. Every time I update my Linux box, I use to scratch my head with the audio video settings.

The Linux audio is like a black magic to me. My latest problem is while i am viewing youtube videos, I am not able to hear the audio, but when i plug in my earphones, i am able to enjoy the audio.

Now my short term goal is to set this problem right and my long term is to understand about the Linux audio/video system.


Please let me know what all info you guys need to help me out of this problem.

Thanks,
 
Old 08-07-2010, 09:41 AM   #2
Demerzel
LQ Newbie
 
Registered: Aug 2010
Posts: 23

Rep: Reputation: 15
From what you said your headphones and speakers are on different channel(is it a laptop) You probably have one chanel quiet down in settings. Try alsamixer.
 
Old 08-07-2010, 11:36 AM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,615

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441
Quote:
Every time I update my Linux box, I use to scratch my head with the audio video settings.
Yes it usually changes the channel assignments and even default volumes.
Quote:
The Linux audio is like a black magic to me. My latest problem is while i am viewing youtube videos, I am not able to hear the audio, but when i plug in my earphones, i am able to enjoy the audio.
Very common challenge to every linux user. As Demerzel said you were listening through another channel.

On the terminal (cli, or dos-prompt) type:

--$ alsaconf <Enter> {Just follow and make default answers in 'Yes' to the interactive that follows as the alsa driver configures your audio.}

Then if you need to adjust volumes type:

--$ aumix <Enter> {You will be able to control the volumes and balance through the keyboard.}

If you are using a distro that runs a KDE you can do the same via:

Press: Alt+F2
Then type: /usr/bin/kmix {Click 'Run'. A better xbased applet will pop up.}

Or under Xfce 4 do this:

Press: Alt+F2
then type: /usr/bin/xfce4-mixer {Click 'Run'}

Hope this helps. Good luck.

Last edited by malekmustaq; 08-07-2010 at 11:38 AM.
 
1 members found this post helpful.
Old 08-07-2010, 11:20 PM   #4
greplinux
Member
 
Registered: Jun 2007
Posts: 118

Original Poster
Rep: Reputation: 17
Dear malekmustaq,

You nailed it :-). Actually , this is the first time I am using KDE. And I am not quite familiar with KDE controls. I was trying to find something like 'Advanced volume configuration, in Gnome. Your reply dragged me to kmix and bingo, i got the audio working. Thanks :-)

And again, is there any detailed tutorial for Linux sound configuration.

Thanks again,
 
Old 08-08-2010, 03:21 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,829

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
also you never stated what distro you are using

there is a very common bug with fedora and pulse-audio
pulse-audio in gen i think

one or more of the channels , PCM mostly, gets set to 0

for better help you might want to add the distro you are using
 
Old 08-08-2010, 09:15 AM   #6
greplinux
Member
 
Registered: Jun 2007
Posts: 118

Original Poster
Rep: Reputation: 17
Will do that in future John. Thanks
 
Old 08-09-2010, 11:22 AM   #7
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,615

Rep: Reputation: 441Reputation: 441Reputation: 441Reputation: 441Reputation: 441
greplinux,

Quote:
And again, is there any detailed tutorial for Linux sound configuration.
My limited observation tells that most GNU/Linux distros use ALSA, so it is most advisable to learn how to use its native commands regardless of where and which distro we are running. The first recourse for knowing about ALSA is found in your hard drive which may vary from distro to distro, in my case [Slackware]: /usr/doc/alsa-utils-1.0.17/README-alsa-utils; there is also a good tutorial for it here; it is most advisable to learn control ALSA from the ncurses under command line, a short tutorial is here.

Usually we wanted to progress into gaining more control over media formats like converting from mp3 to another format, or even dare edit the digital file. There is a short tutorial here concerning how to use Grip either in CLI or GUI. That would be a good start.

By the way before I forget, under your Kde, to automate calling 'Kmix' volume control you can put a 'button' on your task bar. Right click the task bar, click Add New Item then scroll into an icon for the Volume Control, then apply it. Kde is very rich on applications, I often feel overloaded by it If it doesn't give you the button there is another way of placing a button in the task bar, just call my attention if you need to hear about this.

Hope it helps. Good luck.

Last edited by malekmustaq; 08-09-2010 at 11:24 AM.
 
Old 08-10-2010, 12:31 AM   #8
greplinux
Member
 
Registered: Jun 2007
Posts: 118

Original Poster
Rep: Reputation: 17
Hi malekmustaq,

I have added kmix in my task system tray. Thank you!!

Regards,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux mint 6/ubuntu 8.04 audio problem normgarran Linux Mint 1 05-30-2009 07:17 AM
audio problem with suse linux 10.0 samir01m11 SUSE / openSUSE 3 09-02-2006 10:27 AM
audio problem with suse linux 10.0 samir01m11 Linux - Hardware 0 07-10-2006 04:13 AM
Problem with audio - on SuSE Linux 8.2 GloVe Linux - Hardware 2 09-26-2003 09:12 AM


All times are GMT -5. The time now is 01:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration