#51 Le 25/05/2022, à 22:08
- fanfantasy7
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
bertrand@bertrand-X200CA:~$ mkdir /tmp/build
bertrand@bertrand-X200CA:~$ cp -r /var/lib/dkms/rtl8821
rtl8821cu/ rtl8821CU/
bertrand@bertrand-X200CA:~$ cp -r /var/lib/dkms/rtl8821cu/cd_fournisseur/build/ /tmp/build
bertrand@bertrand-X200CA:~$ cd /tmp/build/
bertrand@bertrand-X200CA:/tmp/build$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
bertrand@bertrand-X200CA:/tmp/build$
ATTENTION dans /var/lib/dkms/ il y a deux repertoires rtl8821cu/ et rtl8821CU/
Fanfantasy7
pc fixe : Linux Mint
pc portable : Ubuntu LTS
Hors ligne
#52 Le 26/05/2022, à 06:51
- NicoApi73
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
Bonjour,
C'est bien le répertoire /var/lib/dkms/rtl8821cu qui nous intéresse. Il est identifié dans le dkms.conf avec PACKAGE_NAME="rtl8821cu"
Pourtant, il y a un Makefile
Peux tu donner :
ls -l /tmp/build
Hors ligne
#53 Le 26/05/2022, à 09:48
- fanfantasy7
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
bertrand@bertrand-X200CA:~$ ls -l /tmp/build
ls: impossible d'accéder à '/tmp/build': Aucun fichier ou dossier de ce type
bizarre il n'y a plus de répertoire build peut etre parce que j'ai éteint le pc cette nuit
voici ce qu'il y a
bertrand@bertrand-X200CA:~$ ls -l /tmp/
total 76
-rw------- 1 bertrand bertrand 0 mai 26 10:39 config-err-N2T4uS
drwx------ 2 bertrand bertrand 4096 mai 26 10:43 deja-dup-PTGDM1
drwx------ 2 bertrand bertrand 4096 mai 26 10:44 duplicity-nopaauvy-tempdir
drwx------ 2 bertrand bertrand 4096 mai 26 10:47 duplicity-tqftisg4-tempdir
drwx------ 3 root root 4096 mai 26 10:38 snap.canonical-livepatch
drwx------ 3 root root 4096 mai 26 10:39 snap.snap-store
drwx------ 2 bertrand bertrand 4096 mai 26 10:39 ssh-oZ43ulgYNt2x
drwx------ 3 root root 4096 mai 26 10:38 systemd-private-8c77af33827b4213bad4ef3f955e5191-apache2.service-enZVPf
drwx------ 3 root root 4096 mai 26 10:38 systemd-private-8c77af33827b4213bad4ef3f955e5191-colord.service-NzOd7h
drwx------ 3 root root 4096 mai 26 10:40 systemd-private-8c77af33827b4213bad4ef3f955e5191-fwupd.service-Nz1DDh
drwx------ 3 root root 4096 mai 26 10:38 systemd-private-8c77af33827b4213bad4ef3f955e5191-geoclue.service-tUjj3g
drwx------ 3 root root 4096 mai 26 10:38 systemd-private-8c77af33827b4213bad4ef3f955e5191-ModemManager.service-LyZOAg
drwx------ 3 root root 4096 mai 26 10:38 systemd-private-8c77af33827b4213bad4ef3f955e5191-switcheroo-control.service-NwihGi
drwx------ 3 root root 4096 mai 26 10:38 systemd-private-8c77af33827b4213bad4ef3f955e5191-systemd-logind.service-15GKli
drwx------ 3 root root 4096 mai 26 10:38 systemd-private-8c77af33827b4213bad4ef3f955e5191-systemd-resolved.service-DoYWvg
drwx------ 3 root root 4096 mai 26 10:38 systemd-private-8c77af33827b4213bad4ef3f955e5191-systemd-timesyncd.service-3hNaVg
drwx------ 3 root root 4096 mai 26 10:38 systemd-private-8c77af33827b4213bad4ef3f955e5191-upower.service-uhlRbh
drwx------ 2 bertrand bertrand 4096 mai 26 10:41 Temp-6dd0010b-74bf-451d-89da-8cfb5add5495
drwx------ 2 bertrand bertrand 4096 mai 26 10:39 tracker-extract-files.1000
drwx------ 2 gdm gdm 4096 mai 26 10:38 tracker-extract-files.121
Dernière modification par fanfantasy7 (Le 26/05/2022, à 11:00)
Fanfantasy7
pc fixe : Linux Mint
pc portable : Ubuntu LTS
Hors ligne
#54 Le 26/05/2022, à 13:05
- NicoApi73
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
ok, recommence le #50, puis donne le #52 STP.
Je ne sais pas comment est nettoyé le /tmp (chez moi il est en RAM et donc effacé à chaque fois)
Hors ligne
#55 Le 26/05/2022, à 17:38
- fanfantasy7
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
le problème dans le post #50 et que la commande
cp -r /var/lib/dkms/rtl8821cu/cd_fournisseur/build/ /tmp/build
créé un repertoire build dans /tmp/build, du coup c'est pour ça qu'il ne trouve pas le make
je fais donc
cd /tmp/build/build
au lieu de
cd /tmp/build
avant le make
bertrand@bertrand-X200CA:~$ mkdir /tmp/build
bertrand@bertrand-X200CA:~$ cp -r /var/lib/dkms/rtl8821cu/cd_fournisseur/build/ /tmp/build
bertrand@bertrand-X200CA:~$ cd /tmp/build
bertrand@bertrand-X200CA:/tmp/build$ ls
build
bertrand@bertrand-X200CA:/tmp/build$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
bertrand@bertrand-X200CA:/tmp/build$ cd build/
bertrand@bertrand-X200CA:/tmp/build/build$ ls
built-in.a dkms.conf ifcfg-wlan0 Makefile Module.symvers rtl8821c.mk
clean hal include make.log os_dep runwpa
core halmac.mk Kconfig modules.order platform wlan0dhcp
bertrand@bertrand-X200CA:/tmp/build/build$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-113-generic/build M=/tmp/build/build modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.4.0-113-generic »
CC [M] /tmp/build/build/core/rtw_cmd.o
CC [M] /tmp/build/build/core/rtw_security.o
CC [M] /tmp/build/build/core/rtw_debug.o
CC [M] /tmp/build/build/core/rtw_io.o
CC [M] /tmp/build/build/core/rtw_ioctl_query.o
CC [M] /tmp/build/build/core/rtw_ioctl_set.o
CC [M] /tmp/build/build/core/rtw_ieee80211.o
CC [M] /tmp/build/build/core/rtw_mlme.o
CC [M] /tmp/build/build/core/rtw_mlme_ext.o
/tmp/build/build/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/tmp/build/build/core/rtw_mlme_ext.c:260:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
260 | if (rfctl->regd_name)
| ^
/tmp/build/build/core/rtw_mlme_ext.c:262:2: note: here
262 | default:
| ^~~~~~~
/tmp/build/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/tmp/build/build/core/rtw_mlme_ext.c:1349:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
1349 | ptable->func = &OnAuthClient;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/tmp/build/build/core/rtw_mlme_ext.c:1351:2: note: here
1351 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /tmp/build/build/core/rtw_mi.o
CC [M] /tmp/build/build/core/rtw_wlan_util.o
CC [M] /tmp/build/build/core/rtw_vht.o
CC [M] /tmp/build/build/core/rtw_pwrctrl.o
CC [M] /tmp/build/build/core/rtw_rf.o
CC [M] /tmp/build/build/core/rtw_chplan.o
CC [M] /tmp/build/build/core/rtw_recv.o
CC [M] /tmp/build/build/core/rtw_sta_mgt.o
CC [M] /tmp/build/build/core/rtw_ap.o
CC [M] /tmp/build/build/core/mesh/rtw_mesh.o
CC [M] /tmp/build/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /tmp/build/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /tmp/build/build/core/rtw_xmit.o
CC [M] /tmp/build/build/core/rtw_p2p.o
CC [M] /tmp/build/build/core/rtw_rson.o
CC [M] /tmp/build/build/core/rtw_tdls.o
CC [M] /tmp/build/build/core/rtw_br_ext.o
CC [M] /tmp/build/build/core/rtw_iol.o
CC [M] /tmp/build/build/core/rtw_sreset.o
CC [M] /tmp/build/build/core/rtw_btcoex_wifionly.o
CC [M] /tmp/build/build/core/rtw_btcoex.o
CC [M] /tmp/build/build/core/rtw_beamforming.o
CC [M] /tmp/build/build/core/rtw_odm.o
CC [M] /tmp/build/build/core/rtw_rm.o
CC [M] /tmp/build/build/core/rtw_rm_fsm.o
CC [M] /tmp/build/build/core/rtw_rm_util.o
CC [M] /tmp/build/build/core/efuse/rtw_efuse.o
CC [M] /tmp/build/build/os_dep/osdep_service.o
CC [M] /tmp/build/build/os_dep/linux/os_intfs.o
CC [M] /tmp/build/build/os_dep/linux/usb_intf.o
CC [M] /tmp/build/build/os_dep/linux/usb_ops_linux.o
CC [M] /tmp/build/build/os_dep/linux/ioctl_linux.o
CC [M] /tmp/build/build/os_dep/linux/xmit_linux.o
CC [M] /tmp/build/build/os_dep/linux/mlme_linux.o
CC [M] /tmp/build/build/os_dep/linux/recv_linux.o
CC [M] /tmp/build/build/os_dep/linux/ioctl_cfg80211.o
CC [M] /tmp/build/build/os_dep/linux/rtw_cfgvendor.o
CC [M] /tmp/build/build/os_dep/linux/wifi_regd.o
CC [M] /tmp/build/build/os_dep/linux/rtw_android.o
CC [M] /tmp/build/build/os_dep/linux/rtw_proc.o
CC [M] /tmp/build/build/os_dep/linux/rtw_rhashtable.o
CC [M] /tmp/build/build/os_dep/linux/ioctl_mp.o
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_reg’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:45:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
45 | char input[wrqu->length + 1];
| ^~~~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_reg’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:129:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
129 | char input[wrqu->length + 1];
| ^~~~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_rf’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:263:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
263 | char input[wrqu->length];
| ^~~~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_rf’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:305:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
305 | char input[wrqu->length];
| ^~~~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_rate’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:422:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
422 | u8 input[wrqu->length + 1];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_channel’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:491:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
491 | u8 input[wrqu->length + 1];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ch_offset’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:518:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
518 | u8 input[wrqu->length + 1];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_bandwidth’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:545:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
545 | u8 input[wrqu->length];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower_index’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:580:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
580 | char input[wrqu->length + 1];
| ^~~~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:652:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
652 | u8 input[wrqu->length];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_tx’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:690:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
690 | u8 input[wrqu->length + 1];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_rx’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:744:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
744 | u8 input[wrqu->length + 1];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_disable_bt_coexist’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:960:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
960 | u8 input[wrqu->data.length + 1];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_arx’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:998:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
998 | u8 input[wrqu->length];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_pwrtrk’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:1188:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1188 | u8 input[wrqu->length];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_psd’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:1226:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1226 | u8 input[wrqu->length + 1];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_dump’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:1381:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1381 | u8 input[wrqu->length];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_phypara’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:1405:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1405 | char input[wrqu->length];
| ^~~~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_SetRFPath’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:1460:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1460 | char input[wrqu->length];
| ^~~~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_switch_rf_path’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:1511:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1511 | char input[wrqu->length];
| ^~~~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_QueryDrv’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:1560:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1560 | char input[wrqu->data.length];
| ^~~~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_PwrCtlDM’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:1589:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1589 | u8 input[wrqu->length];
| ^~
/tmp/build/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_link’:
/tmp/build/build/os_dep/linux/ioctl_mp.c:2698:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
2698 | char input[wrqu->length];
| ^~~~
CC [M] /tmp/build/build/hal/hal_intf.o
/tmp/build/build/hal/hal_intf.c: In function ‘c2h_handler’:
/tmp/build/build/hal/hal_intf.c:1279:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
1279 | sub_id = payload[0];
| ~~~~~~~^~~~~~~~~~~~
/tmp/build/build/hal/hal_intf.c:1282:2: note: here
1282 | default:
| ^~~~~~~
CC [M] /tmp/build/build/hal/hal_com.o
CC [M] /tmp/build/build/hal/hal_com_phycfg.o
CC [M] /tmp/build/build/hal/hal_phy.o
CC [M] /tmp/build/build/hal/hal_dm.o
CC [M] /tmp/build/build/hal/hal_dm_acs.o
CC [M] /tmp/build/build/hal/hal_btcoex_wifionly.o
CC [M] /tmp/build/build/hal/hal_btcoex.o
CC [M] /tmp/build/build/hal/hal_mp.o
CC [M] /tmp/build/build/hal/hal_mcc.o
CC [M] /tmp/build/build/hal/hal_hci/hal_usb.o
CC [M] /tmp/build/build/hal/led/hal_led.o
CC [M] /tmp/build/build/hal/led/hal_usb_led.o
CC [M] /tmp/build/build/hal/rtl8821c/rtl8821c_halinit.o
CC [M] /tmp/build/build/hal/rtl8821c/rtl8821c_mac.o
CC [M] /tmp/build/build/hal/rtl8821c/rtl8821c_cmd.o
CC [M] /tmp/build/build/hal/rtl8821c/rtl8821c_phy.o
CC [M] /tmp/build/build/hal/rtl8821c/rtl8821c_dm.o
CC [M] /tmp/build/build/hal/rtl8821c/rtl8821c_ops.o
CC [M] /tmp/build/build/hal/rtl8821c/hal8821c_fw.o
CC [M] /tmp/build/build/hal/rtl8821c/usb/rtl8821cu_halinit.o
CC [M] /tmp/build/build/hal/rtl8821c/usb/rtl8821cu_halmac.o
CC [M] /tmp/build/build/hal/rtl8821c/usb/rtl8821cu_io.o
CC [M] /tmp/build/build/hal/rtl8821c/usb/rtl8821cu_xmit.o
CC [M] /tmp/build/build/hal/rtl8821c/usb/rtl8821cu_recv.o
CC [M] /tmp/build/build/hal/rtl8821c/usb/rtl8821cu_led.o
CC [M] /tmp/build/build/hal/rtl8821c/usb/rtl8821cu_ops.o
CC [M] /tmp/build/build/hal/efuse/rtl8821c/HalEfuseMask8821C_USB.o
CC [M] /tmp/build/build/hal/hal_halmac.o
In file included from /tmp/build/build/include/drv_types.h:60,
from /tmp/build/build/hal/hal_halmac.c:17:
/tmp/build/build/hal/hal_halmac.c: In function ‘_send_general_info’:
/tmp/build/build/include/rtw_debug.h:130:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
130 | if (_DRV_WARNING_ <= rtw_drv_log_level) {\
| ^
/tmp/build/build/hal/hal_halmac.c:3077:3: note: in expansion of macro ‘RTW_WARN’
3077 | RTW_WARN("%s: halmac_send_general_info() fail because fw not dl!\n",
| ^~~~~~~~
/tmp/build/build/hal/hal_halmac.c:3080:2: note: here
3080 | default:
| ^~~~~~~
CC [M] /tmp/build/build/hal/halmac/halmac_api.o
CC [M] /tmp/build/build/hal/halmac/halmac_dbg.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_bb_rf_88xx.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_cfg_wmac_88xx.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_common_88xx.o
/tmp/build/build/hal/halmac/halmac_88xx/halmac_common_88xx.c: In function ‘set_hw_value_88xx’:
/tmp/build/build/hal/halmac/halmac_88xx/halmac_common_88xx.c:566:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
566 | cfg_txfifo_lt_88xx(adapter,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
567 | (struct halmac_txfifo_lifetime_cfg *)value);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/build/build/hal/halmac/halmac_88xx/halmac_common_88xx.c:568:2: note: here
568 | default:
| ^~~~~~~
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_efuse_88xx.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_flash_88xx.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_fw_88xx.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_gpio_88xx.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_init_88xx.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_mimo_88xx.o
/tmp/build/build/hal/halmac/halmac_88xx/halmac_mimo_88xx.c: In function ‘cfg_txbf_88xx’:
/tmp/build/build/hal/halmac/halmac_88xx/halmac_mimo_88xx.c:65:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
65 | tmp42c |= BIT_R_TXBF0_80M;
/tmp/build/build/hal/halmac/halmac_88xx/halmac_mimo_88xx.c:66:3: note: here
66 | case HALMAC_BW_40:
| ^~~~
/tmp/build/build/hal/halmac/halmac_88xx/halmac_mimo_88xx.c:67:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
67 | tmp42c |= BIT_R_TXBF0_40M;
/tmp/build/build/hal/halmac/halmac_88xx/halmac_mimo_88xx.c:68:3: note: here
68 | case HALMAC_BW_20:
| ^~~~
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_usb_88xx.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_8821c/halmac_cfg_wmac_8821c.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_8821c/halmac_common_8821c.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_8821c/halmac_gpio_8821c.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_8821c/halmac_init_8821c.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_8821c/halmac_phy_8821c.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_8821c/halmac_pwr_seq_8821c.o
CC [M] /tmp/build/build/hal/halmac/halmac_88xx/halmac_8821c/halmac_usb_8821c.o
CC [M] /tmp/build/build/hal/phydm/phydm_debug.o
CC [M] /tmp/build/build/hal/phydm/phydm_antdiv.o
CC [M] /tmp/build/build/hal/phydm/phydm_soml.o
CC [M] /tmp/build/build/hal/phydm/phydm_smt_ant.o
CC [M] /tmp/build/build/hal/phydm/phydm_antdect.o
CC [M] /tmp/build/build/hal/phydm/phydm_interface.o
CC [M] /tmp/build/build/hal/phydm/phydm_phystatus.o
CC [M] /tmp/build/build/hal/phydm/phydm_hwconfig.o
CC [M] /tmp/build/build/hal/phydm/phydm.o
CC [M] /tmp/build/build/hal/phydm/phydm_dig.o
CC [M] /tmp/build/build/hal/phydm/phydm_pathdiv.o
CC [M] /tmp/build/build/hal/phydm/phydm_rainfo.o
CC [M] /tmp/build/build/hal/phydm/phydm_dynamictxpower.o
CC [M] /tmp/build/build/hal/phydm/phydm_adaptivity.o
CC [M] /tmp/build/build/hal/phydm/phydm_cfotracking.o
CC [M] /tmp/build/build/hal/phydm/phydm_noisemonitor.o
CC [M] /tmp/build/build/hal/phydm/phydm_beamforming.o
CC [M] /tmp/build/build/hal/phydm/phydm_direct_bf.o
CC [M] /tmp/build/build/hal/phydm/phydm_dfs.o
CC [M] /tmp/build/build/hal/phydm/txbf/halcomtxbf.o
CC [M] /tmp/build/build/hal/phydm/txbf/haltxbfinterface.o
CC [M] /tmp/build/build/hal/phydm/txbf/phydm_hal_txbf_api.o
CC [M] /tmp/build/build/hal/phydm/phydm_adc_sampling.o
CC [M] /tmp/build/build/hal/phydm/phydm_ccx.o
CC [M] /tmp/build/build/hal/phydm/phydm_psd.o
CC [M] /tmp/build/build/hal/phydm/phydm_primary_cca.o
CC [M] /tmp/build/build/hal/phydm/phydm_cck_pd.o
CC [M] /tmp/build/build/hal/phydm/phydm_rssi_monitor.o
CC [M] /tmp/build/build/hal/phydm/phydm_auto_dbg.o
CC [M] /tmp/build/build/hal/phydm/phydm_math_lib.o
CC [M] /tmp/build/build/hal/phydm/phydm_api.o
CC [M] /tmp/build/build/hal/phydm/phydm_pow_train.o
CC [M] /tmp/build/build/hal/phydm/phydm_lna_sat.o
CC [M] /tmp/build/build/hal/phydm/phydm_pmac_tx_setting.o
CC [M] /tmp/build/build/hal/phydm/phydm_mp.o
CC [M] /tmp/build/build/hal/phydm/phydm_cck_rx_pathdiv.o
CC [M] /tmp/build/build/hal/phydm/halrf/halrf.o
CC [M] /tmp/build/build/hal/phydm/halrf/halrf_debug.o
CC [M] /tmp/build/build/hal/phydm/halrf/halphyrf_ce.o
CC [M] /tmp/build/build/hal/phydm/halrf/halrf_powertracking_ce.o
CC [M] /tmp/build/build/hal/phydm/halrf/halrf_powertracking.o
CC [M] /tmp/build/build/hal/phydm/halrf/halrf_kfree.o
CC [M] /tmp/build/build/hal/phydm/halrf/halrf_psd.o
CC [M] /tmp/build/build/hal/phydm/rtl8821c/halhwimg8821c_bb.o
CC [M] /tmp/build/build/hal/phydm/rtl8821c/halhwimg8821c_mac.o
CC [M] /tmp/build/build/hal/phydm/rtl8821c/phydm_hal_api8821c.o
CC [M] /tmp/build/build/hal/phydm/rtl8821c/phydm_regconfig8821c.o
CC [M] /tmp/build/build/hal/phydm/halrf/rtl8821c/halhwimg8821c_rf.o
CC [M] /tmp/build/build/hal/phydm/halrf/rtl8821c/halrf_8821c.o
CC [M] /tmp/build/build/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.o
CC [M] /tmp/build/build/hal/btc/halbtc8821cwifionly.o
CC [M] /tmp/build/build/hal/btc/halbtc8821c1ant.o
CC [M] /tmp/build/build/hal/btc/halbtc8821c2ant.o
CC [M] /tmp/build/build/platform/platform_ops.o
CC [M] /tmp/build/build/core/rtw_mp.o
LD [M] /tmp/build/build/8821cu.o
Building modules, stage 2.
MODPOST 1 modules
CC [M] /tmp/build/build/8821cu.mod.o
LD [M] /tmp/build/build/8821cu.ko
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.4.0-113-generic »
bertrand@bertrand-X200CA:/tmp/build/build$ ls -l /tmp/build
total 4
drwxr-xr-x 7 bertrand bertrand 4096 mai 26 18:36 build
bertrand@bertrand-X200CA:/tmp/build/build$
Fanfantasy7
pc fixe : Linux Mint
pc portable : Ubuntu LTS
Hors ligne
#56 Le 26/05/2022, à 18:03
- NicoApi73
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
Donc la compilation passe. Je ne sais pas pourquoi quand c'est dkms qui la lance ça ne fonctionne pas.
Essaie de nouveau :
sudo dkms autoinstall rtl8821cu/cd_fournisseur
Hors ligne
#57 Le 26/05/2022, à 22:10
- fanfantasy7
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
bertrand@bertrand-X200CA:/tmp/build/build$ sudo dkms autoinstall rtl8821cu/cd_fournisseur
[sudo] Mot de passe de bertrand :
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' KVER=5.4.0-113-generic..............................................................................................................................
Signing module:
- /var/lib/dkms/rtl8821CU/5.4.1/5.4.0-113-generic/x86_64/module/8821cu.ko
Secure Boot not enabled on this system.
cleaning build area...
DKMS: build completed.
8821cu.ko:
Running module version sanity check.
Error! Module version v5.4.1_28754.20180921_COEX20180712-3232 for 8821cu.ko
is not newer than what is already found in kernel 5.4.0-113-generic (v5.8.1.5_36625.20200416_COEX20200321-4141).
You may override by specifying --force.
depmod...........
DKMS: install completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j2 KERNELRELEASE=5.4.0-113-generic -C /lib/modules/5.4.0-113-generic/build M=/var/lib/dkms/rtl8821cu/cd_fournisseur/build...
ERROR (dkms apport): binary package for rtl8821cu: cd_fournisseur not found
Error! Build of 8821cu.ko failed for: 5.4.0-113-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/rtl8821cu/cd_fournisseur/build/ for more information.
bertrand@bertrand-X200CA:/tmp/build/build$
Fanfantasy7
pc fixe : Linux Mint
pc portable : Ubuntu LTS
Hors ligne
#58 Le 27/05/2022, à 07:16
- NicoApi73
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
Bonjour,
Peux tu donner le retour de
dkms status
Hors ligne
#59 Le 27/05/2022, à 18:04
- fanfantasy7
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
bertrand@bertrand-X200CA:~$ dkms status
rtl8821CU, 5.4.1, 5.4.0-110-generic, x86_64: installed
rtl8821CU, 5.4.1, 5.4.0-113-generic, x86_64: installed (WARNING! Diff between built and installed module!)
rtl8821cu, cd_fournisseur: added
bertrand@bertrand-X200CA:~$
Fanfantasy7
pc fixe : Linux Mint
pc portable : Ubuntu LTS
Hors ligne
#60 Le 27/05/2022, à 19:37
- NicoApi73
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
Tu as fait une précédente installe qui est déjà gérée par dkms. Elle bloque celle qu'on essaie de mettre en place. Pour l'instant, on va rester comme ça.
sudo dkms remove rtl8821cu/cd_fournisseur --all
Tu postes ici si à la prochaine mise à jour du noyau tu n'as plus la WiFi
Hors ligne
#61 Le 27/05/2022, à 20:10
- fanfantasy7
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
bertrand@bertrand-X200CA:~$ sudo dkms remove rtl8821cu/cd_fournisseur --all
[sudo] Mot de passe de bertrand :
------------------------------
Deleting module version: cd_fournisseur
completely from the DKMS tree.
------------------------------
Done.
bertrand@bertrand-X200CA:~$ dkms status
rtl8821CU, 5.4.1, 5.4.0-110-generic, x86_64: installed
rtl8821CU, 5.4.1, 5.4.0-113-generic, x86_64: installed (WARNING! Diff between built and installed module!)
ok affaire à suivre, merci pour tout
Fanfantasy7
pc fixe : Linux Mint
pc portable : Ubuntu LTS
Hors ligne
#62 Le 28/05/2022, à 07:00
- iznobe
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
le problème dans le post #50 et que la commande
cp -r /var/lib/dkms/rtl8821cu/cd_fournisseur/build/ /tmp/build
créé un repertoire build dans /tmp/build, du coup c'est pour ça qu'il ne trouve pas le make
je fais donccd /tmp/build/build
au lieu de
cd /tmp/build
avant le make
Bonjour , je ne sais pas trop ou vous en etes dans votre histoire , mais pour compilation et tout ce qui s ' y rapproche de pres ou de loin donc aussi pour DKMS , les chemins absolus ne doivent pas contenir d' espace ni de caracteres speciaux .
le chemin de cette commande n' est pas bon , puisqu ' il contient un espace entre build et tmp : " /build/ /tmp/ "
cp -r /var/lib/dkms/rtl8821cu/cd_fournisseur/build/ /tmp/build
De plus je ne vois pas trop l' interet de cette commande , qui perturbe ( humainement ) la comprehension puisque contenant 2 repertoires du meme noms .
Si j' etais vous , je mettrais par exemple comme nom de fichier a adapter pour toutes la serie de commande un chemin du genre :
cp -r /var/lib/dkms/rtl8821cu/cd_fournisseur/build/dkms
Dernière modification par iznobe (Le 28/05/2022, à 07:04)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#63 Le 28/05/2022, à 12:57
- fanfantasy7
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
c'est NicoApi73 dans le post #50 qui me demande de faire
cp -r /var/lib/dkms/rtl8821cu/cd_fournisseur/build/ /tmp/build
le chemin de cette commande n' est pas bon , puisqu ' il contient un espace entre build et tmp : " /build/ /tmp/ "
l'espace est normal c'est la séparation entre la source à copier et la destination
Fanfantasy7
pc fixe : Linux Mint
pc portable : Ubuntu LTS
Hors ligne
#64 Le 29/05/2022, à 17:29
- iznobe
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
Bonjour , ok , c ' etait une betise du coup
Dans le message #57 :
DKMS: install completed. Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... make -j2 KERNELRELEASE=5.4.0-113-generic -C /lib/modules/5.4.0-113-generic/build M=/var/lib/dkms/rtl8821cu/cd_fournisseur/build... ERROR (dkms apport): binary package for rtl8821cu: cd_fournisseur not found Error! Build of 8821cu.ko failed for: 5.4.0-113-generic (x86_64) Consult the make.log in the build directory /var/lib/dkms/rtl8821cu/cd_fournisseur/build/ for more information.
Peux tu donner :
cat /tmp/build/make.log
cat /var/lib/dkms/rtl8821cu/cd_fournisseur/build/make.log
A priori il ne trouve pas le bon chemin , il ne manquerait pas un " cd_fournisseur " ( ou un en trop ) dans les chemins ?
Dernière modification par iznobe (Le 29/05/2022, à 17:34)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne
#65 Le 29/05/2022, à 17:54
- NicoApi73
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
Bonjour,
Il n'y a pas de problème de compilation (cf #55). Il y a déjà un pilote installé par dkms (je n'en comprends pas la provenance) qui bloque l'installation de celui-ci (cf #57).
Pour l'instant on en reste là, on verra bien au prochain changement de noyau.
Hors ligne
#66 Le 29/05/2022, à 18:16
- iznobe
Re : [résolu] driver clé wifi Realtek Semiconductor Corp. 802.11ac NIC
Bonjour nico , pour la compilation oui , pour DKMS aussi , cependant vu ma citation du message precedent , la creation du module adequate echoue a cause d ' un chemin de fichier invalide :
ERROR (dkms apport): binary package for rtl8821cu: cd_fournisseur not found
Error! Build of 8821cu.ko failed for: 5.4.0-113-generic (x86_64)
Dernière modification par iznobe (Le 29/05/2022, à 18:17)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
Hors ligne