Le 18/03/2018 à 23:27, stan a écrit :
> On Sun, 18 Mar 2018 11:33:36 +0100
> François Patte <francois.pa...@mi.parisdescartes.fr> wrote:
> 


Googleing a lot, I tried some configuration "by hand" and reach a state
that I cannot understand.

I used:  pacmd list-cards in order to identify my cards:

----------------------------------------------------------->
2 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_01_00.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
<snip> /forget it, I don't want to use it/

    index: 1
        name: <alsa_card.pci-0000_00_1b.0>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7430000 irq 35"
<snip>

        sinks:
                alsa_output.pci-0000_00_1b.0.iec958-stereo/#0: Audio interne 
Stéréo
numérique (IEC958)
        sources:
                alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor/#0: Monitor 
of
Audio interne Stéréo numérique (IEC958)
                alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Audio interne 
Stéréo
analogique
<-------------------------------------------------------------

So, the card name is "alsa_card.pci-0000_00_1b.0" or index 1.

I tried:

pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo

and it worked : the digital audio was replaced by the analogic audio and
sound is working.

I tried to perenise that :

echo 'set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo'
> ~fp/.config/pulse/default.pa

killed pulseaudio: pkill -f pulseaudio and restarted it:  pulseaudio --start

but: E: [pulseaudio] main.c: Échec lors du démarrage du démon.

reason:
mars 19 22:11:31 dipankar pulseaudio[17422]: *No card found by this name
or index*.
mars 19 22:11:31 dipankar pulseaudio[17422]: Échec lors de
l'initialisation du démon

lol!

Same result if I replace the card name by the index 1....

Who can explain?

Thank you.


-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to