RealTek HD Audio drivers for OpenSUSE?

Hello, I currently am wrestling to get OpenSUSE 13.2 KDE to run properly on Toughbook CF-19Mk6.

Extension to here:

Bottom line, I currently need help installing RealTek HD audio drivers for OpenSUSE.

The driver and instructions respectively are found here:

In the instruction, I need to compile the driver after configuration and install it.

I am having issues compiling it.

I get stuck while using the make file

make[1]: Entering directory '/usr/src/linux-4.12.3-2.g880dbd7-obj/x86_64/default'  CC [M]  /home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/wrappers.o
  CC [M]  /home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/misc_driver.o
  CC [M]  /home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/sound.o
  CC [M]  /home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/init.o
  CC [M]  /home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/memory.o
In file included from /home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/memory.c:40:0:
/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/../alsa-kernel/core/memory.c: In function ‘copy_to_user_fromio’:
/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/../alsa-kernel/core/memory.c:49:3: error: implicit declaration of function ‘copy_to_user’ -Werror=implicit-function-declaration]
   if (copy_to_user(dst, buf, c))
/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/../alsa-kernel/core/memory.c: In function ‘copy_from_user_toio’:
/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/../alsa-kernel/core/memory.c:81:3: error: implicit declaration of function ‘copy_from_user’ -Werror=implicit-function-declaration]
   if (copy_from_user(buf, src, c))
cc1: some warnings being treated as errors
/usr/src/linux-4.12.3-2.g880dbd7/scripts/ recipe for target '/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/memory.o' failed
make[5]: *** [/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/memory.o] Error 1
/usr/src/linux-4.12.3-2.g880dbd7/scripts/ recipe for target '/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore' failed
make[4]: *** [/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore] Error 2
/usr/src/linux-4.12.3-2.g880dbd7/Makefile:1522: recipe for target '_module_/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa' failed
make[3]: *** [_module_/home/sjlphi/Desktop/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.12.3-2.g880dbd7-obj/x86_64/default'
Makefile:167: recipe for target 'compile' failed
make: *** [compile] Error 2

I should also mention, that if the speaker has not been muted,
as root, if I type in

alsactl init

the sound works until reboot.

Note; openSUSE 13.2 support has ended and you haven’t received security updates for over half a year now - you should upgrade to 42.2 or better yet 42.3 that came out today ASAP.

That being said, you should take a peek at the SUPPORTED_KERNELS;

The alsa-drivers in this package are designed for the following kernels:

  • Vanilla 3.0 to 3.2
  • Vanilla 2.6.18 to 2.6.39

42.2/42.3 might support this out of the box.

Thank you, yikes… I am using Kernel >4 right now, should I look into kernel downgrade at this point?

I do understand 13.2 has ended, I tried LEAP 42.1, hated it, 42.2 I liked it decently, but catastrophic wipe-out on 42.2 made me to go back to 13.2.

I do realize 42.2 would iron out many of the issues, but I insist 13.2 for this toughbook for the time being, similar to how all of my computers are forced Windows 7.

Windows 7 still gets security updates, 13.2 does not and there’s been a lot of really nasty userland holes lately that simply updating your kernel won’t fix.

42.3 came out today (or will, depending on your TZ)