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: 26
Popularity: 0.009041
First Submitted: 2013-09-21 13:15 (UTC)
Last Updated: 2021-02-07 06:35 (UTC)

Required by (13)

Sources (11)

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

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

13905069 commented on 2022-07-22 03:10 (UTC) (edited on 2022-07-22 03:11 (UTC) by 13905069)

Solved,just delete the local implementation of memmove in/usr/lib/oss/build/osscore.c

void *memmove(void *dest, const void *src, size_t n)
{
    return oss_memcpy(dest, src, n);
}

13905069 commented on 2022-07-21 08:08 (UTC) (edited on 2022-07-21 08:10 (UTC) by 13905069)

Failed to compile OSS with Linux 5.18.12:

[MyComputer]# soundon
Relinking OSS kernel modules for "5.18.12-arch1-1 SMP preempt mod_unload "
This may take few moments - please stand by...

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /usr/lib/modules/5.18.12-arch1-1/build M=/usr/lib/oss/build modules
make[1]: Entering directory '/usr/lib/modules/5.18.12-arch1-1/build'
  CC [M]  /usr/lib/oss/build/osscore_lnk.o
/usr/lib/oss/build/osscore_lnk.c: In function ‘oss_get_time’:
/usr/lib/oss/build/osscore_lnk.c:95:10: warning: returning ‘time64_t (*)(void)’ {aka ‘long long int (*)(void)’} from a function with return type ‘oss_time_t’ {aka ‘long unsigned int’} makes integer from pointer without a cast [-Wint-conversion]
   95 |   return ktime_get_real_seconds;
      |          ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/string.h:253,
                 from ./include/linux/bitmap.h:11,
                 from ./include/linux/cpumask.h:12,
                 from ./arch/x86/include/asm/cpumask.h:5,
                 from ./arch/x86/include/asm/msr.h:11,
                 from ./arch/x86/include/asm/processor.h:22,
                 from ./arch/x86/include/asm/timex.h:5,
                 from ./include/linux/timex.h:67,
                 from ./include/linux/time32.h:13,
                 from ./include/linux/time.h:60,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:13,
                 from /usr/lib/oss/build/osscore_lnk.c:15:
/usr/lib/oss/build/osscore_lnk.c: At top level:
./include/linux/fortify-string.h:358:63: error: expected identifier or ‘(’ before ‘{’ token
  358 |                              p_size_field, q_size_field, op) ({         \
      |                                                               ^
./include/linux/fortify-string.h:373:27: note: in expansion of macro ‘__fortify_memcpy_chk’
  373 | #define memmove(p, q, s)  __fortify_memcpy_chk(p, q, s,                 \
      |                           ^~~~~~~~~~~~~~~~~~~~
/usr/lib/oss/build/osscore_lnk.c:141:7: note: in expansion of macro ‘memmove’
  141 | void *memmove(void *dest, const void *src, size_t n)
      |       ^~~~~~~
make[2]: *** [scripts/Makefile.build:288: /usr/lib/oss/build/osscore_lnk.o] Error 1
make[1]: *** [Makefile:1838: /usr/lib/oss/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.18.12-arch1-1/build'
make: *** [Makefile:21: default] Error 2

Relinking the OSS kernel modules failed

seawright commented on 2022-02-13 00:18 (UTC)

@Galaxy Following upstream changes ossvermagic patch no longer required. Please update PKGBUILD iaw pull request at https://github.com/GalaxyAUR/oss-git/pulls .

Next7 commented on 2021-01-11 10:12 (UTC)

I'm sorry but I'm not ready to post the PKGBUILD file right now as it's a bit messy and tuned to my needs. I'll try to do it later.

Galaxy commented on 2021-01-06 07:02 (UTC)

@Next7 Would you post the new PKGBUILD here or at https://github.com/GalaxyAUR/oss-git ?

Next7 commented on 2021-01-06 06:55 (UTC) (edited on 2021-01-06 06:55 (UTC) by Next7)

Some good news for oss users to start the new year. It seems that developers adopted corrections kindly provided here by seawright and now the package and oss module are built with less troubles. Now "galaxy.patch" is not needed and also there's no need to modify files "install.sh" and "osscore.c". Now it requires only one intervention to make directory "/usr/lib/modules/5.10.4-arch2-1/extramodules/oss".

Next7 commented on 2020-12-04 02:33 (UTC)

@seawright Huge thanks again! Now it works.