On Tue, 23 Nov 2021 11:04:00 +0000, nia wrote: > On Tue, Nov 23, 2021 at 11:55:28AM +0100, Hauke Fath wrote: >> The kernel patch is against -current sources? It didn't apply to -9, >> and I made the changes by hand. The alsa-plugin-oss patch didn't apply >> either, and left me completely befuddled (patches to patch file...), so >> I did my best to extract the relevant bits and hand-apply. > > Yeh, the patch is against -current, I don't have anything that can record > audio running -9 any more.
Once I realized the patch files had DOS line endings (always seems to catch me unawares) and fixed that, they applied. The kernel patch applied to -9 with offset. >> Patch files attached (patch-oss_pcm__oss.c in place of patch-ac), for >> comparison with your changes. Turned out bits were missing.... >> The resulting kernel spits 'audio0(hdafg0): device timeout' messages. >> Unsurprisingly arecord(1) doesn't do a thing, and xoscope just hangs. > > Quite weird, there's nothing there that would mess with the device > at all, we're just reading data from the mixer to get these statistics > for arecord. Are you sure the built kernel works without the patch? I tried, and: yes, it does. > Trying a current kernel might not be a bad idea, it's pretty stable > these days. Same problem here. I am trying a different machine now, to be sure. Cheerio, Hauke -- Hauke Fath <ha...@espresso.rhein-neckar.de> Linnéweg 7 64342 Seeheim-Jugenheim Germany