LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-03-2007, 06:23 AM   #1
niceday
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Rep: Reputation: 15
no sound even after alsaconf


Hi. After running alsaconf in Slackware I still get no sound when playing an audio cd. I have the same problem in Debian where i installed all alsa-packages. Can't find a solution in simular threads.

I unmuted all in 'alsamixer' (changed [MM] in [00]), put all volumes up and ran 'alsactl store'. But still no sound... What do I forget?

Soundcard: Creative Labs SB Audigy LS
Debian 40r0 (kernel 2.6.18-4-686)
Slackware 12.0 (kernel 2.6.21.5).

Thanks for any advise
 
Old 08-03-2007, 10:19 AM   #2
niceday
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
no sound in slackware

somehow sound is working in Debian now, but not in Slackware. Do i have to install extra packages/modules? I am a linux-newbie and don't know where to start. Thanks.
 
Old 08-03-2007, 12:56 PM   #3
niceday
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Unhappy

I downloaded from http://packages.slackware.it/search....2.0&t=1&q=alsa

all the alsa-packages:
alsa-lib-1.0.14a-i486-1
alsa-oss-1.0.14-i486-1
alsa-utils-1.0.14-i486-1
sdl-1.2.11-i486-3

put them in a directory ~/alsa_temp and installed them with pkgtool, but still no sound...

Last edited by niceday; 08-04-2007 at 02:01 AM.
 
Old 08-05-2007, 05:53 AM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
I usually install all my sound packages & apps with :

Code:
apt-get  install   alsa-base  
apt-get  install   alsa-utils   
apt-get  install   libasound2  
apt-get  install   alsamixergui 
apt-get  install   alsa-base 
apt-get  install    alsa-utils 
apt-get  install    libesd-alsa0                          
apt-get  install   libpt-plugins-alsa                    
apt-get  install   libsdl1.2debian-alsa     
apt-get install aumix
apt-get  install aumix
apt-get  install kmix 
apt-get  install gnome-volume-manager
apt-get  install gnome-media
apt-get  install alsa-base alsa-tools alsa-utils
apt-get  install
 
Old 08-06-2007, 03:37 AM   #5
niceday
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Unhappy how install emu10k1 in slackware?

Thanks, but apt-get does not work in Slackware. The strange thing is that alsaconf recognizes my soundcard.

Right now I am trying something else. I found out I need the emu10k1 driver/module for my soundcard. So I downloaded it from http://sourceforge.net/project/showf...group_id=44773 and extracted it to some temp directory. I read the README but don't understand what to do. Where is the file to edit CONFIG_MODULES etc.? How do I translate the instructions to Slackware?
Code:
Installation Instructions for Creative EMU10K1 drivers (v0.19a)
English v1.5 (August 2002)
-------------------------------------------------------------

Card support
------------
- Creative Sound Blaster Live! (all models)
- Creative Sound Blaster PCI 512
- Creative Audigy

...

Requirements
------------
- The kernel must be compiled:
  - With loadable modules support		(CONFIG_MODULES = y)
  - With soundcard support			(CONFIG_SOUND = y/m)
  - Without any integrated emu10k1 soundcard drivers	(CONFIG_SOUND_EMU10K1 = m/n)
- "PnP-compatible OS installed" option in BIOS must be disabled
- Recommended system configuration: Min. 100 MHz Pentium-class w/ 32 MB RAM
- Kernel headers matching the kernel for which you are compiling the 
  driver.

- For sequencer support, sound.o is required	(CONFIG_SOUND_OSS= y/m)

Configuring
-----------
You should already be running the kernel for each you are compiling the driver
at this point. Then you just need to type "make" in the main directory.
The KERNEL_VERSION printed in the last message should match the kernel
you want to compile the driver for, if not:

1. Using your own kernel sources (preferred)
  Make sure you have configured your kernel sources ("make oldconfig/config/menuconfig")
  and created the dependecies files ("make dep").

2. Using RedHat distribution kernel sources.
  Copy/link one of the config files in linux/configs/*.config
  to linux/.config. The file should match your running kernel.

3. Using other distribution kernel sources.
   Try point 2 above.

Compilation
-----------
To compile the driver, simply type "make" a second time in the main
directory. This will generate the files "emu10k1.o"
and "ac97_codec.o" (and "emu10k1-joy.o" for 2.2 kernels).

Installation
------------
1. As root type:

	make install

2. Add a new reference to the driver in /etc/modules.conf:

	alias sound emu10k1

3. Play some sound. The module should be auto-loaded.

Note for Debians' users: use /etc/modutils directory,
   create file emu10k1 here with the same content as is suggested in
   the paragraph (5.) and run update-modules afterwards - this
   will create the correct /etc/modules.conf file)

...
Hope someone can help. I am totally lost here. Thanks.
 
Old 08-06-2007, 05:43 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Disable onboard sound. Debian has had lots of trouble with multiple sound cards since the latest beta stages of Etch.
 
Old 08-06-2007, 07:07 AM   #7
niceday
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Question

Thanks. Just to be more clear: i have two harddisks. One with windows xp, the other with fedora, slackware and debian.

My sound problem is in Slackware, not in the other os. I checked the settings, onboard sound-device is already switched off. I think i need to install this emu10k1 driver in Slackware... but how?
 
Old 08-06-2007, 07:09 AM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Well, if Slackware is as BSD oriented as it was before, you'll probably have to include the module in a configuration file. Unfortunately, I know so little about Slackware that I can't offer any assistance there.
 
Old 08-06-2007, 08:39 PM   #9
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
It sounds like you may need to just load the kernel module. As root
Code:
modprobe emu10k1
 
Old 08-07-2007, 07:18 AM   #10
niceday
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks, I already tried that:
Code:
root@myhost:~# modprobe emu10k1
FATAL: Module emu10k1 not found.
 
Old 08-07-2007, 05:24 PM   #11
niceday
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Talking problem solved

Finally managed to get sound!

With two simple steps:
- in KMix -Sound Mixer, under Switches there is a yellow checkbutton which I turned off (don't understand what it does, something with IEC958)
- I tried Amarok instead of KsCD -CD Player (the latter still does not work) and got sound immediately!

BTW I did not install emu10k1.
 
Old 08-07-2007, 06:54 PM   #12
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Use alsamixer instead of kmix. For extra controls, type alsamixer -V all.

I do not recommend use alsaconf. Go to ALSA web site and check through the database to find out what module is right for the sound card. All ALSA modules has a snd- prefix unless it is noted.

Quote:
Disable onboard sound. Debian has had lots of trouble with multiple sound cards since the latest beta stages of Etch.
That is loads of BS. If adding options [module_name] index=X to /etc/modules.conf or /etc/modprobe.conf, it will use this option next time the module is loaded. Pick a value between 0 to 255. A value of 0 will be the first card.

I use a similar way for two different video capture cards.
 
Old 08-07-2007, 07:12 PM   #13
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Electro

I guess you are right because I did get it both soundcards to work like that on Etch. But then I read so many complaints that this didn't work anymore on Lenny that I didn't even try. I will now.

By the way, is there an explanation for the appearance of this issue? I ran Etch for a year without any problems whatsoever, then suddenly one day we were supposed to start distinguishing cards by using an index.
 
Old 08-08-2007, 06:11 AM   #14
niceday
LQ Newbie
 
Registered: Jul 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Smile problem even more solved

I also have sound in KsCD now.

After trying in vane modprobe snd-ca0106, modprobe snd-emu10k1, running alsaconf, every possible combination of mixervolumes, rebooting ... It turned out to be just a matter of a setting in KsCD:

In KsCD i did:
- Extra - Configure KsCD
Under CD-ROM Device I checked the checkbox 'Use direct digital playback' and clicked 'Apply'.

I left the defaults unchanged:
/dev/cdrom
audio backend: arts
audio device: (blank)

thanks everybody for replying
 
  


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
Sound problems (alsaconf cannot find sound modules.) vmlinuz.gz Linux - Newbie 8 11-12-2008 03:36 AM
no sound even after alsaconf ttilt Slackware 17 12-26-2004 06:36 PM
No sound with AC97 even after alsaconf Quercus ruber Linux - Hardware 59 11-28-2004 02:19 PM
no sound - i have tried alsaconf slackware_03 Linux - Hardware 7 08-25-2004 07:53 AM
Suse9.1/ALSA/Audigy/No Sound/I run alsaconf after reboot(s) to get sound FastFeet Linux - Hardware 23 07-12-2004 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:03 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