LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-31-2004, 01:32 PM   #1
dude_a_b_c
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Rep: Reputation: 0
No sound with C-Media 8738 PCI in Mandrake 10.0


I have searched through the posts here, read similar entries, but am nowhere close to soving my problem, so my apologies if this has been discussed before. Please direct me to the relevant post.

The setup (working fine in MDK 9.1) is listed as :

Card-config:
C-media pci 8738 (model 37) at 0xd800, irq 3

audio devices:
0: C-Media PCI DAC/ADC (DUPLEX)

synth devices:
0: OPL3 FM Synth

Midi devices:
0: MPU - 401 (UART) 0-0

Timers:
7: System Timer

Mixers:
0 Cmedia PCI

=============================================
In Mandrake 10.0 : it is listed in Hard drake as:

Vendor: ‎C-Media Electronics Inc
Alternative drivers: ‎cmpci
Bus: ‎PCI
Bus identification: ‎13f6:111
Location on the bus: ‎2:d:0
Description: ‎CM8738
Module: ‎snd-cmipci
Media class: ‎MULTIMEDIA_AUDIO

But there is no sound
Volume is not muted, aumix shows the levels at 100.

Though I have been using linux for some time now, it is mainly for text editing / email / browsing, and Mandrake 9.1 'just worked'. So I am a newbie to troubleshooting!

Any advice on getting sound in Mandrake 10 working?

Thanks in advance.
 
Old 03-31-2004, 02:23 PM   #2
dude_a_b_c
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Original Poster
Rep: Reputation: 0
I followed the suggestions given in the 'troubleshooting' window of harddrake and here are the outputs:

lspcidrake -v | fgrep AUDIO
----------------------------------------
snd-cmipci : C-Media Electronics Inc|CM8738 [MULTIMEDIA_AUDIO] (vendor:13f6 device:0111)

grep sound-slot /etc/modules.conf
--------------------------------------------------
alias sound-slot-0 snd-cmipci

/sbin/lsmod
--------------------
Module Size Used by
cmpci 38776 0
ppp_deflate 6112 0
zlib_deflate 22904 1 ppp_deflate
zlib_inflate 22656 1 ppp_deflate
bsd_comp 5952 0
ppp_async 11744 0
ppp_generic 29360 3 ppp_deflate,bsd_comp,ppp_async
slhc 7200 1 ppp_generic
md5 3872 1
ipv6 232352 6
sg 38044 0
sr_mod 17060 0
lp 12200 0
snd-seq-oss 31232 0
snd-seq-midi-event 7552 1 snd-seq-oss
snd-seq 51024 4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 51812 0
snd-mixer-oss 17952 1 snd-pcm-oss
snd-cmipci 33236 1
snd-pcm 93156 2 snd-pcm-oss,snd-cmipci
snd-page-alloc 11972 1 snd-pcm
snd-opl3-lib 9984 1 snd-cmipci
snd-timer 24484 3 snd-seq,snd-pcm,snd-opl3-lib
snd-hwdep 8928 1 snd-opl3-lib
gameport 4480 1 snd-cmipci
snd-mpu401-uart 7072 1 snd-cmipci
snd-rawmidi 23616 1 snd-mpu401-uart
snd-seq-device 8008 4 snd-seq-oss,snd-seq,snd-opl3-lib,snd-rawmidi
snd 52484 15 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-cmipci,snd-pcm,snd-opl3-lib,snd-timer,snd-hwdep,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 9248 2 cmpci,snd
af_packet 20520 0
hid 53312 0
ide-floppy 18752 0
ide-tape 34864 0
ide-cd 40548 0
cdrom 37184 2 sr_mod,ide-cd
floppy 59444 0
nls_cp850 4736 1
vfat 13760 1
fat 45120 1 vfat
nls_iso8859-1 3904 5
ntfs 85932 4
supermount 37876 1
intel-agp 17372 1
agpgart 31016 1 intel-agp
ppa 12296 0
parport_pc 32832 1
imm 12360 0
scsi_mod 114744 4 sg,sr_mod,ppa,imm
parport 38952 4 lp,ppa,parport_pc,imm
usblp 12256 0
uhci-hcd 29104 0
usbcore 99132 5 hid,usblp,uhci-hcd
rtc 11576 0
ext3 110376 6
jbd 54328 1 ext3

/sbin/chkconfig --list sound
-----------------------------------------
sound 0:off 1:off 2:on 3:on 4:on 5:on 6:off


/sbin/chkconfig --list alsa
-------------------------------------
alsa 0:off 1:off 2:on 3:on 4:on 5:on 6:off


It is not exactly rocket science, but I am just starting out with the help manuals, and its a bit incomprehensible for me as of now. The lsmod command doesn't seem to showing snd-cmpci
being used by any application?

Any advice or suggestions please?

Thanks in advance.
 
Old 03-31-2004, 02:34 PM   #3
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Thumbs up

dude_a_b_c,
I had your exact problem, and i've got the exact same sound card as you. Please can you post a bug at http://bugs.mandrakelinux.com/ . Actually once you've registered, see if you can add a comment to this http://bugs.mandrakelinux.com/query.php?bug=513 I'm the one who posted it.

Right, now the solution to the problem.
You need to switch to the OSS driver. Go to hadrake, configure your sound card and choose the cmpci driver instead of the snd-cmpci.
The OSS driver sounds terrible at first, save these values in a file named .aumixrc and then load the file in with aumx.
vol:100:100:P
synth:0:0:P
pcm:100:100:P
speaker:100:100:R
line:0:0:P
mic:0:0:R
cd:100:100:P

I hope this resolves your problem.

Last edited by beejayzed; 03-31-2004 at 02:46 PM.
 
Old 03-31-2004, 03:13 PM   #4
dude_a_b_c
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Original Poster
Rep: Reputation: 0
beejayzed,
I tried the steps outlined by you, however there is no change even after using the cmpci driver
However, I have added a comment to Bug # 513 in the mandrake anthill along with the troubleshooting output I have presented here.

any other suggestions folks?

Thanks in advance.
 
Old 03-31-2004, 03:26 PM   #5
TravisOSF
Member
 
Registered: Dec 2003
Location: Raleigh, NC
Distribution: Fedora 8, RHEL 3,4,5, Ubuntu 8.04
Posts: 215

Rep: Reputation: 30
I have the same card integrated into my mobo...I am currently listening to Led Zeppelin with no problem but for a while Unreal Tournament 2003 had really choppy audio, so I went and did that driver switch and it worked just fine....but I am not using OSS, I just did the autodetect deal with the KDE audio settings.

But mine has worked since the beginning....let me compare my output with yours and see if there is a difference....
 
Old 03-31-2004, 03:29 PM   #6
TravisOSF
Member
 
Registered: Dec 2003
Location: Raleigh, NC
Distribution: Fedora 8, RHEL 3,4,5, Ubuntu 8.04
Posts: 215

Rep: Reputation: 30
under the harddrake info for the sound card, does it list an alternative driver and the module?
The reason i ask is that the main differences between your output and mine is the drivers... tell me if it matches mine:

Vendor: ‎C-Media Electronics Inc

Alternative drivers: ‎cmpci

Bus: ‎PCI

Bus identification: ‎13f6:111:10fd:a715

Location on the bus: ‎0:e:0

Description: ‎CM8738

Module: ‎snd-cmipci

Media class: ‎MULTIMEDIA_AUDIO

----obviously the bus id and location will probably be different...

and what's your Mobo if it's an integrated chip? vendor and chipset please

Last edited by TravisOSF; 03-31-2004 at 03:30 PM.
 
Old 03-31-2004, 03:58 PM   #7
dude_a_b_c
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Yes, it has the alternative cmpci driver listed.

Sound is not integrated on the motherboard. It is a PCI slot card. The motherboard is an Intel 850GB motherboard.

Seems to be a real showstopper for me!
 
Old 03-31-2004, 04:09 PM   #8
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
You should switch to the alternate driver, that's the OSS one.
 
Old 03-31-2004, 04:28 PM   #9
dude_a_b_c
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Original Poster
Rep: Reputation: 0
I did switch to the oss driver 'cmpci', and set the .aumixrc file and loaded it also. However, no relief

Now
grep sound-slot /etc/modules.conf

gives the following output:

alias sound-slot-0 cmpci
 
Old 03-31-2004, 04:44 PM   #10
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Which program are you using to test it. Try opening up after a restart. Also try sound in another desktop environment.
 
Old 03-31-2004, 09:51 PM   #11
dude_a_b_c
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Sound works now ?

I did a hard reboot, no use even then.

Then I switched to GNOME (try a different desktop) as suggested.
And sound works now!!
It's working even in KDE. It's awfully noisy, but it's working..

Thanks for all the suggestions...
 
Old 03-31-2004, 11:05 PM   #12
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Alrght, kewl
 
Old 03-31-2004, 11:08 PM   #13
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Oh yeah try, playing around with the volumes in aumix if the sound doesn't sound too good. When I first used OSS, I stopped using it immediately because the volumes were wrong.
When I installed Mandrake 10 I was forced to get the volumes right. Once they're done nicely I usually use xmms to adjust the volume.
 
  


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
Sound errors in mandrake 10 - c-media 8738 onboard card d3viant Mandriva 69 11-08-2004 03:09 PM
C-media 8738 And 5.1 sound problem Wynand1 Linux - Hardware 1 06-04-2004 12:02 AM
need help configuring C-Media PCI Audio 8738 ksgill Linux - Newbie 5 12-28-2003 04:57 PM
Mandrake 9.2 and C-Media 8738 shatteredhaven Mandriva 5 11-20-2003 07:37 PM
C-Media 8738 Integ. Sound Card Swene Linux - Hardware 1 04-15-2002 04:32 PM

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

All times are GMT -5. The time now is 08:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration