#51 Le 30/09/2019, à 11:03
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Arrête ton PC, retire physiquement ta clé quelques dizaines de secondes.
Puis remets ta clé et redémarre ton PC.
Puis refais :
cd ~/rtl8821CU
make clean
make
sudo make install
sudo modprobe 8821cu
lsmod | sort
Pour l'instant le driver n'est pas géré par dkms, s'il y a eu une mise à jour du noyau, il est possible qu'il faille le recompiler
Hors ligne
#52 Le 30/09/2019, à 11:17
- Steiny33270
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
toujours rien...
Hors ligne
#53 Le 30/09/2019, à 11:20
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
toujours rien...
Ca ne me dit pas :
- quel est le retour de la compilation et en particulier s'il y a eu des erreurs
- le retour de lsmod pour voir si le driver est chargé.
Hors ligne
#54 Le 30/09/2019, à 11:43
- Steiny33270
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
greg@greg-System-Product-Name:~/rtl8821CU$ make clean
#make -C /lib/modules/4.15.0-64-generic/build M=/home/greg/rtl8821CU clean
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
greg@greg-System-Product-Name:~/rtl8821CU$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-64-generic/build M=/home/greg/rtl8821CU modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-4.15.0-64-generic »
CC [M] /home/greg/rtl8821CU/core/rtw_cmd.o
CC [M] /home/greg/rtl8821CU/core/rtw_security.o
CC [M] /home/greg/rtl8821CU/core/rtw_debug.o
CC [M] /home/greg/rtl8821CU/core/rtw_io.o
CC [M] /home/greg/rtl8821CU/core/rtw_ioctl_query.o
CC [M] /home/greg/rtl8821CU/core/rtw_ioctl_set.o
CC [M] /home/greg/rtl8821CU/core/rtw_ieee80211.o
CC [M] /home/greg/rtl8821CU/core/rtw_mlme.o
CC [M] /home/greg/rtl8821CU/core/rtw_mlme_ext.o
CC [M] /home/greg/rtl8821CU/core/rtw_mi.o
CC [M] /home/greg/rtl8821CU/core/rtw_wlan_util.o
CC [M] /home/greg/rtl8821CU/core/rtw_vht.o
CC [M] /home/greg/rtl8821CU/core/rtw_pwrctrl.o
CC [M] /home/greg/rtl8821CU/core/rtw_rf.o
CC [M] /home/greg/rtl8821CU/core/rtw_recv.o
CC [M] /home/greg/rtl8821CU/core/rtw_sta_mgt.o
CC [M] /home/greg/rtl8821CU/core/rtw_ap.o
CC [M] /home/greg/rtl8821CU/core/rtw_xmit.o
CC [M] /home/greg/rtl8821CU/core/rtw_p2p.o
CC [M] /home/greg/rtl8821CU/core/rtw_tdls.o
CC [M] /home/greg/rtl8821CU/core/rtw_br_ext.o
CC [M] /home/greg/rtl8821CU/core/rtw_iol.o
CC [M] /home/greg/rtl8821CU/core/rtw_sreset.o
CC [M] /home/greg/rtl8821CU/core/rtw_btcoex_wifionly.o
CC [M] /home/greg/rtl8821CU/core/rtw_btcoex.o
CC [M] /home/greg/rtl8821CU/core/rtw_beamforming.o
CC [M] /home/greg/rtl8821CU/core/rtw_odm.o
CC [M] /home/greg/rtl8821CU/core/efuse/rtw_efuse.o
CC [M] /home/greg/rtl8821CU/os_dep/osdep_service.o
symbolmap: la: invalid section
CC [M] /home/greg/rtl8821CU/os_dep/linux/os_intfs.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/usb_intf.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/usb_ops_linux.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/ioctl_linux.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/xmit_linux.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/mlme_linux.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/recv_linux.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/ioctl_cfg80211.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/rtw_cfgvendor.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/wifi_regd.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/rtw_android.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/rtw_proc.o
CC [M] /home/greg/rtl8821CU/os_dep/linux/ioctl_mp.o
CC [M] /home/greg/rtl8821CU/hal/hal_intf.o
CC [M] /home/greg/rtl8821CU/hal/hal_com.o
CC [M] /home/greg/rtl8821CU/hal/hal_com_phycfg.o
CC [M] /home/greg/rtl8821CU/hal/hal_phy.o
CC [M] /home/greg/rtl8821CU/hal/hal_dm.o
CC [M] /home/greg/rtl8821CU/hal/hal_btcoex_wifionly.o
CC [M] /home/greg/rtl8821CU/hal/hal_btcoex.o
CC [M] /home/greg/rtl8821CU/hal/hal_mp.o
CC [M] /home/greg/rtl8821CU/hal/hal_mcc.o
CC [M] /home/greg/rtl8821CU/hal/hal_hci/hal_usb.o
CC [M] /home/greg/rtl8821CU/hal/led/hal_usb_led.o
CC [M] /home/greg/rtl8821CU/hal/hal_halmac.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/rtl8821c_halinit.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/rtl8821c_mac.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/rtl8821c_cmd.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/rtl8821c_phy.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/rtl8821c_dm.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/rtl8821c_ops.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/hal8821c_fw.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/usb/rtl8821cu_halinit.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/usb/rtl8821cu_halmac.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/usb/rtl8821cu_io.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/usb/rtl8821cu_xmit.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/usb/rtl8821cu_recv.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/usb/rtl8821cu_led.o
CC [M] /home/greg/rtl8821CU/hal/rtl8821c/usb/rtl8821cu_ops.o
CC [M] /home/greg/rtl8821CU/hal/efuse/rtl8821c/HalEfuseMask8821C_USB.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_api.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_api_88xx.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_func_88xx.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_api_88xx_usb.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_api_88xx_sdio.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_api_88xx_pcie.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_pwr_seq.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_8821c/halmac_func_8821c.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_usb.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_sdio.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_pcie.o
CC [M] /home/greg/rtl8821CU/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_phy.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_debug.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_antdiv.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_antdect.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_interface.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_hwconfig.o
/home/greg/rtl8821CU/hal/phydm/phydm_hwconfig.c: In function ‘odm_rx_phy_status_jaguar_series_parsing’:
/home/greg/rtl8821CU/hal/phydm/phydm_hwconfig.c:1310:45: warning: ‘EVM’ may be used uninitialized in this function [-Wmaybe-uninitialized]
p_phy_info->rx_mimo_signal_quality[i] = EVM;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm.o
CC [M] /home/greg/rtl8821CU/hal/phydm/halphyrf_ce.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_dig.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_pathdiv.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_rainfo.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_dynamicbbpowersaving.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_powertracking_ce.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_dynamictxpower.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_adaptivity.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_cfotracking.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_noisemonitor.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_acs.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_beamforming.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_dfs.o
CC [M] /home/greg/rtl8821CU/hal/phydm/txbf/halcomtxbf.o
CC [M] /home/greg/rtl8821CU/hal/phydm/txbf/haltxbfinterface.o
CC [M] /home/greg/rtl8821CU/hal/phydm/txbf/phydm_hal_txbf_api.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_adc_sampling.o
/home/greg/rtl8821CU/hal/phydm/phydm_adc_sampling.c: In function ‘phydm_la_buffer_allocate’:
/home/greg/rtl8821CU/hal/phydm/phydm_adc_sampling.c:46:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
} else
^~~~
/home/greg/rtl8821CU/hal/phydm/phydm_adc_sampling.c:48:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
ret = true;
^~~
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_kfree.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_ccx.o
CC [M] /home/greg/rtl8821CU/hal/phydm/phydm_psd.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8723bwifionly.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8822bwifionly.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8821cwifionly.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8192e1ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8192e2ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8723b1ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8723b2ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8812a1ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8812a2ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8821a1ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8821a2ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8703b1ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8723d1ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8723d2ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8822b1ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8822b2ant.o
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8821c1ant.o
/home/greg/rtl8821CU/hal/btc/halbtc8821c1ant.c: In function ‘halbtc8821c1ant_set_ext_ant_switch’:
/home/greg/rtl8821CU/hal/btc/halbtc8821c1ant.c:2333:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/greg/rtl8821CU/hal/btc/halbtc8821c1ant.c:2333:30: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
/home/greg/rtl8821CU/hal/btc/halbtc8821c1ant.c:2337:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/greg/rtl8821CU/hal/btc/halbtc8821c1ant.c:2337:30: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
/home/greg/rtl8821CU/hal/btc/halbtc8821c1ant.c:2348:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/greg/rtl8821CU/hal/btc/halbtc8821c1ant.c:2348:31: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
CC [M] /home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.o
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_monitor_wifi_ctr’:
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c:454:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if ((coex_dm->bt_status ==
^~
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c:461:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (cck_cnt > 250) {
^~
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_set_ext_ant_switch’:
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c:2064:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c:2064:30: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c:2068:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c:2068:30: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c:2079:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
/home/greg/rtl8821CU/hal/btc/halbtc8821c2ant.c:2079:31: note: did you mean to use logical not?
switch_polatiry_inverse = ~switch_polatiry_inverse;
^
!
CC [M] /home/greg/rtl8821CU/hal/phydm/rtl8821c/halhwimg8821c_bb.o
CC [M] /home/greg/rtl8821CU/hal/phydm/rtl8821c/halhwimg8821c_mac.o
CC [M] /home/greg/rtl8821CU/hal/phydm/rtl8821c/halhwimg8821c_rf.o
CC [M] /home/greg/rtl8821CU/hal/phydm/rtl8821c/phydm_hal_api8821c.o
CC [M] /home/greg/rtl8821CU/hal/phydm/rtl8821c/phydm_regconfig8821c.o
CC [M] /home/greg/rtl8821CU/hal/phydm/rtl8821c/halphyrf_8821c.o
CC [M] /home/greg/rtl8821CU/hal/phydm/rtl8821c/phydm_iqk_8821c.o
CC [M] /home/greg/rtl8821CU/platform/platform_ops.o
CC [M] /home/greg/rtl8821CU/core/rtw_mp.o
LD [M] /home/greg/rtl8821CU/8821cu.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/greg/rtl8821CU/8821cu.mod.o
LD [M] /home/greg/rtl8821CU/8821cu.ko
make[1] : on quitte le répertoire « /usr/src/linux-headers-4.15.0-64-generic »
greg@greg-System-Product-Name:~/rtl8821CU$ sudo make install
[sudo] Mot de passe de greg :
install -p -m 644 8821cu.ko /lib/modules/4.15.0-64-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 4.15.0-64-generic
greg@greg-System-Product-Name:~/rtl8821CU$ sudo modprobe 8821cu
greg@greg-System-Product-Name:~/rtl8821CU$ lsmod | sort
8821cu 1826816 0
acpi_pad 180224 0
aesni_intel 188416 0
aes_x86_64 20480 1 aesni_intel
ahci 40960 2
asus_wmi 28672 1 eeepc_wmi
autofs4 40960 2
cdc_ether 16384 1 rndis_host
cfg80211 622592 1 8821cu
coretemp 16384 0
crc32_pclmul 16384 0
crct10dif_pclmul 16384 0
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
crypto_simd 16384 1 aesni_intel
drm 401408 9 drm_kms_helper,i915,ttm,nouveau
drm_kms_helper 172032 2 i915,nouveau
eeepc_wmi 16384 0
fb_sys_fops 16384 1 drm_kms_helper
ghash_clmulni_intel 16384 0
glue_helper 16384 1 aesni_intel
hid 110592 2 usbhid,hid_generic
hid_generic 16384 0
i2c_algo_bit 16384 2 i915,nouveau
i915 1617920 14
input_leds 16384 0
intel_cstate 20480 0
intel_powerclamp 16384 0
intel_rapl 20480 0
intel_rapl_perf 16384 0
ip_tables 28672 0
irqbypass 16384 1 kvm
joydev 24576 0
kvm 598016 0
libahci 32768 1 ahci
lp 20480 0
mac_hid 16384 0
mei 94208 1 mei_me
mei_me 40960 0
mii 16384 2 r8169,usbnet
Module Size Used by
mxm_wmi 16384 1 nouveau
nls_iso8859_1 16384 2
nouveau 1708032 1
parport 49152 3 parport_pc,lp,ppdev
parport_pc 32768 1
pcbc 16384 0
ppdev 20480 0
r8169 86016 0
rndis_host 16384 0
sch_fq_codel 20480 3
shpchp 36864 0
snd 81920 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 49152 2
snd_hda_codec_realtek 106496 1
snd_hda_core 81920 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel 40960 4
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 98304 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 65536 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_timer 32768 2 snd_seq,snd_pcm
soundcore 16384 1 snd
sparse_keymap 16384 1 asus_wmi
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
ttm 106496 1 nouveau
uas 24576 0
usbhid 53248 0
usbnet 45056 2 rndis_host,cdc_ether
usb_storage 69632 2 uas
video 45056 3 asus_wmi,i915,nouveau
wmi 24576 4 asus_wmi,wmi_bmof,mxm_wmi,nouveau
wmi_bmof 16384 0
x86_pkg_temp_thermal 16384 0
x_tables 40960 1 ip_tables
Hors ligne
#55 Le 30/09/2019, à 13:22
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
ok, ton driver est chargé.
reboote et donne de nouveau:
lsmod | sort
Comme je le pensais :
#25 :
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-62-generic/build M=/home/greg/rtl8821CU modules
#54 :
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-64-generic/build M=/home/greg/rtl8821CU modules
Le noyau a été mis à jour...
Dernière modification par NicoApi73 (Le 30/09/2019, à 13:27)
Hors ligne
#56 Le 30/09/2019, à 14:13
- Steiny33270
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
greg@greg-System-Product-Name:~$ lsmod | sort
acpi_pad 180224 0
aesni_intel 188416 0
aes_x86_64 20480 1 aesni_intel
ahci 40960 2
asus_wmi 28672 1 eeepc_wmi
autofs4 40960 2
cdc_ether 16384 1 rndis_host
coretemp 16384 0
crc32_pclmul 16384 0
crct10dif_pclmul 16384 0
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
crypto_simd 16384 1 aesni_intel
drm 401408 8 drm_kms_helper,i915,ttm,nouveau
drm_kms_helper 172032 2 i915,nouveau
eeepc_wmi 16384 0
fb_sys_fops 16384 1 drm_kms_helper
ghash_clmulni_intel 16384 0
glue_helper 16384 1 aesni_intel
hid 110592 2 usbhid,hid_generic
hid_generic 16384 0
i2c_algo_bit 16384 2 i915,nouveau
i915 1617920 11
input_leds 16384 0
intel_cstate 20480 0
intel_powerclamp 16384 0
intel_rapl 20480 0
intel_rapl_perf 16384 0
ip_tables 28672 0
irqbypass 16384 1 kvm
joydev 24576 0
kvm 598016 0
libahci 32768 1 ahci
lp 20480 0
mac_hid 16384 0
mei 94208 1 mei_me
mei_me 40960 0
mii 16384 2 r8169,usbnet
Module Size Used by
mxm_wmi 16384 1 nouveau
nls_iso8859_1 16384 2
nouveau 1708032 1
parport 49152 3 parport_pc,lp,ppdev
parport_pc 32768 1
pcbc 16384 0
ppdev 20480 0
r8169 86016 0
rndis_host 16384 0
sch_fq_codel 20480 3
shpchp 36864 0
snd 81920 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
snd_hda_codec 126976 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 49152 2
snd_hda_codec_realtek 106496 1
snd_hda_core 81920 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel 40960 4
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 98304 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 65536 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_timer 32768 2 snd_seq,snd_pcm
soundcore 16384 1 snd
sparse_keymap 16384 1 asus_wmi
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
ttm 106496 1 nouveau
uas 24576 0
usbhid 53248 0
usbnet 45056 2 rndis_host,cdc_ether
usb_storage 69632 2 uas
video 45056 3 asus_wmi,i915,nouveau
wmi 24576 4 asus_wmi,wmi_bmof,mxm_wmi,nouveau
wmi_bmof 16384 0
x86_pkg_temp_thermal 16384 0
x_tables 40960 1 ip_tables
greg@greg-System-Product-Name:~$
Hors ligne
#57 Le 30/09/2019, à 16:46
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Pour une raison que je ne connais pas, le driver ne se charge pas après reboot... Peux tu nous confirmer que lorsque tu as rebooté la clé était bien connectée?
Si c'est le cas, fais :
sudo modprobe 8821cu
sudo usb_modeswitch -KW -v 0bda -p 1a2b
on devrait être de nouveau dans la situation du #35-36
Hors ligne
#58 Le 30/09/2019, à 20:28
- Steiny33270
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
greg@greg-System-Product-Name:~$ sudo modprobe 8821cu
[sudo] Mot de passe de greg :
greg@greg-System-Product-Name:~$ sudo usb_modeswitch -KW -v 0bda -p 1a2b
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.2 (C) Josua Dietze 2017
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x0bda
DefaultProduct= 0x1a2b
StandardEject=1
Look for default devices ...
found USB ID 1d6b:0003
found USB ID 0bda:1a2b
vendor ID matched
product ID matched
found USB ID 046d:c03f
found USB ID 18d1:4ee3
found USB ID 062a:4180
found USB ID 04d9:1603
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 007 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x0b (out) and 0x8a (in)
USB description data (for identification)
-------------------------
Manufacturer: D-Link Corporation
Product: DISK
Serial No.: not provided
-------------------------
Sending standard EJECT sequence
Looking for active drivers ...
OK, driver detached
Set up interface 0
Use endpoint 0x0b for message sending ...
Trying to send message 1 to endpoint 0x0b ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 1
Trying to send message 2 to endpoint 0x0b ...
OK, message successfully sent
Read the response to message 2 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x0b ...
Sending the message returned error -1. Try to continue
Read the response to message 3 (CSW) ...
Response reading failed (error -1)
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
Hors ligne
#59 Le 30/09/2019, à 20:37
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
@xubu : le lien du #41 ne fonctionne plus
Hors ligne
#60 Le 30/09/2019, à 20:51
- xubu1957
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
@Nico
Si tu peux voir dans les messages suivants (au #17 ?) > [Résolu] Sub-process /usr/bin/dpkg returned an error code (1)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#61 Le 30/09/2019, à 21:25
- Steiny33270
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Bon ça fonctionne , j'ai pas compmris comment mais ça s'est remis en marche. Pourtant si je reboot je dois refaire :
sudo usb_modeswitch -KW -v 0bda -p 1a2b
pour que ça se conne<ct
Hors ligne
#62 Le 30/09/2019, à 21:32
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Bon ça fonctionne , j'ai pas compmris comment mais ça s'est remis en marche. Pourtant si je reboot je dois refaire :
sudo usb_modeswitch -KW -v 0bda -p 1a2bpour que ça se conne<ct
Ouaip, pas terrible.
Nous avons installé le driver de jeremy31. Veux tu qu'on essaye avec un autre driver? xubu a fait une proposition avec le driver de brektrou
Si tu es partant, il y a un peu de ligne de commande à faire et si ça ne fonctionne pas, il y aura toujours la possibilité de revenir dans la situation actuelle. Par contre, si on essaie, donne bien tous les retours STP
Dernière modification par NicoApi73 (Le 30/09/2019, à 21:32)
Hors ligne
#63 Le 30/09/2019, à 21:43
- ylag
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Bonsoir,
Pourtant si je reboot je dois refaire : sudo usb_modeswitch -KW -v 0bda -p 1a2b
Sous toute réserve, il faudrait peut-être ajouter une règle udev concernant ce périphérique au fichier /lib/udev/rules.d/40-usb_modeswitch.rules vers la fin, juste avant la ligne: LABEL="modeswitch_rules_end", mettre quelque chose du genre de:
# Realtek 8821cu Wifi USB
ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="/usr/sbin/usb_modeswitch -K -v 0bda -p 1a2b"
Voir cette discussion: Automatically use usb_modeswitch for Wifi USB
Qu'en penseraient @NicoApi73 et @xubu1957 ?
A+
Dernière modification par ylag (Le 30/09/2019, à 21:44)
Hors ligne
#64 Le 30/09/2019, à 22:11
- xubu1957
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
@ylag
C'est bien trop compliqué pour moi, toutes ces commandes !
Tu avais vu au #44 ? > draisberghof.de/usb_modeswitch
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#65 Le 01/10/2019, à 06:08
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
@ylag : Salut ylag ,
On était censé avoir quelque chose de ce genre là (mais la syntaxe est un peu différente de la tienne) : cf #50.
La syntaxe est une copie de ce qui était proposé par jeremy31. Je ne l'ai pas analysée, n'étant pas familier de ce type de configuration. On peut essayer la tienne : modifier un fichier de configuration ne va pas chercher très loin et on peut très facilement modifier ou faire marche arrière.
@Steiny33270 :
Bonjour,
sudo nano /lib/udev/rules.d/40-usb_modeswitch.rules
Tu remplaces :
ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="usb_modeswitch '/%k'"ATTR{idVendor}=="ed09", ATTR{idProduct}=="1021", RUN+="usb_modeswitch '/%k'"
par
ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="/usr/sbin/usb_modeswitch -K -v 0bda -p 1a2b"
CTRL+O
Entrée
CTRL+X
reboot
Et tu nous dis si ça fonctionne sans passer la commande manuellement.
Dernière modification par NicoApi73 (Le 01/10/2019, à 06:27)
Hors ligne
#66 Le 01/10/2019, à 08:31
- Steiny33270
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Bonjour a tous,
J'ai fait le #65 et après reboot ça a l'air de tenir. Pas besoins de faire la config manuellement....Je vous tien au courant s'il arrive une erreur. En tout cas merci pour votre patience et votre aide !
Hors ligne
#67 Le 01/10/2019, à 08:52
- Steiny33270
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Bon ben ça s'est déconnecté....j'ai du rebooter et renvoyer la commande manuellement...:/
Hors ligne
#68 Le 01/10/2019, à 10:18
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Relis le #62 et dis moi ce que tu souhaites faire
Hors ligne
#69 Le 01/10/2019, à 11:14
- ylag
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Salut,
Bon ben ça s'est déconnecté....j'ai du rebooter et renvoyer la commande manuellement...:/
Lorsque tu mentionnes avoir relancé la commande manuellement, as-tu utilisé la syntaxe telle qu'aux commentaires #57 et #62?
Si oui, et suivant ce qu'en pense @NicoApi73, peut-être devrais-tu essayer de modifier la règle udev en conséquence, en y mettant plutôt ceci:
ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="/usr/sbin/usb_modeswitch -KW -v 0bda -p 1a2b"
A+
Dernière modification par ylag (Le 01/10/2019, à 11:25)
Hors ligne
#70 Le 01/10/2019, à 11:23
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Salut ylag,
J'ai proposé d'essayer un autre driver car je n'ai pas d'autres propositions Ce que tu proposes me va très bien (et il vaut mieux l'essayer maintenant car pour essayer un autre driver, j'allais désinstaller celui qu'il y a actuellement)
Hors ligne
#71 Le 01/10/2019, à 11:41
- Steiny33270
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
j'ai utilisé cette syntaxe :
sudo usb_modeswitch -KW -v 0bda -p 1a2b
modifier la règle udev en conséquence?
Hors ligne
#72 Le 01/10/2019, à 11:44
- NicoApi73
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Oui puisqu'elle fonctionne.
Hors ligne
#73 Le 01/10/2019, à 13:15
- Steiny33270
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Bon alors j'ai un doute sur le bon fonctionnement de la modif udev ou plutôt, si ce que j'ai fait, à fonctionné... toujours es t il que je me connecte manuellement lorsque j’éteins le pc
greg@greg-System-Product-Name:~$ sudo usb_modeswitch -KW -v 0bda -p 1a2b
[sudo] Mot de passe de greg :
Take all parameters from the command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 2.5.2 (C) Josua Dietze 2017
* Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x0bda
DefaultProduct= 0x1a2b
StandardEject=1
Look for default devices ...
found USB ID 1d6b:0003
found USB ID 0bda:1a2b
vendor ID matched
product ID matched
found USB ID 046d:c03f
found USB ID 18d1:4ee1
found USB ID 062a:4180
found USB ID 04d9:1603
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 004 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 8
Use endpoints 0x0b (out) and 0x8a (in)
USB description data (for identification)
-------------------------
Manufacturer: D-Link Corporation
Product: DISK
Serial No.: not provided
-------------------------
Sending standard EJECT sequence
Looking for active drivers ...
OK, driver detached
Set up interface 0
Use endpoint 0x0b for message sending ...
Trying to send message 1 to endpoint 0x0b ...
OK, message successfully sent
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 1
Trying to send message 2 to endpoint 0x0b ...
OK, message successfully sent
Read the response to message 2 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x0b ...
Sending the message returned error -1. Try to continue
Read the response to message 3 (CSW) ...
Response reading failed (error -1)
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
Si je reboot avec le terminal la connexion persiste mais elle bug après quelques minutes
Hors ligne
#74 Le 01/10/2019, à 13:27
- xubu1957
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Bonjour,
@aux aidants
Une inspiration dans > askubuntu.com/questions/992293/how-to-add-patch-file-code-to-usb-modeswitch-and-add-support-for-3g-usb-modem ?
Quel risque avec cette commande :
sudo apt-get install --reinstall usb-modeswitch-data
?
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#75 Le 01/10/2019, à 13:49
- ylag
Re : Clé wifi non reconnue par ubuntu 18.04lts [RESOLU]
Salut,
toujours es t il que je me connecte manuellement lorsque j’éteins le pc
Désolé, je ne saisis pas le sens de ton commentaire.
Concernant la règle udev, t'es-tu bien assuré de la placer avant la ligne: LABEL="modeswitch_rules_end" ?
A+
Dernière modification par ylag (Le 01/10/2019, à 13:50)
Hors ligne