Centos 6.2 sound not working on generic system

Issues related to hardware problems
Post Reply
magoo
Posts: 2
Joined: 2012/01/06 21:56:21

Centos 6.2 sound not working on generic system

Post by magoo » 2012/01/06 22:15:27

Hello,

I cannot seem to get sound working.
I have read other posts regarding sound issue, and have so far not come up with a solution.
I have loaded kmod-alsa.x86_64
lipci shows:
lspci | grep -i aud
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
08:00.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
I have tried un-muting various devices in alsamixer.
System is dual-boot, and speakers work fine under Windows 7.

I have a generic system:
Motherboard: EVGA X58 SLI 3 / USB 3.0
Processor = Intel i7 950 3.0 GHz Quad Core (8 MBytes cache)
Memory 6 GBytes DDR3 triple channel
Sound Card = Turtle Beach Montego DDL, suports 2, 4, 5.1 and 7.1 multi-channel speaker configurations, Dolby Digital Live

getinfo.sh attached

Thank you for your help.

getinfo-sh all:

Information for general problems.
[code]
== BEGIN uname -rmi ==
2.6.32-220.2.1.el6.x86_64 x86_64 x86_64
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
rpmfusion-nonfree-release-6-0.1.noarch
adobe-release-x86_64-1.0-1.noarch
centos-release-6-2.el6.centos.7.x86_64
rpmfusion-free-release-6-0.1.noarch
elrepo-release-6-4.el6.elrepo.noarch
epel-release-6-5.noarch
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 6.2 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 5842 805 5037 0 33 314
-/+ buffers/cache: 457 5385
Swap: 8031 0 8031
== END free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.6.6-29.el6.x86_64
rpm-libs-4.8.0-19.el6.x86_64
rpm-python-4.8.0-19.el6.x86_64
yum-3.2.29-22.el6.centos.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-plugin-fastestmirror-1.1.30-10.el6.noarch
yum-utils-1.1.30-10.el6.noarch
== END rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
adobe-linux-x86_64.repo
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
elrepo.repo
epel.repo
epel-testing.repo
rpmfusion-free-updates.repo
rpmfusion-free-updates-testing.repo
rpmfusion-nonfree-updates.repo
rpmfusion-nonfree-updates-testing.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: mirrors.bluehost.com
* elrepo: elrepo.org
* epel: mirror.us.leaseweb.net
* extras: mirror.cs.vt.edu
* rpmfusion-free-updates: mirror.us.leaseweb.net
* rpmfusion-free-updates-testing: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates: mirror.us.leaseweb.net
* rpmfusion-nonfree-updates-testing: mirror.us.leaseweb.net
* updates: centos-distro.cavecreek.net
repo id repo name status
adobe-linux-x86_64 Adobe Systems Incorpo enabled: 2
base CentOS-6 - Base enabled: 6,294
c6-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus disabled
contrib CentOS-6 - Contrib disabled
debug CentOS-6 - Debuginfo disabled
elrepo ELRepo.org Community enabled: 154
elrepo-extras ELRepo.org Community disabled
elrepo-kernel ELRepo.org Community disabled
elrepo-testing ELRepo.org Community disabled
epel Extra Packages for En enabled: 6,801
epel-debuginfo Extra Packages for En disabled
epel-source Extra Packages for En disabled
epel-testing Extra Packages for En disabled
epel-testing-debuginfo Extra Packages for En disabled
epel-testing-source Extra Packages for En disabled
extras CentOS-6 - Extras enabled: 3
rpmfusion-free-updates RPM Fusion for EL 6 - enabled: 0
rpmfusion-free-updates-debuginfo RPM Fusion for EL 6 - disabled
rpmfusion-free-updates-source RPM Fusion for EL 6 - disabled
rpmfusion-free-updates-testing RPM Fusion for EL 6 - enabled: 104
rpmfusion-free-updates-testing-debuginfo RPM Fusion for EL 6 - disabled
rpmfusion-free-updates-testing-source RPM Fusion for EL 6 - disabled
rpmfusion-nonfree-updates RPM Fusion for EL 6 - enabled: 0
rpmfusion-nonfree-updates-debuginfo RPM Fusion for EL 6 - disabled
rpmfusion-nonfree-updates-source RPM Fusion for EL 6 - disabled
rpmfusion-nonfree-updates-testing RPM Fusion for EL 6 - enabled: 17
rpmfusion-nonfree-updates-testing-debuginfo RPM Fusion for EL 6 - disabled
rpmfusion-nonfree-updates-testing-source RPM Fusion for EL 6 - disabled
updates CentOS-6 - Updates enabled: 165
repolist: 13,540
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==

#
# /etc/fstab
# Created by anaconda on Sun Jan 1 15:55:53 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_bluegrass-lv_root / ext4 defaults 1 1
UUID=0d3b2234-525c-46dc-887e-b263e1807e67 /boot ext4 defaults 1 2
/dev/mapper/vg_bluegrass-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_bluegrass-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_bluegrass-lv_root
50G 4.8G 44G 10% /
tmpfs 2.9G 320K 2.9G 1% /dev/shm
/dev/sda3 485M 53M 407M 12% /boot
/dev/mapper/vg_bluegrass-lv_home
399G 277M 378G 1% /home
== END df -h ==

== BEGIN fdisk -l ==
Disk /dev/mapper/vg_bluegrass-lv_root doesn't contain a valid partition table
Disk /dev/mapper/vg_bluegrass-lv_swap doesn't contain a valid partition table
Disk /dev/mapper/vg_bluegrass-lv_home doesn't contain a valid partition table

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x040b4de9

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 61140 491001856 7 HPFS/NTFS
/dev/sda3 61140 61204 512000 83 Linux
/dev/sda4 61204 121602 485144576 5 Extended
/dev/sda5 61204 121602 485143552 8e Linux LVM

Disk /dev/mapper/vg_bluegrass-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_bluegrass-lv_swap: 8422 MB, 8422162432 bytes
255 heads, 63 sectors/track, 1023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_bluegrass-lv_home: 434.7 GB, 434676695040 bytes
255 heads, 63 sectors/track, 52846 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

== END fdisk -l ==

== BEGIN blkid ==
/dev/sda1: LABEL="System Reserved" UUID="F6E44C3BE44BFFFB" TYPE="ntfs"
/dev/sda2: UUID="32124DA9124D7341" TYPE="ntfs"
/dev/sda3: UUID="0d3b2234-525c-46dc-887e-b263e1807e67" TYPE="ext4"
/dev/sda5: UUID="yYCjlF-N76K-JaKC-oMb2-8yta-DZlx-CxIBwE" TYPE="LVM2_member"
/dev/mapper/vg_bluegrass-lv_root: LABEL="_CentOS-6.0-x86_" UUID="63996481-94a7-44f7-95a1-71dc2f9821c2" TYPE="ext4"
/dev/mapper/vg_bluegrass-lv_swap: UUID="8156cdfe-4172-412d-94b2-9eb9ea1712c7" TYPE="swap"
/dev/mapper/vg_bluegrass-lv_home: UUID="81e9854d-d860-4bac-a595-5b297c5b815a" TYPE="ext4"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
PV VG Fmt Attr PSize PFree
/dev/sda5 vg_bluegrass lvm2 a-- 462.67g 0
== END pvs ==

== BEGIN vgs ==
VG #PV #LV #SN Attr VSize VFree
vg_bluegrass 1 3 0 wz--n- 462.67g 0
== END vgs ==

== BEGIN lvs ==
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lv_home vg_bluegrass -wi-ao 404.82g
lv_root vg_bluegrass -wi-ao 50.00g
lv_swap vg_bluegrass -wi-ao 7.84g
== END lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-220.2.1.el6.x86_64
kernel-2.6.32-71.el6.x86_64
kernel-firmware-2.6.32-220.2.1.el6.noarch
== END rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port [8086:3405] (rev 22)
00:01.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 [8086:3408] (rev 22)
00:02.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 [8086:3409] (rev 22)
00:03.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 [8086:340a] (rev 22)
00:07.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 [8086:340e] (rev 22)
00:09.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 9 [8086:3410] (rev 22)
00:14.0 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers [8086:342e] (rev 22)
00:14.1 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers [8086:3422] (rev 22)
00:14.2 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers [8086:3423] (rev 22)
00:14.3 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers [8086:3438] (rev 22)
00:1a.0 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 [8086:3a37]
00:1a.1 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 [8086:3a38]
00:1a.2 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 [8086:3a39]
00:1a.7 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 [8086:3a3c]
00:1b.0 Audio device [0403]: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller [8086:3a3e]
00:1c.0 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 [8086:3a40]
00:1c.2 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3 [8086:3a44]
00:1d.0 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 [8086:3a34]
00:1d.1 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 [8086:3a35]
00:1d.2 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 [8086:3a36]
00:1d.7 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 [8086:3a3a]
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 90)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller [8086:3a16]
00:1f.2 SATA controller [0106]: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller [8086:3a22]
00:1f.3 SMBus [0c05]: Intel Corporation 82801JI (ICH10 Family) SMBus Controller [8086:3a30]
01:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03)
02:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 Gb/s controller [1b4b:9123] (rev 11)
02:00.1 IDE interface [0101]: Marvell Technology Group Ltd. 88SE91A4 SATA 6Gb/s Controller [1b4b:91a4] (rev 11)
03:00.0 VGA compatible controller [0300]: nVidia Corporation G94 [Quadro FX 1800] [10de:0638] (rev a1)
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
08:00.0 Multimedia audio controller [0401]: C-Media Electronics Inc CM8738 [13f6:0111] (rev 10)
08:03.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] [104c:8023]
== END lspci -nn ==

== BEGIN lsusb ==
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 005 Device 002: ID 045e:00b4 Microsoft Corp.
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
== END lsusb ==

== BEGIN ifconfig -a ==
== END ifconfig -a ==

== BEGIN route -n ==
== END route -n ==

== BEGIN cat /etc/resolv.conf ==
== END cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
== END chkconfig --list | grep -Ei 'network|wpa' ==
[/code]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Centos 6.2 sound not working on generic system

Post by pschaff » 2012/01/07 04:09:04

Welcome to the CentOS fora. Congratulations on being one of the select few to do the recommended reading before posting.

I can't spot any obvious problems, except that you have multiple 3rd party repos enabled and are not using the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum-plugin-priorities[/url] plugin, large amounts of trailing whitespace (manually deleted), and the strange lack of network information in the script output. Did you remove it?

magoo
Posts: 2
Joined: 2012/01/06 21:56:21

Re: Centos 6.2 sound not working on generic system

Post by magoo » 2012/01/07 19:32:56

Hello,

Yes, network info was manually removed from getinfo.sh output.
Centos and Windows seem to be fighting over the driver. Windows works with my C-Media PCI Audio Device (or at least it did until I started trying to enable the sound on CentOS).
On Windows, the driver details point to cmudax3.dll and cmudax3.sys. Not sure if there is a driver that will play nice with both OS's.
Driver version is 7.12.8.1740 from C-Media Electronics.

Thanks.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Centos 6.2 sound not working on generic system

Post by pschaff » 2012/01/07 20:27:20

There should be no interaction between CentOS and Windows drivers, except possibly for a warm-restart. Have seen cases where hardware "remembers" things through a reboot if not power cycled.

azca
Posts: 174
Joined: 2006/06/03 18:06:13
Location: Peoria, AZ USA

Centos 6.2 sound not working on generic system

Post by azca » 2012/01/10 00:55:55

Hi all. I also have a C-Media CM8738 sound card that did not work OOB on my test 32 bit CentOS-6.2 install. The installation method on this computer was a minimal install from the DVD.

The solution for me was to simply install kmod-alsa from elrepo.org, and then alsa-utils from the regular CentOS repositories for testing purposes.

FWIW, I am using runlevel 3 console mode for this. No GUI.

After installing kmod-alsa, and alsa-utils, and then rebooting, I now have this:

[code]
[username@celeron ~]$ lspci -k
(...)
03:01.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: C-Media Electronics Inc CMI8738/C3DX PCI Audio Device
Kernel driver in use: C-Media PCI
Kernel modules: snd-cmipci
(...)
[username@celeron ~]$

[username@celeron ~]$ lsmod|grep -i cmi
snd_cmipci 28835 0
snd_pcm 70776 1 snd_cmipci
snd_opl3_lib 9031 1 snd_cmipci
snd_mpu401_uart 5717 1 snd_cmipci
snd 56271 9 snd_cmipci,snd_seq,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
[username@celeron ~]$
[/code]
I ran alsamixer, and the card was properly detected in the upper left corner, and nothing was muted.

Next I tested some sound files provided by alsa-utils.

[code]
[username@celeron ~]$ cd /usr/share/sounds/alsa/

[username@celeron alsa]$ ls -al
total 1220
(...)
-rw-r--r-- 1 root root 137134 Nov 10 2010 Front_Center.wav
-rw-r--r-- 1 root root 142128 Nov 10 2010 Front_Left.wav
(...)
[username@celeron alsa]$

[username@celeron alsa]$ aplay Front_Center.wav
Playing WAVE 'Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
[username@celeron alsa]$
[/code]
I now have sound while in runlevel 3 console mode. I do not have sound while in GNOME yet, but that's most likely because this is a minimal install, and so I'm probably missing some packages. Just haven't has time to look into that yet.

Anyway, hope this can help someone.

Post Reply