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:
#################################Begin##############################################
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...
#################################End##############################################

Lsmod shows the following:

Quote:
#################################Begin##############################################
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
#################################End##############################################

Lspci:

Quote:
#################################Begin##############################################
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)
#################################End##############################################

Hwinfo:

Quote:
#################################Begin##############################################
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
#################################End##############################################

I had to change the installer file (./install) for the new kernel:

Code:
#################################Begin##############################################
#!/bin/sh
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
#################################End##############################################

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to