LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-15-2007, 02:06 AM   #1
Maladjez
LQ Newbie
 
Registered: Nov 2006
Location: Germany
Distribution: CentOS 7, Ubuntu 16.4 LTS
Posts: 26

Rep: Reputation: 15
Question No sound (w/ ALSA, MCP61/ALC888)


Hello!

I found no solution to my problem described here, so I need your help!

I have a Motherboard 'ASRock ALiveNF6G-DVI' with an onboard sound device "7.1 CH Premium Level HD Audio (ALC888 Audio Codec)" included. With OpenSuse 10.2 I don't get that audio device working. I had to recompile the original kernel with PREEMPT & SMP deactivated (because otherwise my wlan card doesn't work - see http://rt2x00.serialmonkey.com/phpBB...pic.php?t=307).
I used the ASLA software from Realteks' homepage (realtek-linux-audiopack-4.05e.tar.bz2). During the installation an audio device is found: "hda_intel: 00:05.0 Audio device NVidia Cooperation MCP61High Definition..." and the /etc/modprobe.conf is configured, but then a error message follows (during modprobing):

Quote:
ALSA lib confmisc.c:560snd_determine_driver) could not open control for card 0
ALSA lib conf.c:3479_snd_config_evaluate) function snd_func_card_driver returned error: No such device or address
ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
ALSA lib conf.c:3479_snd_config_evaluate) function snd_func_concat returned error: No such device or address
ALSA lib confmisc.c:955snd_func_refer) error evaluating name
ALSA lib conf.c:3479_snd_config_evaluate) function snd_func_refer returned error: No such device or address
ALSA lib conf.c:3948snd_config_expand) Evaluate error: No such device or address
ALSA lib pcm.c:2090snd_pcm_open_noupdate) Unknown PCM default
aplay: main:533: audio open error: No such device or address
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1163: No soundcards found...
Lsmod shows the following:

Quote:
Module Size Used by
snd_page_alloc 10248 0
nls_iso8859_1 4352 1
nls_cp437 6016 1
vfat 12288 1
fat 50460 1 vfat
ipv6 236384 14
af_packet 20488 2
vmix 34596 0
osscore 567632 1 vmix
lirc_imon 13316 1
lirc_dev 14164 1 lirc_imon
thermal 14600 0
processor 25264 1 thermal
button 6928 0
battery 10372 0
ac 5508 0
apparmor 50328 0
aamatch_pcre 14464 1 apparmor
loop 16008 0
dm_mod 54968 0
sr_mod 16036 1
cdrom 34080 1 sr_mod
usbhid 46176 0
usb_storage 77760 3
rt61 230024 1
forcedeth 38404 0
ohci_hcd 18692 0
ehci_hcd 29448 0
usbcore 107984 6 lirc_imon,usbhid,usb_storage,ohci_hcd,ehci_hcd
parport_pc 37348 1
lp 11588 0
parport 34632 2 parport_pc,lp
ext3 134664 2
mbcache 8452 1 ext3
jbd 61364 1 ext3
edd 9924 0
fan 4996 0
sg 32540 0
sata_nv 11140 2
libata 113812 1 sata_nv
amd74xx 13724 0 [permanent]
sd_mod 20496 7
scsi_mod 130952 5 sr_mod,usb_storage,sg,libata,sd_mod
ide_disk 16384 0
ide_core 123016 3 usb_storage,amd74xx,ide_disk
Lspci:

Quote:
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:08.0 Network controller: Atheros Communications, Inc. Unknown device 0023 (rev 01)
01:0a.0 Network controller: RaLink RT2561/RT61 802.11g PCI
02:00.0 VGA compatible controller: nVidia Corporation GeForce 7300 LE (rev a1)
Hwinfo:

Quote:
17: PCI 05.0: 0403 Audio device
[Created at pci.286]
UDI: /org/freedesktop/Hal/devices/pci_10de_3f0
Unique ID: CvwD.NrGvVZjpct4
SysFS ID: /devices/pci0000:00/0000:00:05.0
SysFS BusID: 0000:00:05.0
Hardware Class: sound
Model: "ASRock In Audio device"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x03f0
SubVendor: pci 0x1849 "ASRock Incorporation"
SubDevice: pci 0x0888
Revision: 0xa2
Memory Range: 0xdddf8000-0xdddfbfff (rw,non-prefetchable)
IRQ: 11 (no events)
Module Alias: "pci:v000010DEd000003F0sv00001849sd00000888bc04sc03i00"
Driver Info #0:
Driver Status: snd_hda_intel is not active
Driver Activation Cmd: "modprobe snd_hda_intel"
Config Status: cfg=no, avail=yes, need=no, active=unknown
I had to change the installer file (./install) for the new kernel:

Code:
#!/bin/sh

######## VERSION 1.0 ########

KERNEL_VER1=linux-2.6.18.2-nopreemptsmp
KERNEL_VER2='uname -r'

. ./version

echo ".....Decompress Driver source v1.0.12-$ver"
tar xvpfj alsa-driver-1.0.12-$ver.tar.bz2 > /dev/null 2>&1
echo ".....Decompress ALSA Library source v1.0.9"
tar xvpfj alsa-lib-1.0.9.tar.bz2 > /dev/null 2>&1
echo ".....Decompress ALSA Utility v1.09a"
tar xvpfj alsa-utils-1.0.9a.tar.bz2 >/dev/null 2>&1
#echo ".....Decompress XRealMixer v0.5"
#tar xvpfj xrmix-0.5.tar.bz2 > /dev/null 2>&1
sync

echo "Remove old sound driver"
if [ -d /lib/modules/$KERNEL_VER1/kernel/sound ]; then
   rm -rf /lib/modules/$KERNEL_VER1/kernel/sound/pci > /dev/null 2>&1
   rm -rf /lib/modules/$KERNEL_VER1/kernel/sound/acore > /dev/null 2>&1
   rm -rf /lib/modules/$KERNEL_VER1/kernel/sound/driver > /dev/null 2>&1
fi

if [ -d /lib/modules/$KERNEL_VER2/kernel/sound ]; then
   rm -rf /lib/modules/$KERNEL_VER2/kernel/sound/pci > /dev/null 2>&1
   rm -rf /lib/modules/$KERNEL_VER2/kernel/sound/acore > /dev/null 2>&1
   rm -rf /lib/modules/$KERNEL_VER2/kernel/sound/driver > /dev/null 2>&1
fi

## remove driver modules
if [ -f /etc/rc.d/init.d/alsasound ]; then
   /etc/init.d/alsasound stop
   rmmod snd-page-alloc > /dev/null 2>&1
   rmmod soundcore > /dev/null 2>&1
fi

sleep 2

echo "Compile Driver........"
cd alsa-driver-1.0.12-$ver
./configure --with-kernel=/usr/src/linux-2.6.18.2-nopreemptsmp --with-card=hda-intel
make
make install
./snddevices
cd ..

## for x86
echo "Remove old alsa library"
rm -rf /lib/libasound.* > /dev/null 2>&1
rm -rf /lib64/libasound.* > /dev/null 2>&1
rm -rf /usr/lib/libasound.* > /dev/null 2>&1
rm -rf /usr/lib64/libasound.* > /dev/null 2>&1

echo "Compile ALSA Library....."
cd alsa-lib-1.0.9
./configure --with-kernel=/usr/src/linux-2.6.18.2-nopreemptsmp --with-card=hda-intel
make
make install
cd ..


echo "Compile ALSA Utility......"
cd alsa-utils-1.0.9a
./configure --with-kernel=/usr/src/linux-2.6.18.2-nopreemptsmp --with-card=hda-intel
make
make install
cd ..

#echo "Comiple XrealMixer......"
#cd ./

## for x86_64
if [ -d /usr/lib64 ]; then
  cp -lf /usr/lib/libasound.* /usr/lib64
  cp -lf /usr/lib/pkgconfig/alsa.pc /usr/lib64/pkgconfig
  ldconfig -n /usr/lib64
fi

sleep 1

## del audio stat file
if [ -f /etc/asound.state ]; then
   rm -rf /etc/asound.state > /dev/null 2>&1
fi

## alsa driver sndstat file relink
rm -rf /dev/sndstat > /dev/null 2>&1
ln -s /proc/asound/oss/sndstat /dev/sndstat

## sample wave
if [ -d /usr/share/sounds/alsa ]; then
     bzip2 -d test.wav.bz2
     cp -f test.wav /usr/share/sounds/alsa
     bzip2 test.wav
else
     mkdir /usr/share/sounds/alsa
     bzip2 -d test.wav.bz2
     cp -f test.wav /usr/share/sounds/alsa
     bzip2 test.wav
fi

echo "Remove Folder....."
rm -rf alsa-driver-1.0.12-$ver > /dev/null
rm -rf alsa-lib-1.0.9 > /dev/null
rm -rf alsa-utils-1.0.9a > /dev/null
alsaconf
The lines printed bold are the lines I added or changed.

I would be great if you may give me some ideas how to solve this problem!

Maladjez
 
Old 02-16-2007, 12:36 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
ALSA support for the MCP61 did not show up until version 1.0.13. The ALSA code that supported the MCP61 did not show up in the kernel until version 2.6.19. You're using 1.0.12 and 2.6.18.2 respectively. If it were me, I'd upgrade to a 2.6.19 kernel and use the kernel's ALSA, not Realteks.

BTW, nVidia recommends using the snd-hda-intel module for the MCP61. I didn't see that module loaded in your lsmod output.

Last edited by weibullguy; 02-16-2007 at 12:38 PM.
 
Old 02-16-2007, 04:39 PM   #3
Maladjez
LQ Newbie
 
Registered: Nov 2006
Location: Germany
Distribution: CentOS 7, Ubuntu 16.4 LTS
Posts: 26

Original Poster
Rep: Reputation: 15
Smile

I solved the problem: also the lastest version of OSS was installed. After deinstalling OSS and reinstalling Alsa, the sound was/is good !
 
  


Reply

Tags
alc, soundhdaintel


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
problem with ALSA, no sound through alsa, oss works SB Live! 5.1 Michalxo Linux - Hardware 2 01-21-2007 05:24 AM
sound realtek alc888. kalleanka Linux - Hardware 1 12-14-2006 12:30 PM
Getting sound working on the GA-965P-DQ6 (ALC888, Ubuntu 6.10) RandallC Linux - Hardware 0 10-31-2006 10:28 AM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
[ALSA 1.0.9b-4] No more sound, no more alsa-utils package Creak Debian 5 08-18-2005 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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