Problèmes et questions sur les applications multimédia.
Répondre

Reglages casque bluetooth fastidieux

#1Messageil y a 7 mois

Bonjour, quelqu'un connaitrait une solution pour enregistrer une fois pour toutes les reglages qui me permettent d'utiliser mes ecouteurs bluetooth ?

A chaque allumage de mon casque je dois aller dans Pulsaudio (appelé "mixeur audio" dans le bureau) puis Configuration puis changer le profil de HSP/HFP à A2DP Sink. Puis je vais sur le reglage du son du tableau de bord puis je selectionne le casque audio. Si il y'a un moyen d'automatiser tout ça ce ne serait pas de refus. Je voudrais privilegier une solution deja prevue ou un logiciel qui s'en occupe, le bricolage à base de script devant rester le dernier recours.
J'ai Manjaro en XFCE si la precision est necessaire.

Reglages casque bluetooth fastidieux

#2Messageil y a 7 mois

Bonjour.
Je pense que ce topo devrait t'aider. Logiquement, ça se passe dans /etc/pulse/default.pa

91472

Reglages casque bluetooth fastidieux

#3Messageil y a 7 mois

Je viens d'aller voir dans ce fichier mais la ligne dont tu parlais dans le topic est deja decommentée.
Il y'a peut être une ligne à ajouter pour forcer le reglage sur A2DP mais je ne sais pas ou chercher.

Reglages casque bluetooth fastidieux

#4Messageil y a 7 mois

Essaye ça: Procède à tes réglages puis lance pacmd ls.
Ça te donnera une longue liste de matos reconnus. Il faut dénicher l'index de ta carte Bluetooth , un truc du genre :

index: 2
        name: <bluez_card.XX_XX_XX_XX_XX_XX>
        driver: <module-bluez5-device.c>
Ensuite tu fais pacmd set-card-profile 2 a2dp_sink
Source:

Reglages casque bluetooth fastidieux

#5Messageil y a 7 mois

J'ai essayé 18 et 40 comme ça

pacmd set-card-profile 18 a2dp_sink
Mais ca me donne. "No card found by this name or index"

La liste.

  Memory blocks currently allocated: 7, size: 207,1 Kio.
Memory blocks allocated during the whole lifetime: 899387, size: 2,4 Gio.
Memory blocks imported from other processes: 3, size: 45,7 Kio.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 86,0 Kio.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: bluez_sink.0C_E0_E4_FC_F7_BD.a2dp_sink
Default source name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
Memory blocks of type POOL: 3 allocated/633588 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 1 allocated/1 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/179296 accumulated.
Memory blocks of type IMPORTED: 3 allocated/86502 accumulated.
30 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 = "12.2"
    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 = "12.2"
    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 = "12.2"
    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 = "12.2"
    index: 4
	name: <module-switch-on-port-available>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "David Henningsson"
		module.description = "Switches ports and profiles when devices are plugged/unplugged"
		module.version = "12.2"
    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 = "12.2"
    index: 6
	name: <module-alsa-card>
	argument: <device_id="0" name="pci-0000_00_03.0" card_name="alsa_card.pci-0000_00_03.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 = "12.2"
    index: 7
	name: <module-alsa-card>
	argument: <device_id="1" 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 = "12.2"
    index: 8
	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 = "12.2"
    index: 9
	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 = "12.2"
    index: 10
	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 = "12.2"
    index: 11
	name: <module-dbus-protocol>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Tanu Kaskinen"
		module.description = "D-Bus interface"
		module.version = "12.2"
    index: 12
	name: <module-esound-protocol-unix>
	argument: <>
	used: -1
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "ESOUND protocol (UNIX sockets)"
		module.version = "12.2"
    index: 13
	name: <module-native-protocol-unix>
	argument: <>
	used: -1
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "Native protocol (UNIX sockets)"
		module.version = "12.2"
    index: 14
	name: <module-gsettings>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Sylvain Baubeau"
		module.description = "GSettings Adapter"
		module.version = "12.2"
    index: 15
	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 = "12.2"
    index: 16
	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 = "12.2"
    index: 17
	name: <module-always-sink>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Colin Guthrie"
		module.description = "Garde toujours au moins une destination même si elle est vide"
		module.version = "12.2"
    index: 18
	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 = "12.2"
    index: 19
	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 = "12.2"
    index: 20
	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 = "12.2"
    index: 21
	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 = "12.2"
    index: 22
	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 = "12.2"
    index: 23
	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 = "12.2"
    index: 24
	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 = "12.2"
    index: 25
	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 = "12.2"
    index: 26
	name: <module-x11-publish>
	argument: <display=:0.0>
	used: -1
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "X11 credential publisher"
		module.version = "12.2"
    index: 27
	name: <module-x11-xsmp>
	argument: <display=:0.0 session_manager=local/dt-pc:@/tmp/.ICE-unix/850,unix/dt-pc:/tmp/.ICE-unix/850>
	used: -1
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "X11 session management"
		module.version = "12.2"
    index: 40
	name: <module-bluez5-device>
	argument: <path=/org/bluez/hci0/dev_0C_E0_E4_FC_F7_BD autodetect_mtu=0>
	used: 1
	load once: no
	properties:
		module.author = "João Paulo Rechi Vita"
		module.description = "BlueZ 5 Bluetooth audio sink and source"
		module.version = "12.2"
    index: 41
	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 = "12.2"
2 sink(s) available.
    index: 12
	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 DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 36691 /  56% / -15,12 dB,   front-right: 36691 /  56% / -15,12 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 18
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stéréo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	card: 1 <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 = "ALC3232 Analog"
		alsa.id = "ALC3232 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf1634000 irq 30"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		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 = "Stéréo analogique"
		device.description = "Audio interne Stéréo analogique"
		alsa.mixer_name = "Realtek ALC3232"
		alsa.components = "HDA:10ec0292,17aa2210,00100001"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Haut-parleurs (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Casque audio (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
  * index: 18
	name: <bluez_sink.0C_E0_E4_FC_F7_BD.a2dp_sink>
	driver: <module-bluez5-device.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9050
	volume: front-left: 19644 /  30% / -31,40 dB,   front-right: 19644 /  30% / -31,40 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 48,56 ms
	max request: 3 KiB
	max rewind: 0 KiB
	monitor source: 27
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stéréo
	used by: 1
	linked by: 1
	fixed latency: 45,32 ms
	card: 14 <bluez_card.0C_E0_E4_FC_F7_BD>
	module: 40
	properties:
		bluetooth.protocol = "a2dp_sink"
		device.description = "PLT_BBTPRO"
		device.string = "0C:E0:E4:FC:F7:BD"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/hci0/dev_0C_E0_E4_FC_F7_BD"
		bluez.class = "0x240404"
		bluez.alias = "PLT_BBTPRO"
		device.icon_name = "audio-headset-bluetooth"
		device.intended_roles = "phone"
	ports:
		headset-output: Casque (priority 0, latency offset 0 usec, available: yes)
			properties:
				
	active port: <headset-output>
2 source(s) available.
  * index: 18
	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: 1030
	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
	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
	             Stéréo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	monitor_of: 12
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		device.description = "Monitor of Audio interne Stéréo analogique"
		device.class = "monitor"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf1634000 irq 30"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 27
	name: <bluez_sink.0C_E0_E4_FC_F7_BD.a2dp_sink.monitor>
	driver: <module-bluez5-device.c>
	flags: DECIBEL_VOLUME LATENCY 
	state: IDLE
	suspend cause: (none)
	priority: 1050
	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
	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
	             Stéréo
	used by: 0
	linked by: 0
	fixed latency: 45,32 ms
	monitor_of: 18
	card: 14 <bluez_card.0C_E0_E4_FC_F7_BD>
	module: 40
	properties:
		device.description = "Monitor of PLT_BBTPRO"
		device.class = "monitor"
		device.string = "0C:E0:E4:FC:F7:BD"
		device.api = "bluez"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/hci0/dev_0C_E0_E4_FC_F7_BD"
		bluez.class = "0x240404"
		bluez.alias = "PLT_BBTPRO"
		device.icon_name = "audio-headset-bluetooth"
		device.intended_roles = "phone"
16 client(s) logged in.
    index: 0
	driver: <module-systemd-login.c>
	owner module: 21
	properties:
		application.name = "Login Session 2"
		systemd-login.session = "2"
    index: 1
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "xfwm4"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "866"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "xfwm4"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 4
	driver: <module-x11-xsmp.c>
	owner module: 27
	properties:
		application.name = "XSMP Session on xfce4-session as 234224c24-99b4-46c5-8b7c-4eeeb05796ba"
		xsmp.vendor = "xfce4-session"
		xsmp.client.id = "234224c24-99b4-46c5-8b7c-4eeeb05796ba"
    index: 5
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "xfce4-pulseaudio-plugin"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.version = "0.4.1git-7c02cb2"
		application.id = "org.xfce.pulseaudio-plugin"
		application.icon_name = "multimedia-volume-control"
		application.process.id = "1037"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "wrapper-2.0"
		application.language = "fr_FR.utf8"
		window.x11.display = ":0.0"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 8
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "wrapper-2.0"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "1027"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "wrapper-2.0"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 12
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "PolicyKit Authentication Agent"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "918"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "polkit-gnome-authentication-agent-1"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 13
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "Thunar"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.icon_name = "Thunar"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "872"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "thunar"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 15
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "xfce4-panel"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "870"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "xfce4-panel"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 16
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "wrapper-2.0"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "1037"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "wrapper-2.0"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 19
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "blueman-applet"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "880"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "python3.7"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 47
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "xfce4-session"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		window.x11.display = ":0"
		window.x11.screen = "0"
		application.process.id = "850"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "xfce4-session"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 52
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "4727"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "firefox"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
		application.icon_name = "firefox"
    index: 53
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.icon_name = "firefox"
		application.version = "62.0.3"
		application.process.id = "4727"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "firefox"
		application.language = "fr_FR.utf8"
		window.x11.display = ":0.0"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 54
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "AudioIPC Server"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "4727"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "firefox"
		application.language = "fr_FR.utf8"
		window.x11.display = ":0.0"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
		application.icon_name = "firefox"
    index: 55
	driver: <protocol-native.c>
	owner module: 13
	properties:
		application.name = "Terminal Xfce"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.icon_name = "utilities-terminal"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "4990"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "xfce4-terminal"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
    index: 56
	driver: <cli.c>
	owner module: 41
	properties:
		application.name = "UNIX socket client"
3 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_03.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel HDMI"
		alsa.long_card_name = "HDA Intel HDMI at 0xf1630000 irq 32"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:03.0"
		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "0c0c"
		device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Sortie Digital Stereo (HDMI) (priority 5900, available: no)
		output:hdmi-surround: Sortie Digital Surround 5.1 (HDMI) (priority 800, available: no)
		output:hdmi-surround71: Sortie Digital Surround 7.1 (HDMI) (priority 800, available: no)
		output:hdmi-stereo-extra1: Sortie Digital Stereo (HDMI 2) (priority 5700, available: no)
		output:hdmi-surround-extra1: Sortie Digital Surround 5.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-surround71-extra1: Sortie Digital Surround 7.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-stereo-extra2: Sortie Digital Stereo (HDMI 3) (priority 5700, available: no)
		output:hdmi-surround-extra2: Sortie Digital Surround 5.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-surround71-extra2: Sortie Digital Surround 7.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-stereo-extra3: Sortie Digital Stereo (HDMI 4) (priority 5700, available: no)
		output:hdmi-surround-extra3: Sortie Digital Surround 5.1 (HDMI 4) (priority 600, available: no)
		output:hdmi-surround71-extra3: Sortie Digital Surround 7.1 (HDMI 4) (priority 600, available: no)
		output:hdmi-stereo-extra4: Sortie Digital Stereo (HDMI 5) (priority 5700, available: no)
		output:hdmi-surround-extra4: Sortie Digital Surround 5.1 (HDMI 5) (priority 600, available: no)
		output:hdmi-surround71-extra4: Sortie Digital Surround 7.1 (HDMI 5) (priority 600, available: no)
		off: Éteint (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf1634000 irq 30"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "1"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Entrée Stéréo analogique (priority 65, available: unknown)
		output:analog-stereo: Sortie Stéréo analogique (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (priority 6565, available: unknown)
		output:analog-surround-40: Sortie Surround analogique 4.0 (priority 1200, available: unknown)
		output:analog-surround-40+input:analog-stereo: Sortie Surround analogique 4.0 + Entrée Stéréo analogique (priority 1265, available: unknown)
		off: Éteint (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#12: Audio interne Stéréo analogique
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#18: Monitor of Audio interne Stéréo analogique
	ports:
		analog-input-internal-mic: Microphone interne (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-dock-mic: Microphone de la station d'accueil (priority 7800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Haut-parleurs (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Casque audio (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
    index: 14
	name: <bluez_card.0C_E0_E4_FC_F7_BD>
	driver: <module-bluez5-device.c>
	owner module: 40
	properties:
		device.description = "PLT_BBTPRO"
		device.string = "0C:E0:E4:FC:F7:BD"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/hci0/dev_0C_E0_E4_FC_F7_BD"
		bluez.class = "0x240404"
		bluez.alias = "PLT_BBTPRO"
		device.icon_name = "audio-headset-bluetooth"
		device.intended_roles = "phone"
	profiles:
		headset_head_unit: Unité centrale du casque (HSP/HFP) (priority 30, available: unknown)
		a2dp_sink: Lecture haute fidélité (A2DP Sink) (priority 40, available: yes)
		off: Éteint (priority 0, available: yes)
	active profile: <a2dp_sink>
	sinks:
		bluez_sink.0C_E0_E4_FC_F7_BD.a2dp_sink/#18: PLT_BBTPRO
	sources:
		bluez_sink.0C_E0_E4_FC_F7_BD.a2dp_sink.monitor/#27: Monitor of PLT_BBTPRO
	ports:
		headset-output: Casque (priority 0, latency offset 0 usec, available: yes)
			properties:
				
		headset-input: Casque (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
1 sink input(s) available.
    index: 9
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 18 <bluez_sink.0C_E0_E4_FC_F7_BD.a2dp_sink>
	volume: front-left: 42398 /  65% / -11,35 dB,   front-right: 42398 /  65% / -11,35 dB
	        balance 0,00
	muted: no
	current latency: 95,36 ms
	requested latency: 45,32 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stéréo
	resample method: speex-float-1
	module: 13
	client: 54 <AudioIPC Server>
	properties:
		media.name = "AudioStream"
		application.name = "AudioIPC Server"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "4727"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "firefox"
		application.language = "fr_FR.utf8"
		window.x11.display = ":0.0"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:AudioIPC Server"
0 source output(s) available.
1 cache entrie(s) available.
    name: <dialog-error>
	index: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stéréo
	length: 88036
	duration: 0,5 s
	volume: n/a
	        balance 0,00
	lazy: no
	filename: <n/a>
	properties:
		media.role = "event"
		event.description = "Message dialog shown"
		event.id = "dialog-error"
		media.name = "dialog-error"
		media.filename = "/usr/share/sounds/freedesktop/stereo/dialog-error.oga"
		application.name = "Mousepad"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.icon_name = "accessories-text-editor"
		window.x11.display = ":0.0"
		window.x11.screen = "0"
		application.process.id = "2195"
		application.process.user = "drit0"
		application.process.host = "dt-pc"
		application.process.binary = "mousepad"
		application.language = "fr_FR.utf8"
		application.process.machine_id = "e1aeb262241b4758b5def53456c166e8"
		application.process.session_id = "2"

J'ai tapé juste pacmd et ca donne sa propre ligne de commande en quelques sortes j'ai fait list-card (pas sur du nom exact faut taper help pour voir) et ca m'a donné l'index 2.

3 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_03.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel HDMI"
		alsa.long_card_name = "HDA Intel HDMI at 0xf1630000 irq 32"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:03.0"
		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "0c0c"
		device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Sortie Digital Stereo (HDMI) (priority 5900, available: no)
		output:hdmi-surround: Sortie Digital Surround 5.1 (HDMI) (priority 800, available: no)
		output:hdmi-surround71: Sortie Digital Surround 7.1 (HDMI) (priority 800, available: no)
		output:hdmi-stereo-extra1: Sortie Digital Stereo (HDMI 2) (priority 5700, available: no)
		output:hdmi-surround-extra1: Sortie Digital Surround 5.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-surround71-extra1: Sortie Digital Surround 7.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-stereo-extra2: Sortie Digital Stereo (HDMI 3) (priority 5700, available: no)
		output:hdmi-surround-extra2: Sortie Digital Surround 5.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-surround71-extra2: Sortie Digital Surround 7.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-stereo-extra3: Sortie Digital Stereo (HDMI 4) (priority 5700, available: no)
		output:hdmi-surround-extra3: Sortie Digital Surround 5.1 (HDMI 4) (priority 600, available: no)
		output:hdmi-surround71-extra3: Sortie Digital Surround 7.1 (HDMI 4) (priority 600, available: no)
		output:hdmi-stereo-extra4: Sortie Digital Stereo (HDMI 5) (priority 5700, available: no)
		output:hdmi-surround-extra4: Sortie Digital Surround 5.1 (HDMI 5) (priority 600, available: no)
		output:hdmi-surround71-extra4: Sortie Digital Surround 7.1 (HDMI 5) (priority 600, available: no)
		off: Éteint (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf1634000 irq 30"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "1"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Entrée Stéréo analogique (priority 65, available: unknown)
		output:analog-stereo: Sortie Stéréo analogique (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (priority 6565, available: unknown)
		output:analog-surround-40: Sortie Surround analogique 4.0 (priority 1200, available: unknown)
		output:analog-surround-40+input:analog-stereo: Sortie Surround analogique 4.0 + Entrée Stéréo analogique (priority 1265, available: unknown)
		off: Éteint (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Audio interne Stéréo analogique
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Audio interne Stéréo analogique
	ports:
		analog-input-internal-mic: Microphone interne (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-dock-mic: Microphone de la station d'accueil (priority 7800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Haut-parleurs (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Casque audio (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
    index: 2
	name: <bluez_card.0C_E0_E4_FC_F7_BD>
	driver: <module-bluez5-device.c>
	owner module: 28
	properties:
		device.description = "PLT_BBTPRO"
		device.string = "0C:E0:E4:FC:F7:BD"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headset"
		bluez.path = "/org/bluez/hci0/dev_0C_E0_E4_FC_F7_BD"
		bluez.class = "0x240404"
		bluez.alias = "PLT_BBTPRO"
		device.icon_name = "audio-headset-bluetooth"
		device.intended_roles = "phone"
	profiles:
		headset_head_unit: Unité centrale du casque (HSP/HFP) (priority 30, available: unknown)
		a2dp_sink: Lecture haute fidélité (A2DP Sink) (priority 40, available: unknown)
		off: Éteint (priority 0, available: yes)
	active profile: <a2dp_sink>
	sinks:
		bluez_sink.0C_E0_E4_FC_F7_BD.a2dp_sink/#2: PLT_BBTPRO
	sources:
		bluez_sink.0C_E0_E4_FC_F7_BD.a2dp_sink.monitor/#3: Monitor of PLT_BBTPRO
	ports:
		headset-output: Casque (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		headset-input: Casque (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
La j'ai essayé "set-card-profile" avec 2, y'a pas d'erreur mais ca ne marche pas. Mon casque demmare en HSP et dans ce mode il ne marche pas et fait des bips tout le temps...

Reglages casque bluetooth fastidieux

#6Messageil y a 7 mois

Curieux...Je n'ai plus de casque BT. Entre mes gamins, et la durée de vie des câbles de charge malmenés par les premiers :mrgreen:
Cela-dit, je n'ai pas souvenir de non-persistance des réglages de PulseAudio.*
Regarde ici

Reglages casque bluetooth fastidieux

#7Messageil y a 7 mois

Merci pour l'aide même si c'est pas tout à fait resolu. Je viens de remarquer quelque chose, quand je connecte mon casque manuellement avec le panneau "bluman-manager" le casque s'est reglé en A2DP. C'est à peine plus pratique mais je precise ça au cas ou.

Répondre