Created attachment 380472 [details] emerge --info Hello, Currently, ALSA is not working on my system with x86_x32 ABI, with the error "Inappropriate ioctl for device" : % aplay --list-devices **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 % alsamixer cannot load mixer controls: Inappropriate ioctl for device It is not a problem with my (config's) kernel, because it is working on a x86_64 ABI profile. This problem occurs with current versions 1.0.27.2 and ~1.0.28 Note: I reported the package media-libs/alsa-lib, but are currently installed, and may be the source of the problem: dev-python/pyalsa-1.0.26-r1 media-plugins/gst-plugins-alsa-0.10.36-r1 media-sound/alsa-tools-1.0.28 media-sound/alsa-utils-1.0.28 The message "Inappropriate ioctl for device" occurs in VLC too. Thanks for support.
I also saw this in a Dell mini 1012... same driver slightly different chip though Alsamixer says it is a Realtek ALC272 works fine on 32bit Gentoo. I last tested it about 3 weeks ago.
Created attachment 426652 [details] alsa-info Confirmed. I get the same errors when trying to access any of the audio devices. This goes for PulseAudio too: it fails to load ALSA modules and is only left with dummy outputs. My alsa-info.sh output is attached.
(In reply to Dainius Masiliūnas from comment #2) > Created attachment 426652 [details] > alsa-info > > Confirmed. I get the same errors when trying to access any of the audio > devices. This goes for PulseAudio too: it fails to load ALSA modules and is > only left with dummy outputs. > > My alsa-info.sh output is attached. I had the very same issue when I tried executing any alsa command in an older system. After upgrading several non-alsa packages, alsamixer started to work again. I can provide a full list of packages I installed after alsa, but it is very long.
Actually, this particular bug has already been fixed; turns out it's a kernel bug. The fix is in kernel 4.5-rc7 already.
(In reply to Dainius Masiliūnas from comment #4) > Actually, this particular bug has already been fixed; turns out it's a > kernel bug. The fix is in kernel 4.5-rc7 already. I also upgraded to kernel 4.5-rc7. Thanks for figuring it out!
I can also confirm that this was backported to 4.4.6, so this bug can be closed.
Fixed in upstream 4.6 kernels as per Dainius Masiliūnas.