Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subdevice 00000001 not found #4

Open
openpingus opened this issue May 14, 2016 · 0 comments
Open

Subdevice 00000001 not found #4

openpingus opened this issue May 14, 2016 · 0 comments

Comments

@openpingus
Copy link

openpingus commented May 14, 2016

Successfully compiled under RaspberryPi B (Raspbian / Jessie), however cannot start application, what seems to be because of missing serial number.

Trying to get device serial:

lsusb -v

Bus 001 Device 004: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0bda Realtek Semiconductor Corp.
idProduct 0x2838 RTL2838 DVB-T
bcdDevice 1.00
iManufacturer 1 Realtek
iProduct 2 RTL2838UHIDIR
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)

OpenWEBrx starts successfully even without device serial number (excerpts):

./openwebrx.py
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN:
Using device 0: Generic RTL2832U OEM
Found Fitipower FC0013 tuner

Trying to start Mike Stirling WebRadio:

./src/webradio
io/rtlsdrtuner.cxx(47): Found 1 devices
io/rtlsdrtuner.cxx(54): Device 0:
dsp/dspblock.cxx(75): Added block SpectrumSink:0000 as consumer of RtlSdrTuner:0000
radio.cxx(132): Created front-end 0000
dsp/dspblock.cxx(219): Setting RtlSdrTuner:0000 input sample rate to 2400000
dsp/dspblock.cxx(247): Setting RtlSdrTuner:0000 source block size to 204800
dsp/dspblock.cxx(75): Added block LowPass:0000 as consumer of DownConverter:0000
dsp/dspblock.cxx(75): Added block AMDemod:0000 as consumer of LowPass:0000
dsp/dspblock.cxx(75): Added block LowPass:0000 as consumer of AMDemod:0000
dsp/dspblock.cxx(75): Added block AudioStreamManager:0000 as consumer of LowPass:0000
radio.cxx(89): Created receiver 0000
dsp/dspblock.cxx(75): Added block DownConverter:0000 as consumer of RtlSdrTuner:0000
radio.cxx(155): Added rx 0000 to front-end 0000
web/httpserver.cxx(288): Registered handler for URL:
web/httpserver.cxx(288): Registered handler for URL: static/**
web/httpserver.cxx(288): Registered handler for URL: audio/*
web/httpserver.cxx(288): Registered handler for URL: config
web/httpserver.cxx(288): Registered handler for URL: tuners
web/httpserver.cxx(288): Registered handler for URL: tuners/*
web/httpserver.cxx(288): Registered handler for URL: tuners//control
web/httpserver.cxx(288): Registered handler for URL: tuners/
/waterfall
web/httpserver.cxx(288): Registered handler for URL: tuners//receivers
web/httpserver.cxx(288): Registered handler for URL: receivers
web/httpserver.cxx(288): Registered handler for URL: receivers/

web/httpserver.cxx(288): Registered handler for URL: receivers//audio.mp3
web/httpserver.cxx(288): Registered handler for URL: receivers/
/audio.ogg
web/httpserver.cxx(274): HTTP interface started on port 8080
dsp/dspblock.cxx(113): Starting block RtlSdrTuner:0000
io/rtlsdrtuner.cxx(195): Subdevice 00000001 not found
dsp/dspblock.cxx(115): Block RtlSdrTuner:0000 failed to initialise
main.cxx(110): Pipeline failed to start
web/httpserver.cxx(249): Stopping HTTP server
dsp/dspblock.cxx(90): Removed block DownConverter:0000 as consumer of RtlSdrTuner:0000
radio.cxx(162): Removed rx 0000 from front-end 0000
radio.cxx(107): Destroyed receiver 0000
radio.cxx(148): Destroyed front-end 0000
main.cxx(129): bye bye!

I would be happy for any suggestion I could use to fix this, as I am very interested to test this software because it is written in C++, what I prefer to Python.

Thank you.

@openpingus openpingus changed the title Subdevice 00000001 not found, tuner missing serial number Subdevice 00000001 not found May 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant