logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 03-10-2016 23:31:53

mapomme1108
Membre
Inscription : 03-02-2016

Carte son Realtek ALC662 pas trouvée

Bonjour,

Je suis nouveau sous Debian.

J'ai installé Debian 8.6 sur mon PC de salon.
La carte mère est une ASRock AM1B-ITX avec comme carte son la Realtek ALC662.

J'ai téléchargé et tenté d'installer les drivers du site officiel Realtek mais j'ai des erreurs :
la commande ./configure se passe bien

la commande make retourne :

make dep
make[1]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa'
make[2]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include'
make -C sound prepare
make[3]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound'
make prepare2
make[4]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound'
make[4]: Nothing to be done for 'prepare2'.
make[4]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound'
make[3]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound'
make[2]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include'
[...]
make[1]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa'
make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa  CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
  CC [M]  /home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.o
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c: In function ‘snd_pcm_file_fd’:
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c:1647:2: error: implicit declaration of function ‘fget_light’ [-Werror=implicit-function-declaration]
  file = fget_light(fd, fput_needed);
  ^
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c:1647:7: warning: assignment makes pointer from integer without a cast
  file = fget_light(fd, fput_needed);
       ^
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c: In function ‘snd_pcm_lib_mmap_iomem’:
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.c:3453:26: warning: unused variable ‘runtime’ [-Wunused-variable]
  struct snd_pcm_runtime *runtime = substream->runtime;;
                          ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:262: recipe for target '
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.o' failed
make[5]: *** [/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore/pcm_native.o] Error 1
/usr/src/linux-headers-3.16.0-4-common/scripts/Makefile.build:409: recipe for target '
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore' failed
make[4]: *** [/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore] Error 2
/usr/src/linux-headers-3.16.0-4-common/Makefile:1352: recipe for target '
_module_/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa' failed
make[3]: *** [_module_/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa] Error 2
Makefile:181: recipe for target '
sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target '
all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '
/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:167: recipe for target '
compile' failed
make: *** [compile] Error 2


bloc à supprimer si la commande n’affiche rien






la commande make install retourne :

if [ -L /usr/include/sound ]; then \
        rm -f /usr/include/sound; \
        ln -sf /home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include/sound /usr/include/sound; \
else \
        rm -rf /usr/include/sound; \
        install -d -m 755 -g root -o root /usr/include/sound; \
        for f in include/sound/*.h; do \
                install -m 644 -g root -o root $f /usr/include/sound; \
        done \
fi
find /lib/modules/3.16.0-4-amd64/kernel/sound -name 'snd*.*o' | xargs rm -f
find /lib/modules/3.16.0-4-amd64/kernel/sound -name 'snd*.*o.gz' | xargs rm -f
find /lib/modules/3.16.0-4-amd64/kernel/sound -name 'ac97_bus.*o' | xargs rm -f
find /lib/modules/3.16.0-4-amd64/kernel/sound -name 'ac97_bus.*o.gz' | xargs rm -f
make[1]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include'
make[1]: Nothing to be done for 'modules_install'.
make[1]: Leaving directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/include'
make[1]: Entering directory '/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore'
mkdir -p /lib/modules/3.16.0-4-amd64/kernel/sound/acore
cp snd-hrtimer.ko snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-timer.ko snd.ko /lib/modules/3.16.0-4-amd64/kernel/sound/acore
cp: impossible d'évaluer « snd-hrtimer.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'
évaluer « snd-hwdep.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer « snd-page-alloc.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'
évaluer « snd-pcm.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer « snd-rawmidi.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'
évaluer « snd-timer.ko »: Aucun fichier ou dossier de ce type
cp: impossible d'évaluer « snd.ko »: Aucun fichier ou dossier de ce type
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/Rules.make:48: recipe for target '
modules_install' failed
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory '
/home/francois/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/acore'
Makefile:206: recipe for target '
install-modules' failed
make: *** [install-modules] Error 1


bloc à supprimer si la commande n’affiche rien

Hors ligne

#2 04-10-2016 05:12:32

èfpé
Membre
Inscription : 10-07-2016

Re : Carte son Realtek ALC662 pas trouvée

Bonjour François,

Le pilote que tu essaies de compiler est obsolète (21 mai 2014 vs 25 avril 2015 pour Debian 8.0) :

cat ~/Rt-Linux-HDaudio-5.18/alsa-driver-RTv5.18/alsa/SUPPORTED_KERNELS


The alsa-drivers in this package are designed for the following kernels:

 - Vanilla 3.0 to 3.2
 - Vanilla 2.6.18 to 2.6.39

It's not guaranteed that they work with any newer version than above
or modified kernels by distributors.


As-tu consulté le chouette tutoriel local avant de te lancer dans cette aventure ? Quoi qu'il en soit, les retours de ces commandes pourraient nous aider à t'aider :

lspci -nnk | grep -iA 2 audio


aplay -l


lsmod | grep snd_hda_


dmesg | grep -i hda


pacmd list-cards | grep -E 'index:|alsa.card_name|device.description'


Cette dernière n'ayant de sens que si PulseAudio est effectivement installé. Courage smile

Dernière modification par èfpé (04-10-2016 05:32:42)

Hors ligne

#3 04-10-2016 07:21:33

mapomme1108
Membre
Inscription : 03-02-2016

Re : Carte son Realtek ALC662 pas trouvée

Salut,

Les drivers sont pourtant les derniers sur le site de Realtek. Peut-on en trouver des plus récents?

Je vais essayer ces drivers sur une Debian Wheezy

Voilà ce que retourne les commandes :

lspci -nnk | grep -iA 2 audio


00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio [1002:9840]
        Subsystem: ASRock Incorporation Device [1849:9840]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0 [1022:1538]
--
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 02)
        Subsystem: ASRock Incorporation Device [1849:a662]
00:14.3 ISA bridge [0601]: A



aplay -l


aplay: device_list:268: aucune carte son n'a été trouvée...



Les trois commandes suivantes ne retournent rien

Edit à toto :
Mis les commandes user (Bouton Commande user) séparées de leurs retours à inscrire dans le bloc où il est écrit : "bloc à supprimer si la commande n’affiche rien". C'est-y pas plus beau et donc plus lisible par tous ainsi ?

Dernière modification par mapomme1108 (04-10-2016 10:47:46)

Hors ligne

#4 04-10-2016 13:38:38

èfpé
Membre
Inscription : 10-07-2016

Re : Carte son Realtek ALC662 pas trouvée

Re-,

Quelqu'un a peut-être publié, quelque part, un patch non officiel testé sur Ubuntu... je ne chercherai pas. Mais à lire certaines discussions ici ou , j'ai l'impression que le circuit ALC662 peut être taquin (voire franchement capillo-blanchissant). Il semble également qu'il peut parfois (voir ici ou ) tomber en marche ; selon l'implémentation ? À noter que la 'carte' HDMI n'étant pas vue non plus, je serais tenté de tenter l'installation d'un noyau Linux plus récent (version 4.7, dépôt jessie-backports).

Dernière modification par èfpé (04-10-2016 13:48:38)

Hors ligne

Pied de page des forums