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 |
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.
|
|
02-09-2004, 06:31 PM
|
#1
|
LQ Newbie
Registered: Nov 2003
Distribution: fedora
Posts: 7
Rep:
|
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!
|
|
|
02-09-2004, 06:48 PM
|
#2
|
Member
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465
Rep:
|
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.
|
|
|
02-11-2004, 02:30 AM
|
#3
|
LQ Newbie
Registered: Nov 2003
Distribution: fedora
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
02-11-2004, 02:37 PM
|
#4
|
Member
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465
Rep:
|
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.
|
|
|
02-11-2004, 02:39 PM
|
#5
|
Member
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465
Rep:
|
or you could try to load the OSS module (cmpci) instead of the ALSA one and see if that works
|
|
|
All times are GMT -5. The time now is 11:04 AM.
|
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
|
|