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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-21-2003, 05:01 PM
|
#1
|
|
Member
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302
Rep:
|
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.
|
|
|
|
03-21-2003, 09:56 PM
|
#2
|
|
Senior Member
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180
Rep:
|
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.
|
|
|
|
03-22-2003, 04:59 AM
|
#3
|
|
Member
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302
Original Poster
Rep:
|
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
|
|
|
|
03-23-2003, 09:53 AM
|
#4
|
|
Member
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302
Original Poster
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:10 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
|
|