IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Mandriva / Mageia Discussion :

Avoir du "surround"


Sujet :

Mandriva / Mageia

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre éclairé Avatar de Thrystan
    Inscrit en
    Avril 2003
    Messages
    346
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 346
    Par défaut Avoir du "surround"
    Bonjour,

    Comment configurer KDE, Alsa, OSS ou le matériel pour bénéficier des quatre haut-parleurs et du caisson de basse ? Pour l'instant, avec Xmms ou Mplayer par exemple, le son ne sort que par les deux haut-parleurs frontaux et le caisson de basse.

    Thrystan.

  2. #2
    Membre expérimenté

    Homme Profil pro
    Technicien Help Desk
    Inscrit en
    Juillet 2004
    Messages
    2 756
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Seine Maritime (Haute Normandie)

    Informations professionnelles :
    Activité : Technicien Help Desk

    Informations forums :
    Inscription : Juillet 2004
    Messages : 2 756
    Par défaut
    Bonjour Thrystan

    Si tu utilises Mplayer regarde du coté du filtre panoramique

    Le mieux regarde cette documentation : Périphériques de sortie audio

  3. #3
    Membre expérimenté
    Avatar de berry
    Profil pro
    Étudiant
    Inscrit en
    Décembre 2002
    Messages
    251
    Détails du profil
    Informations personnelles :
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Décembre 2002
    Messages : 251
    Par défaut
    tout depend de la carte son . Je sais qu'il existe un pilote (encore au stade experimental je crois) pour sound blaster live 5.1 . Renseigne toi sur le site du contructeur de la carte son ...

  4. #4
    Membre éclairé Avatar de Thrystan
    Inscrit en
    Avril 2003
    Messages
    346
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 346
    Par défaut
    Citation Envoyé par Andy C.
    Si tu utilises Mplayer regarde du coté du filtre panoramique
    Le mieux regarde cette documentation : Périphériques de sortie audio
    J'ai regardé cette doc, mais elle ne m'aide pas. Si j'exécute la comande que je trouve dans la section "Décodeur de son surround" j'ai un son qui grésille, et je n'ai plus d'interface graphique (je ne sais même pas comment arrêter Mplayer,à part Ctrl+Alt+Esc...)
    Du coup, j'ai pas envie d'essayer ce qu'ils disent pour le son panoramique ! Il n'y a pas moyen de régler ça à partir de l'interface graphique ?

    Mais est-ce que mon problème n'est pas indépendant de Mplayer ? Car avec Xmms aussi j'aimerais bien avoir du surround...

    Citation Envoyé par berry
    tout depend de la carte son . Je sais qu'il existe un pilote (encore au stade experimental je crois) pour sound blaster live 5.1 . Renseigne toi sur le site du contructeur de la carte son ...
    Je n'ai pas encore cherché...

    Thrystan.

  5. #5
    Membre éclairé Avatar de Thrystan
    Inscrit en
    Avril 2003
    Messages
    346
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 346
    Par défaut
    J’ai téléchargé les drivers Linux pour ma carte son intégrée C-Media 9739A sur le site de C-Media. Malheureusement, je n’arrive pas à les installer. Vous pouvez sûrement m’aider. Voici la procédure d’installation dans le fichier README :
    Citation Envoyé par Readme
    Step 1. Unzip source code
    tar xzf cmaudio-041.tar.gz
    Step 2. Turn on sound support (soundcore module)
    Step 3. Complied source code
    make
    make install
    Step 4. Edit your /etc/modules.conf or conf.modules depending on the Distribution
    alias sound-slot-0 cmaudio
    post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
    pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
    Step 5. reboot your machine
    Le problème est que je ne comprends pas le "Step 3"… Je n'en ai donc pas tenu compte, mais évidemment l’installation échoue. Pouvez-vous m’expliquer ce que je dois faire ?

    Thrystan.

  6. #6
    Membre expérimenté

    Homme Profil pro
    Technicien Help Desk
    Inscrit en
    Juillet 2004
    Messages
    2 756
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Seine Maritime (Haute Normandie)

    Informations professionnelles :
    Activité : Technicien Help Desk

    Informations forums :
    Inscription : Juillet 2004
    Messages : 2 756
    Par défaut
    alors alors en :

    1. tu dézippes ta source

    2. Tu saisis make

    3. enfin make install

    voilà

  7. #7
    Membre éclairé Avatar de Thrystan
    Inscrit en
    Avril 2003
    Messages
    346
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 346
    Par défaut
    C'est ce que je fais, mais ça ne marche pas, j'ai droit à une erreur...

    Il n'y a pas autre chose à faire avant, qui correspondrait au "step 3" ? Que veut dire : Turn on sound support (soundcore module) ?

    Thrystan.

  8. #8
    Membre expérimenté
    Avatar de berry
    Profil pro
    Étudiant
    Inscrit en
    Décembre 2002
    Messages
    251
    Détails du profil
    Informations personnelles :
    Localisation : France, Meurthe et Moselle (Lorraine)

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Décembre 2002
    Messages : 251
    Par défaut
    Citation Envoyé par Thrystan
    C'est ce que je fais, mais ça ne marche pas, j'ai droit à une erreur....
    laquelle ?

    Que veut dire : Turn on sound support (soundcore module) ?
    t'assurer qu'un module "son" est chargé (enfin, je pense).

  9. #9
    Membre éclairé Avatar de Thrystan
    Inscrit en
    Avril 2003
    Messages
    346
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 346
    Par défaut
    Voici les messages d'erreurs que j'obtiens lorsque je tente d'installer les drivers de ma carte son :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    [root@localhost cmaudio]# make
    cc -D__KERNEL__  -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE    -c -o main.o main.c
    In file included from /usr/include/linux/cpumask.h:8,
                     from /usr/include/linux/sched.h:14,
                     from /usr/include/linux/module.h:9,
                     from cmaudio.h:1,
                     from main.c:1:
    /usr/include/linux/bitmap.h: In function `bitmap_shift_right':
    /usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in this function)
    /usr/include/linux/bitmap.h:85: error: (Each undeclared identifier is reported only once
    /usr/include/linux/bitmap.h:85: error: for each function it appears in.)
    /usr/include/linux/bitmap.h: In function `bitmap_shift_left':
    /usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in this function)
    In file included from /usr/include/linux/sched.h:14,
                     from /usr/include/linux/module.h:9,
                     from cmaudio.h:1,
                     from main.c:1:
    /usr/include/linux/cpumask.h:10:5: missing binary operator before token "("
    /usr/include/linux/cpumask.h:34:5: missing binary operator before token "("
    In file included from /usr/include/asm/siginfo.h:4,
                     from /usr/include/linux/signal.h:7,
                     from /usr/include/linux/sched.h:24,
                     from /usr/include/linux/module.h:9,
                     from cmaudio.h:1,
                     from main.c:1:
    /usr/include/asm-generic/siginfo.h: At top level:
    /usr/include/asm-generic/siginfo.h:53: error: size of array `_pad' is too large
    In file included from /usr/include/linux/gfp.h:4,
                     from /usr/include/linux/slab.h:15,
                     from /usr/include/linux/percpu.h:4,
                     from /usr/include/linux/sched.h:30,
                     from /usr/include/linux/module.h:9,
                     from cmaudio.h:1,
                     from main.c:1:
    /usr/include/linux/mmzone.h:333: error: parse error before '(' token
    /usr/include/linux/mmzone.h:334: error: parse error before numeric constant
    In file included from /usr/include/linux/module.h:20,
                     from cmaudio.h:1,
                     from main.c:1:
    /usr/include/asm/module.h:54:2: #error unknown processor family
    In file included from cmaudio.h:2,
                     from main.c:1:
    /usr/include/linux/version.h:2:2: #error "======================================================="
    /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
    /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
    /usr/include/linux/version.h:5:2: #error ""
    /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
    /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
    /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
    /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
    /usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
    /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
    /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
    /usr/include/linux/version.h:13:2: #error ""
    /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
    /usr/include/linux/version.h:15:2: #error ""
    /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
    /usr/include/linux/version.h:17:2: #error ""
    /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
    /usr/include/linux/version.h:19:2: #error "   /lib/modules/`uname -r`/build exists and points to"
    /usr/include/linux/version.h:20:2: #error "   the matching kernel source directory"
    /usr/include/linux/version.h:21:2: #error ""
    /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
    /usr/include/linux/version.h:23:2: #error "   /lib/modules/`uname -r`/build/include/linux/version.h"
    /usr/include/linux/version.h:24:2: #error ""
    /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
    /usr/include/linux/version.h:26:2: #error "   compiler option to use the correct include files:"
    /usr/include/linux/version.h:27:2: #error ""
    /usr/include/linux/version.h:28:2: #error "   -I/lib/modules/`uname -r`/build/include"
    /usr/include/linux/version.h:29:2: #error ""
    /usr/include/linux/version.h:30:2: #error "   instead of"
    /usr/include/linux/version.h:31:2: #error ""
    /usr/include/linux/version.h:32:2: #error "   -I/usr/include/linux"
    /usr/include/linux/version.h:33:2: #error ""
    /usr/include/linux/version.h:34:2: #error "   Please adjust the Makefile accordingly."
    /usr/include/linux/version.h:35:2: #error "======================================================="
    In file included from /usr/include/linux/mm.h:206,
                     from /usr/include/asm/pci.h:7,
                     from /usr/include/linux/pci.h:721,
                     from cmaudio.h:11,
                     from main.c:1:
    /usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
    /usr/include/linux/page-flags.h:119: error: requested alignment is not a constant
    In file included from main.c:1:
    cmaudio.h:19:27: linux/wrapper.h: No such file or directory
    In file included from /usr/include/linux/irq.h:20,
                     from /usr/include/asm/hardirq.h:6,
                     from cmaudio.h:21,
                     from main.c:1:
    /usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
    In file included from /usr/include/asm/hardirq.h:6,
                     from cmaudio.h:21,
                     from main.c:1:
    /usr/include/linux/irq.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
    /usr/include/linux/irq.h:68: error: requested alignment is not a constant
    /usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
    In file included from /usr/include/linux/irq.h:72,
                     from /usr/include/asm/hardirq.h:6,
                     from cmaudio.h:21,
                     from main.c:1:
    /usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
    /usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
    In file included from cmaudio.h:21,
                     from main.c:1:
    /usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
    /usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
    main.c: In function `alloc_dmabuf':
    main.c:450: warning: implicit declaration of function `mem_map_reserve'
    main.c: In function `dealloc_dmabuf':
    main.c:503: warning: implicit declaration of function `mem_map_unreserve'
    main.c: In function `cmedia_probe':
    main.c:1989: error: structure has no member named `driver_data'
    main.c: In function `cmedia_remove':
    main.c:2005: error: structure has no member named `driver_data'
    main.c: In function `cmedia_init_module':
    main.c:2063: warning: implicit declaration of function `pci_present'
    make: *** [main.o] Erreur 1
     
     
    [root@localhost cmaudio]# make install
    mkdir -p //lib/modules/2.4.25-2mdk/kernel/drivers/sound
    install -b -m 644 cmaudio.o //lib/modules/2.4.25-2mdk/kernel/drivers/sound
    install: ne peut évaluer `cmaudio.o': No such file or directory
    make: *** [install] Erreur 1
    Ca vous fait avancer ?

    Merci pour votre aide, Thrystan.

  10. #10
    Membre Expert

    Homme Profil pro
    Inscrit en
    Juillet 2003
    Messages
    2 075
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Ardennes (Champagne Ardenne)

    Informations forums :
    Inscription : Juillet 2003
    Messages : 2 075
    Par défaut
    salut
    As tu les sources de ton noyau installées sur ta machine? Visiblement d'après le message il faut les avoir pour installer ce module

  11. #11
    Membre éclairé Avatar de Thrystan
    Inscrit en
    Avril 2003
    Messages
    346
    Détails du profil
    Informations forums :
    Inscription : Avril 2003
    Messages : 346
    Par défaut
    Oui je les ai, et ce sont les bonnes puisque j'ai réussi à installer les drivers Nvidia...

    Thrystan.

+ Répondre à la discussion
Cette discussion est résolue.

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo