Bug 201097 - I8K ioctls make snd-usb-audio clicks
Summary: I8K ioctls make snd-usb-audio clicks
Status: RESOLVED WILL_NOT_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-11 23:45 UTC by Nicolas Goy
Modified: 2018-09-13 00:05 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.18.6
Tree: Mainline
Regression: No


Attachments
alsa-info.sh output and strace of i8kctl (57.50 KB, text/plain)
2018-09-11 23:45 UTC, Nicolas Goy
Details

Description Nicolas Goy 2018-09-11 23:45:52 UTC
Created attachment 278463 [details]
alsa-info.sh output and strace of i8kctl

Running i8kctl fan causes an audio shutter/click.


I encountered the issue while running i8kmon with a timer of 2 seconds. It caused an audible "click" every 2 seconds on the audio stream.

The issue manifested itself only with an external USB audio card (focusrite scarlet 2i2) and did not manifest itself with the internal audio (Dell XPS 15 9560).
Comment 1 Nicolas Goy 2018-09-11 23:48:06 UTC
i8kutils issue https://github.com/vitorafsr/i8kutils/issues/15
Comment 2 Takashi Iwai 2018-09-12 05:42:11 UTC
There is no much thing we can do in the audio driver side, unfortunately.

There is zero connection between dell-smm-hwmon and usb-audio from OS POV, hence it's likely an issue about BIOS command execution in the hardware level.

Better to ask dell-smm-hwmon people instead, I guess.
Comment 3 Guenter Roeck 2018-09-12 23:27:07 UTC
The only solution I am aware of is to not use i8kutils, and/or to blacklist the dell-smm-hwmon driver. Executing BIOS code on Dell machines, as the i8k code does, effectively stops the kernel for a significant amount of time. This is a limitation of the SMM BIOS on those systems; there is nothing we can do about it. It is not surprising that this results in audible clicks.
Comment 4 Nicolas Goy 2018-09-13 00:05:12 UTC
Well, at least I can document this hardware limitation and reference this issue. It should help people to work around it.

Thanks for your timely feedback.

Note You need to log in before you can comment on or make changes to this bug.