fl2k - low samplerate/ no rf-output

JJ jjvonblack at riseup.net
Tue May 29 15:36:43 UTC 2018


Hi everyone,

Thanks for the osmo-fl2k gift!
Unfortunately it seems I'm experiencing the same issue as the one reported by the original poster.
I've compiled osmo-fl2k from source[1] and run it on Ubuntu 16.04 x86_64 both on a notebook and a desktop PC (with USB 3 ports) without noticing any detectable RF activity[2].
Is there any way to debug/tackle the issue? Is it VGA adapter dependent?

Here are more information:


dmesg:
usb 2-1: new high-speed USB device number 7 using xhci_hcd
usb 2-1: New USB device found, idVendor=1d5c, idProduct=2000
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0


$ timeout 120s fl2k_test -s 162e6
Reporting PPM error measurement every 10 seconds...
Press ^C after a few minutes.
Signal caught, exiting!

User cancel, exiting...
real sample rate: 15018460 current PPM: -907293 cumulative PPM: -907293
real sample rate: 15018133 current PPM: -907295 cumulative PPM: -907294
real sample rate: 15018646 current PPM: -907292 cumulative PPM: -907294
real sample rate: 15018427 current PPM: -907294 cumulative PPM: -907294
real sample rate: 15018391 current PPM: -907294 cumulative PPM: -907294
real sample rate: 15018312 current PPM: -907294 cumulative PPM: -907294
real sample rate: 15018434 current PPM: -907294 cumulative PPM: -907294
real sample rate: 15018472 current PPM: -907293 cumulative PPM: -907294
real sample rate: 15018498 current PPM: -907293 cumulative PPM: -907294
real sample rate: 15018216 current PPM: -907295 cumulative PPM: -907294
real sample rate: 15018345 current PPM: -907294 cumulative PPM: -907294


$ timeout 120s fl2k_test -s 100e6
Reporting PPM error measurement every 10 seconds...
Press ^C after a few minutes.
Signal caught, exiting!

User cancel, exiting...
real sample rate: 15018468 current PPM: -849815 cumulative PPM: -849815
real sample rate: 15018365 current PPM: -849816 cumulative PPM: -849816
real sample rate: 15018384 current PPM: -849816 cumulative PPM: -849816
real sample rate: 15018349 current PPM: -849817 cumulative PPM: -849816
real sample rate: 15018350 current PPM: -849816 cumulative PPM: -849816
real sample rate: 15018447 current PPM: -849816 cumulative PPM: -849816
real sample rate: 15018135 current PPM: -849819 cumulative PPM: -849816
real sample rate: 15018684 current PPM: -849813 cumulative PPM: -849816
real sample rate: 15018346 current PPM: -849817 cumulative PPM: -849816
real sample rate: 15018375 current PPM: -849816 cumulative PPM: -849816
real sample rate: 15018317 current PPM: -849817 cumulative PPM: -849816


$ timeout 120s fl2k_test -s 50e6
Reporting PPM error measurement every 10 seconds...
Press ^C after a few minutes.
Signal caught, exiting!

User cancel, exiting...
real sample rate: 15018520 current PPM: -699630 cumulative PPM: -699630
real sample rate: 15018385 current PPM: -699632 cumulative PPM: -699631
real sample rate: 15018272 current PPM: -699635 cumulative PPM: -699632
real sample rate: 15018553 current PPM: -699629 cumulative PPM: -699631
real sample rate: 15018344 current PPM: -699633 cumulative PPM: -699632
real sample rate: 15018424 current PPM: -699632 cumulative PPM: -699632
real sample rate: 15018236 current PPM: -699635 cumulative PPM: -699632
real sample rate: 15018548 current PPM: -699629 cumulative PPM: -699632
real sample rate: 15018338 current PPM: -699633 cumulative PPM: -699632
real sample rate: 15018347 current PPM: -699633 cumulative PPM: -699632
real sample rate: 15018426 current PPM: -699631 cumulative PPM: -699632


$ timeout 120s fl2k_test -s 15e6
Reporting PPM error measurement every 10 seconds...
Press ^C after a few minutes.
Signal caught, exiting!

User cancel, exiting...
real sample rate: 15000126 current PPM: 8 cumulative PPM: 8
real sample rate: 15000152 current PPM: 10 cumulative PPM: 9
real sample rate: 15000230 current PPM: 15 cumulative PPM: 11
real sample rate: 15000151 current PPM: 10 cumulative PPM: 11
real sample rate: 15000273 current PPM: 18 cumulative PPM: 13
real sample rate: 14999886 current PPM: -8 cumulative PPM: 9
real sample rate: 15000499 current PPM: 33 cumulative PPM: 13
real sample rate: 15000221 current PPM: 15 cumulative PPM: 13
real sample rate: 15000182 current PPM: 12 cumulative PPM: 13
real sample rate: 15000234 current PPM: 16 cumulative PPM: 13
real sample rate: 15000160 current PPM: 11 cumulative PPM: 13


$ sudo lsusb -d 1d5c:2000 -vv
Bus 002 Device 004: ID 1d5c:2000  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x1d5c 
  idProduct          0x2000 
  bcdDevice            2.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          269
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               98mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         3
      bFunctionClass         14 Video
      bFunctionSubClass       1 Video Control
      bFunctionProtocol       3 
      iFunction               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        16 
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        16 
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      ** UNRECOGNIZED:  04 21 00 01
      ** UNRECOGNIZED:  06 25 01 00 00 00
      ** UNRECOGNIZED:  06 25 02 00 00 00
      ** UNRECOGNIZED:  0a 22 01 00 05 00 02 00 00 00
      ** UNRECOGNIZED:  06 25 01 00 00 00
      ** UNRECOGNIZED:  0a 22 02 00 10 00 14 00 0d 00
      ** UNRECOGNIZED:  0a 23 03 00 0d 00 05 00 00 00
      ** UNRECOGNIZED:  06 25 02 00 01 00
      ** UNRECOGNIZED:  10 26 01 00 00 00 00 00 64 00 00 00 01 00 00 00
      ** UNRECOGNIZED:  0a 24 01 00 14 00 00 00 00 00
      ** UNRECOGNIZED:  06 25 03 00 01 00
      ** UNRECOGNIZED:  0a 24 02 00 02 00 00 00 00 00
      ** UNRECOGNIZED:  06 25 03 00 01 00
      ** UNRECOGNIZED:  06 25 0c 00 00 00
      ** UNRECOGNIZED:  06 25 09 00 02 00
      ** UNRECOGNIZED:  06 25 0b 00 01 00
      ** UNRECOGNIZED:  14 27 00 00 01 00 3c 00 01 00 02 00 03 00 00 00 00 00 02 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      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           2
      bInterfaceClass        16 
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
      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
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        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       1
      bNumEndpoints           4
      bInterfaceClass        16 
      bInterfaceSubClass      2 
      bInterfaceProtocol      1 
      iInterface              0 
      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
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes           25
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Feedback
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval               7
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        16 
      bInterfaceSubClass      2 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           22
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000c
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   2
      Lowest fully-functional device speed is High Speed (480Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat          20 micro seconds
Device Status:     0x0000
  (Bus Powered)


$ sudo lspci -s 00:14.0 -vv
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) (prog-if 30 [XHCI])
	Subsystem: Dell 8 Series USB xHCI HC
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 42
	Region 0: Memory at f7d00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
		Status: D0 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME+
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
		Address: 00000000fee002b8  Data: 0000
	Kernel driver in use: xhci_hcd



[1]: osmo-fl2k, commit d5c4dcc59750052a1a95b5185aca3548a5b951de.
[2]: apart from the signal on 7.5 MHz generated by `fl2k_test -s 15e6`.


Thanks,
JJ


More information about the osmocom-sdr mailing list