Linux - NewbieThis 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
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
./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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.