web-dev-qa-db-fra.com

Recevez la radio FM Ubuntu

J'essaie de recevoir la radio FM sur Ubuntu via une clé USB DVB-T. Voici le bâton: http://www.aliexpress.com/item/USB2-0-DAB-FM-DVB-T-RTL2832-R820T-SDR-RTL-SDR-Dongle-Stick-Digital-TV -Tuner/32267130430.html J'ai reçu un CD avec les pilotes. Mais ce sont pour les fenêtres et fonctionnent bien. J'ai déjà installé v4l et essayé beaucoup d'applications radio différentes. Mais aucun d'eux ne fonctionne. Je ne peux pas trouver un bon pilote parce que ce n'est pas une marque bien connue. Est-ce que quelqu'un sait comment je peux recevoir la radio FM sur Ubuntu?

EDIT

Sortie de dmesg | grep DVB:

jw@jw-pc:~$ dmesg | grep DVB
[   49.692900] usb 1-1: dvb_usb_v2: found a 'Astrometa DVB-T2' in warm state
[   49.766190] DVB: registering new adapter (Astrometa DVB-T2)
[   49.823863] usb 1-1: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[   49.823936] usb 1-1: DVB: registering adapter 0 frontend 1 (Panasonic MN88473)...
[   49.915043] input: Astrometa DVB-T2 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/rc/rc0/input14
[   49.915151] rc rc0: Astrometa DVB-T2 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/rc/rc0
[   49.925960] usb 1-1: dvb_usb_v2: 'Astrometa DVB-T2' successfully initialized and connected

Sortie de lsusb:

jw@jw-pc:~$ lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 1bcf:2c55 Sunplus Innovation Technology Inc. 
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:c040 Logitech, Inc. Corded Tilt-Wheel Mouse
Bus 001 Device 003: ID 15f4:0131 HanfTek 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Output tail -f/var/log/messages: Ce fichier n'existe pas

Sortie tail -f/var/log/syslog:

Dec 17 15:28:36 jw-pc kernel: [ 6684.389943] usb 1-1: new high-speed USB device number 12 using xhci_hcd
Dec 17 15:28:36 jw-pc kernel: [ 6684.585049] usb 1-1: New USB device found, idVendor=15f4, idProduct=0131
Dec 17 15:28:36 jw-pc kernel: [ 6684.585053] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 17 15:28:36 jw-pc kernel: [ 6684.585055] usb 1-1: Product: dvbt2
Dec 17 15:28:36 jw-pc kernel: [ 6684.585057] usb 1-1: Manufacturer: astrometadvbt2
Dec 17 15:28:36 jw-pc kernel: [ 6684.592166] usb 1-1: dvb_usb_v2: found a 'Astrometa DVB-T2' in warm state
Dec 17 15:28:36 jw-pc kernel: [ 6684.665828] usb 1-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
Dec 17 15:28:36 jw-pc kernel: [ 6684.665840] DVB: registering new adapter (Astrometa DVB-T2)
Dec 17 15:28:36 jw-pc kernel: [ 6684.669939] i2c i2c-7: Added multiplexed i2c bus 8
Dec 17 15:28:36 jw-pc kernel: [ 6684.669944] rtl2832 7-0010: Realtek RTL2832 successfully attached
Dec 17 15:28:36 jw-pc kernel: [ 6684.674942] mn88473 7-0018: Panasonic MN88473 successfully attached
Dec 17 15:28:36 jw-pc kernel: [ 6684.674950] usb 1-1: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
Dec 17 15:28:36 jw-pc kernel: [ 6684.674997] usb 1-1: DVB: registering adapter 0 frontend 1 (Panasonic MN88473)...
Dec 17 15:28:36 jw-pc kernel: [ 6684.675046] r820t 8-003a: creating new instance
Dec 17 15:28:36 jw-pc kernel: [ 6684.686812] r820t 8-003a: Rafael Micro r820t successfully identified
Dec 17 15:28:36 jw-pc kernel: [ 6684.686822] r820t 8-003a: attaching existing instance
Dec 17 15:28:36 jw-pc kernel: [ 6684.693702] r820t 8-003a: Rafael Micro r820t successfully identified
Dec 17 15:28:36 jw-pc kernel: [ 6684.695599] videobuf2_memops: Unknown symbol put_vaddr_frames (err 0)
Dec 17 15:28:36 jw-pc kernel: [ 6684.695622] videobuf2_memops: Unknown symbol get_vaddr_frames (err 0)
Dec 17 15:28:36 jw-pc kernel: [ 6684.695633] videobuf2_memops: Unknown symbol frame_vector_destroy (err 0)
Dec 17 15:28:36 jw-pc kernel: [ 6684.695642] videobuf2_memops: Unknown symbol frame_vector_create (err 0)
Dec 17 15:28:36 jw-pc kernel: [ 6684.713892] Registered IR keymap rc-empty
Dec 17 15:28:36 jw-pc kernel: [ 6684.713972] input: Astrometa DVB-T2 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/rc/rc0/input23
Dec 17 15:28:36 jw-pc kernel: [ 6684.714055] rc rc0: Astrometa DVB-T2 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/rc/rc0
Dec 17 15:28:36 jw-pc kernel: [ 6684.714134] rc rc0: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 0
Dec 17 15:28:36 jw-pc kernel: [ 6684.714138] usb 1-1: dvb_usb_v2: schedule remote query interval to 200 msecs
Dec 17 15:28:36 jw-pc kernel: [ 6684.722755] usb 1-1: dvb_usb_v2: 'Astrometa DVB-T2' successfully initialized and connected
Dec 17 15:28:36 jw-pc mtp-probe: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1"
Dec 17 15:28:36 jw-pc mtp-probe: bus: 1, device: 12 was not an MTP device
Dec 17 15:28:37 jw-pc kernel: [ 6685.555746] usb 1-1: USB disconnect, device number 12
Dec 17 15:28:37 jw-pc kernel: [ 6685.592369] r820t 8-003a: destroying instance
Dec 17 15:28:37 jw-pc kernel: [ 6685.593642] usb 1-1: dvb_usb_v2: 'Astrometa DVB-T2' successfully deinitialized and disconnected

Sortie lsusb -vvd 15f4: 0131:

jw@jw-pc:~$ lsusb -vvd 15f4:0131

Bus 001 Device 013: ID 15f4:0131 HanfTek 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x15f4 HanfTek
  idProduct          0x0131 
  bcdDevice            1.00
  iManufacturer           1 astrometadvbt2
  iProduct                2 dvbt2
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 USB2.0-Bulk&Iso
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Bulk-In, Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Bulk-In, Interface
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      2
Device Status:     0x0000
  (Bus Powered)

Ouput ls/lib/firmware:

3.16.0-55-generic                dvb-fe-tda10046.fw             ipw2100-1.3-i.fw         macxvi200.bin                  s2250.fw
3.16.0-56-generic                dvb-fe-tda10048-1.0.fw         ipw2100-1.3-p.fw         macxvi.cfg                     s2250_loader.fw
3.19.0-33-generic                dvb-fe-xc4000-1.4.1.fw         ipw2200-bss.fw           Makefile                       s5p-mfc
3.19.0-37-generic                dvb-fe-xc5000-1.6.114.fw       ipw2200-ibss.fw          matrox                         sb16
3.19.0-39-generic                dvb-fe-xc5000c-4.1.30.7.fw     ipw2200-sniffer.fw       moxa                           scripts
3com                             dvb-ttpci-01.fw                isci                     mrvl                           sdd_sagrad_1091_1098.bin
acenic                           dvb-ttpci-01.fw-261a           isl3877                  mt7650.bin                     slicoss
adaptec                          dvb-ttpci-01.fw-261b           isl3886pci               mts_cdma.fw                    sms1xxx-hcw-55xxx-dvbt-02.fw
advansys                         dvb-ttpci-01.fw-261c           isl3886usb               mts_Edge.fw                    sms1xxx-hcw-55xxx-isdbt-02.fw
agere_ap_fw.bin                  dvb-ttpci-01.fw-261d           isl3887usb               mts_gsm.fw                     sms1xxx-nova-a-dvbt-01.fw
agere_sta_fw.bin                 dvb-ttpci-01.fw-261f           isl3890                  mts_mt9234mu.fw                sms1xxx-nova-b-dvbt-01.fw
ar3k                             dvb-ttpci-01.fw-2622           iwlwifi-1000-5.ucode     mts_mt9234zba.fw               sms1xxx-stellar-dvbt-01.fw
ar5523.bin                       dvb-ttusb-dec-2000t.fw         iwlwifi-100-5.ucode      mwl8k                          Sun
asihpi                           dvb-ttusb-dec-2540t.fw         iwlwifi-105-6.ucode      myri10ge_eth_big_z8e.dat       tehuti
ath10k                           dvb-ttusb-dec-3000s.fw         iwlwifi-135-6.ucode      myri10ge_ethp_big_z8e.dat      ti_3410.fw
ath3k-1.fw                       dvb-usb-af9015.fw              iwlwifi-2000-6.ucode     myri10ge_ethp_z8e.dat          ti_5052.fw
ath6k                            dvb-usb-avertv-a800-02.fw      iwlwifi-2030-6.ucode     myri10ge_eth_z8e.dat           ti-connectivity
atmel_at76c504_2958.bin          dvb-usb-bluebird-01.fw         iwlwifi-3160-10.ucode    myri10ge_rss_eth_big_z8e.dat   tigon
atmel_at76c504a_2958.bin         dvb-usb-dib0700-1.10.fw        iwlwifi-3160-12.ucode    myri10ge_rss_ethp_big_z8e.dat  tlg2300_firmware.bin
atmsar11.fw                      dvb-usb-dib0700-1.20.fw        iwlwifi-3160-13.ucode    myri10ge_rss_ethp_z8e.dat      ttusb-budget
av7110                           dvb-usb-dibusb-5.0.0.11.fw     iwlwifi-3160-7.ucode     myri10ge_rss_eth_z8e.dat       ueagle-atm
bcm2033-fw.bin                   dvb-usb-dibusb-6.0.0.8.fw      iwlwifi-3160-8.ucode     ngene_15.fw                    usbdux
bcm2033-md.hex                   dvb-usb-dtt200u-01.fw          iwlwifi-3160-9.ucode     ngene_17.fw                    usbduxfast_firmware.bin
bcm70012fw.bin                   dvb-usb-it9135-01.fw           iwlwifi-3945-2.ucode     ngene_18.fw                    usbdux_firmware.bin
bcm70015fw.bin                   dvb-usb-it9135-02.fw           iwlwifi-4965-2.ucode     NPE-B                          usbduxsigma_firmware.bin
bnx2x                            dvb-usb-terratec-h5-drxk.fw    iwlwifi-5000-5.ucode     NPE-C                          v4l-cx231xx-avcore-01.fw
brcm                             dvb-usb-terratec-h7-az6007.fw  iwlwifi-5150-2.ucode     ositech                        v4l-cx23418-apu.fw
carl9170-1.fw                    dvb-usb-terratec-h7-drxk.fw    iwlwifi-6000-4.ucode     phanfw.bin                     v4l-cx23418-cpu.fw
carl9170fw                       dvb-usb-tvwalkert.fw           iwlwifi-6000g2a-5.ucode  qat_895xcc.bin                 v4l-cx23418-Dig.fw
cbfw-3.2.1.1.bin                 dvb-usb-umt-010-02.fw          iwlwifi-6000g2a-6.ucode  qca                            v4l-cx2341x-dec.fw
cbfw-3.2.3.0.bin                 dvb-usb-vp702x-01.fw           iwlwifi-6000g2b-6.ucode  ql2100_fw.bin                  v4l-cx2341x-enc.fw
cis                              dvb-usb-vp7045-01.fw           iwlwifi-6050-5.ucode     ql2200_fw.bin                  v4l-cx2341x-init.mpg
configure                        dvb-usb-wt220u-01.fw           iwlwifi-7260-10.ucode    ql2300_fw.bin                  v4l-cx23885-avcore-01.fw
cpia2                            dvb-usb-wt220u-02.fw           iwlwifi-7260-12.ucode    ql2322_fw.bin                  v4l-cx23885-enc-broken.fw
ct2fw-3.2.1.1.bin                dvb-usb-wt220u-fc03.fw         iwlwifi-7260-13.ucode    ql2400_fw.bin                  v4l-cx25840.fw
ct2fw-3.2.3.0.bin                dvb-usb-wt220u-zl0353-01.fw    iwlwifi-7260-7.ucode     ql2500_fw.bin                  v4l-pvrusb2-24xxx-01.fw
ctefx.bin                        ea                             iwlwifi-7260-8.ucode     r128                           v4l-pvrusb2-29xxx-01.fw
ctfw-3.2.1.1.bin                 edgeport                       iwlwifi-7260-9.ucode     r8a779x_usb3_v1.dlmem          vicam
ctfw-3.2.3.0.bin                 emi26                          iwlwifi-7265-10.ucode    radeon                         vntwusb.fw
ctspeq.bin                       emi62                          iwlwifi-7265-12.ucode    README                         vxge
cxgb3                            ene-ub6250                     iwlwifi-7265-13.ucode    rp2.fw                         WHENCE.ubuntu
cxgb4                            ess                            iwlwifi-7265-8.ucode     rsi_91x.fw                     whiteheat.fw
dsp56k                           f2255usb.bin                   iwlwifi-7265-9.ucode     rt2561.bin                     whiteheat_loader.fw
dvb-cx18-mpc718-mt352.fw         go7007                         iwlwifi-7265D-10.ucode   rt2561s.bin                    wsm_22.bin
dvb-dibusb-5.0.0.11.fw           GPL-3                          iwlwifi-7265D-12.ucode   rt2661.bin                     xc3028-v27.fw
dvb-fe-bcm3510-01.fw             hp                             iwlwifi-7265D-13.ucode   rt2860.bin                     yam
dvb-fe-cx24116.fw                htc_7010.fw                    iwlwifi-8000C-13.ucode   rt2870.bin                     yamaha
dvb-fe-drxj-mc-1.0.8.fw          htc_9271.fw                    kaweth                   rt3070.bin                     zd1201-ap.fw
dvb-fe-drxj-mc-vsb-1.0.8.fw      i2400m-fw-usb-1.4.sbcf         keyspan                  rt3090.bin                     zd1201.fw
dvb-fe-drxj-mc-vsb-qam-1.0.8.fw  i2400m-fw-usb-1.5.sbcf         keyspan_pda              rt3290.bin                     zd1211
dvb-fe-nxt2004.fw                i6050-fw-usb-1.5.sbcf          korg                     rt73.bin
dvb-fe-or51132-qam.fw            i915                           lbtf_usb.bin             RTL8192E
dvb-fe-or51132-vsb.fw            intel                          lgs8g75.fw               rtl_nic
dvb-fe-or51211.fw                ipw2100-1.3.fw                 libertas                 rtlwifi
3
Jan Wytze

Installez le logiciel:

Sudo apt-get install rtl-sdr gqrx-sdr

Insérez le périphérique. Au terminal, faites:

gqrx

Sélectionnez une fréquence connue pour être une station FM active. 90,7000 Mhz, par exemple. Cliquez sur le bouton 'Démarrer le traitement DSP' en haut à gauche.

Prendre plaisir.

J'ai utilisé cette méthode et un périphérique RTL28xx pour écouter FM hier.

1
chili555

Si votre carte v4l est correctement installée, essayez ceci:

Sudo apt-get install gnomeradio

sinon thry cela

Sudo apt-get install build-essential libdigest-sha-Perl patchutils libproc-processtable-Perl git-core
Sudo apt-get install linux-headers-$(uname -r)  

puis arrivé à multivers et

Sudo apt-get install linux-firmware-nonfree 

alors nous récupérons le code source de git

git clone git://linuxtv.org/media_build.git

allez dans le dossier ~/media_build/et lancez le script de construction

./build
Sudo make install 

vérifier avec

dmesg | grep -i dvb 

La mauvaise nouvelle est que chaque fois que vous mettez à niveau votre noyau, vous devez supprimer le dossier media_build et recommencer en téléchargeant le fichier propper.

git clone git://linuxtv.org/media_build.git 

s'amuser

UPDATE Permet de modifier ici. veuillez poster la sortie de dmesg | grep DVB et ensuite la sortie de lsusb, puis branchez-la et branchez-la et publiez ce qui apparaît dans tail -f /var/log/messages

poster le résultat ici.

0
user1888089