[alsa-devel] Exposure of the input devices of Conexant CX20561 amplifier
Hello,
it would be nice if I could control the input channels of my lenovo laptop (Lenovo R500). These are configured for microphone input, but the amplifier can be deactivated, so that it can work with the higher line-in level.
The resulting quality is not good, but at least usable.
The volume control is joint, but the amplifier control are seperated. With the HDAAnalyser I could find the Nodes (0x17 (rear) and 0x18 (front)) can be used to control the amplification. The setting can be changed between 0 and 4, where 0 makes it possible to use the input for line-in, while 4 is better suited for microphone input.
I'm not sure whether it would be better to expose this as a stepped control or just a switch (amplifier on/off).
These are the loaded modules (from kernel 2.6.31):
snd_usb_audio 74152 3 snd_usb_lib 13904 1 snd_usb_audio snd_hda_codec_conexant 17684 1 snd_seq_dummy 2748 0 snd_seq_oss 24620 0 snd_hda_intel 24064 9 snd_hda_codec 65724 2 snd_hda_codec_conexant,snd_hda_intel snd_seq_midi 6232 0 snd_hwdep 6772 3 snd_usb_audio,snd_hda_codec snd_rawmidi 19600 2 snd_usb_lib,snd_seq_midi snd_seq_midi_event 6580 2 snd_seq_oss,snd_seq_midi snd_pcm_oss 33516 0 snd_mixer_oss 13416 1 snd_pcm_oss snd_seq 44744 7 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_pcm 64872 6 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_timer 18448 2 snd_seq,snd_pcm snd_seq_device 6424 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd_page_alloc 8556 2 snd_hda_intel,snd_pcm snd 52452 35 snd_usb_audio,snd_hda_codec_conexant,snd_seq_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_pcm,snd_timer,snd_seq_device soundcore 6876 1 snd
I attached the /proc/asound/card0/codec#0 info to this email. If you need further information - please ask.
Matthias
At Sun, 20 Sep 2009 20:50:38 +0200, Matthias Bläsing wrote:
Hello,
it would be nice if I could control the input channels of my lenovo laptop (Lenovo R500). These are configured for microphone input, but the amplifier can be deactivated, so that it can work with the higher line-in level.
The resulting quality is not good, but at least usable.
The volume control is joint, but the amplifier control are seperated. With the HDAAnalyser I could find the Nodes (0x17 (rear) and 0x18 (front)) can be used to control the amplification. The setting can be changed between 0 and 4, where 0 makes it possible to use the input for line-in, while 4 is better suited for microphone input.
I'm not sure whether it would be better to expose this as a stepped control or just a switch (amplifier on/off).
These are the loaded modules (from kernel 2.6.31):
snd_usb_audio 74152 3 snd_usb_lib 13904 1 snd_usb_audio snd_hda_codec_conexant 17684 1 snd_seq_dummy 2748 0 snd_seq_oss 24620 0 snd_hda_intel 24064 9 snd_hda_codec 65724 2 snd_hda_codec_conexant,snd_hda_intel snd_seq_midi 6232 0 snd_hwdep 6772 3 snd_usb_audio,snd_hda_codec snd_rawmidi 19600 2 snd_usb_lib,snd_seq_midi snd_seq_midi_event 6580 2 snd_seq_oss,snd_seq_midi snd_pcm_oss 33516 0 snd_mixer_oss 13416 1 snd_pcm_oss snd_seq 44744 7 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_pcm 64872 6 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_timer 18448 2 snd_seq,snd_pcm snd_seq_device 6424 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd_page_alloc 8556 2 snd_hda_intel,snd_pcm snd 52452 35 snd_usb_audio,snd_hda_codec_conexant,snd_seq_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_seq,snd_pcm,snd_timer,snd_seq_device soundcore 6876 1 snd
I attached the /proc/asound/card0/codec#0 info to this email. If you need further information - please ask.
Could you give alsa-info.sh output (run with --no-upload option)? This would be more comprehensive information.
thanks,
Takashi
Am Donnerstag, den 24.09.2009, 10:09 +0200 schrieb Takashi Iwai:
At Sun, 20 Sep 2009 20:50:38 +0200, Matthias Bläsing wrote:
Hello,
it would be nice if I could control the input channels of my lenovo laptop (Lenovo R500). These are configured for microphone input, but the amplifier can be deactivated, so that it can work with the higher line-in level.
The resulting quality is not good, but at least usable.
The volume control is joint, but the amplifier control are seperated. With the HDAAnalyser I could find the Nodes (0x17 (rear) and 0x18 (front)) can be used to control the amplification. The setting can be changed between 0 and 4, where 0 makes it possible to use the input for line-in, while 4 is better suited for microphone input.
I'm not sure whether it would be better to expose this as a stepped control or just a switch (amplifier on/off).
These are the loaded modules (from kernel 2.6.31):
[Module-List]
I attached the /proc/asound/card0/codec#0 info to this email. If you need further information - please ask.
Could you give alsa-info.sh output (run with --no-upload option)? This would be more comprehensive information.
You find the result attached to this email.
Greetings
Matthias
participants (2)
-
Matthias Bläsing
-
Takashi Iwai