Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-29-2009, 01:26 PM
|
#1
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271
|
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:
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!!
|
|
|
07-29-2009, 02:14 PM
|
#2
|
Member
Registered: Aug 2006
Distribution: Slackware
Posts: 804
Rep:
|
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.
|
|
|
07-29-2009, 03:09 PM
|
#3
|
Senior Member
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272
Rep:
|
You might check /etc/group and make sure your user is still listed for all the needed groups (audio, video, etc.)
|
|
|
07-29-2009, 03:23 PM
|
#4
|
Member
Registered: Jan 2009
Location: Palermo, Italy
Distribution: Slackware
Posts: 236
Rep:
|
Same history with other D.E.? You said KDE...
|
|
|
07-29-2009, 04:19 PM
|
#5
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271
Original Poster
|
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.
|
|
|
07-29-2009, 04:47 PM
|
#6
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271
Original Poster
|
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.
|
|
|
07-30-2009, 08:44 PM
|
#7
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271
Original Poster
|
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.
|
|
|
08-09-2009, 12:41 AM
|
#8
|
Senior Member
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271
Original Poster
|
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
|
|
|
All times are GMT -5. The time now is 10:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|