LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2005, 05:49 PM   #1
jungle
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Rep: Reputation: 0
CMI9739 in Linux


well i am a linux newbie for sure. i finally got tired of all the windows bull**** and here i am. first, i installed FC1, but i had a lot of problems with it, working sound not being one. I was using the digital coaxial output of my onboard CMedia 9739 AC97 codec. anyone who reads the name CMedia should be instantly filled with hate, disgust, and a distinct drive to burn something. then i switched to FC3 and i have no sound.

ok no problem, i say. I downloaded the drivers from their website, easy enough, and unziped them. Now, i'm supposed to compile the drivers. ./configure doesn't work, and i tried gcc, but that didnt either. (had to use gcc for a CSC class).

i tried skipping straight to make, but that gave a huge list of errors about pointers and such. i would really like to use these drivers because i read about AC3 S/PDIF output, which is supposed to be implimented but isn't for some reason in the windows drivers. that is a completely different story. right now all i want is either to kill all affiliated with cmedia or get their drivers to work.

i can't post a url b/c i dont have enough posts, but go to the cmedia site (cmedia[dot]com[dot]tw) and look in the drivers section under CMI9739


there is the link for the drivers. someone please help me.

jungle
 
Old 03-18-2005, 11:47 AM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
You say ./configure doesn't work. Why doesn't it work? What error messages to you get? Just saying "it doesn't work" doesn't provide enough information to give you an intelligent answer.
 
Old 03-19-2005, 09:37 AM   #3
jungle
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
./configure gives me "no such file or directory". i realized that there is a file called "install" which appears to be executable. i still can't figure it out though. the readme says

Quote:
Installation:
For driver installation, please follow below steps.

Step 1. Unzip source code
tar xzf cmaudio-xxx.tar.gz

Step 2. Complied source code and install
./install

Step 3. Edit your /etc/modules.conf or conf.modules depending on the Distribution
alias sound-slot-0 cmaudio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
from what i can guess, it says to compile the source code, then use ./install. when i do ./install it give me the error:
Quote:
make: *** /usr/src/linux-2.6.10-1.770_FC3: No such file or directory. Stop.
make: *** /usr/src/linux-2.6.10-1.770_FC3: No such file or directory. Stop.
trying to compile cmi9739.c gives me a huge list of errors about pointers

there is a cmaudio.h file. so i copied it to /usr/include, but it still didn't work. here is what's in the directory.

Quote:
ali_5451.c cmconfig.c cmi9761.c main.c sis_7018.c
ati.c cmi9738.c install Makefile via_82cxxx.c
cmaudio.h cmi9739.c intel_ichx.c Readme.txt
i feel very close to getting this to work. anyone have any ideas?

jungle

Last edited by jungle; 03-19-2005 at 10:24 AM.
 
Old 03-20-2005, 11:08 AM   #4
jungle
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
it worked well in Fedora Core 1. is there any way to see what driver it had in that distro? maybe i could just switch over to that. by the way i am using the digital SPDIF out, if i didn't mention that already.
 
Old 04-12-2005, 02:53 PM   #5
R0nIn
LQ Newbie
 
Registered: Apr 2005
Location: Yerevan
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
hi
I have the same problem on FC2
i've downloaded that driver from cmedia's site und unzipped it ....

and done as it was written in Readme.txt

1 do
unzip
2 run
./install
3
add some bla bla to
/etc/modules.conf

but i don't know what to do else...
in
system-config-soundcard
it brings that it has detected Sis sound controller
module : snd-intel8x0

but nothing works ... PLEASE ANYBODY HELP ME!
 
Old 04-13-2005, 04:01 PM   #6
jungle
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
well i have an update. it turns out that, if you want, you can actually use the intel8x0 drivers in alsa (like it says). i made both the analog and digital work by going into kmix>switches and messing with them. the iec958 switches are what do it. there is a combination to get the analog to work, i think you have to turn off the capture monitor one. for digital, i also had to go back to the sliders and slide the iec958 one all the way to the bottom. from what i can guess this controls the output port instead of the volume itself.

as far as the cmedia drivers go, i was never able to get them working completely. i did, however get the module to compile and load with modprobe cmaudio. after that, i was a bit at a loss about what to do. i added the lines to modprobe.conf and everything (fc3 doesnt use modules.conf), but to no avail. i really don't care any more because i have it working with the alsa drivers. i got it to build and compile by editing the ./install script and changing the include directory to point to my kernel files. they were in /usr/lib/modules/<kernel version>/include. there may have been some things tacked on before the include folder. i just ran a search for what uname -r gave me. anyway, i hope this helps, i happened upon the solution by accident. looks like the people at alsa actually did know what they were talking about after all, too bad they didnt mention the switches in kmix.

jungle
 
Old 04-15-2005, 06:56 AM   #7
R0nIn
LQ Newbie
 
Registered: Apr 2005
Location: Yerevan
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
well
how u made alsa driver to work?
when i enter
system-config-soundcard it detecs my card and it's driver points to intel8x0... but it doesn't work

maybe there is some trick i must do? or smthn else?
 
Old 04-15-2005, 01:25 PM   #8
jungle
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
How to make Alsa Work

First let me say that i have an epox 8rda3+. i would guess that this would work for any mobo with the cmi chip, but i don't know. the intel8x0 drivers are correct for the cmi9739 chip, it just takes a little tinkering.

1. fire up computer with the snd-intel8x0 drivers enabled (should be by default)
2. if you don't have kde installed, then you need to install it or install kmix at least. i don't know if that is possible.
3. run kmix from console or alt-f2, whatever.
4. goto the switches tab.
5. make sure the following switches have these options

ANALOG:
PCM = on
IEC958 Capture Monitor = off

DIGITAL:
PCM = on (i think it needs to be like this)
IEC958 = on
*****on the output tab******
IEC958 Playback AC97-SPSA = in the lowest position
- from what i can guess, actually selects the output port, not the volume

if you want both digital and analogue to work at the same time switch the options for both to the correct settings
i am a little unsure of the digital configuration because i don't actually have it hooked up at the moment. I was able to get it working before by just messing with the switches on the tab and moving the slider. i have discovered that there is no volume control, so i hope you have speakers with volume control on them or some other method of controlling it. hope this helps.

jungle
 
Old 04-17-2005, 02:47 AM   #9
R0nIn
LQ Newbie
 
Registered: Apr 2005
Location: Yerevan
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
10x jungle
You really helped me!
everything works fine for now
 
Old 04-17-2005, 03:14 PM   #10
jungle
LQ Newbie
 
Registered: Aug 2004
Posts: 19

Original Poster
Rep: Reputation: 0
An update for all people accessing this page in the future. I just updated my kernel to 2.6.11-1.14_FC3. This apparently cleared out all my settings in kmix. i had to go in and manually put them back in. make sure that the pcm switch is on, it is not located in the same position in the order as it was in the previous kernel. not a big deal, but i thought i'd pass along.

jungle
 
  


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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 11:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 11:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 03:49 PM


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