On asus eeepc notebook under alsa it is possible to set record from line-in input and after that mic signal from external mic is routet to pulseaudio. When I tryed set input signal to linein from pavucontrol, there is no possibility set line-in as under alsamixer. There is only mic, frontend mix.
Can you attach the output from "amixer -c0" and "pactl list"?
amixer -c0 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 87 Mono: Playback 60 [69%] [-20.25dB] [on] Simple mixer control 'Headphone',0 Capabilities: pswitch penum Playback channels: Front Left - Front Right Mono: Front Left: Playback [on] Front Right: Playback [on] Simple mixer control 'PCM',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Simple mixer control 'Front',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 87 Mono: Front Left: Playback 87 [100%] [0.00dB] [on] Front Right: Playback 87 [100%] [0.00dB] [on] Simple mixer control 'Front Mic',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 23 [74%] [0.00dB] [off] Front Right: Playback 23 [74%] [0.00dB] [off] Simple mixer control 'Front Mic Boost',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] [0.00dB] Front Right: 0 [0%] [0.00dB] Simple mixer control 'Line',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 23 [74%] [0.00dB] [off] Front Right: Playback 23 [74%] [0.00dB] [off] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 23 [74%] [0.00dB] [off] Front Right: Playback 23 [74%] [0.00dB] [off] Simple mixer control 'Mic Boost',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 2 [67%] [24.00dB] Front Right: 2 [67%] [24.00dB] Simple mixer control 'Mono',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 12 [39%] [1.50dB] [on] Front Right: Capture 12 [39%] [1.50dB] [on] Simple mixer control 'Digital',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 60 [50%] [0.00dB] Front Right: Capture 60 [50%] [0.00dB] Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Mic' 'Internal Mic' 'Line In' Item0: 'Mic'
pactl list Module #0 Name: module-device-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute state of devices" module.version = "2.1" Module #1 Name: module-stream-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the volume/mute/device state of streams" module.version = "2.1" Module #2 Name: module-card-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore profile of cards" module.version = "2.1" Module #3 Name: module-augment-properties Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Augment the property sets of streams with additional static information" module.version = "2.1" Module #4 Name: module-alsa-card Argument: device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes card_properties="module-udev-detect.discovered=1" Usage counter: 1 Properties: module.author = "Lennart Poettering" module.description = "ALSA Card" module.version = "2.1" Module #5 Name: module-alsa-card Argument: device_id="1" name="usb-1130_USB_AUDIO-00-AUDIO" card_name="alsa_card.usb-1130_USB_AUDIO-00-AUDIO" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes card_properties="module-udev-detect.discovered=1" Usage counter: 1 Properties: module.author = "Lennart Poettering" module.description = "ALSA Card" module.version = "2.1" Module #6 Name: module-udev-detect Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Detect available audio hardware and load matching drivers" module.version = "2.1" Module #7 Name: module-bluetooth-discover Argument: Usage counter: n/a Properties: module.author = "Joao Paulo Rechi Vita" module.description = "Detect available bluetooth audio devices and load bluetooth audio drivers" module.version = "2.1" Module #8 Name: module-native-protocol-unix Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Native protocol (UNIX sockets)" module.version = "2.1" Module #9 Name: module-native-protocol-tcp Argument: auth-ip-acl=127.0.0.1 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Native protocol (TCP sockets)" module.version = "2.1" Module #10 Name: module-gconf Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "GConf Adapter" module.version = "2.1" Module #11 Name: module-default-device-restore Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically restore the default sink and source" module.version = "2.1" Module #12 Name: module-rescue-streams Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "When a sink/source is removed, try to move their streams to the default sink/source" module.version = "2.1" Module #13 Name: module-always-sink Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Always keeps at least one sink loaded even if it's a null one" module.version = "2.1" Module #14 Name: module-intended-roles Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Automatically set device of streams based of intended roles of devices" module.version = "2.1" Module #15 Name: module-suspend-on-idle Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "When a sink/source is idle for too long, suspend it" module.version = "2.1" Module #16 Name: module-console-kit Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Create a client for each ConsoleKit session of this user" module.version = "2.1" Module #17 Name: module-position-event-sounds Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them." module.version = "2.1" Module #18 Name: module-role-cork Argument: Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Mute & cork streams with certain roles while others exist" module.version = "2.1" Module #19 Name: module-filter-heuristics Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Detect when various filters are desirable" module.version = "2.1" Module #20 Name: module-filter-apply Argument: Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Load filter sinks automatically when needed" module.version = "2.1" Module #21 Name: module-echo-cancel Argument: Usage counter: 0 Properties: module.author = "Wim Taymans" module.description = "Echo Cancellation" module.version = "2.1" Module #22 Name: module-dbus-protocol Argument: Usage counter: n/a Properties: module.author = "Tanu Kaskinen" module.description = "D-Bus interface" module.version = "2.1" Module #23 Name: module-switch-on-port-available Argument: Usage counter: n/a Properties: Module #24 Name: module-device-manager Argument: do_routing=1 Usage counter: n/a Properties: module.author = "Colin Guthrie" module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role" module.version = "2.1" Module #25 Name: module-x11-publish Argument: display=:0 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "X11 credential publisher" module.version = "2.1" Module #26 Name: module-x11-cork-request Argument: display=:0 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "Synthesize X11 media key events when cork/uncork is requested" module.version = "2.1" Module #27 Name: module-x11-xsmp Argument: display=:0 session_manager=local/001-484:@/tmp/.ICE-unix/7142,unix/001-484:/tmp/.ICE-unix/7142 Usage counter: n/a Properties: module.author = "Lennart Poettering" module.description = "X11 session management" module.version = "2.1" Sink #0 State: SUSPENDED Name: alsa_output.usb-1130_USB_AUDIO-00-AUDIO.analog-stereo Description: USB AUDIO Analog Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 48000Hz Channel Map: front-left,front-right Owner Module: 5 Mute: no Volume: 0: 78% 1: 78% 0: -6.45 dB 1: -6.45 dB balance 0.00 Base Volume: 8% -67.00 dB Monitor Source: alsa_output.usb-1130_USB_AUDIO-00-AUDIO.analog-stereo.monitor Latency: 0 usec, configured 0 usec Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY Properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "USB Audio" alsa.id = "USB Audio" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "1" alsa.card_name = "USB AUDIO" alsa.long_card_name = "USB AUDIO at usb-0000:00:1d.7-1.6, full speed" alsa.driver_name = "snd_usb_audio" device.bus_path = "pci-0000:00:1d.7-usb-0:1.6:1.0" sysfs.path = "/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.6/1-1.6:1.0/sound/card1" udev.id = "usb-1130_USB_AUDIO-00-AUDIO" device.bus = "usb" device.vendor.id = "1130" device.vendor.name = "Tenx Technology, Inc." device.product.id = "1620" device.product.name = "USB AUDIO " device.serial = "1130_USB_AUDIO" device.string = "front:1" device.buffering.buffer_size = "384000" device.buffering.fragment_size = "192000" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "USB AUDIO Analog Stereo" alsa.mixer_name = "USB Mixer" alsa.components = "USB1130:1620" module-udev-detect.discovered = "1" device.icon_name = "audio-card-usb" Ports: analog-output: Analog Output (priority: 9900) Active Port: analog-output Formats: pcm Sink #1 State: SUSPENDED Name: alsa_output.usb-1130_USB_AUDIO-00-AUDIO.analog-stereo.echo-cancel Description: USB AUDIO Analog Stereo (echo cancelled with Built-in Audio Analog Stereo) Driver: module-echo-cancel.c Sample Specification: s16le 1ch 32000Hz Channel Map: mono Owner Module: 21 Mute: no Volume: 0: 78% balance 0.00 Base Volume: 100% Monitor Source: alsa_output.usb-1130_USB_AUDIO-00-AUDIO.analog-stereo.echo-cancel.monitor Latency: 0 usec, configured 0 usec Flags: HW_MUTE_CTRL LATENCY Properties: device.master_device = "alsa_output.usb-1130_USB_AUDIO-00-AUDIO.analog-stereo" device.class = "filter" device.intended_roles = "phone" device.description = "USB AUDIO Analog Stereo (echo cancelled with Built-in Audio Analog Stereo)" device.icon_name = "audio-card" Formats: pcm Source #0 State: SUSPENDED Name: alsa_input.pci-0000_00_1b.0.analog-stereo Description: Built-in Audio Analog Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 48000Hz Channel Map: front-left,front-right Owner Module: 4 Mute: no Volume: 0: 21% 1: 21% 0: -40.50 dB 1: -40.50 dB balance 0.00 Base Volume: 8% -66.00 dB Monitor of Sink: n/a Latency: 0 usec, configured 0 usec Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY Properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "ALC269VB Analog" alsa.id = "ALC269VB Analog" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xf7cf8000 irq 45" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "27d8" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "32768" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Built-in Audio Analog Stereo" alsa.mixer_name = "Realtek ALC269VB" alsa.components = "HDA:10ec0269,10438442,00100100" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Ports: analog-input-microphone-front: Front Microphone (priority: 8500) analog-input-microphone-internal: Internal Microphone (priority: 8900) analog-input-microphone: Microphone (priority: 8700) Active Port: analog-input-microphone Formats: pcm Source #1 State: SUSPENDED Name: alsa_output.usb-1130_USB_AUDIO-00-AUDIO.analog-stereo.monitor Description: Monitor of USB AUDIO Analog Stereo Driver: module-alsa-card.c Sample Specification: s16le 2ch 48000Hz Channel Map: front-left,front-right Owner Module: 5 Mute: no Volume: 0: 100% 1: 100% 0: 0.00 dB 1: 0.00 dB balance 0.00 Base Volume: 100% 0.00 dB Monitor of Sink: alsa_output.usb-1130_USB_AUDIO-00-AUDIO.analog-stereo Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.description = "Monitor of USB AUDIO Analog Stereo" device.class = "monitor" alsa.card = "1" alsa.card_name = "USB AUDIO" alsa.long_card_name = "USB AUDIO at usb-0000:00:1d.7-1.6, full speed" alsa.driver_name = "snd_usb_audio" device.bus_path = "pci-0000:00:1d.7-usb-0:1.6:1.0" sysfs.path = "/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.6/1-1.6:1.0/sound/card1" udev.id = "usb-1130_USB_AUDIO-00-AUDIO" device.bus = "usb" device.vendor.id = "1130" device.vendor.name = "Tenx Technology, Inc." device.product.id = "1620" device.product.name = "USB AUDIO " device.serial = "1130_USB_AUDIO" device.string = "1" module-udev-detect.discovered = "1" device.icon_name = "audio-card-usb" Formats: pcm Source #2 State: SUSPENDED Name: alsa_input.pci-0000_00_1b.0.analog-stereo.echo-cancel Description: Built-in Audio Analog Stereo (echo cancelled with USB AUDIO Analog Stereo) Driver: module-echo-cancel.c Sample Specification: s16le 1ch 32000Hz Channel Map: mono Owner Module: 21 Mute: no Volume: 0: 21% balance 0.00 Base Volume: 100% Monitor of Sink: n/a Latency: 0 usec, configured 0 usec Flags: HW_MUTE_CTRL LATENCY Properties: device.master_device = "alsa_input.pci-0000_00_1b.0.analog-stereo" device.class = "filter" device.intended_roles = "phone" device.description = "Built-in Audio Analog Stereo (echo cancelled with USB AUDIO Analog Stereo)" device.icon_name = "audio-input-microphone" Formats: pcm Source #3 State: SUSPENDED Name: alsa_output.usb-1130_USB_AUDIO-00-AUDIO.analog-stereo.echo-cancel.monitor Description: Monitor of USB AUDIO Analog Stereo (echo cancelled with Built-in Audio Analog Stereo) Driver: module-echo-cancel.c Sample Specification: s16le 1ch 32000Hz Channel Map: mono Owner Module: 21 Mute: no Volume: 0: 100% 0: 0.00 dB balance 0.00 Base Volume: 100% 0.00 dB Monitor of Sink: alsa_output.usb-1130_USB_AUDIO-00-AUDIO.analog-stereo.echo-cancel Latency: 0 usec, configured 0 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.description = "Monitor of USB AUDIO Analog Stereo (echo cancelled with Built-in Audio Analog Stereo)" device.class = "monitor" device.icon_name = "audio-input-microphone" Formats: pcm Sink Input #0 Driver: module-echo-cancel.c Owner Module: 21 Client: n/a Sink: 0 Sample Specification: s16le 1ch 32000Hz Channel Map: mono Format: pcm, format.sample_format = "\"s16le\"" format.rate = "32000" format.channels = "1" format.channel_map = "\"mono\"" Mute: no Volume: 0: 78% 0: -6.45 dB balance 0.00 Buffer Latency: 0 usec Sink Latency: 0 usec Resample method: speex-float-3 Properties: media.name = "Echo-Cancel Sink Stream" media.role = "filter" module-stream-restore.id = "sink-input-by-media-role:filter" Source Output #0 Driver: module-echo-cancel.c Owner Module: 21 Client: n/a Source: 0 Sample Specification: s16le 1ch 32000Hz Channel Map: mono Format: pcm, format.sample_format = "\"s16le\"" format.rate = "32000" format.channels = "1" format.channel_map = "\"mono\"" Mute: no Volume: 0: 21% 0: -40.50 dB balance 0.00 Buffer Latency: 0 usec Source Latency: 0 usec Resample method: speex-float-3 Properties: media.name = "Echo-Cancel Source Stream" media.role = "filter" module-stream-restore.id = "source-output-by-media-role:filter" Client #0 Driver: module-console-kit.c Owner Module: 16 Properties: application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session2" console-kit.session = "/org/freedesktop/ConsoleKit/Session2" Client #5 Driver: module-x11-xsmp.c Owner Module: 27 Properties: application.name = "XSMP Session on KDE as 106468652d000136462916400000071420007" xsmp.vendor = "KDE" xsmp.client.id = "106468652d000136462916400000071420007" Client #11 Driver: protocol-native.c Owner Module: 8 Properties: application.name = "pactl" native-protocol.peer = "UNIX socket client" native-protocol.version = "26" application.process.id = "10641" application.process.user = "app_gui" application.process.host = "001-484" application.process.binary = "pactl" application.language = "en_US.UTF8" application.process.machine_id = "5916202759000d65908babce0000011c" Card #0 Name: alsa_card.pci-0000_00_1b.0 Driver: module-alsa-card.c Owner Module: 4 Properties: alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xf7cf8000 irq 45" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "27d8" device.form_factor = "internal" device.string = "0" device.description = "Built-in Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" Profiles: output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority. 6060) input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority. 60) off: Off (sinks: 0, sources: 0, priority. 0) Active Profile: input:analog-stereo Ports: analog-output: Analog Output (priority: 9900) Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo analog-input-microphone-front: Front Microphone (priority: 8500) Part of profile(s): output:analog-stereo+input:analog-stereo, input:analog-stereo analog-input-microphone-internal: Internal Microphone (priority: 8900) Part of profile(s): output:analog-stereo+input:analog-stereo, input:analog-stereo analog-input-microphone: Microphone (priority: 8700) Part of profile(s): output:analog-stereo+input:analog-stereo, input:analog-stereo Card #1 Name: alsa_card.usb-1130_USB_AUDIO-00-AUDIO Driver: module-alsa-card.c Owner Module: 5 Properties: alsa.card = "1" alsa.card_name = "USB AUDIO" alsa.long_card_name = "USB AUDIO at usb-0000:00:1d.7-1.6, full speed" alsa.driver_name = "snd_usb_audio" device.bus_path = "pci-0000:00:1d.7-usb-0:1.6:1.0" sysfs.path = "/devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.6/1-1.6:1.0/sound/card1" udev.id = "usb-1130_USB_AUDIO-00-AUDIO" device.bus = "usb" device.vendor.id = "1130" device.vendor.name = "Tenx Technology, Inc." device.product.id = "1620" device.product.name = "USB AUDIO " device.serial = "1130_USB_AUDIO" device.string = "1" device.description = "USB AUDIO " module-udev-detect.discovered = "1" device.icon_name = "audio-card-usb" Profiles: output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority. 6000) output:iec958-stereo: Digital Stereo (IEC958) Output (sinks: 1, sources: 0, priority. 5500) off: Off (sinks: 0, sources: 0, priority. 0) Active Profile: output:analog-stereo Ports: analog-output: Analog Output (priority: 9900) Part of profile(s): output:analog-stereo iec958-stereo-output: Digital Output (S/PDIF) (priority: 0) Part of profile(s): output:iec958-stereo
It looks like our configuration for line-in doesn't recognize the "Line In" option for Input Source. In /usr/share/pulseaudio/alsa-mixer/paths/analog-input-linein.conf, there's this line: [Option Input Source:Line] Try changing that to [Option Input Source:Line In] I'm not sure if the bug is in PulseAudio or the kernel. We could easily add support for "Line In" too in PulseAudio, but perhaps the kernel should be consistent in this regard and should always name the option just "Line". I'll ask David about this when I see him in IRC (or David, if you read this, feel free to reply).
It works.
I don't mind adding "Line In", but I can't find any reason ALC269VB should use "Line In" instead of "Line" which is the more common name. What kernel and distro are you running?
We use Gentoo linux and kernel 3.0.57.
I think this is fixed in the latest kernel. I scanned the current upstream code for the "Line In" string and didn't find any relevant result, so likely the name will change to "Line" if you upgrade your kernel.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/143.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.