LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-04-2004, 03:42 PM   #1
nwhite
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Slackware 10.0, 2.6.9 Custom Kernel
Posts: 23

Rep: Reputation: 15
Sound works until restart (Slackware 9.0)


Hi,
I just installed Slackware 9.0, and to my delight managed to get my Audigy 2 soundcard to work (numerous attempts before had all ended in failure). I used the newest emu10k1 driver (which supports it fine), and I did the following steps, on a totally fresh system:
1) Tried to 'make' in the emu10k1 directory, which told me I needed the kernel source installed.
2) Found the 2.4.20 source the bare.i kernel I'm using is, and put it in /usr/src/linux-2.4.20
3) Ran make again in the emu10k1 directory, this time told I didn't have 'version.h' and should run 'make config' in the kernel source directory.
4) I duly did this, using make menuconfig, loading the bare.i config file from /boot/config
5) I ran make a third time in the emu10k1 directory, which now worked perfectly.
6) I proceeded to follow the installation instructions to the letter, which resulted in no errors (make, make install, add a line to /etc/modules.conf).
7) As I mentioned I have had many unsuccessful attempts at getting my sound to work on linux, and ran mpg123 without much hope, just in case. To my delight I heard the crystal clear guitar riff of Abandonned Pools, which I had only ever heard through Windows (bleh).
8) I then proceeded to show my mother and brother my wonderous achievement, who didn't share my excitement, but it didn't matter.
9) At this point I restarted the computer, without doing ANYTHING else.
10) To my horror, when I tried mpg123 again although it proclaimed it was playing music, nothing could be heard. I also noticed that the 'click' sound my speakers make when the computer is starting up, with Windows, and with Linux the previous time, was gone, as though it was never 'switched on'.
11) I checked the modules, and emu10k1, ac97_codec and soundcore were all there as they should have been.
12) I checked that all of the devices were present, they were, and the levels were all non-zero, they were all fine.

I have no idea why this happened, other than perhaps the make menuconfig in the kernel source directory somehow alterred the way my kernel loads the soundcard (I confess I'm not an expert on these things).
I also tried re-installing Slackware and doing the same process, and again the same thing happened.

Any ideas?
I'm so close to getting my sound to finally work with Linux...
 
Old 05-04-2004, 04:09 PM   #2
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Rep: Reputation: 30
hiya

I had a similar prob once, so here's my pennies worth. The sound mixer resets volumes to 0...for reasons I don't remember. So...just open up the mixer and turn up the volume. make sure you save the settings and it should be ok from there onwards.
incidently, do the headphones work when this happens?
 
Old 05-09-2004, 06:26 AM   #3
nwhite
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Slackware 10.0, 2.6.9 Custom Kernel
Posts: 23

Original Poster
Rep: Reputation: 15
Nope, sadly no effect. The volume levels were already on 100%, and fiddling with them had no effect.
Any other suggestions?
 
Old 05-09-2004, 11:52 AM   #4
feend
Member
 
Registered: Nov 2003
Location: williamsburgland
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
kernel version? I see 2.4.20 you may benifit from using the 2.6.5 kernel as alsa support is a lot better.
Is alsa in the kernel or built as a module?
Did you run alsaconf ; alsamixer ; alsactl store?
CUL8TR
Feend

Last edited by feend; 05-09-2004 at 11:57 AM.
 
Old 05-11-2004, 12:13 PM   #5
nwhite
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Slackware 10.0, 2.6.9 Custom Kernel
Posts: 23

Original Poster
Rep: Reputation: 15
I don't think the emu10k1 module is an alsa one at all, but an OSS style driver. I could always be wrong...
I don't really want to update the kernel to 2.6 unless I have to, I just want a working, stable Linux system, and using a development kernel should not be necessary. Or so I would have thought.
 
Old 05-11-2004, 02:14 PM   #6
feend
Member
 
Registered: Nov 2003
Location: williamsburgland
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
2.6.6 is the most recent, stable version of the linux kernel. 2.5 was the dev version. The odd numbers state dev versions. even numbers are stable. You can use alsa w/ a 2.4 kernel. Just try the above commands:
su -l (give root password)
alsaconf
alsamixer (set volumes)
alsactl store (saves volumes)
Try that and post back soon
L8tr
Feend
 
Old 05-21-2004, 12:49 PM   #7
nwhite
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Slackware 10.0, 2.6.9 Custom Kernel
Posts: 23

Original Poster
Rep: Reputation: 15
Wow, I just compiled a 2.6.6 kernel and the Alsa drivers worked perfectly without any configuring other than volume.

Thanks so much.

One day I hope to be like you people
 
Old 05-21-2004, 04:58 PM   #8
feend
Member
 
Registered: Nov 2003
Location: williamsburgland
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
Good job!
L8tr
Feend
 
  


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
Sound works with knoppix CD but not Slackware bgryderclock Slackware 11 08-23-2005 09:01 AM
Network stuck... works on restart manudath Linux - Networking 0 01-03-2005 03:57 PM
Slackware 10, sound works only with alsaconf SyBorg Slackware 10 09-08-2004 04:48 PM
Sound only works as root in Slackware DiscoGranny Linux - Software 9 06-14-2004 09:11 PM
Slackware sound works only every other time, what the heck? bobthebat Linux - General 3 11-01-2001 07:29 PM


All times are GMT -5. The time now is 12:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration