Package Base Details: oss-git

Git Clone URL: (read-only, click to copy)
Keywords: oss
Submitter: Nowaker
Maintainer: Galaxy
Last Packager: Galaxy
Votes: 25
Popularity: 0.114968
First Submitted: 2013-09-21 13:15
Last Updated: 2019-11-01 17:19

Pinned Comments

Galaxy commented on 2019-10-24 02:55

The latest support Intel HDA is 0x8c20, and I am using a348. If your sound card is not listed there, it is not supported.

  • 8c20 ("8 Series/C220 Series Chipset High Definition Audio Controller")
  • a348 ("Cannon Lake PCH cAVS")

Latest Comments

1 2 3 4 5 6 ... Next › Last »

Next7 commented on 2020-12-04 02:33

@seawright Huge thanks again! Now it works.

seawright commented on 2020-12-02 21:35

@Next7 If "uname -m" gives result "x86_64" add this line (without quotes): "#define HAVE_UNLOCKED_IOCTL 1" at start of file /usr/lib/oss/build/osscore.c As root run: sh /usr/lib/oss/build/ followed by: soundoff && sync && soundon

Next7 commented on 2020-12-02 09:30

@seawright Sorry, I cannot help to find the version of the kernel where this error occurred first time. I have upgraded from version 5.8.8 to 5.9.10.

seawright commented on 2020-11-27 13:28

@Next7 Concur with your description of the problem which I have been able to re-produce. I will investigate further but I have higher priority demands on my time at the moment. Suggest rolling back to an earlier (5.8.x) kernel. If you want to investigate further yourself it would be useful to find the minor version (or release client) where the problem first appears to see if there is anything in the change log that would account for it.

Next7 commented on 2020-11-24 21:17

Kernel 5.9.10 has brought another error. Now the package is built as usual without problems and after executing the "soundon" command the module itself is also built without problems (and it does exist in "extramodules/oss" directory). But after the "soundon" command the following output is produced:

Relinking OSS kernel modules for ""
This may take few moments - please stand by...
Relinking OSS kernel modules finished
SNDCTL_SYSINFO: Inappropriate ioctl for device
SNDCTL_SYSINFO: Inappropriate ioctl for device

OSS started OK

But in reality the sound output does not work. It's impossible to execute even the "osstest" command. That command produces the same error "SNDCTL_SYSINFO: Inappropriate ioctl for device".

seawright commented on 2020-10-10 08:38

@Next7 Amended patch. Had to add two back slashes for one to appear on this board.

Next7 commented on 2020-10-10 07:54


Many thanks again. Now module is built and works but it's important to watch out misspelling in the patch probably caused by the board's formatting rules: "$N_" should be "$N\_".

seawright commented on 2020-10-09 14:39

@Next7 I have seen this message before, "/usr/lib/oss/build/.osscore_mainline.o.cmd: No such file or directory", though before Linux kernel version 5.8 it had never prevented the OSS kernel modules from being built. I always assumed it to be a warning though it now appears to be an error. The following patch should clear it but I would expect further errors to be reported. To date I haven't managed to get sound to work with any kernel later than 5.8.0rc6 but as I'm using a patched Ubuntu kernel your experience may be different.

diff --git a/setup/Linux/oss/build/ b/setup/Linux/oss/build/
index c4e6a4c..6f3553d 100644
--- a/setup/Linux/oss/build/
+++ b/setup/Linux/oss/build/
@@ -179,6 +179,7 @@ then

cp -f ../objects/osscore.o osscore_mainline.o +touch .osscore_mainline.o.cmd rm -f osscore_lnk.c ln -s osscore.c osscore_lnk.c

@@ -233,6 +234,7 @@ do sed "s/MODNAME/$N/g" < Makefile.tmpl > Makefile ln -s $N.c $N_lnk.c ln -s $n $N_mainline.o + touch .$N\_mainline.o.cmd

    if ! make KERNELDIR=$KERNELDIR > build.list 2>&1

@@ -243,6 +245,7 @@ do

    cp -f $N.ko /lib/modules/$UNAME/kernel/oss/
    rm -f $N\_mainline.o

+ rm -f .$N\_mainline.o.cmd rm -f $N_lnk.c make clean done

Next7 commented on 2020-09-14 09:02

Module now fails to build for kernel 5.8.8. After creating directory "/usr/lib/modules/5.8.8-arch1-1/extramodules/oss" the command "soundon" produces the following output:

make -C /usr/lib/modules/5.8.8-arch1-1/build M=/usr/lib/oss/build modules
make[1]: Entering directory '/usr/lib/modules/5.8.8-arch1-1/build'
  CC [M]  /usr/lib/oss/build/osscore_lnk.o
  LD [M]  /usr/lib/oss/build/osscore.o
  MODPOST /usr/lib/oss/build/Module.symvers
/usr/lib/oss/build/.osscore_mainline.o.cmd: No such file or directory
make[2]: *** [scripts/Makefile.modpost:111: /usr/lib/oss/build/Module.symvers] Error 1
make[1]: *** [Makefile:1669: modules] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.8.8-arch1-1/build'
make: *** [Makefile:21: default] Error 2

Relinking the OSS kernel modules failed

seawright commented on 2020-08-24 16:00

AFAIK any patches required to build OSS4 for Linux Kernel version 5.6.14 have been applied upstream to: git://

Two problems specific to Arch remain:

  1. The build will fail if /usr/lib/modules/5.6.14-arch1-1/extramodules does not exist.
  2. CFLAGS in makepkg.conf may require overriding as they take precedence over the CFLAGs present in OSS4's Makefiles.