Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Pulse Audio list cards ###
- pi@raspberrypi:~ $ pacmd list cards
- Memory blocks currently allocated: 1, size: 64.0 KiB.
- Memory blocks allocated during the whole lifetime: 14, size: 626.1 KiB.
- Memory blocks imported from other processes: 0, size: 0 B.
- 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.platform-soc_audio.analog-mono
- Default source name: alsa_output.platform-soc_audio.analog-mono.monitor
- Memory blocks of type POOL: 1 allocated/1 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/13 accumulated.
- Memory blocks of type IMPORTED: 0 allocated/0 accumulated.
- 25 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 = "11.1"
- 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 = "11.1"
- 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 = "11.1"
- 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 = "11.1"
- index: 4
- name: <module-switch-on-port-available>
- argument: <>
- used: -1
- load once: no
- properties:
- index: 5
- 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 = "11.1"
- index: 6
- name: <module-alsa-card>
- argument: <device_id="0" name="platform-soc_audio" card_name="alsa_card.platform-soc_audio" 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 = "11.1"
- index: 7
- name: <module-bluetooth-policy>
- argument: <>
- used: -1
- load once: yes
- properties:
- module.author = "Frédéric Dalleau, Pali Rohár"
- module.description = "Policy module to make using bluetooth devices out-of-the-box easier"
- module.version = "11.1"
- index: 8
- name: <module-bluetooth-discover>
- argument: <>
- used: -1
- load once: yes
- properties:
- module.author = "João Paulo Rechi Vita"
- module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
- module.version = "11.1"
- index: 9
- name: <module-bluez5-discover>
- argument: <>
- used: -1
- load once: yes
- properties:
- module.author = "João Paulo Rechi Vita"
- module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
- module.version = "11.1"
- index: 10
- name: <module-bluez4-discover>
- argument: <>
- used: -1
- load once: yes
- properties:
- module.author = "João Paulo Rechi Vita"
- module.description = "Detect available BlueZ 4 Bluetooth audio devices and load BlueZ 4 Bluetooth audio drivers"
- module.version = "11.1"
- index: 11
- name: <module-esound-protocol-unix>
- argument: <>
- used: -1
- load once: no
- properties:
- module.author = "Lennart Poettering"
- module.description = "ESOUND protocol (UNIX sockets)"
- module.version = "11.1"
- index: 12
- name: <module-native-protocol-unix>
- argument: <>
- used: -1
- load once: no
- properties:
- module.author = "Lennart Poettering"
- module.description = "Native protocol (UNIX sockets)"
- module.version = "11.1"
- index: 13
- 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 = "11.1"
- index: 14
- 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 its streams to the default sink/source"
- module.version = "11.1"
- index: 15
- name: <module-always-sink>
- argument: <>
- used: -1
- load once: yes
- properties:
- module.author = "Colin Guthrie"
- module.description = "Always keeps at least one sink loaded even if it's a null one"
- module.version = "11.1"
- index: 16
- name: <module-intended-roles>
- argument: <>
- used: -1
- load once: yes
- properties:
- module.author = "Lennart Poettering"
- module.description = "Automatically set device of streams based on intended roles of devices"
- module.version = "11.1"
- index: 17
- 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 = "11.1"
- index: 18
- 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 = "11.1"
- index: 19
- 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 = "11.1"
- index: 20
- 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 = "11.1"
- index: 21
- 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 = "11.1"
- index: 22
- 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 = "11.1"
- index: 23
- name: <module-bluez5-device>
- argument: <path=/org/bluez/hci0/dev_78_44_05_4B_4F_FF autodetect_mtu=0>
- used: 0
- load once: no
- properties:
- module.author = "João Paulo Rechi Vita"
- module.description = "BlueZ 5 Bluetooth audio sink and source"
- module.version = "11.1"
- index: 24
- 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 = "11.1"
- 1 sink(s) available.
- * index: 0
- name: <alsa_output.platform-soc_audio.analog-mono>
- 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: 9009
- volume: mono: 26090 / 40% / -24.00 dB
- balance 0.00
- base volume: 56210 / 86% / -4.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 1ch 44100Hz
- channel map: mono
- Mono
- used by: 0
- linked by: 0
- configured latency: 0.00 ms; range is 0.50 .. 1486.08 ms
- card: 0 <alsa_card.platform-soc_audio>
- module: 6
- properties:
- alsa.resolution_bits = "16"
- device.api = "alsa"
- device.class = "sound"
- alsa.class = "generic"
- alsa.subclass = "generic-mix"
- alsa.name = "bcm2835 ALSA"
- alsa.id = "bcm2835 ALSA"
- alsa.subdevice = "0"
- alsa.subdevice_name = "subdevice #0"
- alsa.device = "0"
- alsa.card = "0"
- alsa.card_name = "bcm2835 ALSA"
- alsa.long_card_name = "bcm2835 ALSA"
- device.bus_path = "platform-soc:audio"
- sysfs.path = "/devices/platform/soc/soc:audio/bcm2835_alsa/sound/card0"
- device.string = "hw:0"
- device.buffering.buffer_size = "131072"
- device.buffering.fragment_size = "131072"
- device.access_mode = "mmap+timer"
- device.profile.name = "analog-mono"
- device.profile.description = "Analog Mono"
- device.description = "bcm2835 ALSA Analog Mono"
- alsa.mixer_name = "Broadcom Mixer"
- module-udev-detect.discovered = "1"
- device.icon_name = "audio-card"
- ports:
- analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
- properties:
- active port: <analog-output>
- 1 source(s) available.
- * index: 0
- name: <alsa_output.platform-soc_audio.analog-mono.monitor>
- driver: <module-alsa-card.c>
- flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
- state: SUSPENDED
- suspend cause: IDLE
- priority: 1000
- volume: mono: 65536 / 100% / 0.00 dB
- balance 0.00
- base volume: 65536 / 100% / 0.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 .. 1486.08 ms
- monitor_of: 0
- card: 0 <alsa_card.platform-soc_audio>
- module: 6
- properties:
- device.description = "Monitor of bcm2835 ALSA Analog Mono"
- device.class = "monitor"
- alsa.card = "0"
- alsa.card_name = "bcm2835 ALSA"
- alsa.long_card_name = "bcm2835 ALSA"
- device.bus_path = "platform-soc:audio"
- sysfs.path = "/devices/platform/soc/soc:audio/bcm2835_alsa/sound/card0"
- device.string = "0"
- module-udev-detect.discovered = "1"
- device.icon_name = "audio-card"
- 1 client(s) logged in.
- index: 0
- driver: <cli.c>
- owner module: 24
- properties:
- application.name = "UNIX socket client"
- 2 card(s) available.
- index: 0
- name: <alsa_card.platform-soc_audio>
- driver: <module-alsa-card.c>
- owner module: 6
- properties:
- alsa.card = "0"
- alsa.card_name = "bcm2835 ALSA"
- alsa.long_card_name = "bcm2835 ALSA"
- device.bus_path = "platform-soc:audio"
- sysfs.path = "/devices/platform/soc/soc:audio/bcm2835_alsa/sound/card0"
- device.string = "0"
- device.description = "bcm2835 ALSA"
- module-udev-detect.discovered = "1"
- device.icon_name = "audio-card"
- profiles:
- output:analog-mono: Analog Mono Output (priority 200, available: unknown)
- off: Off (priority 0, available: unknown)
- active profile: <output:analog-mono>
- sinks:
- alsa_output.platform-soc_audio.analog-mono/#0: bcm2835 ALSA Analog Mono
- sources:
- alsa_output.platform-soc_audio.analog-mono.monitor/#0: Monitor of bcm2835 ALSA Analog Mono
- ports:
- analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
- properties:
- index: 1
- name: <bluez_card.78_44_05_4B_4F_FF>
- driver: <module-bluez5-device.c>
- owner module: 23
- properties:
- device.description = "JBL GO"
- device.string = "78:44:05:4B:4F:FF"
- device.api = "bluez"
- device.class = "sound"
- device.bus = "bluetooth"
- device.form_factor = "headset"
- bluez.path = "/org/bluez/hci0/dev_78_44_05_4B_4F_FF"
- bluez.class = "0x240404"
- bluez.alias = "JBL GO"
- device.icon_name = "audio-headset-bluetooth"
- device.intended_roles = "phone"
- profiles:
- headset_head_unit: Headset Head Unit (HSP/HFP) (priority 20, available: unknown)
- a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 10, available: unknown)
- off: Off (priority 0, available: yes)
- active profile: <off>
- ports:
- headset-output: Headset (priority 0, latency offset 0 usec, available: unknown)
- properties:
- headset-input: Headset (priority 0, latency offset 0 usec, available: unknown)
- properties:
- 0 sink input(s) available.
- 0 source output(s) available.
- 0 cache entrie(s) available.
- ### HSP ##
- pi@raspberrypi:~ $ pacmd set-card-profile 1 headset_head_unit
- pi@raspberrypi:~ $ paplay -v -d bluez_sink.78_44_05_4B_4F_FF.headset_head_unit /tmp/h2g2.ogg
- Opening a playback stream with sample specification 'float32le 1ch 32000Hz' and channel map 'mono'.
- Connection established.
- Stream successfully created.
- Buffer metrics: maxlength=4194304, tlength=256000, prebuf=253444, minreq=2560
- Using sample spec 'float32le 1ch 32000Hz', channel map 'mono'.
- Connected to device bluez_sink.78_44_05_4B_4F_FF.headset_head_unit (index: 1, suspended: no).
- Time: 0.000 sec; Latency: 2000000 usec.
- Time: 0.000 sec; Latency: 2000000 usec.
- ^CGot signal, exiting.cy: 2000000 usec.
- ### A2DP ###
- pi@raspberrypi:~ $ pacmd set-card-profile 1 a2dp_sink
- pi@raspberrypi:~ $ paplay -v -d bluez_sink.78_44_05_4B_4F_FF.a2dp_sink /tmp/h2g2.ogg
- Opening a playback stream with sample specification 'float32le 1ch 32000Hz' and channel map 'mono'.
- Connection established.
- Stream successfully created.
- Buffer metrics: maxlength=4194304, tlength=256000, prebuf=253444, minreq=2560
- Using sample spec 'float32le 1ch 32000Hz', channel map 'mono'.
- Connected to device bluez_sink.78_44_05_4B_4F_FF.a2dp_sink (index: 2, suspended: no).
- Stream started.
- Playback stream drained.: 62986 usec.
- Draining connection to server.
Advertisement
Add Comment
Please, Sign In to add comment