Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
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.
I've been nagging the people on #Fedora.freenode for a solution to this, but nothing has worked out:
I can't get my audio to work. I got a dual boot Fedora Core 2/Windoze XP, and the sound works perfect in XP, yet in FC2, it's nonexistant. I got Kernel 2.6.8-1(and something else that I can't remember), KDE. Hardware browser shows this: nForce2 AC97 Audio Controler (MCP)
Producer: nVidia Corporation
Driver: snd-intel8x0
The card is a embedded C-Media audio card. I don't remember the exact model number.
To solve the problem, someone in #Fedora suggested that I install nVidia's motherboard driver. I tried, yet it wanted me to place loads of files into folders that don't exist.
I've tried fiddeling with KMix, aumix and alsamixer.
The only thing that worked at all (and it worked on all three) is the mic. When I turn it up, a loud noise appears, so I keep it low. I am a complete noob, so pretty much everything I did was copy commands off MSN and #Fedora, enter them and hoped they'd work. I tried the sound test, but it didn't work. I tried wav, mp3 and ogg files, but they didn't work. I don't really know what to do.
I'll post C-Media's readme's here.
C-Media:
Code:
Audio driver for CM8338/CM8738 chips by Chen-Li Tien
HARDWARE SUPPORTED
================================================================================
C-Media CMI8338
C-Media CMI8738
On-board C-Media chips
STEPS TO BUILD DRIVER
================================================================================
1. Backup the Config.in and Makefile in the sound driver directory
(/usr/src/linux/driver/sound).
The Configure.help provide help when you config driver in step
4, please backup the original one (/usr/src/linux/Document) and
copy this file.
The cmpci is document for the driver in detail, please copy it
to /usr/src/linux/Document/sound so you can refer it. Backup if
there is already one.
2. Extract the tar file by 'tar xvzf cmpci-xx.tar.gz' in the above
directory.
3. Change directory to /usr/src/linux
4. Config cm8338 driver by 'make menuconfig', 'make config' or
'make xconfig' command.
5. Please select Sound Card (CONFIG_SOUND=m) support and CMPCI
driver (CONFIG_SOUND_CMPCI=m) as modules. Resident mode not tested.
For driver option, please refer 'DRIVER PARAMETER'
6. Compile the kernel if necessary.
7. Compile the modules by 'make modules'.
8. Install the modules by 'make modules_install'
INSTALL DRIVER
================================================================================
1. Before first time to run the driver, create module dependency by
'depmod -a'
2. To install the driver manually, enter 'modprobe cmpci'.
3. Driver installation for various distributions:
a. Slackware 4.0
Add the 'modprobe cmpci' command in your /etc/rc.d/rc.modules
file.so you can start the driver automatically each time booting.
b. Caldera OpenLinux 2.2
Use LISA to load the cmpci module.
c. RedHat 6.0 and S.u.S.E. 6.1
Add following command in /etc/conf.modules:
alias sound cmpci
also visit http://www.cmedia.com.tw for installation instruction.
DRIVER PARAMETER
================================================================================
Some functions for the cm8738 can be configured in Kernel Configuration
or modules parameters. Set these parameters to 1 to enable.
mpu_io: I/O ports base for MPU-401, 0 if disabled.
fm_io: I/O ports base for OPL-3, 0 if disabled.
spdif_inverse:Inverse the S/PDIF-in signal, this depends on your
CD-ROM or DVD-ROM.
spdif_loop: Enable S/PDIF loop, this route S/PDIF-in to S/PDIF-out
directly.
speakers: Number of speakers used.
use_line_as_rear:Enable this if you want to use line-in as
rear-out.
use_line_as_bass:Enable this if you want to use line-in as
bass-out.
modem: You will need to set this parameter if you want to use
the HSP modem. You need install the pctel.o, the modem
driver itself.
joystick: Enable joystick. You will need to install Linux joystick
driver.
For some reason, nVidia's driver didn't have a readme. It was a .run file.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
Hi DaBlade, may we please see the output of.
/sbin/lspci -v
and
/sbin/lsmod
Thank you. On another note, I've seen some problems w/ac97 audio concerning a bug w/fedora. Search the forums for "bugzilla" w/my username, and the thread should show up.
good luck.
What's /sbin/lspci -v?
I don't really know much about Linux at all...
If you could explain it in Newbian, I'd appreciate it.
My MSN addy is EMINEMdablade@SNOOPDOGGgmail.com (remove the rappers) and my ICQ addy should be in my sig or something.
/me is a
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
It looks like the modules are loaded correctly. Open alsamixer and look for a pcm2, if it's there unmute it. Maybe also post every option alsamixer has. There are some other ideas here at the bottom of the page.
There is no PCM2, just PCM, and I can't move that one up.
Alsamixer's options below, in the order ALSAMixer showes them. (the ones that can't be moved up are marked with a #, and the rest are on max, except the mic, and special ones with *)
Master - Master M - PCM# - Surround - Center - LFE - Line - Line In# - CD - Mic - Mic as C# - Mic Boos - Mic Sele* - Video - Phone - IEC958# - IEC958 C# - IEC958 C# - IEC958 P - IEC958 P* - PC Speak - AUX - Mono Out* - Capture - Mix# - Mix Mono# - External#.
*Mic Sele=Different settings: Mic1 or Mic2
*IEC958 P= different settings: Analog or Digital
*Mono Out=different settings: Mic or Mix
That's it.
Yes of course. I have a dual boot with windoze, and the sound works fine there.
Plus, someone in #Fedora suggested that I change the sockets, because Linux sometimes screws up the sockets. I did it, and it didn't work, so I placed them back where they were.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
My apologies, I didn't intend to be condescending, but, I personally have made that small oversight before. I read somewhere that muting one of the channels allowed the pcm to be adjusted. I'm googling for that page again, I can't seem to recall where it was.
good luck.
DaBlade - it sounds like you're doing the right things to get sound up and running. Questions:
1. Have you tried running alsaconfig and if so, did it successfully generate a tone?
2. What media or source file are you trying to play, and which app are you using to play it? Note that the app is almost guaranteed to have its own volume control (such as the slider bar on XMMS) Check that the volume for the app is turned up all the way too.
Lastly, while I also support the Linux Counter project, would it be possible to use a regular size font to avoid the shouting? Thanks -- J.W.
I entered alsaconfig in Konsole, but nothing happened.... :
I have a few Eminem MP3s and OGGs I got from a CD.
When I play the ogg vorbis', a player called Kaboodle opens, but when MP3, XMMS. I put all their volumes to the top. Plus, I use the soundcard detection's sound test too. It dosn't work.
And I'll size down the counter thingy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.