Advertisement
Guest User

Untitled

a guest
Jul 12th, 2022
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. notice default sink/source in "info" output.
  2.  
  3. $ pactl info
  4. Server String: /run/user/5271/pulse/native
  5. Library Protocol Version: 35
  6. Server Protocol Version: 35
  7. Is Local: yes
  8. Client Index: 1785
  9. Tile Size: 65472
  10. Server Name: PulseAudio (on PipeWire 0.3.54)
  11. Server Version: 15.0.0
  12. Default Sample Specification: float32le 2ch 48000Hz
  13. Default Channel Map: front-left,front-right
  14. Default Sink: bluez_output.00_18_09_2F_E5_54.headset-head-unit
  15. Default Source: bluez_input.00_18_09_2F_E5_54.headset-head-unit
  16. Cookie: 93b0:726c
  17. ________________________________________________________________
  18.  
  19. device summary, last device known to the "list cards" command.
  20.  
  21. $ pactl list cards
  22. Card #1413
  23. Name: bluez_card.00_18_09_2F_E5_54
  24. Driver: module-bluez5-device.c
  25. Owner Module: n/a
  26. Properties:
  27. api.bluez5.address = "00:18:09:2F:E5:54"
  28. api.bluez5.class = "0x240404"
  29. api.bluez5.connection = "disconnected"
  30. api.bluez5.device = ""
  31. api.bluez5.icon = "audio-headset"
  32. api.bluez5.path = "/org/bluez/hci0/dev_00_18_09_2F_E5_54"
  33. bluez5.auto-connect = "[ hfp_hf hsp_hs a2dp_sink ]"
  34. bluez5.profile = "off"
  35. device.alias = "MDR-ZX330BT"
  36. device.api = "bluez5"
  37. device.bus = "bluetooth"
  38. device.description = "MDR-ZX330BT"
  39. device.form_factor = "headset"
  40. device.icon_name = "audio-headset-bluetooth"
  41. device.name = "bluez_card.00_18_09_2F_E5_54"
  42. device.string = "00:18:09:2F:E5:54"
  43. media.class = "Audio/Device"
  44. factory.id = "14"
  45. client.id = "101"
  46. object.id = "59"
  47. object.serial = "1413"
  48. Profiles:
  49. off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
  50. a2dp-sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 16, available: yes)
  51. headset-head-unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 1, available: yes)
  52. a2dp-sink-sbc: High Fidelity Playback (A2DP Sink, codec SBC) (sinks: 1, sources: 0, priority: 18, available: yes)
  53. a2dp-sink-sbc_xq: High Fidelity Playback (A2DP Sink, codec SBC-XQ) (sinks: 1, sources: 0, priority: 17, available: yes)
  54. headset-head-unit-cvsd: Headset Head Unit (HSP/HFP, codec CVSD) (sinks: 1, sources: 1, priority: 2, available: yes)
  55. Active Profile: headset-head-unit-cvsd
  56. Ports:
  57. headset-input: Headset (type: Headset, priority: 0, latency offset: 0 usec, available)
  58. Properties:
  59. port.type = "headset"
  60. Part of profile(s): headset-head-unit, headset-head-unit-cvsd
  61. headset-output: Headset (type: Headset, priority: 0, latency offset: 0 usec, available)
  62. Properties:
  63. port.type = "headset"
  64. Part of profile(s): a2dp-sink, headset-head-unit, a2dp-sink-sbc, a2dp-sink-sbc_xq, headset-head-unit-cvsd
  65. ________________________________________________________________
  66.  
  67. counterexamples, using ITS OWN CHOICE OF NAMES JUST ABOVE:
  68.  
  69. $ pactl set-card-profile bluez_input.00_18_09_2F_E5_54 a2dp_sink
  70. Failure: No such entity
  71. $ pactl set-card-profile bluez_output.00_18_09_2F_E5_54 a2dp_sink
  72. Failure: No such entity
  73. $ pactl set-card-profile bluez_card.00_18_09_2F_E5_54 a2dp_sink
  74. Failure: No such entity
  75. $ pactl set-card-profile bluez_card.00_18_09_2F_E5_54.headset-head-unit a2dp_sink
  76. Failure: No such entity
  77.  
  78. maybe the alias name will work.
  79.  
  80. $ pactl set-card-profile MDR-ZX330BT a2dp_sink
  81. Failure: No such entity
  82.  
  83. why, no, of course not. how silly of me, to expect that an alias could be used as ... an alias.
  84.  
  85. how do i name this damn thing so that pactl won't piss all over it?!?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement