Package Details: oss-git 5693e1e-2

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: seawright
Last Packager: seawright
Votes: 26
Popularity: 0.000000
First Submitted: 2013-09-21 13:15 (UTC)
Last Updated: 2024-02-08 22:55 (UTC)

Dependencies (6)

Required by (12)

Sources (12)

Pinned Comments

Galaxy commented on 2019-10-24 02:55 (UTC)

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

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 15 Next › Last »

Next7 commented on 2020-11-24 21:17 (UTC) (edited on 2020-11-24 21:20 (UTC) by Next7)

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 (UTC)

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

Next7 commented on 2020-10-10 07:54 (UTC) (edited on 2020-10-10 07:54 (UTC) by Next7)

@seawright

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 (UTC) (edited on 2020-10-10 08:34 (UTC) by seawright)

@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/install.sh b/setup/Linux/oss/build/install.sh
index c4e6a4c..6f3553d 100644
--- a/setup/Linux/oss/build/install.sh
+++ b/setup/Linux/oss/build/install.sh
@@ -179,6 +179,7 @@ then
 fi

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
    then

@@ -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 (UTC)

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 (UTC) (edited on 2020-08-24 16:01 (UTC) by seawright)

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 (UTC)

@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 (UTC)

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

Next7 commented on 2020-06-28 16:14 (UTC)

@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 (UTC) (edited on 2020-06-27 20:05 (UTC) by seawright)

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.