merci beaucoup Brugmans Frédéric, mais je crois que je vais avoir besoins d'un peu d'explication...
le patch est, au depart, pour une Debian, je suis sous fedora...cela pose t il probleme ?
d'une autre, j'ai ouvert le patch et j'ai regardé un peu comment ce patch allait modifier les fichiers et surtout lesquels...
je donne deux petits extrait :
Citation
Patch ice1712_revo
Index: 2.6.12/sound/pci/ice1712/revo.h
===================================================================
--- 2.6.12.orig/sound/pci/ice1712/revo.h 2005-07-04 16:41:34.000000000 +0100
+++ 2.6.12/sound/pci/ice1712/revo.h 2005-07-15 15:26:07.000000000 +0100
@@ -25,9 +25,11 @@
*/
#define REVO_DEVICE_DESC \
- "{MidiMan M Audio,Revolution 7.1},"
+ "{MidiMan M Audio,Revolution 7.1},"\
+ "{MidiMan M Audio,Revolution 5.1},"
#define VT1724_SUBDEVICE_REVOLUTION71 0x12143036
+#define VT1724_SUBDEVICE_REVOLUTION51 0x12143136
/* entry point */
extern struct snd_ice1712_card_info snd_vt1724_revo_cards[];
il est question d'un fichier "revo.h", hors une recherche sur l'ensemble du system ne me donne aucun fichier de ce nom...
la deuxiéme partie du patch donne ceci :
Citation
patch ice1712_revo
--- 2.6.12.orig/sound/pci/ice1712/revo.c 2005-07-04 16:41:34.000000000 +0100
+++ 2.6.12/sound/pci/ice1712/revo.c 2005-07-15 15:40:13.000000000 +0100
@@ -1,7 +1,7 @@
/*
* ALSA driver for ICEnsemble ICE1712 (Envy24)
*
- * Lowlevel functions for M-Audio Revolution 7.1
+ * Lowlevel functions for M-Audio Revolution 7.1 and 5.1
*
* Copyright (c) 2003 Takashi Iwai <tiwai@suse.de>
*
@@ -150,6 +150,10 @@
ice->num_total_dacs = 8;
ice->num_total_adcs = 2;
break;
+ case VT1724_SUBDEVICE_REVOLUTION51:
+ ice->num_total_dacs = 6;
+ ice->num_total_adcs = 2;
+ break;
default:
snd_BUG();
return -EINVAL;
@@ -164,6 +168,7 @@
ice->akm_codecs = 2;
switch (ice->eeprom.subvendor) {
case VT1724_SUBDEVICE_REVOLUTION71:
+ case VT1724_SUBDEVICE_REVOLUTION51:
if ((err = snd_ice1712_akm4xxx_init(ak, &akm_revo_front, &akm_revo_front_priv, ice)) < 0)
return err;
if ((err = snd_ice1712_akm4xxx_init(ak + 1, &akm_revo_surround, &akm_revo_surround_priv, ice)) < 0)
@@ -185,6 +190,7 @@
switch (ice->eeprom.subvendor) {
case VT1724_SUBDEVICE_REVOLUTION71:
+ case VT1724_SUBDEVICE_REVOLUTION51:
err = snd_ice1712_akm4xxx_build_controls(ice);
if (err < 0)
return err;
@@ -201,5 +207,12 @@
.chip_init = revo_init,
.build_controls = revo_add_controls,
},
+ {
+ .subvendor = VT1724_SUBDEVICE_REVOLUTION51,
+ .name = "M Audio Revolution-5.1",
+ .model = "revo51",
+ .chip_init = revo_init,
+ .build_controls = revo_add_controls,
+ },
{ } /* terminator */
};
là, il est question d'un fichier "revo.c", dont je ne trouve aucune trace sur le system.
si je suis le chemin indiqué dans le patch, j'en trouve trois corespondant au Kernel utilisé :
/lib/modules/2.6.12-1.1398_FC4/kernel/sound/pci/ice1712 ou ce trouve les fichiers suivants :
drwxr-xr-x 2 root root 4096 aoû 11 22:40 .
drwxr-xr-x 17 root root 4096 aoû 11 21:27 ..
-rwxr--r-- 1 root root 88296 jui 15 08:15 snd-ice1712.ko
-rwxr--r-- 1 root root 77584 jui 15 08:15 snd-ice1724.ko
-rwxr--r-- 1 root root 6188 jui 15 08:15 snd-ice17xx-ak4xxx.ko
/usr/src/kernels/2.6.12-1.1398_FC4-i686/include/config/snd/ice1712 avec les fichiers :
total 24
drwxr-xr-x 2 root root 4096 aoû 11 21:46 .
drwxr-xr-x 85 root root 4096 aoû 11 21:46 ..
-rw-r--r-- 1 root root 36 jun 3 04:54 module.h
et enfin le dernier,
/usr/src/kernels/2.6.12-1.1398_FC4-i686/sound/pci/ice1712 avec :
total 24
drwxr-xr-x 2 root root 4096 aoû 11 21:46 .
drwxr-xr-x 17 root root 4096 aoû 11 21:46 ..
-rw-r--r-- 1 root root 433 jun 3 05:04 Makefile
donc avec tout ça...je suis un peu perdu, meme en faisait un "man patch" c'est assez obscure de meme que le numero à mettre correspondant à "patch -pnum" à quoi correspond ce numero ?
dommage que l'auteur n'est pas integré un "readme", ca aurait bcp aidé.
desolé d'avoir été aussi long en esperant que quelqu'un de courageux puisse m'eclairer.