Skip to contentSkip to conversation

ALS4000, slight mixer improvements

PATCH Takashi Iwai 2 participants 4 messages Feb 23, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

At Sun, 22 Feb 2009 20:33:41 +0100,

Quoted 14 lines · Andreas Mohr

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

Quoted 1 line

Built on 2.6.29-rc5 and playing.

Applied now. Thanks.

Quoted 5 lines

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!

Quoted 6 lines

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

#2 lore raw

Hi,

Quoted 1 line · Takashi Iwai

Applied now. Thanks.

Thanks!

Quoted 6 lines
Quoted 4 lines

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 ;)

Quoted 2 lines
Quoted 2 lines

Speaking of sound problems, any thoughts about how to end up with _automatic_, generic ALSA soft volume for those cheap non-hardvol USB sticks?

[...]

Quoted 4 lines

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

#3 lore raw

At Mon, 23 Feb 2009 10:26:36 +0100,

Quoted 30 lines · Andreas Mohr

Hi,

Quoted 1 line · Takashi Iwai

Applied now. Thanks.

Thanks!

Quoted 6 lines
Quoted 4 lines

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 ;)

Quoted 2 lines
Quoted 2 lines

Speaking of sound problems, any thoughts about how to end up with _automatic_, generic ALSA soft volume for those cheap non-hardvol USB sticks?

[...]

Quoted 4 lines

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 )?

Quoted 5 lines

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

#4 lore raw
Quoted 8 lines · Takashi Iwai

At Mon, 23 Feb 2009 10:26:36 +0100,

Quoted 5 lines · Andreas Mohr

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.

Quoted 6 lines

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