Re: [alsa-devel] [PATCH] ALS4000, slight mixer improvements
At Sun, 22 Feb 2009 20:33:41 +0100, Andreas Mohr wrote:
Hi all,
finally got around to submitting this "slightly unimportant" patch.
ChangeLog:
- add 8kHz / 20 kHz low-pass filter switch control
- add ALS4000 Mono capture route control
- add annotations to specs pages
- improve ALS4000 PM saved regs selection (remove SB dummy register, add missing ones)
- add some missing ALS4000 register defines
- constify two variables
Built on 2.6.29-rc5 and playing.
Applied now. Thanks.
Will now try to get HDA settings on Aspire One A110L investigated (using Takashi's elaborate tools) and corrected (the non-working microphone thingy, plus some weird random switching/activation of noise in sound sources at times and stuff).
Let me know if it's finished!
Speaking of sound problems, any thoughts about how to end up with _automatic_, generic ALSA soft volume for those cheap non-hardvol USB sticks? Short experimentation with that stick was - well - rather short since hardvol-only is problematic (the ear-piercing kind of "problematic" ;) and seems to need manual .asoundrc softvol addition. (don't ask me why I was buying this stick for my A110L in the first place ;)
The only problem right now is that the driver might give a real volume control but in a different name. OTOH, softvol itself isn't too bad as default PCM definition. Just editing USB-Audio.conf should suffice...
thanks,
Takashi
Hi,
On Mon, Feb 23, 2009 at 08:38:12AM +0100, Takashi Iwai wrote:
Applied now. Thanks.
Thanks!
Will now try to get HDA settings on Aspire One A110L investigated (using Takashi's elaborate tools) and corrected (the non-working microphone thingy, plus some weird random switching/activation of noise in sound sources at times and stuff).
Let me know if it's finished!
Maybe I should start for real first ;)
Speaking of sound problems, any thoughts about how to end up with _automatic_, generic ALSA soft volume for those cheap non-hardvol USB sticks?
[...]
The only problem right now is that the driver might give a real volume control but in a different name. OTOH, softvol itself isn't too bad as default PCM definition. Just editing USB-Audio.conf should suffice...
Probably something like http://launchpadlibrarian.net/7244751/USB-Audio.conf (referenced by https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/104130 )?
AFAICS, things should ideally work this way: plug USB adapter, ALSA uses its default USB-Audio.conf settings (just like with several other PCI and such cards), then for devices with non-existing H/W volume (and only those!!), automatically and generically provide ALSA softvol.
Anyway, I'll look into it since it might be easy and is very important to have _by default_.
Thanks,
Andreas Mohr
At Mon, 23 Feb 2009 10:26:36 +0100, Andreas Mohr wrote:
Hi,
On Mon, Feb 23, 2009 at 08:38:12AM +0100, Takashi Iwai wrote:
Applied now. Thanks.
Thanks!
Will now try to get HDA settings on Aspire One A110L investigated (using Takashi's elaborate tools) and corrected (the non-working microphone thingy, plus some weird random switching/activation of noise in sound sources at times and stuff).
Let me know if it's finished!
Maybe I should start for real first ;)
Speaking of sound problems, any thoughts about how to end up with _automatic_, generic ALSA soft volume for those cheap non-hardvol USB sticks?
[...]
The only problem right now is that the driver might give a real volume control but in a different name. OTOH, softvol itself isn't too bad as default PCM definition. Just editing USB-Audio.conf should suffice...
Probably something like http://launchpadlibrarian.net/7244751/USB-Audio.conf (referenced by https://bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/104130 )?
AFAICS, things should ideally work this way: plug USB adapter, ALSA uses its default USB-Audio.conf settings (just like with several other PCI and such cards), then for devices with non-existing H/W volume (and only those!!), automatically and generically provide ALSA softvol.
The "automatically" is easy to write but hard to achieve the guarantee to work with all possible devices :)
Especially the mixer name of usb-audio is determined dynamically by guess from usb descriptors, covering all possible names is no easy task.
Takashi
On Mon, Feb 23, 2009 at 10:30:16AM +0100, Takashi Iwai wrote:
At Mon, 23 Feb 2009 10:26:36 +0100, Andreas Mohr wrote:
AFAICS, things should ideally work this way: plug USB adapter, ALSA uses its default USB-Audio.conf settings (just like with several other PCI and such cards), then for devices with non-existing H/W volume (and only those!!), automatically and generically provide ALSA softvol.
The "automatically" is easy to write but hard to achieve the guarantee to work with all possible devices :)
Especially the mixer name of usb-audio is determined dynamically by guess from usb descriptors, covering all possible names is no easy task.
Oh well, I'm not entirely up to what you're indicating here, but at least I do have some diversity, via two very different adapters (one 5.1 / H/W softvol, one not), and thus I should be able to draw some conclusions.
Thanks!
Andreas Mohr
participants (2)
-
Andreas Mohr
-
Takashi Iwai