Package Details: oss-git 3e7a6c4-1

Git Clone URL: https://aur.archlinux.org/oss-git.git (read-only, click to copy)
Package Base: oss-git
Description: Open Sound System UNIX audio architecture
Upstream URL: http://developer.opensound.com/
Keywords: oss
Licenses: GPL2
Conflicts: libflashsupport-oss, libflashsupport-oss-nonfree, oss, oss-nonfree
Provides: oss
Submitter: Nowaker
Maintainer: Galaxy
Last Packager: Galaxy
Votes: 25
Popularity: 0.52
First Submitted: 2013-09-21 13:15
Last Updated: 2019-11-01 17:19

Required by (15)

Sources (11)

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-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://git.code.sourceforge.net/p/opensound/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.

seawright commented on 2020-08-24 15:18

@Galaxy This was my reply to alexdw when asked a similar question. "Thank you for your offer but I feel I must decline. While I use and therefore have an interest in the ongoing development of OSS4 I do not use Arch and have little knowledge of its package build system. I hope my refusal doesn't result in the Aur OSS* packages becoming unmaintained". My feelings and my knowledge of Arch have not changed though I am always willing to assist if the problem is OSS4 related as opposed to Arch Linux or its package building tools.

Galaxy commented on 2020-08-24 02:52

@seawright Would you like to be the maintainer of this aur ?

Next7 commented on 2020-06-28 16:14

@seawright

Huge thanks! Now everything compiles and works flawlessly. I owe you a beer or a cup of coffee! I'm serious. PM me your data on main forum for a donation.

seawright commented on 2020-06-27 19:51

Oh dear the mark down has really mangled the second code block.

diff -ur b/usr/lib/oss/build/Makefile.tmpl a/usr/lib/oss/build/Makefile.tmpl
--- b/usr/lib/oss/build/Makefile.tmpl   2020-06-27 18:47:26.145385253 +0000
+++ a/usr/lib/oss/build/Makefile.tmpl   2020-06-27 19:00:07.639813337 +0000
@@ -4,13 +4,16 @@

ifneq ($(KERNELRELEASE),)

-obj-m := MODNAME.o -MODNAME-objs := MODNAME_lnk.o MODNAME_mainline.o +obj-m += osscore.o +osscore-objs += osscore_lnk.o osscore_mainline.o + +obj-m += MODNAME.o +MODNAME-objs += MODNAME_lnk.o MODNAME_mainline.o

else

KERNELDIR ?= /usr/lib/modules/$(shell uname -r)/build -PWD := $(shell pwd) +PWD += $(shell pwd)

default: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules

I've removed the tabs for clarity but tabs are required for indents in a Makefile.

seawright commented on 2020-06-27 19:40

@Next7 Try this:

diff -ur b/usr/lib/oss/build/install.sh a/usr/lib/oss/build/install.sh
--- b/usr/lib/oss/build/install.sh      2020-06-27 18:47:13.233003577 +0000
+++ a/usr/lib/oss/build/install.sh      2020-06-27 18:56:17.227609206 +0000
@@ -206,7 +206,6 @@
 fi

cp -f osscore.ko /usr/lib/modules/$UNAME/extramodules/oss/ -rm -f osscore_lnk.c

if test -f Module.symvers then @@ -243,8 +242,8 @@ cp -f $N.ko /usr/lib/modules/$UNAME/extramodules/oss/ rm -f $N_mainline.o rm -f $N_lnk.c - make clean done +make clean

rm -f Makefile

and:

diff -ur b/usr/lib/oss/build/Makefile.tmpl a/usr/lib/oss/build/Makefile.tmpl
--- b/usr/lib/oss/build/Makefile.tmpl   2020-06-27 18:47:26.145385253 +0000
+++ a/usr/lib/oss/build/Makefile.tmpl   2020-06-27 19:00:07.639813337 +0000
@@ -4,13 +4,16 @@

ifneq ($(KERNELRELEASE),)

  • obj-m := MODNAME.o
  • MODNAME-objs := MODNAME_lnk.o MODNAME_mainline.o
  • obj-m += osscore.o
  • osscore-objs += osscore_lnk.o osscore_mainline.o +
  • obj-m += MODNAME.o
  • MODNAME-objs += MODNAME_lnk.o MODNAME_mainline.o

else

    KERNELDIR ?= /usr/lib/modules/$(shell uname -r)/build
  • PWD := $(shell pwd)
  • PWD += $(shell pwd)

default: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules

It is messy but it works for me. I'm sure that there must be a more elegant solution. Run, "sudo soundon" and take a coffee break while it compiles.

seawright commented on 2020-06-24 20:44

Warnings were produced in earlier kernels (5.4.22) eg. WARNING: module oss_hdaudio uses symbol oss_strncpy from namespace /usr/lib/oss/build/osscore, but does not import it. WARNING: module oss_hdaudio uses symbol oss_register_module from namespace /usr/lib/oss/build/osscore, but does not import it. As they were only warnings they went unnoticed but from Linux kernel version 5.5 they became errors.

seawright commented on 2020-06-24 20:22

The problem would appear to be that either symbols in osscore.c such as: EXPORT_SYMBOL (oss_register_module); are not being exported or they are not being imported to the oss_hdaudio module. This Linux Kernel document: https://www.kernel.org/doc/html/latest/core-api/symbol-namespaces.html appears to explain the problem and suggest solutions but to date I have not been able to get any of them to work either on the OSS source files or on two bare bones modules where one depends on the other. I shall keep trying but if anyone else is familiar with this problem then please chip in.

Next7 commented on 2020-06-23 19:19

"osscore.ko" does exist in

/usr/lib/modules/5.6.14-arch1-1/extramodules/oss

/usr/lib/oss/build

If I issue "sudo soundon" I get the result that is presented in my previos comment via pastebin and the result means that module "oss_hdaudio" is not built.

Issuing "sudo modprobe osscore" gives error: "modprobe: FATAL: Module osscore not found in directory /lib/modules/5.6.14-arch1-1"

The command

sudo insmod /usr/lib/modules/5.6.14-arch1-1/extramodules/oss/osscore.ko

allows to load "osscore.ko" module

After that

"ossdetect -v" finds Intel HD audio chip but "osstest" gives error "/dev/mixer: No such file or directory"

So the driver "oss_hdaudio" is needed. I have an old structure "/usr/lib/modules/5.4.6-arch1-1/extramodules/oss" and there are two files: oss_hdaudio.ko, osscore.ko.

In /usr/lib/modules/5.6.14-arch1-1/extramodules/oss/ there is only "osscore.ko"