Commit fcd6a3b
RK3576: Switch audio to DP sink on Alt Mode connection
When a DP Alt Mode display is connected, save the current PipeWire
default sink and switch to the DP audio sink (identified by the DP
controller address 27e40000 in the PipeWire sink node name). Restore
the saved sink on disconnect.
The DP audio sink is created automatically at kernel probe time by the
DRM_BRIDGE_OP_DP_AUDIO framework (hdmi-audio-codec platform device).
The exact PipeWire sink name may need adjustment after first-boot
testing, but the 27e40000 pattern should match it uniquely since the
internal ES8388 codec is on a different bus address.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 44901a7 commit fcd6a3b
1 file changed
Lines changed: 16 additions & 0 deletions
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
| |||
48 | 56 | | |
49 | 57 | | |
50 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
51 | 64 | | |
52 | 65 | | |
53 | 66 | | |
54 | 67 | | |
55 | 68 | | |
56 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
57 | 73 | | |
58 | 74 | | |
59 | 75 | | |
| |||
0 commit comments