[Risolto] usb wifi bluetooth rtl8821CU non accessibile

Riconoscimento, installazione e configurazione delle periferiche.
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

[Risolto] usb wifi bluetooth rtl8821CU non accessibile

Messaggio da ruttolibero »

Salve, ho una usb che fa da wifi e bluetooth che non funziona perchè è senza driver. Per installare i driver ho bisogno che cambi la modalità da cd a wifi come si evince da questa discussione che ho avuto su chiedi https://chiedi.ubuntu-it.org/questions/ ... n-funziona
il punto è che se gli dò il comando lsblk
alla fine mi riporta
sr1 11:1 1 7,8M 0 rom
cioè è in modalità rom ovvero solo lettura.Dovrei riuscire a montarla per poi smontarla e fargli cambiare i parametri 0bda:1a2b in 0bda:quello che viene. Sono bloccato qua... :muro: potete aiutarmi? grazie
Ultima modifica di ruttolibero il giovedì 13 gennaio 2022, 20:01, modificato 2 volte in totale.
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da magozurlinux »

salve,

per swicharla da dispositivo di massa a chiavetta wireless bisogna usare il comando come per le chiavette Internet ed usare usb_modeswith.

Inserisci la chiavetta wifi usb nella porta usb, da terminale dai questo comando:

Codice: Seleziona tutto

sudo usb_modeswitch -KW -v 0bda -p 1a2b
Da terminale postami questo comando per vedere se ha fatto il switch:

Codice: Seleziona tutto

lsusb
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

simone@simone-Veriton-X4620G:~$ sudo usb_modeswitch -KW -v 0bda -p 1a2b
[sudo] password di simone:
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 8087:0024
found USB ID 1d6b:0002
found USB ID 046d:c52e
found USB ID 0bda:1a2b
vendor ID matched
product ID matched
found USB ID 8087:0024
found USB ID 1d6b:0002
found USB ID 1d6b:0003
found USB ID 0e8d:2004
found USB ID 1d6b:0002
Found devices in default mode (1)
Access device 003 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 ...
Sending the message returned error -7. Try to continue
Read the response to message 1 (CSW) ...
Response successfully read (13 bytes), status 32
Trying to send message 2 to endpoint 0x0b ...
Sending the message returned error -7. Try to continue
Read the response to message 2 (CSW) ...
Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x0b ...
OK, message successfully sent
Read the response to message 3 (CSW) ...
Response successfully read (13 bytes), status 1
Trying to send message 4 to endpoint 0x0b ...
OK, message successfully sent
Read the response to message 4 (CSW) ...
Response successfully read (13 bytes), status 1
Reset response endpoint 0x8a
Reset message endpoint 0x0b
-> Run lsusb to note any changes. Bye!

simone@simone-Veriton-X4620G:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 001 Device 003: ID 0bda:1a2b Realtek Semiconductor Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0e8d:2004 MediaTek Inc. A71
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

avevo già provato a dare questo comando ma non la swiccha
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da magozurlinux »

Forse bisogna smontarla come dispositivo di massa prima di switcharla.

Inserisci la chiavetta wireless, aspetta 15'', da terminale dai questi comandi:

Codice: Seleziona tutto

eject /dev/sr1
aspetta 15''

Codice: Seleziona tutto

sudo usb_modeswitch -KW -v 0bda -p 1a2b
da terminale postami questo comando:

Codice: Seleziona tutto

lsusb
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

Codice: Seleziona tutto

simone@simone-Veriton-X4620G:~$ eject /dev/sr1
eject: impossibile aprire "/dev/sr1"
simone@simone-Veriton-X4620G:~$ sudo usb_modeswitch -KW -v 0bda -p 1a2b
[sudo] password di simone: 
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 8087:0024
  found USB ID 1d6b:0002
  found USB ID 046d:c52e
  found USB ID 0bda:1a2b
   vendor ID matched
   product ID matched
  found USB ID 8087:0024
  found USB ID 1d6b:0002
  found USB ID 1d6b:0003
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 003 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 ...
 Sending the message returned error -7. Try to continue
Read the response to message 1 (CSW) ...
 Response successfully read (13 bytes), status 32
Trying to send message 2 to endpoint 0x0b ...
 Sending the message returned error -7. Try to continue
Read the response to message 2 (CSW) ...
 Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x0b ...
 OK, message successfully sent
Read the response to message 3 (CSW) ...
 Response successfully read (13 bytes), status 1
Trying to send message 4 to endpoint 0x0b ...
 OK, message successfully sent
Read the response to message 4 (CSW) ...
 Response successfully read (13 bytes), status 1
Reset response endpoint 0x8a
Reset message endpoint 0x0b
-> Run lsusb to note any changes. Bye!

simone@simone-Veriton-X4620G:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 001 Device 003: ID 0bda:1a2b Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Scusa il ritardo nella risposta ma sono tutto il giorno a lavorare e oggi ho fatto anche la terza dose di vaccino e mi sono sparato due ore di coda... vabbè....
é possibile che il problema che non si switccha sia nel bios? perchè se non ricordo male ho come primo avvio la chiavetta, come secondo avvio il cd e come terzo avvio l'hard disk
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da magozurlinux »

ruttolibero ha scritto:
lunedì 10 gennaio 2022, 19:58

Codice: Seleziona tutto

simone@simone-Veriton-X4620G:~$ eject /dev/sr1
eject: impossibile aprire "/dev/sr1"
simone@simone-Veriton-X4620G:~$ sudo usb_modeswitch -KW -v 0bda -p 1a2b
[sudo] password di simone: 
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 8087:0024
  found USB ID 1d6b:0002
  found USB ID 046d:c52e
  found USB ID 0bda:1a2b
   vendor ID matched
   product ID matched
  found USB ID 8087:0024
  found USB ID 1d6b:0002
  found USB ID 1d6b:0003
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 003 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 ...
 Sending the message returned error -7. Try to continue
Read the response to message 1 (CSW) ...
 Response successfully read (13 bytes), status 32
Trying to send message 2 to endpoint 0x0b ...
 Sending the message returned error -7. Try to continue
Read the response to message 2 (CSW) ...
 Response successfully read (13 bytes), status 0
Trying to send message 3 to endpoint 0x0b ...
 OK, message successfully sent
Read the response to message 3 (CSW) ...
 Response successfully read (13 bytes), status 1
Trying to send message 4 to endpoint 0x0b ...
 OK, message successfully sent
Read the response to message 4 (CSW) ...
 Response successfully read (13 bytes), status 1
Reset response endpoint 0x8a
Reset message endpoint 0x0b
-> Run lsusb to note any changes. Bye!

simone@simone-Veriton-X4620G:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 001 Device 003: ID 0bda:1a2b Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Scusa il ritardo nella risposta ma sono tutto il giorno a lavorare e oggi ho fatto anche la terza dose di vaccino e mi sono sparato due ore di coda... vabbè....
é possibile che il problema che non si switccha sia nel bios? perchè se non ricordo male ho come primo avvio la chiavetta, come secondo avvio il cd e come terzo avvio l'hard disk
Non dipende dalle impostazioni del BIOS.

Da terminale con la chiavetta wireless inserita postami questo comando:

Codice: Seleziona tutto

dmesg | grep CD-ROM
Ultima modifica di magozurlinux il lunedì 10 gennaio 2022, 20:12, modificato 1 volta in totale.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

Codice: Seleziona tutto

simone@simone-Veriton-X4620G:~$ dmesg | grep CD-ROM
[    1.543152] scsi 0:0:1:0: CD-ROM            HL-DT-ST DVDRAM GHA2N     1.00 PQ: 0 ANSI: 5
[    1.631338] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.691533] sr 0:0:1:0: Attached scsi CD-ROM sr0
[    4.082367] scsi 4:0:0:0: CD-ROM            Realtek  Driver Storage   1.00 PQ: 0 ANSI: 0 CCS
[    4.123547] sr 4:0:0:0: Attached scsi CD-ROM sr1
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da magozurlinux »

ruttolibero ha scritto:
lunedì 10 gennaio 2022, 20:11
simone@simone-Veriton-X4620G:~$ dmesg | grep CD-ROM
[ 1.543152] scsi 0:0:1:0: CD-ROM HL-DT-ST DVDRAM GHA2N 1.00 PQ: 0 ANSI: 5
[ 1.631338] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 1.691533] sr 0:0:1:0: Attached scsi CD-ROM sr0
[ 4.082367] scsi 4:0:0:0: CD-ROM Realtek Driver Storage 1.00 PQ: 0 ANSI: 0 CCS
[ 4.123547] sr 4:0:0:0: Attached scsi CD-ROM sr1
prova a dare questo comando:

Codice: Seleziona tutto

sudo eject /dev/sr1
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

Codice: Seleziona tutto

simone@simone-Veriton-X4620G:~$ sudo eject /dev/sr1
[sudo] password di simone: 
eject: impossibile trovare o aprire il dispositivo "/dev/sr1"
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

sai che è sparito... con il comando lsblk e dall'applicazione dischi è sparito
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da magozurlinux »

Ora dai questo comando:

Codice: Seleziona tutto

sudo usb_modeswitch -KW -v 0bda -p 1a2b
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

Codice: Seleziona tutto

simone@simone-Veriton-X4620G:~$ sudo usb_modeswitch -KW -v 0bda -p 1a2b
[sudo] password di simone: 
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 8087:0024
  found USB ID 1d6b:0002
  found USB ID 046d:c52e
  found USB ID 0bda:1a2b
   vendor ID matched
   product ID matched
  found USB ID 8087:0024
  found USB ID 1d6b:0002
  found USB ID 1d6b:0003
  found USB ID 0e8d:2004
  found USB ID 1d6b:0002
 Found devices in default mode (1)
Access device 003 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 ...
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 1
Trying to send message 3 to endpoint 0x0b ...
 OK, message successfully sent
Read the response to message 3 (CSW) ...
 Response successfully read (13 bytes), status 0
Trying to send message 4 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!

simone@simone-Veriton-X4620G:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 001 Device 005: ID 0bda:c820 Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0e8d:2004 MediaTek Inc. A71
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
BRAVOOOOOOO bravo bravo grandeee
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da magozurlinux »

Perfetto!

Domani ti preparo la regola udev per farlo in automatico, ora vado a cena.

Ciao
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

Grazie mille sei stato bravissimo e gentilissimo ciao
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da magozurlinux »

Prego, di nulla!

Da terminale dai questi comandi senza la chiavetta wireless inserita:

Codice: Seleziona tutto

sudo nano /lib/udev/rules.d/40-usb_modeswitch.rules
vai in fondo al file, prima di LABEL="modeswitch_rules_end" aggiungi queste righe:

Codice: Seleziona tutto

# Realtek 8211CU Wifi AC USB
ATTR{idVendor}=="0bda", ATTR{idProduct}=="1a2b", RUN+="/usr/bin/eject /dev/sr1", RUN+="/usr/sbin/usb_modeswitch -KW -v 0bda -p 1a2b"
per salvare premi i tasti CTRL o e poi Invio; per uscire premi i tasti CTRL x

Codice: Seleziona tutto

sudo service udev restart

Codice: Seleziona tutto

nmcli radio wifi on
riavvia il pc.

Inserisci la chiavetta wireless, da terminale postami questo comando:

Codice: Seleziona tutto

lsusb
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

Allora... ho cambiato il nome del modulo perchè è 8821 comunque è andata bene perchè appena inserita l'ha subito riconosciuta. Grazie :D :ciao:

Codice: Seleziona tutto

simone@simone-Veriton-X4620G:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 001 Device 005: ID 0bda:c820 Realtek Semiconductor Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: usb wifi bluetooth rtl8191su non accessibile

Messaggio da magozurlinux »

ruttolibero ha scritto:
martedì 11 gennaio 2022, 19:26
Allora... ho cambiato il nome del modulo perchè è 8821 comunque è andata bene perchè appena inserita l'ha subito riconosciuta. Grazie :D :ciao:
]simone@simone-Veriton-X4620G:~$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 001 Device 005: ID 0bda:c820 Realtek Semiconductor Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Ciao.

Quando ho scritto la regola udev non so perché ho scritto 8211, certe volte penso una cosa e ne scrivo un altra. :D

Bene, per il resto sei riuscito a farla funzionare come chiavetta wifi e bluetooth?
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: [Risolto] usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

Si la chiavetta funziona però se avvio il pc con la chiavetta inserita non la swiccha. devo toglierla e rimetterla... poco male. certo se sai come fare a fagliela vedere senza che sto a fare togli-metti... è meglio :D
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: [Risolto] usb wifi bluetooth rtl8191su non accessibile

Messaggio da magozurlinux »

ruttolibero ha scritto:
mercoledì 12 gennaio 2022, 19:19
Si la chiavetta funziona però se avvio il pc con la chiavetta inserita non la swiccha. devo toglierla e rimetterla... poco male. certo se sai come fare a fagliela vedere senza che sto a fare togli-metti... è meglio :D
Modifica il titolo rtl8191su con rtl8821CU.

Entra nel BIOS e metti in BOOT 1° CD-ROM 2° Hard Disk, salva le impostazioni e riavvia il pc.

Vedi se così non occorre togliere e rimettere la chiavetta wireless.

Se ancora devi togliere e rimettere la chiavetta wireless ecco una regola udev:

Da terminale dai questi comandi:

Codice: Seleziona tutto

sudo nano  /etc/udev/rules.d/70-usb-modeswitch.rules
copia e incolla queste righe:

Codice: Seleziona tutto

# Realtek 8821CU Wifi AC USB
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="1a2b", RUN+="/usr/bin/eject /dev/sr1", RUN+="/usr/sbin/usb_modeswitch -KW -v 0bda -p 1a2b"
per salvare premi i tasti CTRL o e poi Invio; per uscire premi i tasti CTRL x

Codice: Seleziona tutto

sudo service udev restart
riavvia il pc.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
ruttolibero
Prode Principiante
Messaggi: 49
Iscrizione: domenica 9 gennaio 2022, 10:55
Desktop: Gnome
Distribuzione: Ubuntu 20.04.3 LTS
Sesso: Maschile
Località: La Spezia

Re: [Risolto] usb wifi bluetooth rtl8191su non accessibile

Messaggio da ruttolibero »

:nono: Allora... ho provato a cambiare la sequenza del boot ma non ha funzionato, poi ho messo la regola udev senza la chiavetta per poi riavviare con la chiavetta inserita e non ha funzionato. forse ci sono state troppe modifiche tutte insieme?
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 25 ospiti