oss-4.2.b2019 fails to load. The address looks promising, it '9'd. Should be a whole new range for sound & code. Tubes & circuit. Error 16. Attaching dmesg.
Created attachment 207012 [details] oss-4.2.b2019 dmesg output
osscore: Open Sound System conflicts with FreeBSD driver osscore: Please remove sound(4) from kernel or unload it module_register_init: MOD_LOAD (osscore, 0xffffffff82f4e490, 0) error 16
audio/oss aka the original[1] is not maintained by multimedia@. FreeBSD fork is superior[2] to 4Front version but is not a superset as some rarely used features are not implemented[3]. <sys/soundcard.h> from audio/oss is also not completely ABI-compatible (e.g., bug 184380), so consumers need to pass -isystem/usr/local/include/lib/oss/include during build. If you still want to use audio/oss compile the kernel without sound(4) e.g., include GENERIC ident MYKERNEL nodevice sound nodevice snd_cmi nodevice snd_csa nodevice snd_emu10kx nodevice snd_es137x nodevice snd_hda nodevice snd_ich nodevice snd_via8233 [1] https://wiki.freebsd.org/Sound#History [2] See OSSv4 Compatibility in https://people.freebsd.org/~ariff/SOUND_4.TXT.html [3] See OSSV4_EXPERIMENT in https://github.com/freebsd/freebsd/blob/master/sys/dev/sound/pcm/dsp.c Note, AFMT_FLOAT is Linux-only even in audio/oss.
Thank you for the information. Originally, this looked like more of the range you were looking for. I'll take this out now. What's left undone is non consequential. With oss hids: module_register_init: MOD_LOAD (osscore, 0xffffffff82f53490, 0) error 16 This does not look as useful. It's going places. error 16 was supposed to be something to osscore. I may dig up more as I progress. What is it doing? Header, really? Pale. Is it 8bit? Should be 24-bit. This is non-ABI. The range looked like it could describe sound, to me. Kernel driver should co-exist. The alternative is pulseaudio, outside of @multimedia too. osscore could do all of that for free. Being spatial, this is from free running an octave, 490 holding octave. Worth caring or not, (thinking)desk or work. Should serve or stream? I'll post more here as it emerges. Turning over rocks, for jolly. A function here for kernel. Some type of dynamics, it's audio, not ultra or infra. I do need a debugger. More libraries. Xbee or something. Sonar is on. I'm missing something, maybe 'git' got it. Thanks!
Current behavior is intentional, see bug 164567. On FreeBSD sound(4) is enabled by default, so forget about audio/oss port. If you need help ask on forums or mailing lists. CC'ing koobs@ in case he can help with comment 4.
(In reply to Jan Beich from comment #5) Not sure how I can help, except to maybe suggest/ask whether sound can be made a directly unloadable module, not requiring a custom kernel to remove? Alternatively, there may be other options available to make them coexist. I'd be requesting feedback from sound module maintainers or other potentially interested committers ^Triage: - Port is unmaintained (Reset assignee) - CC original committer and submitter of patch to audio/oss to prevent loading when sound(4) is loaded
audio/oss is abandonware, see https://sourceforge.net/p/opensound/git/ci/master/log/ (no activity for years outside of compile fixes) Compare with OS vendors: https://svnweb.freebsd.org/base/head/sys/dev/sound/?view=log https://gitweb.dragonflybsd.org/dragonfly.git/history/HEAD:/sys/dev/sound https://github.com/illumos/illumos-gate/commits/master/usr/src/uts/common/io/audio https://github.com/NetBSD/src/commits/trunk/lib/libossaudio https://github.com/torvalds/linux/commits/master/sound/core/oss
Thanks for the CC. I guess the error message could refer to the Handbook... I'll take a look. Chris
A commit references this bug: Author: crees Date: Sat Sep 21 18:13:32 UTC 2019 New revision: 512528 URL: https://svnweb.freebsd.org/changeset/ports/512528 Log: audio/oss: Improve handling when sound.ko is compiled into the kernel. Now, soundon checks for its presence and fails with an appropriate error. While here, add it to pkg-message. I use this still as I have a Xonar D2X which FreeBSD's drivers don't support, so I'll take maintainership. PR: ports/240200 Changes: head/audio/oss/Makefile head/audio/oss/files/patch-setup_FreeBSD_sbin_soundon head/audio/oss/pkg-message
Error message improved. I'm afraid the drivers coexisting just isn't going to happen under any circumstances, sorry...