You are not logged in.
Hello everyone,
I recently get a xps 13 9340 and it is a nighmare to setup...
In this topic I'd like to fix my integrated microphone.
I've already created a issue on ucm about it and they pinpoint a problem in initialisation that can be resolved by removing the `/etc/alsa/state-daemon.conf` file and restarting the alsa-resolve service. The problem is I have to do it after everyreboot.
This message explains me it probably comes from the udev rule in `/lib/udev/rules.d/90-alsa-restore.rules` (I actually have the exact same file) and that it udev rules are maintained by the distro... So here I am...
❯ cat /lib/udev/rules.d/90-alsa-restore.rules
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", TEST=="/usr/bin", TEST=="/usr/share/alsa", GOTO="alsa_restore_go"
GOTO="alsa_restore_end"
LABEL="alsa_restore_go"
TEST!="/etc/alsa/state-daemon.conf", RUN+="/usr/bin/alsactl restore $devnode"
TEST=="/etc/alsa/state-daemon.conf", RUN+="/usr/bin/alsactl nrestore $devnode"
LABEL="alsa_restore_end"
The wiki says udev is part of the systemd package (although pacman -F /lib/udev/rules.d/90-alsa-restore.rules returns nothing)...
I'm looking for help here because I don't know what to do, where to report this issue... Well if anyone could help that would be welcome.
Offline
Your system breaks when alsactl tries to restore old values. If you "fix the situation", then run an explicit
sudo alsactl store
does that not stick properly on the next boot?
Otherwise if your issue is because alsa-restore triggers an invalid state, you could also just mask the alsa-restore service so it's not ran at all. FWIW if you're actually using pipewire or pulseaudio or so make, sure the mic isn't muted there, otherwise they will initially apply their own state.
Offline
I believe the file asound state is correct : to test it I simply ran the
sudo alsactl restore
and the mic seem to work after that.
I also tried what you suggest, but it doesn't work (this also tends to say that alsa state file is ok).
Offline
Has any xps 9350 user the same issue ?
Offline
What happens if you mask away the udev rule?
sudo ln -s /dev/null /etc/udev/rules.d/90-alsa-restore.rules
Offline
Well it does not to seems to change anything (I rmed it).
Also I've found that 'usr/lib/udev/rules.d/90-pipewire-alsa.rules' is part of 'alsa-utils' and 'usr/lib/udev/rules.d/90-pipewire-alsa.rules' is part of 'alsa-card-profiles'.
Offline