Merci Madko. Ton image est parlante. J'ai parfaitement compris.
J'ai cherché à avancer:
Il manque un driver RTL8821CU
On le trouve sur github:
https://github.com/brektrou/rtl8821CU
Il y a une procédure d'installation:
git clone https://github.com/brektrou/rtl8821CU.git
Clonage dans 'rtl8821CU'...
remote: Enumerating objects: 63, done.
remote: Counting objects: 100% (63/63), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 1403 (delta 23), reused 9 (delta 1), pack-reused 1340
Réception d'objets: 100% (1403/1403), 5.57 Mio | 506.00 Kio/s, fait.
Résolution des deltas: 100% (796/796), fait.
Tout va bien. C'est après:
./dkms-install.sh 1 ↵
zsh: aucun fichier ou dossier de ce type: ./dkms-install.sh
Ce n'est peut être pas un problème j'ai continué:
lsusb
Bus 001 Device 013: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC
Donc logiquement:
sudo usb_modeswitch -KW -v 0bda -p c811
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= 0xc811
StandardEject=1
Look for default devices ...
found USB ID 05e3:0612
found USB ID 1d6b:0003
found USB ID 05e3:0612
found USB ID 1d6b:0002
found USB ID 1d6b:0003
found USB ID 046d:c534
found USB ID 0bda:c811
vendor ID matched
product ID matched
found USB ID 046d:0892
found USB ID 046a:b090
found USB ID 8087:0025
found USB ID 04f9:02ec
found USB ID 1a40:0101
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 013 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 255
Error: can't use storage command in MessageContent with interface 0; interface class is 255, expected 8. Abort
Hum, ça sent le vinaigre.
Je débranche et rebranche la clé.
Je récidive:
lsusb
Bus 001 Device 014: ID 0bda:1a2b Realtek Semiconductor Corp. DISK
Tiens! voila du changement. J'en profite:
sudo usb_modeswitch -KW -v 0bda -p 1a2b 127 ↵
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 05e3:0612
found USB ID 1d6b:0003
found USB ID 05e3:0612
found USB ID 1d6b:0002
found USB ID 1d6b:0003
found USB ID 046d:c534
found USB ID 0bda:1a2b
vendor ID matched
product ID matched
found USB ID 046d:0892
found USB ID 046a:b090
found USB ID 8087:0025
found USB ID 04f9:02ec
found USB ID 1a40:0101
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 012 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: Realtek
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 ...
Device seems to have vanished right after sending. Good.
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
D'après vous c'est bon ça car si débranche et rebranche la clé :
lsusb
Bus 001 Device 013: ID 0bda:c811 Realtek Semiconductor Corp. 802.11ac NIC
Je suis revenu au point de départ.