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 03-21-2003, 05:01 PM   #1
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Rep: Reputation: 30
C-Media sound card in slack.


okay, i have seen a lot of 'C-Media doesn't work in RH8' posts, but not a single 'C-Media doesn't work in slack' post.

good.

i have a c-media sound card and it doesn't play cds in red hat. it plays mp3s fine, but not cds. that's not the problem.

i'm going to get slack 9 now it's out (am currently using slack 8.1) but to be honest, slack 8.1 doesn't seem to want to make my sound card work either. now i am not too hot on getting hardware to work to be honest, a friend of mine said all he did to get his c-media card to work was "# modprobe cmpci" but i tried that and it generates no errors, but sound still does not work. when trying to play an mp3 in xmms i get that message about not being able to open the mixer device et cetera.

so how do i get it to work in slack please? in simple terms, because i don't want to miss anything.

thanks in advance as always...

edit: do i need to get out my slack CD and use a different kernel?

Last edited by Calum; 03-21-2003 at 05:03 PM.
 
Old 03-21-2003, 09:56 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
A quick scan of the source file cmpci.c from the 2.4.20 kernel source produced a list of the following:

{ PCI_DEVICE_ID_CMEDIA_CM8338A, "CM8338A" },
{ PCI_DEVICE_ID_CMEDIA_CM8338B, "CM8338B" },
{ PCI_DEVICE_ID_CMEDIA_CM8738, "CM8738" },
{ PCI_DEVICE_ID_CMEDIA_CM8738B, "CM8738B" },

So I would think if your sound card is one of the above chipsets then it should work. Also, the 2.4.18 kernel source provided the same list. After loading the module, use the "dmesg" command and review the end of the listing to see what it detected and setup. After it is detected and setup then the rest should be the same for all sound cards (i.e. sym links, devices, permissions, etc.). If it is not detected, then you will need to seek a newer driver or attempt to hack the one available.

As far as playing audio CD's, it is very common today for the CD to be an IDE cdwriter type of drive that requires generic scsi support. This changes the device name on the unit from what the installation would normally setup. The symlink is /dev/cdrom and should point to the drive. It may be defaulted to /dev/hdd for an example, but needs to be changed to /dev/scd0 for a generic scsi CD device. As a result, most CD player apps might not be able to find the drive until the broken symlink is corrected.

In regard to your kernel question, I would think it is not a real issue unless you are running a custom kernel. Then for testing purposes you might want to go back to a stock kernel/modules to get it working. Then switch to your custom kernel. If it doesn't work then you know the problem is in your custom kernel.

I hope that you find the info to be of some assistance.
 
Old 03-22-2003, 04:59 AM   #3
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Original Poster
Rep: Reputation: 30
thank you.

i will try dmesg when i reboot into slackware next (using rh8 now)

the cd playing in red hat is not a cd drive problem. kscd plays the CDs fine, but no sound comes through, but xmms will play mp3s no problem (and xmms will play cds too, with no sound) - anyway, this seems to be a 'known' bug in RH8 but i am unconcerned with it if i can get the c-Media card working in slackware
 
Old 03-23-2003, 09:53 AM   #4
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Original Poster
Rep: Reputation: 30
ok, all i needed to do was add '/sbin/modprobe cmpci' to the end of /etc/rc.d/rc.M and then 'chmod 777' /dev/mixer and /dev/dsp
 
  


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
c-media sound card tekmorph Linux - Newbie 3 10-08-2004 08:46 PM
Sound card problem C-Media CMI8738 Neville Red Hat 4 02-27-2004 01:56 AM
Sound card and Media Player Problems! troycus Linux - Newbie 1 09-20-2003 03:04 AM
C-Media 8738 Integ. Sound Card Swene Linux - Hardware 1 04-15-2002 04:32 PM
C-Media sound card problems elmetald00d Linux - General 6 03-25-2002 06:05 AM

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

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