[Guida] Bluetooth Ralink RT3290 - nuovo driver

Riconoscimento, installazione e configurazione delle periferiche.
Scrivi risposta
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3363
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 20.04, 22.04, 22.10
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

[Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da corradoventu »

Installazione del nuovo Driver Bluetooth per il chip Ralink RT3290 ... che funziona almeno parzialmente ... meglio che niente.

Per sapere se il tuo PC ha il chip incriminato da terminale dai:
lspci | grep Blue
se ti risponde:
Bluetooth: Ralink corp. RT3290 Bluetooth
hai il problema di cui al bug:
https://bugs.launchpad.net/bluetooth/+bug/1189721

Il chip Ralink RT3290 contiene uno scadente WI-FI adapter ed un pessimo Bluetooth.
Per il WI-FI Ubuntu ha un discreto driver, ma per Bluetooth il problema non è ancora risolto.
Il Bug:
https://bugs.launchpad.net/bluetooth/+bug/1189721
(Ralink RT3290 doesn't have a bluetooth driver)
aperto dal 2013 racconta tutta la storia.

Se si va su gestione_sistema-Bluetooth si ha il messaggio 'NO Bluetooth.. ' e il simbolino di Bluetooth NON compare nella barra menu in alto.

Recentemente, al commento #220 del Bug suddetto viene proposto un driver che DOVREBBE funzionare;
io lo ho provato su varie versioni di Ubuntu installate sul mio HP 250 e ho avuto esiti variabili: su Ubuntu 12.04.5 (Precise) il nuovo driver FUNZIONA: permette di usare un altoparlante Bluetooth, di inviare suoni e file dati ad un altro PC con Bluetooth.

Su 14.04 (Trusty) 16.04 (Xenial) 16.10 (Yakkety) e 17.04 (Zesty) il simbolino di Bluetooth compare nella barra menu, i device Bluetooth vicini vengono rilevati ma poi riesco solo ad usarli come altoparlanti ma non sono ruscito a connetterli per mandare files.

Poichè nel commento #222 del Bug un utente dice che il Driver funziona sul suo ASUS con Ubuntu 16.04 può darsi che il comportamento dipenda non solo dal chip RT3290 ma anche da altro hardware presente.

Scrivo quindi questa guida per installare il nuovo driver nella speranza che sul vostro hardware funzioni.

Come indicato nel bug:
https://bugs.launchpad.net/bluetooth/+bug/1189721
al commento #220
https://bugs.launchpad.net/bluetooth/+b ... mments/220
vai su:
https://launchpad.net/~blaze/+archive/u ... /+packages
trovi:
rtbth-dkms - 3.9.4.6~git20161123-1~zesty~ppa1
rtbth-dkms - 3.9.4.6~git20161123-1~yakkety~ppa1
rtbth-dkms - 3.9.4.6~git20161123-1~xenial~ppa1
rtbth-dkms - 3.9.4.6~git20161123-1~trusty~ppa1
rtbth-dkms - 3.9.4.6~git20161123-1~precise~ppa1
fai click su quello relativo al tuo release, ad esempio io ho Yak ...
trovi la lista dei:Package files
rtbth-dkms_3.9.4.6~git20161123-1~yakkety~ppa1.debian.tar.xz (1.9 KiB)
rtbth-dkms_3.9.4.6~git20161123-1~yakkety~ppa1.dsc (1.9 KiB)
rtbth-dkms_3.9.4.6~git20161123-1~yakkety~ppa1_amd64.deb (307.1 KiB)
rtbth-dkms_3.9.4.6~git20161123.orig.tar.xz (535.5 KiB)
click su quello che ti interessa, io ho scelto ...amd64.deb
... click su 'save' ... lo scarica su Downloads

A questo punto, da terminale vai su Downloads:

Codice: Seleziona tutto

corrado@corrado-yak-hp:~$ cd Downloads
corrado@corrado-yak-hp:~/Downloads$ sudo dpkg -i rtbth-dkms_3.9.4.6~git20161123-1~yakkety~ppa1_amd64.deb
Selecting previously unselected package rtbth-dkms.
(Reading database ... 277195 files and directories currently installed.)
Preparing to unpack rtbth-dkms_3.9.4.6~git20161123-1~yakkety~ppa1_amd64.deb ...
Unpacking rtbth-dkms (3.9.4.6~git20161123-1~yakkety~ppa1) ...
dpkg: dependency problems prevent configuration of rtbth-dkms:
 rtbth-dkms depends on dkms (>= 2.1.0.0); however:
  Package dkms is not installed.

dpkg: error processing package rtbth-dkms (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 rtbth-dkms
corrado@corrado-yak-hp:~/Downloads$ 
Non avendo preventivamente installato dkms, lo installi e tutto procede per il meglio:

Codice: Seleziona tutto

corrado@corrado-yak-hp:~/Downloads$ sudo apt-get install dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.8.0-22 linux-headers-4.8.0-22-generic linux-image-4.8.0-22-generic linux-image-extra-4.8.0-22-generic
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 66,0 kB of archives.
After this operation, 264 kB of additional disk space will be used.
Get:1 http://it.archive.ubuntu.com/ubuntu yakkety/main amd64 dkms all 2.2.0.3-2ubuntu14 [66,0 kB]
Fetched 66,0 kB in 0s (174 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 277234 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-2ubuntu14_all.deb ...
Unpacking dkms (2.2.0.3-2ubuntu14) ...
Setting up dkms (2.2.0.3-2ubuntu14) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up rtbth-dkms (3.9.4.6~git20161123-1~yakkety~ppa1) ...
Loading new rtbth-3.9.4.6 DKMS files...
First Installation: checking all kernels...
Building for 4.8.0-26-generic and 4.8.0-30-generic
Building initial module for 4.8.0-26-generic
Done.

rtbth:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.8.0-26-generic/updates/dkms/

depmod.......

Backing up initrd.img-4.8.0-26-generic to /boot/initrd.img-4.8.0-26-generic.old-dkms
Making new initrd.img-4.8.0-26-generic
(If next boot fails, revert to initrd.img-4.8.0-26-generic.old-dkms image)
update-initramfs....

DKMS: install completed.
Building initial module for 4.8.0-30-generic
Done.

rtbth:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.8.0-30-generic/updates/dkms/

depmod........

Backing up initrd.img-4.8.0-30-generic to /boot/initrd.img-4.8.0-30-generic.old-dkms
Making new initrd.img-4.8.0-30-generic
(If next boot fails, revert to initrd.img-4.8.0-30-generic.old-dkms image)
update-initramfs....

DKMS: install completed.
Processing triggers for initramfs-tools (0.125ubuntu5) ...
update-initramfs: Generating /boot/initrd.img-4.8.0-30-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
Processing triggers for shim-signed (1.21.3+0.9+1465500757.14a5905.is.0.8-0ubuntu3) ...
corrado@corrado-yak-hp:~/Downloads$ 

Dopodichè attivi il nuovo driver:

Codice: Seleziona tutto

corrado@corrado-yak-hp:~$ sudo modprobe rtbth
[sudo] password for corrado: 
corrado@corrado-yak-hp:~$ init complete

Il simbolino di Bluetooth appare nella barra dei menu ... buona fortuna.
Ultima modifica di corradoventu il martedì 20 dicembre 2016, 16:32, modificato 2 volte in totale.
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
Avatar utente
maxbigsi
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17031
Iscrizione: mercoledì 21 maggio 2008, 14:05
Desktop: Xfce
Distribuzione: MX Linux 21.3 64bit
Sesso: Maschile
Contatti:

Re: Bluetooth Ralink RT3290 - nuovo driver

Messaggio da maxbigsi »

grazie per le dritte :sisi: magari si può anteporre [Guida] al titolo ;)
W il software libero..... W Ubuntu -- Ubuntu User # 31322
https://www.ergosumracalmuto.org/inform ... /index.php
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3363
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 20.04, 22.04, 22.10
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da corradoventu »

Se qualcuno seguendo i miei suggerimenti è riuscito bene o male a far funzionare il suo bletooth abbia la astuzia di andare sul bug e di segnalarlo; se va bene a quasi tutti magari prima o poi metteranno quel driver nel kernel.
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
fagottino
Prode Principiante
Messaggi: 12
Iscrizione: venerdì 27 maggio 2016, 23:08
Desktop: Unity
Distribuzione: Ubuntu 16.04 LTS x86_64
Sesso: Maschile

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da fagottino »

Ciao @corradoventu, dopo varie peripezie sono arrivato alla tua guida e finalmente sono riuscito a risolvere il mio problema con il bluetooth!

Ho notato però che ad ogni riavvio il bluetooth torna il letargo (non posso nemmeno attivarlo dalle impostazioni), devo dare ogni volta

Codice: Seleziona tutto

sudo modprobe rtbth
C'è un modo per tenerlo sempre attivo?

Grazie mille!
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3363
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 20.04, 22.04, 22.10
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da corradoventu »

@fagottino: Sono contento che abbia funzionato e CONTENTISSIMO che tu lo abbia segnato sul bug. Purroppo non credo che si possa 'prolungare' la funzione di modprobe, dovresti chiedere a un esperto.

edit: finalmente uno che non ha paura di launchpad!
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
fagottino
Prode Principiante
Messaggi: 12
Iscrizione: venerdì 27 maggio 2016, 23:08
Desktop: Unity
Distribuzione: Ubuntu 16.04 LTS x86_64
Sesso: Maschile

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da fagottino »

corradoventu [url=http://forum.ubuntu-it.org/viewtopic.php?p=4962268#p4962268][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:@fagottino: Sono contento che abbia funzionato e CONTENTISSIMO che tu lo abbia segnato sul bug. Purroppo non credo che si possa 'prolungare' la funzione di modprobe, dovresti chiedere a un esperto.
E di cosa, figurati! :birra:
Riguardo "all'esperto" sapresti dirmi se c'è qualcuno qui sul forum che potrebbe aiutarmi?
Perchè, dovrebbe far paura? :E
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24605
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: Xubuntu
Distribuzione: Ubuntu 20.04 LTS x86_64
Località: Pisa

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da magozurlinux »

@fagottino

Prova a dare questo comando, va dato solo una volta:

Codice: Seleziona tutto

echo rtbth | sudo tee -a /etc/modules
riavvia il pc.
Xubuntu 20.04 LTS i686 Desktop :ciao:
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3363
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 20.04, 22.04, 22.10
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da corradoventu »

@fagottino: a giudicare dal mio tentativo di sondaggio http://forum.ubuntu-it.org/viewtopic.ph ... w=viewpoll
launchpad non ha molti ammiratori
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
fagottino
Prode Principiante
Messaggi: 12
Iscrizione: venerdì 27 maggio 2016, 23:08
Desktop: Unity
Distribuzione: Ubuntu 16.04 LTS x86_64
Sesso: Maschile

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da fagottino »

magozurlinux [url=http://forum.ubuntu-it.org/viewtopic.php?p=4962544#p4962544][img]http://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:@fagottino

Prova a dare questo comando, va dato solo una volta:

Codice: Seleziona tutto

echo rtbth | sudo tee -a /etc/modules
riavvia il pc.
Ciao @magozurlinux, grazie, ma purtroppo non funziona :S
Quando riavvio il pc la scheda bluetooth è come se non venisse proprio rilevata :(
ivantu
Rampante Reduce
Rampante Reduce
Messaggi: 6547
Iscrizione: sabato 8 giugno 2013, 9:25
Desktop: Ubuntu Lubuntu Budgie
Distribuzione: 20.04 LTS; 22.04 LTS
Sesso: Maschile

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da ivantu »

disconnettiti dalla connessione wireless

Possibile che non possono funzionare entrambi...
Buona giornata utenti del forum. :ciao: ivantu
stefanolinc
Prode Principiante
Messaggi: 1
Iscrizione: giovedì 27 ottobre 2016, 20:25
Desktop: Ubuntu 16.04 LTS
Sesso: Maschile

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da stefanolinc »

Grazie ce l'ho fatta finalmenteeeee :D
ASUS X550LDV
IcaroNabbo
Prode Principiante
Messaggi: 3
Iscrizione: sabato 13 febbraio 2021, 20:47
Sesso: Maschile

Re: [Guida] Bluetooth Ralink RT3290 - nuovo driver

Messaggio da IcaroNabbo »

ma@ma-HP-250-G3-Notebook-PC:~/Downloads$ sudo apt-get install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version (2.8.3-4).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up rtbth-dkms (3.9.5~git20170328-1~yakkety~ppa1) ...
Removing old rtbth-3.9.5 DKMS files...

------------------------------
Deleting module version: 3.9.5
completely from the DKMS tree.
------------------------------
Done.
Loading new rtbth-3.9.5 DKMS files...
Building for 5.8.0-43-generic
Building initial module for 5.8.0-43-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtbth-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-43-generic (x86_64)
Consult /var/lib/dkms/rtbth/3.9.5/build/make.log for more information.
dpkg: error processing package rtbth-dkms (--configure):
installed rtbth-dkms package post-installation script subprocess returned error exit status 10



ricevo questo errore quando cerco di instrallare dkms....
Errors were encountered while processing:
rtbth-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
ma@ma-HP-250-G3-Notebook-PC:~/Downloads$

mentre ricevo questo mentre lancio sudo dpkg -i rtbth-dkms_3.9.5~git20170328-1~yakkety~ppa1_amd64.deb

ma@ma-HP-250-G3-Notebook-PC:~/Downloads$ sudo dpkg -i rtbth-dkms_3.9.5~git20170328-1~yakkety~ppa1_amd64.deb
(Reading database ... 190188 files and directories currently installed.)
Preparing to unpack rtbth-dkms_3.9.5~git20170328-1~yakkety~ppa1_amd64.deb ...

------------------------------
Deleting module version: 3.9.5
completely from the DKMS tree.
------------------------------
Done.
Unpacking rtbth-dkms (3.9.5~git20170328-1~yakkety~ppa1) over (3.9.5~git20170328-1~yakkety~ppa1) ...
Setting up rtbth-dkms (3.9.5~git20170328-1~yakkety~ppa1) ...
Loading new rtbth-3.9.5 DKMS files...
Building for 5.8.0-43-generic
Building initial module for 5.8.0-43-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtbth-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.8.0-43-generic (x86_64)
Consult /var/lib/dkms/rtbth/3.9.5/build/make.log for more information.
dpkg: error processing package rtbth-dkms (--install):
installed rtbth-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
rtbth-dkms
ma@ma-HP-250-G3-Notebook-PC:~/Downloads$
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 10 ospiti