I have been a happy user of OSS v4 for the past years, but today, after upgrading my main system with an ASRock Z68 Extreme4 Gen 3 (with a Core i5 processor), OSS stopped working. Recompiling it from scratch, uninstalling and reinstalling OSS doesn't change a thing, or, more exactly, after reinstalling OSS in a clean session (i.e. just rebooted and with ALSA modules loaded), I can get OSS to work for the duration of the session, but on reboot (either warm or cold reboots), I get no sound, or static, or utterly distorted sounds.

I tried all sound related settings in the BIOS (HD Audio on Auto, then on Enabled, then with integrated IGP HDMI audio disabled), to no avail.

Please, help !

Here is my ossinfo and a log of what I get with osstest after a reboot (no sound emitted during the test, excepted during the spdout0 test when the front speakers spit out the same distorted, repeating few first notes of the test music).

more exactly, after reinstalling OSS in a clean session (i.e. just rebooted and with ALSA modules loaded), I can get OSS to work for the duration of the session, but on reboot (either warm or cold reboots), I get no sound, or static, or utterly distorted sounds.

Hmm.. let's rephrase that: loading OSS after ALSA is loaded (and unloaded) works fine, but loading OSS on its own fails. Is this accurate? If so, this suggests OSS isn't initialising the card correctly...

Now, I recall there was an similar issue relating to some intel devices and hdaudio. IIRC, OSS needed the code below (your intel device is defined as the CPT one). Can you check if the code below is in your version of the source (at kernel/drv/oss_hdaudio/oss_hdaudio.c)?

It's OSS v4.2.2006 since 2007 sources are not available (I asked for them in the announcement forum a while ago, but got no reply)...

EDIT: I got the latest mercurial devel sources and compiled OSS from them (though they are still advertizing being 2006...) since it got the code the way you describe: the resulting hdaudio module works fine on my computer now, so the issue is solved (thanks for the head up !). Still, had 2007 sources been available, I won't have been hit by this issue in the first place... ;-P Any chance to get 2007 sources posted soon, please ?... Another thing I would *love* to see, is OSS reintegrated back in the Linux kernel... It's soooooo much better than ALSA and allows to get rid of all the stupid "sound daemons" thanks to its transparent mixer.

Last edited by oss117 on Wed Sep 05, 2012 9:54 pm, edited 1 time in total.