From 73961f31302b06a35901d5785ecca86da4e93340 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 13 Apr 2026 10:52:16 +0200 Subject: --- 2-infos.sh | 37 +++++++++++++++++++++++++++++++++++++ infos.sh | 37 ------------------------------------- 2 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 2-infos.sh delete mode 100644 infos.sh diff --git a/2-infos.sh b/2-infos.sh new file mode 100644 index 0000000..a9806c0 --- /dev/null +++ b/2-infos.sh @@ -0,0 +1,37 @@ +$ pw-cli list-objects + [...] + id 50, type PipeWire:Interface:Node/3 + object.serial = "51" + object.path = "alsa:pcm:3:front:3:playback" + factory.id = "18" + client.id = "33" + device.id = "47" + priority.session = "1009" + priority.driver = "1009" + node.description = "USB Audio Analog Stereo" + node.name = "alsa_output.usb-Generic_USB_Audio-00.analog-stereo" + node.nick = "USB Device 0xdb0 0x422d" + media.class = "Audio/Sink" + [...] + id 73, type PipeWire:Interface:Node/3 + object.serial = "1170" + object.path = "alsa:pcm:4:front:4:playback" + factory.id = "18" + client.id = "33" + device.id = "71" + priority.session = "1009" + priority.driver = "1009" + node.description = "Sennheiser PC 8.2 USB Analog Stereo" + node.name = "alsa_output.usb-Sennheiser_Sennheiser_PC_8.2_USB_A002900204807706-00.analog-stereo" + node.nick = "Sennheiser PC 8.2 USB" + media.class = "Audio/Sink" + [...] + +$ pw-cli info 50 |grep node.desc +* node.description = "USB Audio Analog Stereo" + +$ pw-cli info 73 |grep node.desc +* node.description = "Sennheiser PC 8.2 USB Analog Stereo" + +$ pw-dump 73|jq '.[0].info.props["node.description"]' +"Sennheiser PC 8.2 USB Analog Stereo" diff --git a/infos.sh b/infos.sh deleted file mode 100644 index a9806c0..0000000 --- a/infos.sh +++ /dev/null @@ -1,37 +0,0 @@ -$ pw-cli list-objects - [...] - id 50, type PipeWire:Interface:Node/3 - object.serial = "51" - object.path = "alsa:pcm:3:front:3:playback" - factory.id = "18" - client.id = "33" - device.id = "47" - priority.session = "1009" - priority.driver = "1009" - node.description = "USB Audio Analog Stereo" - node.name = "alsa_output.usb-Generic_USB_Audio-00.analog-stereo" - node.nick = "USB Device 0xdb0 0x422d" - media.class = "Audio/Sink" - [...] - id 73, type PipeWire:Interface:Node/3 - object.serial = "1170" - object.path = "alsa:pcm:4:front:4:playback" - factory.id = "18" - client.id = "33" - device.id = "71" - priority.session = "1009" - priority.driver = "1009" - node.description = "Sennheiser PC 8.2 USB Analog Stereo" - node.name = "alsa_output.usb-Sennheiser_Sennheiser_PC_8.2_USB_A002900204807706-00.analog-stereo" - node.nick = "Sennheiser PC 8.2 USB" - media.class = "Audio/Sink" - [...] - -$ pw-cli info 50 |grep node.desc -* node.description = "USB Audio Analog Stereo" - -$ pw-cli info 73 |grep node.desc -* node.description = "Sennheiser PC 8.2 USB Analog Stereo" - -$ pw-dump 73|jq '.[0].info.props["node.description"]' -"Sennheiser PC 8.2 USB Analog Stereo" -- cgit v1.2.3