Topic: crunchbang linux no sound

as a newcomer to Linux I do not understand any commands or unix or linux programing . I will try hard to learn. my problem is I have loaded Crunch bang Linux on to a spare 20GB hard drive which is mounted within a plug in cradle. it is configured as Master, everything has loaded to this previously blank drive, (RAW). There is no other operating system on the drive. Crunch bang works perfectly! BUT I do not have any sound! The mother board is a Fox com and is fitted with SIS chips for sound.(The sound Works perfect with WIN X P HOME on a separate plug in drive). The message I am getting is as follows:- Selecting Volume control = ERROR "No volume control "G Streamer plug ins" and/or devices found", GStreamer0.10-plugins-ugly w32codecs libdvdcss2 have installed, and appear in the installed list as green squares OK, Then I select Sound Recorder + Error message= Your audio capture settings are invalid Please correct them with"Sound Preferences" under the system system-preferences menu.  The problem !! there is no such line to be found as " sound preferences" in "System"   So I am completely stupid or is there anyone to advise me what to do? i HAVE LOOKED IN VAIN FOR ANYTHING THAT MAY HELP. One interesting fact  When I first tried Crunch bang Linux it was loaded alongside windows XP Home and the dual boot worked fine, Sound also worked perfectly! The preferred sound system for SIS Chips is "ALSA" do I need to change libdvdcss to libdvdalsa? As I do not have any knowledge of programing I am totally out of my depth. Peter A Johnson.

Re: crunchbang linux no sound

Hi,

try the following:

right click => system => services/daemons => unlock (enter your password) => and activate "audio settings management".

solved the problem for me smile


bye,

mT


Edit: If you still have no sound, open the terminal and type alsamixer (or maybe sudo alsamixer). The following channels should not be muted:

- master
- headphone
- pcm
- front

When there are two "m" at the bottom, the channel is muted. Unmute it by pressing "m" smile

Last edited by melltuga (2009-09-03 17:16:22)

Re: crunchbang linux no sound

First Thank you Melltuga, I have tried your sugestions but still no sound... In Terminal I used "sudo apt-get install alsa mixer" reply= E: couldn't find package alsamixer   sudo apt-get install snd_ctl_open   reply+ E: couldn't find package snd_ctl_open..... Audio settings manager is activated and Start set for all -1,  0, 50. in the boxes. Still no sound.   It seems to me that there is no relationship to the audio SIS CHIP on my Foxcon motherboard. the alsa package is present and indicated by green squares for all alsa packages in the pakage manager. libdvdcss2 is also with a green square, and VLC player plays encripted DVD's without sound. so why does the terminal not see alsamixer? thankyou in anticipation Peter.

Re: crunchbang linux no sound

Melltuga Hi , have just found gnome-alsamixer was not installed. So I have installed it with package manager, rebooted still NO sound. Error message still reads No Volume control GStreamer plugins and/or devices found

Re: crunchbang linux no sound

Since I'm a beginner myself, I have no idea what could cause the problem ... I'm sorry ...

BUT

I didn't say "sudo apt-get install alsa mixer"; i just said you should type in the following:

"sudo alsamixer"

The Alsamixer has nothing to do with the gnome-alsamixer (well ... i guess big_smile ). The Alsamixer should already be installed, after installing crunchbang.

So just type "sudo alsamixer" in your terminal ... if this isn't working, I don't know anything else ... hopefully someone else can help you smile

Re: crunchbang linux no sound

@peter - try going through this guide:

http://ubuntuforums.org/showthread.php?t=205449

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: crunchbang linux no sound

Hi Guys

i am also having similar issues..to the point i lost sound completely...i have tried following the guide at http://ubuntuforums.org/showthread.php?t=205449 with no sucess

at the onset when i type   aplay -l i get this output:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

which means i guess that it can see the device..but when i run alsamixer (both as root and reg user) i get this:

alsamixer: function snd_ctl_open failed for default: No such device


i will point out the i am using a 64bit #! version and that i had problems with sound from the start. it used to start muted for some reason and then if i manually went into the mixer and unmuted it worked...now i get nothing....

appreciate any help i can get

thx

Zeltak

Re: crunchbang linux no sound

I had same problem as Original Poster, fixed it with installing new pulseaudio(pulseaudio - 1:0.9.15-3ubuntu1~ppa2).

However, the new pulseaudio isnt available on jaunty mirrors, so you need to download it from themuso's PPA, link https://launchpad.net/~themuso/+archive/ppa.

This bug was fixed in the package pulseaudio - 1:0.9.15-3ubuntu1

---------------
pulseaudio (1:0.9.15-3ubuntu1) karmic; urgency=low

  [ Daniel T Chen ]
  * debian/patches/0001_change_resample_and_buffering.patch: Bump
    default resampler to ffmpeg. We cannot peg the cpu, and we cannot
    have audio anomalies, so this change _should_ be regression-free
    but needs extensive testing (LP: #376374).
  * debian/patches/0090_fix_sw_mute_desync.patch: Backport from
    git HEAD to resolve sw vol becoming muted on logout

    (LP: #315971, #352732)

Hopefully this do help, i played couple days myself with the same problem.

~H

:edit:
Saw that you stated you're new to linux, so you might have some problems with adding the PPA repository, let me help you a bit.

1. Open up your Openbox menu (right-click on desktop if you're using #!)
2. Go to system -> Package Manager and give your password when asked.
3. In Package Manager, go to settings -> Repositories and there "Third party software" tab.
4. Press 'add' and add this: 'deb http://ppa.launchpad.net/themuso/ppa/ubuntu jaunty main', Press 'Add source'.
5. Then you need to open up terminal, and write 'sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B88A1AA8'
6. Write on terminal 'sudo apt-get update' and after that 'sudo apt-get install pulseaudio'.

Now you should have fixed version of pulseaudio!
Hopefully this did help a bit, dont hesitate to ask if you run into problems.

Last edited by hemu (2009-09-05 07:48:01)

Re: crunchbang linux no sound

thx hmenu


the pulse audio upgrade did fix the muted sound on startup but i am still have no sound..its very strange..the hardware works (tested on kubuntu which i dual boot), i can see the mixer which shows the alsacard..all channels are max but no sound...any other tips i can try?

thx

Zeltak

Re: crunchbang linux no sound

zeltak wrote:

Hi Guys

i am also having similar issues..to the point i lost sound completely...i have tried following the guide at http://ubuntuforums.org/showthread.php?t=205449 with no sucess

at the onset when i type   aplay -l i get this output:

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

which means i guess that it can see the device..but when i run alsamixer (both as root and reg user) i get this:

alsamixer: function snd_ctl_open failed for default: No such device


i will point out the i am using a 64bit #! version and that i had problems with sound from the start. it used to start muted for some reason and then if i manually went into the mixer and unmuted it worked...now i get nothing....

appreciate any help i can get

thx

Zeltak

What soundcard you do have?

Something like this could work:

asoundconf set-default-card <yourcardnamehere>

For example:

asoundconf set-default-card SI7012

And please check, do you have file /etc/group- , command for it:

cat /etc/group-

If it echoes something, then just

sudo mv /etc/group- /etc/group

~H

Last edited by hemu (2009-09-05 18:18:27)

Re: crunchbang linux no sound

CrashBang Linux Success I now have sound working on all fronts. This is due to perseverance! having made absolutely sure that the alsa-base and all alsa aps were loaded and confirmed I still had no sound so I tried "oplay --help" in the terminal, this told me four items were disabled so I got to thinking lets try" sudo apt-get install snd" this did find a load of files and installed them. then I exit terminal. click on volume control and there it was!!!click on sound recorder Yes its there for all to see!! so people make sure you have alsa-base installed complete with all alsa bits, and sudo apt-get update gstreamer0.10-plugins-ugly w32codecs libdvdcss2. Pulse audio does not work with SIS S17012 on my machine!and I do not use Ubuntu 9.04 for this reason.  CrashBang Linux also works my web cam very well Ubuntu does not. The ubuntuforums.org/showthread.php? was very helpfull navigating through the commands right up to the place"oplay -1" command. Thank you,Thanks to all who helped me with the many stories and suggestions I hope my results will help others.

Re: crunchbang linux no sound

Melltuga thank you for your help it gave me the courage to press on regardless and the problem is solved.

Re: crunchbang linux no sound

To Zeltak and Hemu, use "sudo apt get install snd" in terminal. providing you have alsa-base loaded or alternative sound systems loaded. Peter.

Re: crunchbang linux no sound

To Zeltak and Hemu, do you have on board sound or a separate  PCI/PCI express card? It could be that the codecs to drive the plug in cards are not present. If you have onboard motherboard sound the alsa-base will have the codecs in the base package(all alsa aps are required).  Pulse audio does not work at all with a lot of motherboards, and sound cards! and codecs are not found easely. Peter

Re: crunchbang linux no sound

So I had the same problem with my CB and came across this thread in search of a solution and when I used the alsamixer command in terminal, I noticed my  speaker volume was all the way down so i turned it all the way up of course and BAM it worked.

Hope this helps.