Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 13/08/2014, à 12:41

xunil2003

Ubuntu 14.04 : RTL-SDR (Software Definied Radio)

Bonjour

Je suis sous Kubuntu 14.04 LTS x64
J'ai reçus mon stick usb pour le SDR (DAB + FM + DVB-T).
http://www.ebay.fr/itm/E4000-USB-DVB-T- … 486a0b1016

J'ai connecté ma clé usb au pc, elle est bien reconnu.

laurent@nathalie-AKOYA-E1318T:~$ lsusb
Bus 001 Device 003: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
laurent@nathalie-AKOYA-E1318T:~$ 

Puis j'ai installé GRC (gnuradio)

sudo apt-get install gnuradio

En suite j'ai installé rtl-sdr

sudo apt-get install rtl-sdr

Et pour finir, j'ai installé librtlsdr.

sudo apt-get install librtlsdr.

Mais quand je vérifier le fonctionnement de ma clé usb, en testant sa gamme de fréquence, j'ai cette erreur qui s'affiche :

laurent@nathalie-AKOYA-E1318T:~$ rtl_test -t
Found 1 device(s):
  0:  Generic RTL2832U OEM

Using device 0: Generic RTL2832U OEM

Kernel driver is active, or device is claimed by second instance of librtlsdr.
In the first case, please either detach or blacklist the kernel module
(dvb_usb_rtl28xxu), or enable automatic detaching at compile time.

usb_claim_interface error -6
Failed to open rtlsdr device #0.
laurent@nathalie-AKOYA-E1318T:~$

J'ai pourtant suivi le guide :
http://doc.ubuntu-fr.org/rtl-sdr

Comment faire ?

Merci.

Dernière modification par xunil2003 (Le 30/08/2014, à 21:53)


- AMD R9 5950x 64 Go Ram / Intel Pentium I7 960 - 12 Go Ram - 6 T0 - Kubuntu 12.04 x64 / Kubuntu 14.04 x64 / Kubuntu 16.04 x64 / Kubuntu 18.04 x64 /  Kubuntu 20.04 x64 / Mint
- DreamPlug Multi Boot / Marvel 1.22 Ghz / Architecture ARM / 512 Mo Ram / Carte-sd 16 Go class 10 / 5 Watts / Debian Squeeze 2.6.39.4
- Raspberry PI 1 / Raspberry PI 2 / Raspberry PI 3 / Raspberry PI 4 : 4Gb
JE SUIS CHARLIE

Hors ligne

#2 Le 31/08/2014, à 00:12

xunil2003

Re : Ubuntu 14.04 : RTL-SDR (Software Definied Radio)

Bonjour,

J'ai créé un fichier blacklist :

sudo touch /etc/modprobe.d/blacklist-dvb.conf

Puis je l'ai edité avec nano

sudo nano /etc/modprobe.d/blacklist-dvb.conf

En suite  j'ai coller ceci dans le fichier :

# Blacklist entries to prevent the DVB side from hooking
# an RTL2832 stick for TV usage instead of the desired usage
# with rtl_sdr.
 
blacklist dvb_usb_rtl28xxu
blacklist rtl2832
blacklist rtl2830

Puis j'ai redémarrer le pc et j'ai refait un test :

laurent@nathalie-AKOYA-E1318T:~$ rtl_test -t
Found 1 device(s):
  0:  Generic RTL2832U OEM

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 
No E4000 tuner found, aborting.
laurent@nathalie-AKOYA-E1318T:~$ 

Ce qui me surprend, c'est qu'il n'y a plus les adaptateurs :

laurent@nathalie-AKOYA-E1318T:~$ls -al /dev/dvb              
ls: impossible d'accéder à /dev/dvb: Aucun fichier ou dossier de ce type
laurent@nathalie-AKOYA-E1318T:~$ ls -al /dev/radio*
ls: impossible d'accéder à /dev/radio*: Aucun fichier ou dossier de ce type
laurent@nathalie-AKOYA-E1318T:~$

Mais c'est pas encore ça, il me répond :

No E4000 tuner found, aborting.

Je ne suis pas sûre de mon fichier blacklist ?

Merci.

Dernière modification par xunil2003 (Le 31/08/2014, à 00:40)


- AMD R9 5950x 64 Go Ram / Intel Pentium I7 960 - 12 Go Ram - 6 T0 - Kubuntu 12.04 x64 / Kubuntu 14.04 x64 / Kubuntu 16.04 x64 / Kubuntu 18.04 x64 /  Kubuntu 20.04 x64 / Mint
- DreamPlug Multi Boot / Marvel 1.22 Ghz / Architecture ARM / 512 Mo Ram / Carte-sd 16 Go class 10 / 5 Watts / Debian Squeeze 2.6.39.4
- Raspberry PI 1 / Raspberry PI 2 / Raspberry PI 3 / Raspberry PI 4 : 4Gb
JE SUIS CHARLIE

Hors ligne

#3 Le 16/06/2015, à 23:42

F0GXR

Re : Ubuntu 14.04 : RTL-SDR (Software Definied Radio)

La solution est ici :

http://w7fu.com/?page_id=136

la voici en cas de pb :

RTL 2832U SDR Receiver with GRC – Bug Fix

John Petrich, W7FU, Tom McDermott, N5EG, and Pete Schuetz, KD7PAB

July 30, 2014

The RTL 2832U “TV dongle” is an excellent ‘front end’ for an entry level SDR receiver that uses the GRC ‘back end’ for DSP.  These RTL SDRs natively receive in the VHF and UHF frequency range.  They are inexpensive and readily available:

www.Nooelec.com

The R820T SDR & DVB-T NESDR Mini model when paired with the Ham It Up v1.2, RF Upconverter will permit reception from broadcast through HF and on to UHF all in one inexpensive package.  Every SDR/DSP experimenter should have one.

The RTL 2832U receiver DSP interface is natively included in the GRC DSP library.  With recent version changes, GRC3.7.3 and above, a bug fix is required for the RTL receiver to function in a flow graph.  The bug appears to have been fixed in the live DVD version of GRC 3.7.5.1.    The bug fix involves directing the USB driver to the 2832U portion of the RTL device, and not recognizing the 2838 DVB-T portion.  Without the bug fix the 2832U and 2838 are recognized at the same time and the 2832U circuitry cannot to link via the USB port to the flow graph.  Without a bug fix an error message appears at the bottom of the GRC work area: ” …..usb_claim_interface error -6 Failed to open rtlsdr device #0 “

How to temporarily bypass the bug

A temporary bug fix turns off the 2838 DVB-T function and connects the 2832U to the USB port.  This bug fix must be performed each time the RTL unit is plugged into the USB port.  The USB driver reverts on reconnect and recognizes both components again.  The temporary bug fix must be repeated.  The USB setting fix is durable as long as the RTL device is left connected to the USB port.  To implement the temporary bug fix follow this procedure:

1) plug the RTL unit into a USB port

2) enter this command into the terminal program:

~$ sudo rmmod dvb_usb_rtl28xxu  (Enter)

3) execute the flow graph that uses the RTL 2832U ‘front end’


How to permanently change the Ubuntu USB driver using ‘Blacklist’

A permanent bug fix prevents the Ubuntu USB driver from recognizing the 2838 device.  No further terminal entries are needed with this bug fix to use the RTLSDR on demand.  This process is often called “blacklist” and uses Ubuntu modprobe.  A simple way to “blacklist”  is as follows:

1) in the terminal application enter the following commands:

~$ cd /etc/modprobe.d/  (Enter)

~$ sudo nano ban-rtl.conf  (Enter)

2) At this point a blank text window appears (nano) and you enter this command:

blacklist dvb_usb_rtl28xxu

3) Save the file, and reboot your computer.

4) On reboot use the terminal application to enter:

~$ rtl_test -t

5) The screen should display the RTL device instead of the “busy” error message.

The MS Word .zip file version of these instructions is available for download here:  RTL 2832U SDR Receiver with GRC Bug Fix

To download the .zip file, right click the file. One of the choices in the dialog box will be:  ‘Save Link As…’  Choose that command.   You will be directed to save the file to a location of your choice on your computer.  Once saved, navigate to that location, right click the .zip file and select ‘Extract Here’.  The executable .zip file will appear.


M73,

Vincent

Nota : j'avais le même problème avec ma clef, résolu de suite par les deux commandes du dessus (temporaire et définitive), bonne chance.

Hors ligne

#4 Le 18/12/2016, à 12:30

Phil17

Re : Ubuntu 14.04 : RTL-SDR (Software Definied Radio)

Bonjour,
Il me semble que j'ai perdu ou effacé le pilote du tuner E4000 ...

rtl_test -t
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 
[R82XX] PLL not locked!
Sampling at 2048000 S/s.
No E4000 tuner found, aborting.

XPS15 version 2020 (7590) i7-9750H, RAM : 16 Go, SSD 512 Go, Écran FHD 15,6"
Xubuntu 22.04LTS, TLP en mode BAT persistant.

Hors ligne

#5 Le 20/07/2017, à 09:03

Kilgrade

Re : Ubuntu 14.04 : RTL-SDR (Software Definied Radio)

Bonjour

.. Déterrage de topic qui pourrait servir à d'autre ..

Non, tout est normal car ta clé dispose du dernier chipset 2832U avec le tuner 820T2, indiqué d'ailleurs quelques lignes plus haut " Found Rafael Micro R820T tuner "

Jeff

Dernière modification par Kilgrade (Le 20/07/2017, à 09:05)

Hors ligne