- Le kernel module est correctement chargé mais je n'ai aucun msg
indiquant que la clé est maintenant reconnue (dmesg , /var/log/messages).
- L'interface ndis0 n'est pas fonctionnelle:
aurora# wicontrol -i ndis0
wicontrol: SIOCGWAVELAN: Device not configured
- Après un post sur un NG anglophone, on m'a proposé d'utiliser ndisgen:
aurora# ndisgen SMC2862W.inf 2862WC51.sys
("enter" plusieurs fois pour valider).
>This .INF file appears to be ASCII.
>This .SYS file appears to be in Windows(r) PE format.
>Conversion was successful.
>Kernel module generation:
The script will now try to generate the kernel driver module.
This is the last step. Once this module is generated, you should
be able to load it just like any other FreeBSD driver module.
Press enter to compile the stub module and generate the driver
module now:
Generating Makefile... done.
Building kernel module... /usr/share/misc/windrv_stub.c:143:16: invalid suffix "WC51_sys_drv_data_start" on integer constant
/usr/share/misc/windrv_stub.c:143: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:144:16: invalid suffix "WC51_sys_drv_data_end" on integer constant
/usr/share/misc/windrv_stub.c:144: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pci_driver_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pci_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pci_driver_mod" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pci_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: initializer element is not constant
/usr/share/misc/windrv_stub.c:190: error: (near initialization for `_mod_metadata_md_2862WC51_sys_pci.md_data')
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pcimodule_sys_init" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pci_mod" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pcimodule_sys_init" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_cardbus_driver_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_cardbus_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_cardbus_driver_mod" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_cardbus_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: initializer element is not constant
/usr/share/misc/windrv_stub.c:190: error: (near initialization for `_mod_metadata_md_2862WC51_sys_cardbus.md_data')
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_cardbusmodule_sys_init" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_cardbus_mod" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_cardbusmodule_sys_init" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pccard_driver_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pccard_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pccard_driver_mod" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pccard_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: initializer element is not constant
/usr/share/misc/windrv_stub.c:190: error: (near initialization for `_mod_metadata_md_2862WC51_sys_pccard.md_data')
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pccardmodule_sys_init" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pccard_mod" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_pccardmodule_sys_init" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_uhub_driver_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_uhub_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_uhub_driver_mod" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_uhub_mod" on integer constant
/usr/share/misc/windrv_stub.c:190: error: initializer element is not constant
/usr/share/misc/windrv_stub.c:190: error: (near initialization for `_mod_metadata_md_2862WC51_sys_uhub.md_data')
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_uhubmodule_sys_init" on integer constant
/usr/share/misc/windrv_stub.c:190: error: syntax error before numeric constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_uhub_mod" on integer constant
/usr/share/misc/windrv_stub.c:190:1: invalid suffix "WC51_sys_uhubmodule_sys_init" on integer constant
/usr/share/misc/windrv_stub.c:210:33: invalid suffix "WC51_sys_drv_data_start" on integer constant
/usr/share/misc/windrv_stub.c:211:31: invalid suffix "WC51_sys_drv_data_end" on integer constant
/usr/share/misc/windrv_stub.c:204: warning: 'windrv_modevent' defined but not used
/usr/share/misc/windrv_stub.c:171: warning: 'windrv_driver' defined but not used
/usr/share/misc/windrv_stub.c:177: warning: 'windrv_devclass' defined but not used
build failed. Exiting.
aurora# ls -ltr
total 3682
-rw-r--r-- 1 root wheel 7932 Nov 22 22:22 SMC2862W.cat
-rw-r--r-- 1 root wheel 221184 Nov 22 22:22 DSCU2862.exe
-rw-r--r-- 1 root wheel 349856 Nov 22 22:22 2862WC51.sys
-rw-r--r-- 1 root wheel 2696904 Nov 22 22:23 ndis_driver_data.h
-rw-r--r-- 1 root wheel 15040 Dec 10 11:40 SMC2862W.inf.old
lrwxr-xr-x 1 root wheel 25 Dec 10 11:43 machine -> /usr/src/sys/i386/include
lrwxr-xr-x 1 root wheel 12 Dec 10 11:43 @ -> /usr/src/sys
-rw-r--r-- 1 root wheel 14646 Dec 10 11:46 SMC2862W.inf
-rw-r--r-- 1 root wheel 350263 Dec 10 11:56 windrv.o
-rw-r--r-- 1 root wheel 2943 Dec 10 11:56 windrv.h
-rw-r--r-- 1 root wheel 1 Dec 10 11:57 device_if.h
-rw-r--r-- 1 root wheel 1 Dec 10 11:57 bus_if.h
-rw-r--r-- 1 root wheel 1091 Dec 10 11:57 .depend
Est ce qu'il y a autre chose à tenter ou cette clé est définitivement
à jeter à la poubelle ? (bien que linux ne soit pas la référence, elle
fonctionne correctement sur la meme machine sous Debian Unstable et
l'émulation NDIS).
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Thierry Thomas
Samedi 10 décembre 2005 à 11:02 GMT, Nicolas LIENARD a écrit :
Est ce qu'il y a autre chose à tenter ou cette clé est définitivement à jeter à la poubelle ? (bien que linux ne soit pas la référence, elle fonctionne correctement sur la meme machine sous Debian Unstable et l'émulation NDIS).
Sans doute que NDIS ne supporte pas [encore ?] les périphériques USB sous FreeBSD. -- Th. Thomas.
Samedi 10 décembre 2005 à 11:02 GMT, Nicolas LIENARD a écrit :
Est ce qu'il y a autre chose à tenter ou cette clé est définitivement
à jeter à la poubelle ? (bien que linux ne soit pas la référence, elle
fonctionne correctement sur la meme machine sous Debian Unstable et
l'émulation NDIS).
Sans doute que NDIS ne supporte pas [encore ?] les périphériques USB
sous FreeBSD.
--
Th. Thomas.
Samedi 10 décembre 2005 à 11:02 GMT, Nicolas LIENARD a écrit :
Est ce qu'il y a autre chose à tenter ou cette clé est définitivement à jeter à la poubelle ? (bien que linux ne soit pas la référence, elle fonctionne correctement sur la meme machine sous Debian Unstable et l'émulation NDIS).
Sans doute que NDIS ne supporte pas [encore ?] les périphériques USB sous FreeBSD. -- Th. Thomas.