LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-29-2009, 01:26 PM   #1
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Rep: Reputation: 249Reputation: 249Reputation: 249
Question Slackware-Current lost sound on latest kernel


I came up with a problem when updating Current. After upgrading everything (including the latest kernel), I lost the ability to play sound on either KDE or on the terminal. I reran alsaconf, played with alsamixer, but to no avail. I'm a little stumped on where else to look. Here's my info:

uname -r:
Code:
2.6.29.6-smp
my audio card:
Code:
C-Media CM8738 which uses cmipci
The audio worked correctly with the 2.6.29.5 kernel. I should note that there is already an onboard audio card (which I did not select during alsaconf) and I'm trying to play the audio in the digital channel (IEC958out). It worked before and I've never had this issue before. Anybody have any suggestions? Thanks ahead of time!!
 
Old 07-29-2009, 02:14 PM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Are you using the generic kernel or the huge one? If you are using the generic one, I would take a look at dmesg and make sure that that module is getting loaded. Something along the lines of
Code:
user@machine: dmesg | grep cmipci
or
Code:
user@machine: dmesg | grep C-Media
Also, if I remember correctly, I think there is a digital/analog switch in kmix. Have you tried to switch back and forth? I had a similar issue with my dad's machine and that's all it was.

Last edited by manwichmakesameal; 07-29-2009 at 02:18 PM.
 
Old 07-29-2009, 03:09 PM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
You might check /etc/group and make sure your user is still listed for all the needed groups (audio, video, etc.)
 
Old 07-29-2009, 03:23 PM   #4
metrofox
Member
 
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236

Rep: Reputation: 37
Same history with other D.E.? You said KDE...
 
Old 07-29-2009, 04:19 PM   #5
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Original Poster
Rep: Reputation: 249Reputation: 249Reputation: 249
The module is being loaded. Here's the output of lsmod | grep cmipci:
Code:
snd_cmipci             32480  0
gameport                9960  1 snd_cmipci
snd_opl3_lib            9212  1 snd_cmipci
snd_mpu401_uart         6524  1 snd_cmipci
snd_pcm                68128  4 snd_pcm_oss,snd_cmipci,snd_hda_intel,snd_hda_codec
snd                    50820  15 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_cmipci,snd_hda_intel,snd_hda_codec,snd_opl3_lib,snd_mpu401_uart,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq_device,snd_timer
dmesg | grep cmipci doesn't show anything. However, dmesg | grep C-Media
Code:
C-Media PCI 0000:01:05.0: PCI INT A -> Link[APC1] -> GSI 16 (level, low) -> IRQ 16
C-Media PCI 0000:01:05.0: setting latency timer to 64
The sound is not working on non of the window managers or on the console in runlevel 3. If I do play sound.wav, I don't get any errors.

I'm in the process of building my own custom kernel (from the latest available from kernel.org). Then, I'll apply the .config from the Slackware 12.2 to see if that makes any difference.
 
Old 07-29-2009, 04:47 PM   #6
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Original Poster
Rep: Reputation: 249Reputation: 249Reputation: 249
I forgot to add, the sound does not work for either root or a regular user. The regular user is still included in the audio group. I'm also booting the box in runlevel 3.
 
Old 07-30-2009, 08:44 PM   #7
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Original Poster
Rep: Reputation: 249Reputation: 249Reputation: 249
Well, after compiling the latest kernel (2.6.30.3) using the .config file from Slackware 12.2 kernel, I was able to get the sound working again. I'm not sure yet what the problem was. The correct module was being loaded, but it was somehow not sending the sound to the correct soundcard. When I have a little more time, I'll see if I notice any major difference between the two .config files.
 
Old 08-09-2009, 12:41 AM   #8
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Original Poster
Rep: Reputation: 249Reputation: 249Reputation: 249
Thanks to rworkman, I was able to fix my problem. I will post the solution here in case someone else with the same sound card has this problem.

Add the following at the top of your /etc/modprobe.d/sound.conf
Code:
options snd-cmipci mpu_port=0x330 fm_port=0x388
The end result should look like this:
Code:
options snd-cmipci mpu_port=0x330 fm_port=0x388
alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-cmipci
 
  


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
Slackware 64 -current / KDE 4.2.4 / lost compositing. botnet Slackware 22 07-21-2009 12:54 PM
[SOLVED] Latest slackware64-current xorg and kernel update woes veeall Slackware 10 07-19-2009 12:31 AM
Latest kernel from Current, no wireless even though modules loaded vdemuth Slackware 15 05-12-2009 03:32 PM
Intel HD Audio (azalia) - No sound! (kernel 2.6.17.8 @ slackware current) violat0r Linux - Hardware 11 08-25-2006 03:07 AM
alsa problem after the latest slackware-current update perfect_circle Slackware 8 04-26-2006 02:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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