Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Please help me get my webcam mic working (PulseAudio/ALSA).
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Fri Jan 15, 2016 5:44 am    Post subject: Please help me get my webcam mic working (PulseAudio/ALSA). Reply with quote

I have a Logitech, Inc. QuickCam Pro 4000
Code:
Bus 006 Device 005: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000


It is found by ALSA:
Code:
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: U0x46d0x8b2 [USB Device 0x46d:0x8b2], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ cat /proc/asound/cards
 0 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfeb44000 irq 35
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfeb40000 irq 16
 2 [U0x46d0x8b2    ]: USB-Audio - USB Device 0x46d:0x8b2
                      USB Device 0x46d:0x8b2 at usb-0000:00:10.0-1, full speed


When I use the Mate Volume Control, I cannot unmute the mic. I click on unmute, but when I go back to the same dialog, it is muted again.

The USB device does not show up in pavucontrol (Input Devices).

I have re-started alsasound.

Any ideas?
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Sun Jan 17, 2016 5:10 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Sun Jan 17, 2016 6:01 pm    Post subject: Reply with quote

I am not sure if this helps. Sometimes after upgrade I have problem with Skype ( the only application when using mic and webcam). Googling around I found this
Code:
    Open Pulse Audio volume control.
    Go to the 'Recording' tab. (This will be empty apart from the message "no application is
currently recording audio").
    Open Skype and make a test call.
    Skype will appear on the Recording tab of the volume control.
    Click on the current "Input from..." option and select the one you want from the list.
    Job done! 
After that Skype works again
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Sun Jan 17, 2016 9:09 pm    Post subject: Reply with quote

apiaio wrote:
I am not sure if this helps. Sometimes after upgrade I have problem with Skype ( the only application when using mic and webcam). Googling around I found this
Code:
    Open Pulse Audio volume control.
    Go to the 'Recording' tab. (This will be empty apart from the message "no application is
currently recording audio").
    Open Skype and make a test call.
    Skype will appear on the Recording tab of the volume control.
    Click on the current "Input from..." option and select the one you want from the list.
    Job done! 
After that Skype works again


Thanks for the suggestion. I tried it, but the webcam mic still did not appear in the list of recording devices in the pavucontrol window.
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Mon Jan 18, 2016 3:01 pm    Post subject: Reply with quote

mgnut57 wrote:


Thanks for the suggestion. I tried it, but the webcam mic still did not appear in the list of recording devices in the pavucontrol window.
I dont see mic too. In my case list of recording devices looks like that:
- Monitor ...
- Build-in audio ...
- Camera Analog Mono
Correct choice is the third one.
And one question. Which card do you have enabled in alsamixer?
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Tue Jan 19, 2016 3:03 am    Post subject: Reply with quote

apiaio wrote:
mgnut57 wrote:


Thanks for the suggestion. I tried it, but the webcam mic still did not appear in the list of recording devices in the pavucontrol window.
I dont see mic too. In my case list of recording devices looks like that:
- Monitor ...
- Build-in audio ...
- Camera Analog Mono
Correct choice is the third one.
And one question. Which card do you have enabled in alsamixer?


I see the webcam input in alsamixer, but how do I enable it and save the settings?
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Tue Jan 19, 2016 5:13 pm    Post subject: Reply with quote

mgnut57 wrote:


I see the webcam input in alsamixer, but how do I enable it and save the settings?

Enable PulseAudio as soundcard in alsamixer. If you dont see PulseAudio option after pressing F6, select
Code:
 -(default)
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Wed Jan 20, 2016 6:52 am    Post subject: Reply with quote

apiaio wrote:
mgnut57 wrote:


I see the webcam input in alsamixer, but how do I enable it and save the settings?

Enable PulseAudio as soundcard in alsamixer. If you dont see PulseAudio option after pressing F6, select
Code:
 -(default)


I see the webcam mic in alsamixer. What do I need to do to enable it?
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Wed Jan 20, 2016 1:37 pm    Post subject: Reply with quote

mgnut57 wrote:


I see the webcam mic in alsamixer. What do I need to do to enable it?
It won't help I am affraid.
PulseAudio is a proxy for your sound applications. It passes data between your application and your hardware. It is strange, that you don't see PA in alsamixer.
Please run as normal user
Code:
pactl list
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Wed Jan 20, 2016 4:23 pm    Post subject: Reply with quote

apiaio wrote:
mgnut57 wrote:


I see the webcam mic in alsamixer. What do I need to do to enable it?
It won't help I am affraid.
PulseAudio is a proxy for your sound applications. It passes data between your application and your hardware. It is strange, that you don't see PA in alsamixer.
Please run as normal user
Code:
pactl list


See below.

Code:

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 = "5.0"

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 = "5.0"

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 = "5.0"

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 = "5.0"

Module #4
   Name: module-switch-on-port-available
   Argument:
   Usage counter: n/a
   Properties:
      

Module #5
   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 = "5.0"

Module #6
   Name: module-alsa-card
   Argument: device_id="0" name="pci-0000_00_01.1" card_name="alsa_card.pci-0000_00_01.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
   Usage counter: 0
   Properties:
      module.author = "Lennart Poettering"
      module.description = "ALSA Card"
      module.version = "5.0"

Module #7
   Name: module-alsa-card
   Argument: device_id="1" name="pci-0000_00_14.2" card_name="alsa_card.pci-0000_00_14.2" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
   Usage counter: 0
   Properties:
      module.author = "Lennart Poettering"
      module.description = "ALSA Card"
      module.version = "5.0"

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 = "5.0"

Module #9
   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 = "5.0"

Module #10
   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 its streams to the default sink/source"
      module.version = "5.0"

Module #11
   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 = "5.0"

Module #12
   Name: module-intended-roles
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "Automatically set device of streams based on intended roles of devices"
      module.version = "5.0"

Module #13
   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 = "5.0"

Module #14
   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 = "5.0"

Module #15
   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 = "5.0"

Module #16
   Name: module-filter-heuristics
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Colin Guthrie"
      module.description = "Detect when various filters are desirable"
      module.version = "5.0"

Module #17
   Name: module-filter-apply
   Argument:
   Usage counter: n/a
   Properties:
      module.author = "Colin Guthrie"
      module.description = "Load filter sinks automatically when needed"
      module.version = "5.0"

Module #18
   Name: module-x11-publish
   Argument: display=:0
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "X11 credential publisher"
      module.version = "5.0"

Module #19
   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 = "5.0"

Module #20
   Name: module-x11-xsmp
   Argument: display=:0 session_manager=local/newhome-mate:@/tmp/.ICE-unix/32187,unix/newhome-mate:/tmp/.ICE-unix/32187
   Usage counter: n/a
   Properties:
      module.author = "Lennart Poettering"
      module.description = "X11 session management"
      module.version = "5.0"

Sink #1
   State: SUSPENDED
   Name: alsa_output.pci-0000_00_14.2.analog-stereo
   Description: Built-in Audio Analog Stereo
   Driver: module-alsa-card.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 7
   Mute: no
   Volume: front-left: 58740 /  90% / -2.85 dB,   front-right: 58740 /  90% / -2.85 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor Source: alsa_output.pci-0000_00_14.2.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 = "VT1708S Analog"
      alsa.id = "VT1708S Analog"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "1"
      alsa.card_name = "HD-Audio Generic"
      alsa.long_card_name = "HD-Audio Generic at 0xfeb40000 irq 16"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:14.2"
      sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
      device.bus = "pci"
      device.vendor.id = "1022"
      device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
      device.product.id = "780d"
      device.product.name = "FCH Azalia Controller"
      device.form_factor = "internal"
      device.string = "front:1"
      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 = "VIA VT1708S"
      alsa.components = "HDA:11060397,1043836c,00100000"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   Ports:
      analog-output-lineout: Line Out (priority: 9900, available)
      analog-output-headphones: Headphones (priority: 9000, not available)
   Active Port: analog-output-lineout
   Formats:
      pcm

Sink #3
   State: SUSPENDED
   Name: alsa_output.pci-0000_00_01.1.hdmi-stereo
   Description: Built-in Audio Digital Stereo (HDMI)
   Driver: module-alsa-card.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 6
   Mute: no
   Volume: front-left: 64582 /  99% / -0.38 dB,   front-right: 64582 /  99% / -0.38 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor Source: alsa_output.pci-0000_00_01.1.hdmi-stereo.monitor
   Latency: 0 usec, configured 0 usec
   Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS
   Properties:
      alsa.resolution_bits = "16"
      device.api = "alsa"
      device.class = "sound"
      alsa.class = "generic"
      alsa.subclass = "generic-mix"
      alsa.name = "HDMI 0"
      alsa.id = "HDMI 0"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "3"
      alsa.card = "0"
      alsa.card_name = "HD-Audio Generic"
      alsa.long_card_name = "HD-Audio Generic at 0xfeb44000 irq 35"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:01.1"
      sysfs.path = "/devices/pci0000:00/0000:00:01.1/sound/card0"
      device.bus = "pci"
      device.vendor.id = "1002"
      device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
      device.product.id = "1714"
      device.product.name = "BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]"
      device.form_factor = "internal"
      device.string = "hdmi:0"
      device.buffering.buffer_size = "65536"
      device.buffering.fragment_size = "32768"
      device.access_mode = "mmap+timer"
      device.profile.name = "hdmi-stereo"
      device.profile.description = "Digital Stereo (HDMI)"
      device.description = "Built-in Audio Digital Stereo (HDMI)"
      alsa.mixer_name = "ATI R6xx HDMI"
      alsa.components = "HDA:1002aa01,00aa0100,00100200"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   Ports:
      hdmi-output-0: HDMI / DisplayPort (priority: 5900, not available)
   Active Port: hdmi-output-0
   Formats:
      pcm

Source #1
   State: SUSPENDED
   Name: alsa_output.pci-0000_00_14.2.analog-stereo.monitor
   Description: Monitor of Built-in Audio Analog Stereo
   Driver: module-alsa-card.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 7
   Mute: no
   Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor of Sink: alsa_output.pci-0000_00_14.2.analog-stereo
   Latency: 0 usec, configured 0 usec
   Flags: DECIBEL_VOLUME LATENCY
   Properties:
      device.description = "Monitor of Built-in Audio Analog Stereo"
      device.class = "monitor"
      alsa.card = "1"
      alsa.card_name = "HD-Audio Generic"
      alsa.long_card_name = "HD-Audio Generic at 0xfeb40000 irq 16"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:14.2"
      sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
      device.bus = "pci"
      device.vendor.id = "1022"
      device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
      device.product.id = "780d"
      device.product.name = "FCH Azalia Controller"
      device.form_factor = "internal"
      device.string = "1"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   Formats:
      pcm

Source #2
   State: SUSPENDED
   Name: alsa_input.pci-0000_00_14.2.analog-stereo
   Description: Built-in Audio Analog Stereo
   Driver: module-alsa-card.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 7
   Mute: no
   Volume: front-left: 29187 /  45% / -21.08 dB,   front-right: 29187 /  45% / -21.08 dB
           balance 0.00
   Base Volume: 6368 /  10% / -60.75 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 = "VT1708S Analog"
      alsa.id = "VT1708S Analog"
      alsa.subdevice = "0"
      alsa.subdevice_name = "subdevice #0"
      alsa.device = "0"
      alsa.card = "1"
      alsa.card_name = "HD-Audio Generic"
      alsa.long_card_name = "HD-Audio Generic at 0xfeb40000 irq 16"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:14.2"
      sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
      device.bus = "pci"
      device.vendor.id = "1022"
      device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
      device.product.id = "780d"
      device.product.name = "FCH Azalia Controller"
      device.form_factor = "internal"
      device.string = "front:1"
      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 = "VIA VT1708S"
      alsa.components = "HDA:11060397,1043836c,00100000"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   Ports:
      analog-input-front-mic: Front Microphone (priority: 8500, not available)
      analog-input-rear-mic: Rear Microphone (priority: 8200, not available)
      analog-input-linein: Line In (priority: 8100, not available)
   Active Port: analog-input-front-mic
   Formats:
      pcm

Source #4
   State: SUSPENDED
   Name: alsa_output.pci-0000_00_01.1.hdmi-stereo.monitor
   Description: Monitor of Built-in Audio Digital Stereo (HDMI)
   Driver: module-alsa-card.c
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Owner Module: 6
   Mute: no
   Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
           balance 0.00
   Base Volume: 65536 / 100% / 0.00 dB
   Monitor of Sink: alsa_output.pci-0000_00_01.1.hdmi-stereo
   Latency: 0 usec, configured 0 usec
   Flags: DECIBEL_VOLUME LATENCY
   Properties:
      device.description = "Monitor of Built-in Audio Digital Stereo (HDMI)"
      device.class = "monitor"
      alsa.card = "0"
      alsa.card_name = "HD-Audio Generic"
      alsa.long_card_name = "HD-Audio Generic at 0xfeb44000 irq 35"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:01.1"
      sysfs.path = "/devices/pci0000:00/0000:00:01.1/sound/card0"
      device.bus = "pci"
      device.vendor.id = "1002"
      device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
      device.product.id = "1714"
      device.product.name = "BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]"
      device.form_factor = "internal"
      device.string = "0"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   Formats:
      pcm

Client #3
   Driver: module-x11-xsmp.c
   Owner Module: 20
   Properties:
      application.name = "XSMP Session on mate-session-manager as 1091741e4519907e8f145085564048461100000321870019"
      xsmp.vendor = "mate-session-manager"
      xsmp.client.id = "1091741e4519907e8f145085564048461100000321870019"

Client #2929
   Driver: protocol-native.c
   Owner Module: 8
   Properties:
      application.name = "pactl"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      application.process.id = "20478"
      application.process.user = "simon"
      application.process.host = "newhome-mate"
      application.process.binary = "pactl"
      application.language = "en_US.utf8"
      window.x11.display = ":0.0"
      application.process.machine_id = "39d656316cdbe824ec150bb9541cdb95"

Sample #0
   Name: audio-volume-change
   Sample Specification: s16le 2ch 44100Hz
   Channel Map: front-left,front-right
   Volume: (invalid)
           balance 0.00
   Duration: 0.1s
   Size: 11.5 KiB
   Lazy: no
   Filename: n/a
   Properties:
      media.role = "event"
      event.id = "audio-volume-change"
      event.description = "Volume Control Feedback Sound"
      media.name = "audio-volume-change"
      media.filename = "/usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"
      application.name = "PulseAudio Volume Control"
      native-protocol.peer = "UNIX socket client"
      native-protocol.version = "30"
      window.x11.display = ":0.0"
      window.x11.screen = "0"
      application.process.id = "29549"
      application.process.user = "simon"
      application.process.host = "newhome-mate"
      application.process.binary = "pavucontrol"
      application.language = "en_US.utf8"
      application.process.machine_id = "39d656316cdbe824ec150bb9541cdb95"
      application.icon_name = "multimedia-volume-control"

Card #0
   Name: alsa_card.pci-0000_00_01.1
   Driver: module-alsa-card.c
   Owner Module: 6
   Properties:
      alsa.card = "0"
      alsa.card_name = "HD-Audio Generic"
      alsa.long_card_name = "HD-Audio Generic at 0xfeb44000 irq 35"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:01.1"
      sysfs.path = "/devices/pci0000:00/0000:00:01.1/sound/card0"
      device.bus = "pci"
      device.vendor.id = "1002"
      device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
      device.product.id = "1714"
      device.product.name = "BeaverCreek HDMI Audio [Radeon HD 6500D and 6400G-6600G series]"
      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:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5400, available: yes)
      off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
   Active Profile: output:hdmi-stereo
   Ports:
      hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, not available)
         Properties:
            device.icon_name = "video-display"
         Part of profile(s): output:hdmi-stereo

Card #1
   Name: alsa_card.pci-0000_00_14.2
   Driver: module-alsa-card.c
   Owner Module: 7
   Properties:
      alsa.card = "1"
      alsa.card_name = "HD-Audio Generic"
      alsa.long_card_name = "HD-Audio Generic at 0xfeb40000 irq 16"
      alsa.driver_name = "snd_hda_intel"
      device.bus_path = "pci-0000:00:14.2"
      sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
      device.bus = "pci"
      device.vendor.id = "1022"
      device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
      device.product.id = "780d"
      device.product.name = "FCH Azalia Controller"
      device.form_factor = "internal"
      device.string = "1"
      device.description = "Built-in Audio"
      module-udev-detect.discovered = "1"
      device.icon_name = "audio-card-pci"
   Profiles:
      input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 60, available: yes)
      output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6000, available: yes)
      output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6060, available: yes)
      output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 700, available: yes)
      output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes)
      output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 800, available: yes)
      output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 860, available: yes)
      output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 700, available: yes)
      output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes)
      output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 800, available: yes)
      output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 860, available: yes)
      output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 700, available: yes)
      output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 760, available: yes)
      output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5400, available: yes)
      output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5460, available: yes)
      off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
   Active Profile: output:analog-stereo+input:analog-stereo
   Ports:
      analog-input-front-mic: Front Microphone (priority: 8500, latency offset: 0 usec, not available)
         Properties:
            device.icon_name = "audio-input-microphone"
         Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:hdmi-stereo+input:analog-stereo
      analog-input-rear-mic: Rear Microphone (priority: 8200, latency offset: 0 usec, not available)
         Properties:
            device.icon_name = "audio-input-microphone"
         Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:hdmi-stereo+input:analog-stereo
      analog-input-linein: Line In (priority: 8100, latency offset: 0 usec, not available)
         Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-41+input:analog-stereo, output:analog-surround-50+input:analog-stereo, output:analog-surround-51+input:analog-stereo, output:analog-surround-71+input:analog-stereo, output:hdmi-stereo+input:analog-stereo
      analog-output-lineout: Line Out (priority: 9900, latency offset: 0 usec, available)
         Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-71, output:analog-surround-71+input:analog-stereo
      analog-output-headphones: Headphones (priority: 9000, latency offset: 0 usec, not available)
         Properties:
            device.icon_name = "audio-headphones"
         Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
      hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec)
         Properties:
            device.icon_name = "video-display"
         Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Wed Jan 20, 2016 5:25 pm    Post subject: Reply with quote

Code:
cat /proc/asound/cards
detects three cards and
Code:
pactl list
only two. You should see something like that
Quote:
.
.
.
Card #2
Name: alsa_card.usb-Sonix_Technology_Co.__Ltd._USB_2.0_Camera-02
Driver: module-alsa-card.c
Owner Module: 8
Properties:
alsa.card = "2"
alsa.card_name = "USB 2.0 Camera"
alsa.long_card_name = "Sonix Technology Co., Ltd. USB 2.0 Camera at usb-0000:00:1d.0-1.3, high speed"
alsa.driver_name = "snd_usb_audio"
.
.
.
Could you send output of
Code:
cat /usr/src/linux/.config|grep SND_USB
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Thu Jan 21, 2016 5:37 am    Post subject: Reply with quote

apiaio wrote:
Could you send output of
Code:
cat /usr/src/linux/.config|grep SND_USB


Code:
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_USB_6FIRE is not set
# CONFIG_SND_USB_HIFACE is not set
# CONFIG_SND_USB_POD is not set
# CONFIG_SND_USB_PODHD is not set
# CONFIG_SND_USB_TONEPORT is not set
# CONFIG_SND_USB_VARIAX is not set
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Thu Jan 21, 2016 1:18 pm    Post subject: Reply with quote

I think that would be better snd_usb_audio build in
Code:
CONFIG_SND_USB_AUDIO=y

Lets make another one mic test. As normal user run
Code:
arecord /tmp/test.wav
It will record indefinitely until ctrl+c is not pressed. Durig this time run pavucontrol, enter 'Recording' tab. You will see ALSA plug-in: ALSA Capture from ... and list of options. In the options should be
Quote:
Camera Analog Mono
Select this option and say something. After that open /tmp/test,wav with your favorit software player, e.g.
Quote:
mplayer /tmp/test.wav
and you will hear your voice

If not, your module is not loaded correctly.
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Thu Jan 21, 2016 4:27 pm    Post subject: Reply with quote

I don't see Camera Analog Mono in the list. I have a screenshot, but I don't see any way to attach it to the post. In the list are:
Code:
  Monitor of Built-in Audio Analog Stereo
* Built-in Audio Analog Stereo
  Monitor of Built-in Audio Digital Stereo (HDMI)
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 417

PostPosted: Thu Jan 21, 2016 5:33 pm    Post subject: Reply with quote

IMHO it means, that module snd_usb_audio is not loaded. I suggest to recompile kernel with
Code:
CONFIG_SND_USB_AUDIO=y
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Thu Jan 21, 2016 5:45 pm    Post subject: Reply with quote

apiaio wrote:
IMHO it means, that module snd_usb_audio is not loaded. I suggest to recompile kernel with
Code:
CONFIG_SND_USB_AUDIO=y


I'll try recompiling with SND_USB_AUDIO built-in instead of as a module, meanwhile, I just checked:
Code:
 # lsmod | grep snd_usb
snd_usb_audio         115382  0
snd_usbmidi_lib        17004  1 snd_usb_audio
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sat Jan 23, 2016 6:22 pm    Post subject: Reply with quote

Add this to /etc/pulse/default.pa:
Code:
.nofail
load-module module-alsa-source device=hw:U0x46d0x8b2
.fail
Back to top
View user's profile Send private message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Sat Jan 23, 2016 11:17 pm    Post subject: Reply with quote

Ant P. wrote:
Add this to /etc/pulse/default.pa:
Code:
.nofail
load-module module-alsa-source device=hw:U0x46d0x8b2
.fail


Do I need to re-boot after this?

Would you mind explaining what this does? I see the hardware address of my webcam in there.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum