fraktal15 Posted December 11, 2021 Author Report Share Posted December 11, 2021 spa-acp-tool list card 0: profiles:7 devices:7 ports:5 profile 0: name:"off" prio:0 (available: yes) * profile 1: name:"output:analog-stereo+input:analog-stereo" prio:6565 (available: yes) profile 2: name:"output:analog-stereo" prio:6500 (available: yes) profile 3: name:"output:iec958-stereo+input:analog-stereo" prio:5565 (available: yes) profile 4: name:"output:iec958-stereo" prio:5500 (available: yes) profile 5: name:"input:analog-stereo" prio:65 (available: yes) profile 6: name:"pro-audio" prio:1 (available: unknown) * port 0: name:"analog-input-internal-mic" direction:capture prio:8900 (available: unknown) port 1: name:"analog-input-mic" direction:capture prio:8700 (available: no) * port 2: name:"analog-output-speaker" direction:playback prio:10000 (available: unknown) port 3: name:"analog-output-headphones" direction:playback prio:9900 (available: no) port 4: name:"iec958-stereo-output" direction:playback prio:0 (available: unknown) * device 0: direction:capture name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 1: direction:playback name:"pro-output-0" prio:0 flags:00000000 devices: "hw:0,0" device 2: direction:playback name:"pro-output-1" prio:0 flags:00000000 devices: "hw:0,1" device 3: direction:playback name:"pro-output-3" prio:0 flags:00000000 devices: "hw:0,3" device 4: direction:capture name:"pro-input-0" prio:0 flags:00000000 devices: "hw:0,0" * device 5: direction:playback name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 6: direction:playback name:"iec958-stereo" prio:55 flags:00000010 devices: "iec958:%f" Link to comment Share on other sites More sharing options...
@sunrise Posted December 11, 2021 Report Share Posted December 11, 2021 Czy to jest wynik przy podłączonym hdmi? Link to comment Share on other sites More sharing options...
fraktal15 Posted December 14, 2021 Author Report Share Posted December 14, 2021 przy włączonym: spa-acp-tool list card 0: profiles:7 devices:7 ports:5 profile 0: name:"off" prio:0 (available: yes) * profile 1: name:"output:analog-stereo+input:analog-stereo" prio:6565 (available: yes) profile 2: name:"output:analog-stereo" prio:6500 (available: yes) profile 3: name:"output:iec958-stereo+input:analog-stereo" prio:5565 (available: yes) profile 4: name:"output:iec958-stereo" prio:5500 (available: yes) profile 5: name:"input:analog-stereo" prio:65 (available: yes) profile 6: name:"pro-audio" prio:1 (available: unknown) * port 0: name:"analog-input-internal-mic" direction:capture prio:8900 (available: unknown) port 1: name:"analog-input-mic" direction:capture prio:8700 (available: no) * port 2: name:"analog-output-speaker" direction:playback prio:10000 (available: unknown) port 3: name:"analog-output-headphones" direction:playback prio:9900 (available: no) port 4: name:"iec958-stereo-output" direction:playback prio:0 (available: unknown) * device 0: direction:capture name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 1: direction:playback name:"pro-output-0" prio:0 flags:00000000 devices: "hw:0,0" device 2: direction:playback name:"pro-output-1" prio:0 flags:00000000 devices: "hw:0,1" device 3: direction:playback name:"pro-output-3" prio:0 flags:00000000 devices: "hw:0,3" device 4: direction:capture name:"pro-input-0" prio:0 flags:00000000 devices: "hw:0,0" * device 5: direction:playback name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 6: direction:playback name:"iec958-stereo" prio:55 flags:00000010 devices: "iec958:%f" przy wyłączonym: spa-acp-tool list card 0: profiles:7 devices:7 ports:5 profile 0: name:"off" prio:0 (available: yes) * profile 1: name:"output:analog-stereo+input:analog-stereo" prio:6565 (available: yes) profile 2: name:"output:analog-stereo" prio:6500 (available: yes) profile 3: name:"output:iec958-stereo+input:analog-stereo" prio:5565 (available: yes) profile 4: name:"output:iec958-stereo" prio:5500 (available: yes) profile 5: name:"input:analog-stereo" prio:65 (available: yes) profile 6: name:"pro-audio" prio:1 (available: unknown) * port 0: name:"analog-input-internal-mic" direction:capture prio:8900 (available: unknown) port 1: name:"analog-input-mic" direction:capture prio:8700 (available: no) * port 2: name:"analog-output-speaker" direction:playback prio:10000 (available: unknown) port 3: name:"analog-output-headphones" direction:playback prio:9900 (available: no) port 4: name:"iec958-stereo-output" direction:playback prio:0 (available: unknown) * device 0: direction:capture name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 1: direction:playback name:"pro-output-0" prio:0 flags:00000000 devices: "hw:0,0" device 2: direction:playback name:"pro-output-1" prio:0 flags:00000000 devices: "hw:0,1" device 3: direction:playback name:"pro-output-3" prio:0 flags:00000000 devices: "hw:0,3" device 4: direction:capture name:"pro-input-0" prio:0 flags:00000000 devices: "hw:0,0" * device 5: direction:playback name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 6: direction:playback name:"iec958-stereo" prio:55 flags:00000010 devices: "iec958:%f" Link to comment Share on other sites More sharing options...
fraktal15 Posted December 14, 2021 Author Report Share Posted December 14, 2021 Po wpisaniu komendy wywala mi dźwięk na HDMI, Link to comment Share on other sites More sharing options...
fraktal15 Posted January 3, 2022 Author Report Share Posted January 3, 2022 na podłączonym HDMI: spa-acp-tool list card 0: profiles:9 devices:8 ports:6 profile 0: name:"off" prio:0 (available: yes) * profile 1: name:"output:analog-stereo+input:analog-stereo" prio:6565 (available: yes) profile 2: name:"output:analog-stereo" prio:6500 (available: yes) profile 3: name:"output:hdmi-stereo+input:analog-stereo" prio:5965 (available: yes) profile 4: name:"output:hdmi-stereo" prio:5900 (available: yes) profile 5: name:"output:iec958-stereo+input:analog-stereo" prio:5565 (available: yes) profile 6: name:"output:iec958-stereo" prio:5500 (available: yes) profile 7: name:"input:analog-stereo" prio:65 (available: yes) profile 8: name:"pro-audio" prio:1 (available: unknown) * port 0: name:"analog-input-internal-mic" direction:capture prio:8900 (available: unknown) port 1: name:"analog-input-mic" direction:capture prio:8700 (available: no) * port 2: name:"analog-output-speaker" direction:playback prio:10000 (available: unknown) port 3: name:"analog-output-headphones" direction:playback prio:9900 (available: no) port 4: name:"iec958-stereo-output" direction:playback prio:0 (available: unknown) port 5: name:"hdmi-output-0" direction:playback prio:5900 (available: yes) * device 0: direction:capture name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 1: direction:playback name:"pro-output-0" prio:0 flags:00000000 devices: "hw:0,0" device 2: direction:playback name:"pro-output-1" prio:0 flags:00000000 devices: "hw:0,1" device 3: direction:playback name:"pro-output-3" prio:0 flags:00000000 devices: "hw:0,3" device 4: direction:capture name:"pro-input-0" prio:0 flags:00000000 devices: "hw:0,0" * device 5: direction:playback name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 6: direction:playback name:"iec958-stereo" prio:55 flags:00000010 devices: "iec958:%f" device 7: direction:playback name:"hdmi-stereo" prio:59 flags:00000010 devices: "hdmi:%f" Link to comment Share on other sites More sharing options...
@sunrise Posted January 3, 2022 Report Share Posted January 3, 2022 26 minut temu, fraktal15 napisał: na podłączonym HDMI: spa-acp-tool list card 0: profiles:9 devices:8 ports:6 profile 0: name:"off" prio:0 (available: yes) * profile 1: name:"output:analog-stereo+input:analog-stereo" prio:6565 (available: yes) profile 2: name:"output:analog-stereo" prio:6500 (available: yes) profile 3: name:"output:hdmi-stereo+input:analog-stereo" prio:5965 (available: yes) profile 4: name:"output:hdmi-stereo" prio:5900 (available: yes) profile 5: name:"output:iec958-stereo+input:analog-stereo" prio:5565 (available: yes) profile 6: name:"output:iec958-stereo" prio:5500 (available: yes) profile 7: name:"input:analog-stereo" prio:65 (available: yes) profile 8: name:"pro-audio" prio:1 (available: unknown) * port 0: name:"analog-input-internal-mic" direction:capture prio:8900 (available: unknown) port 1: name:"analog-input-mic" direction:capture prio:8700 (available: no) * port 2: name:"analog-output-speaker" direction:playback prio:10000 (available: unknown) port 3: name:"analog-output-headphones" direction:playback prio:9900 (available: no) port 4: name:"iec958-stereo-output" direction:playback prio:0 (available: unknown) port 5: name:"hdmi-output-0" direction:playback prio:5900 (available: yes) * device 0: direction:capture name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 1: direction:playback name:"pro-output-0" prio:0 flags:00000000 devices: "hw:0,0" device 2: direction:playback name:"pro-output-1" prio:0 flags:00000000 devices: "hw:0,1" device 3: direction:playback name:"pro-output-3" prio:0 flags:00000000 devices: "hw:0,3" device 4: direction:capture name:"pro-input-0" prio:0 flags:00000000 devices: "hw:0,0" * device 5: direction:playback name:"analog-stereo" prio:65 flags:00000007 devices: "front:%f" device 6: direction:playback name:"iec958-stereo" prio:55 flags:00000010 devices: "iec958:%f" device 7: direction:playback name:"hdmi-stereo" prio:59 flags:00000010 devices: "hdmi:%f" I teraz spróbuj przełączyć porty lub cały profil na hdmi i z powrotem na głośniki dla portów przełączenie na hdmi spa-acp-tool set-port 5 przełączenie na głośniki spa-acp-tool set-port 2 dla profili przełączenie na hdmi spa-acp-tool set-profile 3 przełączenie na głośniki spa-acp-tool set-profile 1 Link to comment Share on other sites More sharing options...
fraktal15 Posted January 10, 2022 Author Report Share Posted January 10, 2022 dla portów - wyrzuca błąd dla profili - jest ok, ale dźwięk nadal gra tylko z laptopa [root@fedora ~]# spa-acp-tool set-port 5 arguments: <device_id> <port_id> missing error: Invalid argument [root@fedora ~]# spa-acp-tool set-port 2 arguments: <device_id> <port_id> missing error: Invalid argument [root@fedora ~]# spa-acp-tool set-profile 3 [root@fedora ~]# spa-acp-tool set-profile 1 [root@fedora ~]# spa-acp-tool set-port 5 arguments: <device_id> <port_id> missing error: Invalid argument [root@fedora ~]# spa-acp-tool set-profile 3 [root@fedora ~]# spa-acp-tool set-profile 1 [root@fedora ~]# spa-acp-tool set-port 2 arguments: <device_id> <port_id> missing error: Invalid argument [root@fedora ~]# Link to comment Share on other sites More sharing options...
@sunrise Posted January 10, 2022 Report Share Posted January 10, 2022 39 minut temu, fraktal15 napisał: dla portów - wyrzuca błąd Wygląda, że trzeba podać jeszcze device Zapewne będzie coś takiego. przełączenie na hdmi spa-acp-tool set-port 7 5 przełączenie na głośniki spa-acp-tool set-port 5 2 Niestety dokumentacja jest dość uboga. 1 Link to comment Share on other sites More sharing options...
fraktal15 Posted January 10, 2022 Author Report Share Posted January 10, 2022 [panekadamek@fedora ~]$ spa-acp-tool set-port 7 5 error: Invalid argument [panekadamek@fedora ~]$ spa-acp-tool set-port 5 2 'm' failed at ../spa/plugins/alsa/acp/alsa-mixer.c:1422 pa_alsa_path_select() Przerwane (zrzut pamięci) [panekadamek@fedora ~]$ spa-acp-tool set-port 5 2 'm' failed at ../spa/plugins/alsa/acp/alsa-mixer.c:1422 pa_alsa_path_select() Przerwane (zrzut pamięci) Link to comment Share on other sites More sharing options...
@sunrise Posted January 10, 2022 Report Share Posted January 10, 2022 Ja już nic innego nie wymyślę :( Link to comment Share on other sites More sharing options...
fraktal15 Posted January 10, 2022 Author Report Share Posted January 10, 2022 Trudno i tak się bardzo starałeś pomóc, za co jestem bardzo wdzięczny. Może za jakiś czas, ktoś znajdzie rozwiązanie. Link to comment Share on other sites More sharing options...
@sunrise Posted January 10, 2022 Report Share Posted January 10, 2022 Spróbuj jeszcze jednego polecenia Cytuj pactl load-module module-switch-on-connect Link to comment Share on other sites More sharing options...
fraktal15 Posted January 11, 2022 Author Report Share Posted January 11, 2022 [panekadamek@fedora ~]$ pactl load-module module-switch-on-connect 262150 [panekadamek@fedora ~]$ pactl load-module module-switch-on-connect 262151 [panekadamek@fedora ~]$ pactl load-module module-switch-on-connect 262152 Link to comment Share on other sites More sharing options...
@sunrise Posted January 11, 2022 Report Share Posted January 11, 2022 10 minut temu, fraktal15 napisał: [panekadamek@fedora ~]$ pactl load-module module-switch-on-connect 262150 [panekadamek@fedora ~]$ pactl load-module module-switch-on-connect 262151 [panekadamek@fedora ~]$ pactl load-module module-switch-on-connect 262152 Wystarczy raz :) Jak już masz załadowany moduł to podłącz do HDMI, wątpię żeby pomogło, ale kto wie. Link to comment Share on other sites More sharing options...
fraktal15 Posted January 13, 2022 Author Report Share Posted January 13, 2022 niestety nie pomogło. W wolnej chwili zgłoszę buga. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now