LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-25-2003, 08:35 PM   #1
bilbod
Member
 
Registered: Mar 2003
Posts: 134

Rep: Reputation: 33
Sound problem with Slack 9.0


I cannot get CMedia CM8387 sound card. The kernel module is cmpci.

I had it working on the same machine with Mandrake 9.0.

Mandrake uses alias to equate snd-slot-0 to snd-cmpci in /etc/modules.conf.

I tried the suggestions in the Sound howto but it didn't help.

When I try to play a sound file in konqueror the following is added to syslog:

modprobe: Can't locate module char-major-10-134
modprobe: Can't locate module sound-slot-1
modprobe: Can't locate module sound-service-1-0
modprobe: Can't locate module sound-slot-1
modprobe: Can't locate module sound-service-1-0

It appears that maybe some module is not being loaded.

Here is the output from lsmod:

Module Size Used by Not tainted
printer 7040 0 (unused)
cmpci 24976 0
soundcore 3332 2 [cmpci]
uhci 24560 0 (unused)
usbcore 58144 1 [printer uhci]
ide-scsi 8048 0
8139too 15272 1
mii 2240 0 [8139too]

any suggestions?

Bill
 
Old 03-25-2003, 10:44 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Your output from lsmod indicates that the cmpci module is allready loaded along with soundcore. There was another thread recently that was also a CMedia sound chip. You might want to unload the two modules (rmmod cmpci and rmmod soundcore) then load them back manually, modprobe cmpci. Then use the dmesg command to see if it detected any supported sound chips.

Back when I used to run Mandy I discovered they added a lot extra stuff and not strictly regular source files. They might also be using alsa to support the sound card. I do not know since it has been awhile since I used Mandy. But if you want to consider using alsa, if the kernel support doesn't work, then this is a link to their site. http://www.alsa-project.org/ However, the model number you provided is not listed and it is not on the C-Media web site either. So they may be using the chipset number and your number is the model of the board. So you may need to find out what the chipset actually is. The "lspci -v" command might help some here in displaying the items that were detected on the PCI bus.
 
Old 03-26-2003, 08:19 AM   #3
lava
Member
 
Registered: Feb 2003
Location: NY
Posts: 46

Rep: Reputation: 15
mandrake 9.0 config all these problems when you install. i noice, slackware doesn't. i gotten a couple of problems also. when i installed mandrake it config everything, no problem. damn resolution is all messup
 
Old 03-26-2003, 12:05 PM   #4
bilbod
Member
 
Registered: Mar 2003
Posts: 134

Original Poster
Rep: Reputation: 33
Here is the output from lspci:

00:09.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
Flags: bus master, medium devsel, latency 32, IRQ 5
I/O ports at d400 [size=256]
Capabilities: [c0] Power Management version 2

The CM8738 is listed in the fernel docs in the CM8338 document. There were specific instructions for Slack 4.0 (i.e. put a modprobe line in rc.modules for cmpci).

It appears to be loading the sound driver correctly.

I get no error messges now, I just get no sound?

I may have to compile my own kernel to make sure something I don't need is interferring. I may also try ALSA.

Bill
 
Old 03-26-2003, 12:16 PM   #5
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Are you logged in as root?

Last edited by Excalibur; 03-26-2003 at 09:35 PM.
 
Old 03-26-2003, 09:36 PM   #6
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Please forget the prior post. I did't read close enough about the no error messages. I was thinking it could be a permission issue on the mixer or something.

Alsa project does list the CMI8738 chip as supported.

http://www.alsa-project.org/alsa-doc...&module=cmipci

Last edited by Excalibur; 03-26-2003 at 09:38 PM.
 
Old 03-26-2003, 09:52 PM   #7
Henry
Member
 
Registered: Dec 2002
Location: USA
Distribution: Slackware9.0, some SuSe8.0
Posts: 179

Rep: Reputation: 30
i have that sound card, i have it working under slackware, i DLed alsa-driver, alsa-lib, alsa-utils, and alsa-tools, then after i installed them, i did chmod 777 /dev/mixer* /dev/dsp0 that should work, if not, go to ur rc.local and add

echo "Initializing Sound Modules..."
/sbin/modprobe snd-cmipci
/sbin/modprobe snd-pcm-oss
#/sbin/modprobe snd-mixer-oss
#/sbin/modprobe snd-seq-oss


if that doesn't work, add

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-cmipci

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss

#secondary
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

into /etc/modules.conf
make sure u do depmod -a after, if that doesn't work when u rebooted, then i dunno
 
Old 03-26-2003, 10:39 PM   #8
bilbod
Member
 
Registered: Mar 2003
Posts: 134

Original Poster
Rep: Reputation: 33
Hi Henry,

I know about ALSA, my plan was to get the default kernel driver working then try the ALSA driver to see if there is a difference.

The cmpci module has worked with past versions of Slackware and I see no reason why it shouldn't work with 9.0.

I suspect the problem comes from hotplug which was not in previous versions or some conflict with another device or kernel module..

The scipts in /etc/hotplug are used to load modules for detected pci and usb devices instead of rc.modules.

The card is detected, module loads correctly, and the sound card is the only device using IRQ5.

There are no errors in dmesg or syslog. Audio apps run without error but no sound comes out of the speakers.
 
Old 03-26-2003, 10:43 PM   #9
Henry
Member
 
Registered: Dec 2002
Location: USA
Distribution: Slackware9.0, some SuSe8.0
Posts: 179

Rep: Reputation: 30
oh, well, the if u set it to y in the kernel, there will be no Pcm sound(wave), but if u let it to be modules, then u can control Pcm volume too, and i don't think itz hotplug because i have hotplug and it is the least concern i have. If u did not have the version of gcc you currently have before, then u need to delete the alsa-driver directory and reextract it and install it, but do not uninstall. just do ./configure, make, make install
usually that works
 
Old 03-26-2003, 11:17 PM   #10
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
If you wish to disable the hotplug scripts then; chmod 000 /etc/rc.d/rc.hotplug. You can use the chmod command with 755 to reset it back to normal when desired. That would allow you to load the modules manually.
 
  


Reply



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
sound problem on slack 10.1 crocodilu Linux - Hardware 3 07-22-2005 04:13 PM
Slack 10.1 sound problem tuubaaku Slackware 4 03-25-2005 01:14 AM
Slack 10 sound problem guide Th3_J3st3R Slackware 0 07-23-2004 10:42 AM
sound problem slack 9.1 apax Linux - Newbie 3 11-13-2003 11:19 AM
slack 9.1 i810_rng and sound problem zyx Slackware 2 10-02-2003 10:58 AM

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

All times are GMT -5. The time now is 08:52 PM.

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