LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2007, 01:37 PM   #1
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Rep: Reputation: 30
Wink no soundcard output


Hi Folks - I'm running Debian 4.0 - fantastic. I have a problem when I run a cd player - the s/w picks up track names and goes through the motions but i hear no sounds. Any ideas please - this worked fine with my previous debian 3.1 installation

Its a creative sounblaster sb1000 about 8 years old I think.

Thanks
Greeb
 
Old 05-12-2007, 04:03 PM   #2
klytu
Member
 
Registered: Mar 2004
Location: Eastern United States
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 15
Quote:
Originally Posted by Greebstreebling
Hi Folks - I'm running Debian 4.0 - fantastic. I have a problem when I run a cd player - the s/w picks up track names and goes through the motions but i hear no sounds. Any ideas please - this worked fine with my previous debian 3.1 installation

Its a creative sounblaster sb1000 about 8 years old I think.

Thanks
Greeb
If you have no other sound issues other than CD playback, check your software settings and make sure you have sound output set for digital playback, not analog. What software are you using for CD playback?
 
Old 05-12-2007, 04:36 PM   #3
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Original Poster
Rep: Reputation: 30
Uses Sound Juicer

Debian 4 offers sound juicer - I tried playing system sounds as well but these don't work.

thanks
greeb
 
Old 05-12-2007, 04:50 PM   #4
klytu
Member
 
Registered: Mar 2004
Location: Eastern United States
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 15
Quote:
Originally Posted by Greebstreebling
Debian 4 offers sound juicer - I tried playing system sounds as well but these don't work.

thanks
greeb
OK. Letīs confirm your soundcard is still detected and the right modules are loaded. Please post the output of
Code:
lspci-v
and
Code:
lsmod | grep snd
 
Old 05-12-2007, 05:09 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
try launching:

alsamixer

and mute what you don't want, unmute what you do want, and make sure the system is using alsa for sound.
 
Old 05-13-2007, 05:11 AM   #6
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Original Poster
Rep: Reputation: 30
Smile thanks for help

Guys - thanks for help - the alsa mixer did the trick - I think this is probably a fix for a next release, as the sound facility is default off rather than on.

I had to turn on 'analog front' to get sound through my two speakers.

Thanks again,

Greeb
 
Old 05-25-2007, 09:25 AM   #7
milindlokde
Member
 
Registered: Apr 2007
Location: Mumbai, India
Distribution: Fedora, ubuntu
Posts: 121

Rep: Reputation: 21
Quote:
Originally Posted by AwesomeMachine
try launching:

alsamixer

and mute what you don't want, unmute what you do want, and make sure the system is using alsa for sound.
Well I am having the same problem with my Debain Sarge 3.1 and it solves the same way. But I have to set the sound setting everytime I login. I can't keep the settings permanently.
 
Old 05-25-2007, 09:26 AM   #8
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Ahh...

Set it like normal and then run "alsactrl store" (without quotes) to save the settings .
 
Old 05-28-2007, 10:33 AM   #9
milindlokde
Member
 
Registered: Apr 2007
Location: Mumbai, India
Distribution: Fedora, ubuntu
Posts: 121

Rep: Reputation: 21
'alsactrl' command was not found on my Debian system, though it showed 'alsaconf', 'alsamixer' & 'alsamixergui'. So my problem is still unresolved, I will search for the tool though. Is there any other way.
 
Old 05-29-2007, 06:10 AM   #10
klytu
Member
 
Registered: Mar 2004
Location: Eastern United States
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 15
Quote:
Originally Posted by milindlokde
'alsactrl' command was not found on my Debian system, though it showed 'alsaconf', 'alsamixer' & 'alsamixergui'. So my problem is still unresolved, I will search for the tool though. Is there any other way.
The correct command is alsactl not alsactrl. After your sound levels the way you want with alsamixer, try:
Code:
alsactl store 0
... or if this is your nth sound card (where n is the number of soundcards in your computer) replace 0 with n-1. If this command doesn't work directly, you may need to run it as root (I have to run it as root on my distro for it to work). More info is available through
Code:
man alsactl

Last edited by klytu; 05-29-2007 at 06:15 AM.
 
Old 05-29-2007, 06:27 AM   #11
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
alsactl

Oops. Sorry for the typo.
 
Old 06-02-2007, 09:33 AM   #12
milindlokde
Member
 
Registered: Apr 2007
Location: Mumbai, India
Distribution: Fedora, ubuntu
Posts: 121

Rep: Reputation: 21
Well thanks I found the command 'alsactl' but it works only as root in my system. The command did not help as an user. It seems alsa is not controlling the sound.

I am using 'gnome-volume-control' for setting my sound in GUI mode. I have tried gnome-volume-manager' also. Even the man pages do not contain anything related to saving the settings.

I have even set my sound server to enabled and even system notifications to on. Even that didn't help.

Saving my login session would help, but I see no option for that in my logout dialog box or does Debian save session automatically. I used to get the message 'save session and logout' in Fedora/RedHat I had installed previously.

Last edited by milindlokde; 06-02-2007 at 09:38 AM.
 
Old 06-02-2007, 12:23 PM   #13
klytu
Member
 
Registered: Mar 2004
Location: Eastern United States
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 15
Quote:
Originally Posted by milindlokde
Well thanks I found the command 'alsactl' but it works only as root in my system. The command did not help as an user. It seems alsa is not controlling the sound.

I am using 'gnome-volume-control' for setting my sound in GUI mode. I have tried gnome-volume-manager' also. Even the man pages do not contain anything related to saving the settings.

I have even set my sound server to enabled and even system notifications to on. Even that didn't help.

Saving my login session would help, but I see no option for that in my logout dialog box or does Debian save session automatically. I used to get the message 'save session and logout' in Fedora/RedHat I had installed previously.
When you run alsactl as root, what is the exact full command you are typing? Also what is the output of
Code:
aplay -l
(in this command that's a letter el, not number one after aplay ...)

Last edited by klytu; 06-02-2007 at 12:25 PM.
 
Old 06-04-2007, 10:31 AM   #14
milindlokde
Member
 
Registered: Apr 2007
Location: Mumbai, India
Distribution: Fedora, ubuntu
Posts: 121

Rep: Reputation: 21
I used the command:
Code:
alsactl store 0
I don't think alsa is controlling the mixer. The alsamixer is showing volume up on logging in. While the gnome-volume-control is showing volume down. I checked the help on it. It is says 'setting->preferences' where do I get this?

I also used the gnome-volume-manager and set it to --sm-enable (enable session) and --sound-enable (enable sound server). But it also did not help.

The aplay -l showed the device information of my sound card. I think my sound card is fine as I can play sound in Linux, but only that I have to reset the sound level in gnome-volume-control every time I log in as user.
 
Old 06-04-2007, 10:39 AM   #15
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Have you got more than one sound device? I recently ran into a similar issue with the last update to Etch as well early Lenny. Running alsaconf restored the sound but after a reboot, it was gone again and I had to run alsaconf again.

What struck me most is that the Volume Control Center was not showing my SoundBlaster card and that it was using OSS instead of ALSA. I found out that, for some reason, Debian is getting confused by the presence of other sound devices nowadays. I had to add both devices to /etc/modprobe.d/sound and specify index=0 for the SoundBlaster and index=1 for the onboard Intel. Switching off the Intel in BIOS may have the same effect, I haven't tested that.
 
  


Reply



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
Soundcard output set to headphones upon boot rather than laptop speakers tim_programer Linux - Laptop and Netbook 1 08-09-2006 05:02 PM
No output from soundcard, even though it is recognized bean target Linux - Hardware 1 02-13-2006 04:31 AM
how to redirect the soundcard output to a file? jr0 Linux - General 2 10-31-2005 06:29 AM
How to configure OpenAL to output to a different soundcard? Dracarys Linux - Software 0 01-20-2005 09:14 AM
Output to remote soundcard vagabond Linux - General 1 07-28-2003 05:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 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
Open Source Consulting | Domain Registration