LinuxQuestions.org
Help answer threads with 0 replies.
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 02-09-2004, 06:31 PM   #1
Jusitn S
LQ Newbie
 
Registered: Nov 2003
Distribution: fedora
Posts: 7

Rep: Reputation: 0
Sound problems after 2.6.2 kernel upgrade


OK, I have searched around to see if anyone has had this problem; couldn't find any posts related to this specific problem so here goes.

I recently upgraded my fedora box to the 2.6.2 kernel. I chose the right sound drivers when I complied the kernel and the sound works, but only when I run the sound card detection. I must do this each time I boot into the machine, as it always greets me with this error,

couldn't find dev/mixer cannot find sound card.

After the detection, all is fine

the card is c-media electronics, model cm8787, and the model is cmpci

here is the output of my pci info
00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS645DX Host & Memory & AGP Controller
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS961 [MuTIOL Media IO] (rev 10)
00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
00:03.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 90)
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
00:0d.0 Communication controller: Lucent Microelectronics LT WinModem (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R200 QL [Radeon 8500 LE]

I know this is probably a quick fix that I am overlooking, but if any of you could lend me a hand i's appreciate it!

Thanks for you time and help!
 
Old 02-09-2004, 06:48 PM   #2
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
It looks like the sound module is not autoloading at boot. Poke around in your startup scripts (try /etc/rc.d/ or /etc/init.d/) and look for something promising. In gentoo, the file you want is /etc/modules.autoload.d/kernel-2.6. In slackware, its /etc/rc.d/rc.modules. I don't know what it is in fedora, but have a look around. You could also try "apropos modules"

Once you find the relevant file, read all the comments at the top. They should tell you how to edit the file. You will probably need to add the line "modprobe cmpci"

btw: i think cmpci is the OSS sound module. You should probably be using the ALSA module instead. I think its called snd-cmipci.
 
Old 02-11-2004, 02:30 AM   #3
Jusitn S
LQ Newbie
 
Registered: Nov 2003
Distribution: fedora
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for your help. You have set me in the right direction. I believe what I am looking for in Fedora is modprobe.conf . I added the line alias sound-slot-0 snd-cmipc and upon the next reboot it did modprobe snd-cmipci. It showed that the module was already in kernel, a first since the upgrade.

I only get sound when I use the ALSA player, no where else in the system. I get a red line through the mixer applet (gnome), showing that the is no sound device. My guess is somewhere I have to define the snd-cmipci.ko driver? Previous to the 2.6.2 upgrade, the system was using OSS. I am not certian which file that needs to be defined in.
 
Old 02-11-2004, 02:37 PM   #4
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
I believe ALSA has an OSS compatibility module that lets OSS-dependent programs run. Most software now supports ALSA, though, and I have not found it necessary to use the OSS module. You can probably configure your software to use ALSA. Which programs do you use? xmms has an ALSA plugin, mplayer might need "-ao alsa1x" or "-ao alsa9", gaim needs you to redefine your sound player, etc.
 
Old 02-11-2004, 02:39 PM   #5
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
or you could try to load the OSS module (cmpci) instead of the ALSA one and see if that works
 
  


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
Kernel upgrade, now no sound! robbow52 Debian 3 10-30-2005 12:52 PM
Kernel upgrade killing sound matthewa Fedora 7 07-30-2005 09:26 AM
Sound problem after kernel upgrade from 2.4+ 2.6+ PinRojas Linux - Newbie 1 06-03-2005 03:40 PM
No sound after kernel upgrade Ratclaws Linux - Hardware 2 05-24-2005 04:50 AM
no sound after kernel upgrade hejduk Linux - General 3 03-14-2002 06:06 AM

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

All times are GMT -5. The time now is 11:04 AM.

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