ptitou Posté(e) le 19 mars 2018 Partager Posté(e) le 19 mars 2018 bonjour, je souhaite ajouter une interface réseau sur mon DS216+II et j'ai acheté un module USB3/Ethernet Gigabit de marque UGREEN. Lorsque je le branche, je le vois bien apparaitre dans les modules USB : root@synonas:~# usb-devices T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=5000 MxCh= 0 D: Ver= 3.00 Cls=ff(vend.) Sub=ff Prot=00 MxPS= 9 #Cfgs= 1 P: Vendor=0b95 ProdID=1790 Rev=01.00 S: Manufacturer=ASIX Elec. Corp. S: Product=AX88179 S: SerialNumber=00000000000F85 C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=496mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=(none) Mais impossible de charger un driver, je ne trouve rien. De lorsque que j'essaie de recompiler les modules, j'obtiens une erreur lors du make modules drivers/usb/core/port.c: In function 'usb_hub_create_port_device': drivers/usb/core/port.c:147:36: error: 'CONFIG_SYNO_NUM_CASTRATED_XHC' undeclared (first use in this function) extern char gSynoCastratedXhcAddr[CONFIG_SYNO_NUM_CASTRATED_XHC][13]; ^ drivers/usb/core/port.c:147:36: note: each undeclared identifier is reported only once for each function it appears in drivers/usb/core/port.c:151:35: error: 'CONFIG_SYNO_USB_VBUS_NUM_GPIO' undeclared (first use in this function) extern char gSynoUsbVbusHostAddr[CONFIG_SYNO_USB_VBUS_NUM_GPIO][13]; ^ drivers/usb/core/port.c:154:6: warning: unused variable 'value' [-Wunused-variable] int value = 0; ^ drivers/usb/core/port.c:153:18: warning: unused variable 'gSynoUsbVbusGpp' [-Wunused-variable] extern unsigned gSynoUsbVbusGpp[CONFIG_SYNO_USB_VBUS_NUM_GPIO]; ^ drivers/usb/core/port.c:152:13: warning: unused variable 'gSynoUsbVbusPort' [-Wunused-variable] extern int gSynoUsbVbusPort[CONFIG_SYNO_USB_VBUS_NUM_GPIO]; ^ drivers/usb/core/port.c:151:14: warning: unused variable 'gSynoUsbVbusHostAddr' [-Wunused-variable] extern char gSynoUsbVbusHostAddr[CONFIG_SYNO_USB_VBUS_NUM_GPIO][13]; ^ drivers/usb/core/port.c:148:18: warning: unused variable 'gSynoCastratedXhcPortBitmap' [-Wunused-variable] extern unsigned gSynoCastratedXhcPortBitmap[CONFIG_SYNO_NUM_CASTRATED_XHC]; ^ drivers/usb/core/port.c:147:14: warning: unused variable 'gSynoCastratedXhcAddr' [-Wunused-variable] extern char gSynoCastratedXhcAddr[CONFIG_SYNO_NUM_CASTRATED_XHC][13]; ^ scripts/Makefile.build:308: recipe for target 'drivers/usb/core/port.o' failed make[3]: *** [drivers/usb/core/port.o] Error 1 scripts/Makefile.build:455: recipe for target 'drivers/usb/core' failed make[2]: *** [drivers/usb/core] Error 2 scripts/Makefile.build:455: recipe for target 'drivers/usb' failed make[1]: *** [drivers/usb] Error 2 Makefile:800: recipe for target 'drivers' failed make: *** [drivers] Error 2 Est-ce que l'un d'entre vous a déjà rencontré ce type d'erreur ? Merci. Lien vers le commentaire Partager sur d’autres sites More sharing options...
ptitou Posté(e) le 19 mars 2018 Auteur Partager Posté(e) le 19 mars 2018 Bon j'ai réussi à compiler les driver, mais quand je tente un insmod j'ai une erreur :( root@synonas:/tmp# insmod ax88179_178a.ko insmod: ERROR: could not insert module ax88179_178a.ko: Unknown symbol in module root@synonas:/tmp# insmod asix.ko insmod: ERROR: could not insert module asix.ko: Unknown symbol in module j'avance petit à petit :) Lien vers le commentaire Partager sur d’autres sites More sharing options...
ptitou Posté(e) le 19 mars 2018 Auteur Partager Posté(e) le 19 mars 2018 C'est bon j'ai trouvé ! alors il faut d'abord charger le module mii, puis usbnet puis ax88179_178a et là mon interface est bien montée ;) Lien vers le commentaire Partager sur d’autres sites More sharing options...
Kouba Posté(e) le 26 avril 2022 Partager Posté(e) le 26 avril 2022 I know this is old but I came across the same error Learn what platform you are using uname -a Before you run 'make modules' copy the config file of your platform cp -a synoconfigs/<platformname> .config Then run 'make menuconfig' or 'make modules' Lien vers le commentaire Partager sur d’autres sites More sharing options...
Lelolo Posté(e) le 27 avril 2022 Partager Posté(e) le 27 avril 2022 Le problème est maintenant résolu. N'hésitez pas à ouvrir un nouveau message en cas de problème. Ceci est une réponse automatique. Lien vers le commentaire Partager sur d’autres sites More sharing options...
Messages recommandés