Comment # 25 on bug 1197434 from
Hi Takashi,

I'm sorry for the late response.  Too many fires today.

> Do I understand correctly that, if you remove 
> /var/lib/alsa/* before the reboot, the mic works always?

I have to remove the devices *and* clear out the directory.

Under the above conditions, after the first boot, the mic works.

> OTOH, if /var/lib/alsa/* is present, the mic is always broken?

That does seem to be the case.

> If they are related, at the 1st boot, run "alsactl store", 
> and "alsactl restore".  Does it break the mic recording?

The above was an interesting test.  You obviously know your domain
well because it did break the mic.

I tried to anticipate what you may need so I captured some additional
data.

I also compared "alsactl store" .cfg file after boot 1 vs boot 2:
they're identical.

::: /var/lib/alsa - before restore :::
# ls
asound.state  card0.conf.d/

# ls -la *
-rw-r--r-- 1 root root 0 2022-04-01 22:26 asound.state

card0.conf.d:
total 0
drwxr-xr-x 1 root root  0 2022-04-01 22:27 ./
drwxr-xr-x 1 root root 48 2022-04-01 22:27 ../
root@zoom:/var/lib/alsa

::: /var/lib/alsa - after restore :::

# ls
asound.state  card0.conf.d/

# ls -la *
-rw-r--r-- 1 root root 0 2022-04-01 22:26 asound.state

card0.conf.d:
total 0
drwxr-xr-x 1 root root  0 2022-04-01 22:31 ./
drwxr-xr-x 1 root root 48 2022-04-01 22:31 ../

::: Restore w/-d :::
alsactl: set_controls:1499: device='hw:0', doit=0
alsactl: set_controls:1511: card-info-id: 'sofsoundwire'
alsactl: set_controls:1546: list count: 67
alsactl: set_controls:1574: maxnumid=67 maxnumid2=65
alsactl: set_controls:1579: more controls than maxnumid?
alsactl: set_controls:1587: result code: -11
alsactl: sysfs_init:45: sysfs_path='/sys'
alsactl: set_controls:1499: device='hw:0', doit=1
alsactl: set_controls:1511: card-info-id: 'sofsoundwire'
alsactl: set_controls:1587: result code: 0


You are receiving this mail because: