You are not logged in.

#1 2013-06-19 16:31:46

azazello
Member
Registered: 2013-06-19
Posts: 3

Installing sound driver for Realtek ALC898 on Z77X-UD5H rev 1.0

Installed for the first time arch a couple days ago. The sound devices were all detected but fiddling with config did not yield any sound so I tried installing Realtek driver from http://www.realtek.com.tw/downloads/ >>   High Definition Audio Codecs (Software) >> Linux driver (3.0). It built fine but seems to have screwed up the alsa module. I tried to remove it by make uinstall and reinstall alsa-utils without success. Now the devices are not detected. Below is the info:

Cconfiguring and building Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa
from http://www.realtek.com.tw/downloads/ >>   High Definition Audio Codecs (Software) >> Linux driver (3.0)
Somewhat worried by the warning about possible compiler mismatch.

./configure --with-cards=hda-intel 
...
checking for kernel version... 3.9.6-1-ARCH
checking for GCC version... Kernel compiler:  Used compiler: gcc (GCC) 4.8.1

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.
...

make
...
ALSA modules were successfully compiled.

make install
...
/sbin/depmod -a 3.9.6-1-ARCH 

lspci |grep Audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]

aplay -l
aplay: device_list:268: no soundcards found...

ls /dev/snd
seq  timer

lsmod |grep ^snd
snd_hwdep               6492  0
snd_pcm                78341  0
snd_page_alloc          7330  1 snd_pcm
snd_timer              18942  1 snd_pcm
snd                    54256  3 snd_hwdep,snd_timer,snd_pcm

modprobe snd-hda-intel
modprobe: ERROR: could not insert 'snd_hda_intel': Unknown symbol in module, or unknown parameter (see dmesg)

dmesg |grep snd
[    1.516670] snd_hda_codec: Unknown symbol snd_ctl_sync_vmaster_hook (err 0)
[    1.516686] snd_hda_codec: Unknown symbol snd_jack_report (err 0)   
[    1.516721] snd_hda_codec: Unknown symbol snd_ctl_add_vmaster_hook (err 0)
[    1.516733] snd_hda_codec: Unknown symbol snd_kctl_jack_new (err 0) 
[    1.516749] snd_hda_codec: Unknown symbol snd_ctl_make_virtual_master (err 0)
[    1.516779] snd_hda_codec: Unknown symbol snd_jack_new (err 0)
[    1.516810] snd_hda_codec: Unknown symbol snd_kctl_jack_report (err 0)
[    1.517037] snd_hda_codec: Unknown symbol _snd_ctl_add_slave (err 0)
[    1.517799] snd_hda_codec: Unknown symbol snd_ctl_sync_vmaster_hook (err 0)
[    1.517809] snd_hda_codec: Unknown symbol snd_jack_report (err 0)
[    1.517826] snd_hda_codec: Unknown symbol snd_ctl_add_vmaster_hook (err 0)
[    1.517836] snd_hda_codec: Unknown symbol snd_kctl_jack_new (err 0)
[    1.517847] snd_hda_codec: Unknown symbol snd_ctl_make_virtual_master (err 0)
[    1.517862] snd_hda_codec: Unknown symbol snd_jack_new (err 0)
[    1.517874] snd_hda_codec: Unknown symbol snd_kctl_jack_report (err 0)
[    1.517883] snd_hda_codec: Unknown symbol _snd_ctl_add_slave (err 0)

I found a similar problem in https://bbs.archlinux.org/viewtopic.php?id=147242 but they had a MB rev 1.1 and I have 1.0. I updated BIOS to F14 while trying to fix it.

Last edited by azazello (2013-06-19 17:31:02)

Offline

#2 2013-06-20 05:41:48

azazello
Member
Registered: 2013-06-19
Posts: 3

Re: Installing sound driver for Realtek ALC898 on Z77X-UD5H rev 1.0

Trying to build alsa-driver-1.0.25. Took some header shuffling to make configure work...

./configure --with-cards=hda-intel --with-kernel=/usr

Then make breaks:

make -C /usr SUBDIRS=/tmp/alsa-driver-1.0.25  CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr'
make: *** [compile] Error 2

What do I need to change to build alsa?
Is there a better way to get back to the original module to play with it a little more?

Offline

#3 2013-06-20 11:49:39

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Installing sound driver for Realtek ALC898 on Z77X-UD5H rev 1.0

The chip should work fine with kernel 3.9 without having to build anything by hand.

What was the actual problem with it?

Edit: if you really want to build the driver, use a PKGBUILD.

Last edited by Mr.Elendig (2013-06-20 11:50:49)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2013-06-22 03:11:23

azazello
Member
Registered: 2013-06-19
Posts: 3

Re: Installing sound driver for Realtek ALC898 on Z77X-UD5H rev 1.0

Solved it by reinstalling arch and plugging into the rear speaker jack. The green analog out does not work in linux (works in Windows) on rev 1.0 Z77 motherboards according to https://bugs.launchpad.net/ubuntu/+sour … bug/996245. Someone may want to try to remap it with the tool to mic jack if 5.1 is needed (see the linked thread), which I have not done.

Offline

Board footer

Powered by FluxBB