You are not logged in.

#1 2013-06-11 15:44:33

XionZui
Member
Registered: 2011-04-25
Posts: 9

Issue with ALSA softvol and reloading sound card module

I'm using a Chaintech AV710 card with the snd_ice1724 module as a driver. The core issue is that sometimes when this module is loaded during startup (or every time after a suspend), it will play nothing but very loud static. To fix this, I simply reload the module. This fix worked fine for me while I used pulseaudio: I would just kill pulse, reload the module, and start pulse after every suspend. Now, however, I'm using a system that involves an ALSA softvol plugin. The softvol device is being used by JACK: jackd -d alsa -d softvol. When I reload the module using this setup, the softvol control I set up becomes locked at 100%. amixer reports "Invalid command!" for sset Master2 10%. The audio will still play, but I can't figure out any way to reset it to make this control work again short of renaming the control, restarting jack, renaming the control back to the original name, then restarting jack again. Any help alleviating this issue on any of these fronts would be appreciated. Relevant asound.conf sections:

pcm.mycard { 
  type hw 
  card AV710 
  device 1 
  rate 44100 
  channels 2 
  format S32_LE 
} 
 
pcm.softvol { 
  type softvol 
  slave.pcm "mycard" 
  control { 
    name "Master2" 
    card AV710 
  } 
} 
 
ctl.softvol { 
  type hw 
  card AV710 
}

Last edited by XionZui (2013-06-11 16:33:25)

Offline

Board footer

Powered by FluxBB