[Pkg-alsa-devel] Bug#742412: libasound2-plugins fails to route alsa output (from e.g. flashplayer) to pulseaudio

Rainer Dorsch ml at bokomoko.de
Sun Mar 23 14:05:56 UTC 2014


Package: libasound2-plugins
Version: 1.0.27-2+b1
Severity: normal

Dear Maintainer,

I setup pulseaudio as described in the README-pulse file:

rd at blackbox:~$ cat /etc/asound.conf 
# from http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PerfectSetup/

pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

pcm.!default {
    type pulse
    # If defaults.namehint.showall is set to off in alsa.conf, then this is
    # necessary to make this pcm show up in the list returned by
    # snd_device_name_hint or aplay -L
    hint.description "Default Audio Device"
}
ctl.!default {
    type pulse
}rd at blackbox:~$ 

and the both devices the Intel sound card and the USB headset are listed by aplay:

rd at blackbox:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=Headset
    Logitech USB Headset, USB Audio
    Default Audio Device
front:CARD=Headset,DEV=0
    Logitech USB Headset, USB Audio
    Front speakers
surround40:CARD=Headset,DEV=0
    Logitech USB Headset, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Headset,DEV=0
    Logitech USB Headset, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Headset,DEV=0
    Logitech USB Headset, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Headset,DEV=0
    Logitech USB Headset, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Headset,DEV=0
    Logitech USB Headset, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
sysdefault:CARD=Intel
    HDA Intel, ALC883 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC883 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC883 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
    HDA Intel, HDMI 0
    HDMI Audio Output
rd at blackbox:~$ 

Pulseaudio is configured to play on the USB headset. This is verified
with amarok or miro etc.. Unfortunately I do not know which pulseaudio
cmd use to dump that information, therefore I append a complete
pulseaudio dump:

rd at blackbox:~$ pacmd info
Welcome to PulseAudio! Use "help" for usage information.
>>> Memory blocks currently allocated: 283, size: 1,2 MB.
Memory blocks allocated during the whole lifetime: 42842, size: 142,0 MB.
Memory blocks imported from other processes: 242, size: 911,3 KB.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.pci-0000_00_1b.0.analog-stereo
Default source name: alsa_input.pci-0000_00_1b.0.analog-stereo
Memory blocks of type POOL: 41 allocated/3686 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/25801 accumulated.
Memory blocks of type IMPORTED: 242 allocated/13355 accumulated.
27 module(s) loaded.
    index: 0
        name: <module-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute state of devices"
                module.version = "4.0"
    index: 1
        name: <module-stream-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute/device state of streams"
                module.version = "4.0"
    index: 2
        name: <module-card-restore>
        argument: <>
        used: -1
        load once: yes                                                                                                                                       
        properties:                                                                                                                                          
                module.author = "Lennart Poettering"                                                                                                         
                module.description = "Automatically restore profile of cards"                                                                                
                module.version = "4.0"                                                                                                                       
    index: 3                                                                                                                                                 
        name: <module-augment-properties>                                                                                                                    
        argument: <>                                                                                                                                         
        used: -1                                                                                                                                             
        load once: yes                                                                                                                                       
        properties:                                                                                                                                          
                module.author = "Lennart Poettering"                                                                                                         
                module.description = "Augment the property sets of streams with additional static information"                                               
                module.version = "4.0"                                                                                                                       
    index: 4                                                                                                                                                 
        name: <module-switch-on-port-available>                                                                                                              
        argument: <>                                                                                                                                         
        used: -1                                                                                                                                             
        load once: no                                                                                                                                        
        properties:                                                                                                                                          
                                                                                                                                                             
    index: 5                                                                                                                                                 
        name: <module-alsa-card>                                                                                                                             
        argument: <device_id="1" name="usb-Logitech_Logitech_USB_Headset-00-Headset" card_name="alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset" 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">
        used: 2
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "4.0"
    index: 7
        name: <module-alsa-card>
        argument: <device_id="2" 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 use_ucm=yes card_properties="module-udev-detect.discovered=1">
        used: 0
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "4.0"
    index: 8
        name: <module-udev-detect>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Detect available audio hardware and load matching drivers"
                module.version = "4.0"
    index: 9
        name: <module-native-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Native protocol (UNIX sockets)"
                module.version = "4.0"
    index: 10
        name: <module-default-device-restore>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the default sink and source"
                module.version = "4.0"
    index: 11
        name: <module-rescue-streams>
        argument: <>
        used: -1
        load once: yes
        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 = "4.0"
    index: 12
        name: <module-always-sink>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Hält stets einen Sink geladen, selbst wenn dies ein Null-Sink ist"
                module.version = "4.0"
    index: 13
        name: <module-intended-roles>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically set device of streams based of intended roles of devices"
                module.version = "4.0"
    index: 14
        name: <module-suspend-on-idle>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is idle for too long, suspend it"
                module.version = "4.0"
    index: 15
        name: <module-console-kit>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each ConsoleKit session of this user"
                module.version = "4.0"
    index: 16
        name: <module-systemd-login>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each login session of this user"
                module.version = "4.0"
    index: 17
        name: <module-position-event-sounds>
        argument: <>
        used: -1
        load once: yes
        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 = "4.0"
    index: 18
        name: <module-role-cork>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Lennart Poettering"
                module.description = "Mute & cork streams with certain roles while others exist"
                module.version = "4.0"
    index: 19
        name: <module-filter-heuristics>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Detect when various filters are desirable"
                module.version = "4.0"
    index: 20
        name: <module-filter-apply>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Load filter sinks automatically when needed"
                module.version = "4.0"
    index: 21
        name: <module-dbus-protocol>
        argument: <>
        used: -1
        load once: yes
        properties:
                module.author = "Tanu Kaskinen"
                module.description = "D-Bus interface"
                module.version = "4.0"
    index: 22
        name: <module-x11-publish>
        argument: <display=:0>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 credential publisher"
                module.version = "4.0"
    index: 23
        name: <module-x11-cork-request>
        argument: <display=:0>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Synthesize X11 media key events when cork/uncork is requested"
                module.version = "4.0"
    index: 24
        name: <module-device-manager>
        argument: <do_routing=1>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role"
                module.version = "4.0"
    index: 25
        name: <module-x11-xsmp>
        argument: <display=:0 session_manager=local/blackbox:@/tmp/.ICE-unix/4218,unix/blackbox:/tmp/.ICE-unix/4218>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 session management"
                module.version = "4.0"
    index: 28
        name: <module-alsa-card>
        argument: <device_id="0" name="usb-046d_0825_603B4F50-02-U0x46d0x825" card_name="alsa_card.usb-046d_0825_603B4F50-02-U0x46d0x825" 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">
        used: 0
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "ALSA Card"
                module.version = "4.0"
    index: 29
        name: <module-cli-protocol-unix>
        argument: <>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Command line interface protocol (UNIX sockets)"
                module.version = "4.0"
2 sink(s) available.
    index: 0
        name: <alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9049
        volume: 0: 100% 1: 100%
                0: 0,00 dB 1: 0,00 dB
                balance 0,00
        base volume: 100%
                     0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 2
        configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
        card: 0 <alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset>
        module: 5
        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 = "Logitech USB Headset"
                alsa.long_card_name = "Logitech Logitech USB Headset at usb-0000:00:1a.7-5.3, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1a.7-usb-0:5.3:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1a.7/usb4/4-5/4-5.3/4-5.3:1.0/sound/card1"
                udev.id = "usb-Logitech_Logitech_USB_Headset-00-Headset"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0a44"
                device.product.name = "Logitech USB Headset"
                device.serial = "Logitech_Logitech_USB_Headset"
                device.form_factor = "headset"
                device.string = "front:1"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Logitech USB Headset Analog Stereo"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB046d:0a44"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-headset-usb"
                device.intended_roles = "phone"
        ports:
                analog-output-headphones: Analoge Kopfhörer (priority 9000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-headphones>
  * index: 1
        name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9959
        volume: 0: 100% 1: 100%
                0: 0,00 dB 1: 0,00 dB
                balance 0,00
        base volume: 100%
                     0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 3
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
        card: 2 <alsa_card.pci-0000_00_1b.0>
        module: 7
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC883 Analog"
                alsa.id = "ALC883 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "HDA Intel"
                alsa.long_card_name = "HDA Intel at 0xfe7f4000 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/card2"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "293e"
                device.product.name = "P5K PRO Motherboard"
                device.form_factor = "internal"
                device.string = "front:2"
                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 = "Internes Audio Analog Stereo"
                alsa.mixer_name = "Silicon Image SiI1392 HDMI"
                alsa.components = "HDA:10ec0883,1043829f,00100002 HDA:10951392,ffffffff,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output: Analoge Ausgabe (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

                analog-output-headphones: Analoge Kopfhörer (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output>
5 source(s) available.
    index: 0
        name: <alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 1040
        volume: 0: 100% 1: 100%
                0: 0,00 dB 1: 0,00 dB
                balance 0,00
        base volume: 100%
                     0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
        monitor_of: 0
        card: 0 <alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset>
        module: 5
        properties:
                device.description = "Monitor of Logitech USB Headset Analog Stereo"
                device.class = "monitor"
                alsa.card = "1"
                alsa.card_name = "Logitech USB Headset"
                alsa.long_card_name = "Logitech Logitech USB Headset at usb-0000:00:1a.7-5.3, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1a.7-usb-0:5.3:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1a.7/usb4/4-5/4-5.3/4-5.3:1.0/sound/card1"
                udev.id = "usb-Logitech_Logitech_USB_Headset-00-Headset"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0a44"
                device.product.name = "Logitech USB Headset"
                device.serial = "Logitech_Logitech_USB_Headset"
                device.form_factor = "headset"
                device.string = "1"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-headset-usb"
                device.intended_roles = "phone"
    index: 1
        name: <alsa_input.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-mono>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9049
        volume: 0: 100%
                0: 0,00 dB
                balance 0,00
        base volume:  33%
                     -29,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max rewind: 0 KiB
        sample spec: s16le 1ch 44100Hz
        channel map: mono
                     Mono
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
        card: 0 <alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset>
        module: 5
        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 = "Logitech USB Headset"
                alsa.long_card_name = "Logitech Logitech USB Headset at usb-0000:00:1a.7-5.3, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1a.7-usb-0:5.3:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1a.7/usb4/4-5/4-5.3/4-5.3:1.0/sound/card1"
                udev.id = "usb-Logitech_Logitech_USB_Headset-00-Headset"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0a44"
                device.product.name = "Logitech USB Headset"
                device.serial = "Logitech_Logitech_USB_Headset"
                device.form_factor = "headset"
                device.string = "hw:1"
                device.buffering.buffer_size = "176400"
                device.buffering.fragment_size = "88200"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-mono"
                device.profile.description = "Analog Mono"
                device.description = "Logitech USB Headset Analog Mono"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB046d:0a44"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-headset-usb"
                device.intended_roles = "phone"
        ports:
                analog-input-microphone: Mikrofon (priority 8700, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
        active port: <analog-input-microphone>
    index: 3
        name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 1950
        volume: 0: 100% 1: 100%
                0: 0,00 dB 1: 0,00 dB
                balance 0,00
        base volume: 100%
                     0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
        monitor_of: 1
        card: 2 <alsa_card.pci-0000_00_1b.0>
        module: 7
        properties:
                device.description = "Monitor of Internes Audio Analog Stereo"
                device.class = "monitor"
                alsa.card = "2"
                alsa.card_name = "HDA Intel"
                alsa.long_card_name = "HDA Intel at 0xfe7f4000 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/card2"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "293e"
                device.product.name = "P5K PRO Motherboard"
                device.form_factor = "internal"
                device.string = "2"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
  * index: 4
        name: <alsa_input.pci-0000_00_1b.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9959
        volume: 0:   5% 1:   5%
                0: -76,50 dB 1: -76,50 dB
                balance 0,00
        base volume:   8%
                     -64,50 dB
        volume steps: 65537
        muted: yes
        current latency: 0,00 ms
        max rewind: 0 KiB
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
        card: 2 <alsa_card.pci-0000_00_1b.0>
        module: 7
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC883 Analog"
                alsa.id = "ALC883 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "2"
                alsa.card_name = "HDA Intel"
                alsa.long_card_name = "HDA Intel at 0xfe7f4000 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/card2"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "293e"
                device.product.name = "P5K PRO Motherboard"
                device.form_factor = "internal"
                device.string = "front:2"
                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 = "Internes Audio Analog Stereo"
                alsa.mixer_name = "Silicon Image SiI1392 HDMI"
                alsa.components = "HDA:10ec0883,1043829f,00100002 HDA:10951392,ffffffff,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-input-microphone-front: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-microphone-rear: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
                        properties:

        active port: <analog-input-linein>
    index: 7
        name: <alsa_input.usb-046d_0825_603B4F50-02-U0x46d0x825.analog-mono>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9049
        volume: 0:  40%
                0: -24,00 dB
                balance 0,00
        base volume:  32%
                     -30,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max rewind: 0 KiB
        sample spec: s16le 1ch 48000Hz
        channel map: mono
                     Mono
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
        card: 5 <alsa_card.usb-046d_0825_603B4F50-02-U0x46d0x825>
        module: 28
        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 = "0"
                alsa.card_name = "USB Device 0x46d:0x825"
                alsa.long_card_name = "USB Device 0x46d:0x825 at usb-0000:00:1a.7-5.4, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1a.7-usb-0:5.4:1.2"
                sysfs.path = "/devices/pci0000:00/0000:00:1a.7/usb4/4-5/4-5.4/4-5.4:1.2/sound/card0"
                udev.id = "usb-046d_0825_603B4F50-02-U0x46d0x825"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0825"
                device.product.name = "Webcam C270"
                device.serial = "046d_0825_603B4F50"
                device.form_factor = "webcam"
                device.string = "hw:0"
                device.buffering.buffer_size = "192000"
                device.buffering.fragment_size = "96000"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-mono"
                device.profile.description = "Analog Mono"
                device.description = "Webcam C270 Analog Mono"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB046d:0825"
                module-udev-detect.discovered = "1"
                device.icon_name = "camera-web-usb"
        ports:
                analog-input-microphone: Mikrofon (priority 8700, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
        active port: <analog-input-microphone>
10 client(s) logged in.
    index: 0
        driver: <module-console-kit.c>
        owner module: 15
        properties:
                application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session1"
                console-kit.session = "/org/freedesktop/ConsoleKit/Session1"
    index: 4
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "KMix"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "28"
                application.process.id = "4575"
                application.process.user = "rd"
                application.process.host = "blackbox"
                application.process.binary = "kmix"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "75984896964f32f441429b004775830e"
                application.icon_name = "kmix"
    index: 6
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "Amarok"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "28"
                application.version = "2.8.0"
                application.icon_name = "amarok"
                application.process.id = "4693"
                application.process.user = "rd"
                application.process.host = "blackbox"
                application.process.binary = "amarok"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "75984896964f32f441429b004775830e"
    index: 9
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "Amarok"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "28"
                application.version = "2.8.0"
                application.icon_name = "amarok"
                application.process.id = "4693"
                application.process.user = "rd"
                application.process.host = "blackbox"
                application.process.binary = "amarok"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "75984896964f32f441429b004775830e"
    index: 11
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "KMix"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "28"
                application.process.id = "4131"
                application.process.user = "rd"
                application.process.host = "blackbox"
                application.process.binary = "kdeinit4"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "75984896964f32f441429b004775830e"
    index: 16
        driver: <module-x11-xsmp.c>
        owner module: 25
        properties:
                application.name = "XSMP Session on KDE as 10cdced0db000139556925200000042180035"
                xsmp.vendor = "KDE"
                xsmp.client.id = "10cdced0db000139556925200000042180035"
    index: 18
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "KNotify"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "28"
                application.icon_name = "knotify"
                application.process.id = "5288"
                application.process.user = "rd"
                application.process.host = "blackbox"
                application.process.binary = "knotify4"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "75984896964f32f441429b004775830e"
    index: 27
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "libphonon"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "28"
                application.process.id = "4131"
                application.process.user = "rd"
                application.process.host = "blackbox"
                application.process.binary = "kdeinit4"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "75984896964f32f441429b004775830e"
    index: 50
        driver: <protocol-native.c>
        owner module: 9
        properties:
                application.name = "Miro"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "28"
                media.role = "video"
                application.process.id = "30134"
                application.process.user = "rd"
                application.process.host = "blackbox"
                application.process.binary = "python2.7"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "75984896964f32f441429b004775830e"
                application.icon_name = "/usr/share/pixmaps/python2.7.xpm"
    index: 79
        driver: <cli.c>
        owner module: 29
        properties:
                application.name = "UNIX socket client"
3 card(s) available.
    index: 0
        name: <alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset>
        driver: <module-alsa-card.c>
        owner module: 5
        properties:
                alsa.card = "1"
                alsa.card_name = "Logitech USB Headset"
                alsa.long_card_name = "Logitech Logitech USB Headset at usb-0000:00:1a.7-5.3, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1a.7-usb-0:5.3:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1a.7/usb4/4-5/4-5.3/4-5.3:1.0/sound/card1"
                udev.id = "usb-Logitech_Logitech_USB_Headset-00-Headset"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0a44"
                device.product.name = "Logitech USB Headset"
                device.serial = "Logitech_Logitech_USB_Headset"
                device.form_factor = "headset"
                device.string = "1"
                device.description = "Logitech USB Headset"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-headset-usb"
                device.intended_roles = "phone"
        profiles:
                input:analog-mono: Analog Mono Input (priority 1, available: unknown)
                output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
                output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (priority 6001, available: unknown)
                off: Aus (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:analog-mono>
        sinks:
                alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo/#0: Logitech USB Headset Analog Stereo
        sources:
                alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo.monitor/#0: Monitor of Logitech USB Headset Analog Stereo
                alsa_input.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-mono/#1: Logitech USB Headset Analog Mono
        ports:
                analog-input-microphone: Mikrofon (priority 8700, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-output-headphones: Analoge Kopfhörer (priority 9000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-headphones"
    index: 2
        name: <alsa_card.pci-0000_00_1b.0>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "2"
                alsa.card_name = "HDA Intel"
                alsa.long_card_name = "HDA Intel at 0xfe7f4000 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/card2"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "293e"
                device.product.name = "P5K PRO Motherboard"
                device.form_factor = "internal"
                device.string = "2"
                device.description = "Internes Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
                output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
                output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
                output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 800, available: unknown)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860, available: unknown)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 700, available: unknown)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760, available: unknown)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: unknown)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860, available: unknown)
                output:analog-surround-71: Analog Surround 7.1 Output (priority 700, available: unknown)
                output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760, available: unknown)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
                output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
                off: Aus (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_1b.0.analog-stereo/#1: Internes Audio Analog Stereo
        sources:
                alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#3: Monitor of Internes Audio Analog Stereo
                alsa_input.pci-0000_00_1b.0.analog-stereo/#4: Internes Audio Analog Stereo
        ports:
                analog-input-microphone-front: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-microphone-rear: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
                        properties:

                analog-output: Analoge Ausgabe (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

                analog-output-headphones: Analoge Kopfhörer (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 5
        name: <alsa_card.usb-046d_0825_603B4F50-02-U0x46d0x825>
        driver: <module-alsa-card.c>
        owner module: 28
        properties:
                alsa.card = "0"
                alsa.card_name = "USB Device 0x46d:0x825"
                alsa.long_card_name = "USB Device 0x46d:0x825 at usb-0000:00:1a.7-5.4, high speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:1a.7-usb-0:5.4:1.2"
                sysfs.path = "/devices/pci0000:00/0000:00:1a.7/usb4/4-5/4-5.4/4-5.4:1.2/sound/card0"
                udev.id = "usb-046d_0825_603B4F50-02-U0x46d0x825"
                device.bus = "usb"
                device.vendor.id = "046d"
                device.vendor.name = "Logitech, Inc."
                device.product.id = "0825"
                device.product.name = "Webcam C270"
                device.serial = "046d_0825_603B4F50"
                device.form_factor = "webcam"
                device.string = "0"
                device.description = "Webcam C270"
                module-udev-detect.discovered = "1"
                device.icon_name = "camera-web-usb"
        profiles:
                input:analog-mono: Analog Mono Input (priority 1, available: unknown)
                off: Aus (priority 0, available: unknown)
        active profile: <input:analog-mono>
        sources:
                alsa_input.usb-046d_0825_603B4F50-02-U0x46d0x825.analog-mono/#7: Webcam C270 Analog Mono
        ports:
                analog-input-microphone: Mikrofon (priority 8700, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
2 sink input(s) available.
    index: 32
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: CORKED
        sink: 0 <alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo>
        volume: 0:  61% 1:  61%
                0: -12,88 dB 1: -12,88 dB
                balance 0,00
        muted: no
        current latency: 154,78 ms
        requested latency: 90,00 ms
        sample spec: float32le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 9
        client: 9 <Amarok>
        properties:
                phonon.streamid = "{75421b7c-aa47-4f50-9267-36616e88e0ef}"
                media.role = "music"
                media.name = "»1,2,3 im Sauseschritt« durch »Diverse«"
                application.name = "Amarok"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "28"
                application.version = "2.8.0"
                application.icon_name = "amarok"
                application.process.id = "4693"
                application.process.user = "rd"
                application.process.host = "blackbox"
                application.process.binary = "amarok"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "75984896964f32f441429b004775830e"
                module-stream-restore.id = "sink-input-by-media-role:music"
                media.title = "1,2,3 im Sauseschritt"
                media.artist = "Diverse"
    index: 35
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: CORKED
        sink: 0 <alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo>
        volume: 0:  69% 1:  69%
                0: -9,68 dB 1: -9,68 dB
                balance 0,00
        muted: no
        current latency: 138,55 ms
        requested latency: 90,00 ms
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        resample method: (null)
        module: 9
        client: 50 <Miro>
        properties:
                media.name = "Playback Stream"
                application.name = "Miro"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "28"
                media.role = "video"
                application.process.id = "30134"
                application.process.user = "rd"
                application.process.host = "blackbox"
                application.process.binary = "python2.7"
                application.language = "de_DE.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "75984896964f32f441429b004775830e"
                application.icon_name = "/usr/share/pixmaps/python2.7.xpm"
                module-stream-restore.id = "sink-input-by-media-role:video"
0 source outputs(s) available.
0 cache entrie(s) available.
>>> rd at blackbox:~$ 


But alsa aplications like aplay and flashplayer seem to ignore pulseaudio:

rd at blackbox:~$ aplay --device=pulse /home/rd/.config/libreoffice/3/user/gallery/ATT431.wav

plays on the Intel card not on the USB headset.

If any information is missing, please let me know I can easily add it.

Many thanks,
Rainer

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'stable'), (300, 'unstable'), (250, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.13-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libasound2-plugins depends on:
ii  libasound2                1.0.27.2-3
ii  libavcodec54              6:9.11-3
ii  libavutil52               6:9.11-3
ii  libc6                     2.18-4
ii  libjack0 [libjack-0.116]  1:0.124.1+20140122git5013bed0-2
ii  libpulse0                 4.0-6+b1
ii  libsamplerate0            0.1.8-7
ii  libspeexdsp1              1.2~rc1.1-1
ii  multiarch-support         2.18-4

libasound2-plugins recommends no packages.

libasound2-plugins suggests no packages.

-- no debconf information



More information about the Pkg-alsa-devel mailing list