Issue while installing using scripts x86 64bit system

is there any way the the whole installation can be reversed as the webserver is not starting when installed on a fresh ubuntu 22.04 system

error from ui.log is as below
Traceback (most recent call last):
File “/home/navneet/krakensdr_doa/krakensdr_doa/_ui/_web_interface/app.py”, line 22, in
from maindash import app
File “/home/navneet/krakensdr_doa/krakensdr_doa/_ui/_web_interface/maindash.py”, line 1, in
import dash_devices as dash
ModuleNotFoundError: No module named ‘dash_devices’

is there anyway to fix this, as i reran the install script and got a heap of errors

while trying to delete folders manually and execute the script line by line, got following error after executing below code
cd heimdall_daq_fw

cd ~/krakensdr_doa/heimdall_daq_fw/Firmware/_daq_core/
cp ~/librtlsdr/build/src/librtlsdr.a .
cp ~/librtlsdr/include/rtl-sdr.h .
cp ~/librtlsdr/include/rtl-sdr_export.h .
make
gcc -c -o ini.o ini.c
gcc -c -o log.o log.c
gcc -c -o iq_header.o iq_header.c
gcc -c -o sh_mem_util.o sh_mem_util.c
gcc log.o ini.o iq_header.o -o rtl_daq.out rtl_daq.c -lpthread -lzmq -L. -lrtlsdr -lusb-1.0
gcc sh_mem_util.o log.o ini.o iq_header.o -o rebuffer.out rebuffer.c -lrt -lm
gcc sh_mem_util.o log.o ini.o iq_header.o -o iq_server.out iq_server.c -lrt
gcc -c fir_decimate.c -o fir_decimate.o
gcc fir_decimate.o sh_mem_util.o log.o ini.o iq_header.o -o decimate.out -lrt -lkfr_capi
/usr/bin/ld: cannot find -lkfr_capi: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:38: decimate_x86] Error 1

Please suggest solution to proceed

further is execute rest of the script it install everything without error, seems like only above is stopping the weserver being started

Hi, please try delete all folders and run it again. There was a minor error in the heimdall Makefile from a recent update that could have caused issues.

hi, i removed all the folders and started with downloading the install script again and ran it.

got below error in kfr
– Check for working CXX compiler: /usr/bin/clang++ - broken
CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
The C++ compiler

"/usr/bin/clang++"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /root/kfr/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_7cf47/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_7cf47.dir/build.make CMakeFiles/cmTC_7cf47.dir/build
gmake[1]: Entering directory '/root/kfr/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_7cf47.dir/testCXXCompiler.cxx.o
/usr/bin/clang++    -MD -MT CMakeFiles/cmTC_7cf47.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_7cf47.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_7cf47.dir/testCXXCompiler.cxx.o -c /root/kfr/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_7cf47
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7cf47.dir/link.txt --verbose=1
/usr/bin/clang++ CMakeFiles/cmTC_7cf47.dir/testCXXCompiler.cxx.o -o cmTC_7cf47 
/usr/bin/ld: cannot find -lstdc++: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_7cf47.dir/build.make:100: cmTC_7cf47] Error 1
gmake[1]: Leaving directory '/root/kfr/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_7cf47/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:19 (project)

Kindly check the makefile for this also.
Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” failed.
Compiler: /usr/bin/clang++
Build flags:
Id flags:

The output was:
1
/usr/bin/ld: cannot find -lstdc++: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Detecting CXX compiler ABI info failed to compile with the following output:
Change Dir: /root/kfr/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_bc38b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_bc38b.dir/build.make CMakeFiles/cmTC_bc38b.dir/build
gmake[1]: Entering directory ‘/root/kfr/build/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_bc38b.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/clang++ -v -MD -MT CMakeFiles/cmTC_bc38b.dir/CMakeCXXCompilerABI.cpp.o -MF CMakeFiles/cmTC_bc38b.dir/CMakeCXXCompilerABI.cpp.o.d -o CMakeFiles/cmTC_bc38b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/12
Found candidate GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/12
Candidate multilib: .;@m64
Selected multilib: .;@m64
(in-process)
“/usr/lib/llvm-14/bin/clang” -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/root/kfr/build/CMakeFiles/CMakeTmp -resource-dir /usr/lib/llvm-14/lib/clang/14.0.0 -dependency-file CMakeFiles/cmTC_bc38b.dir/CMakeCXXCompilerABI.cpp.o.d -MT CMakeFiles/cmTC_bc38b.dir/CMakeCXXCompilerABI.cpp.o -sys-header-deps -internal-isystem /usr/bin/…/lib/gcc/x86_64-linux-gnu/12/…/…/…/…/include/c++ -internal-isystem /usr/bin/…/lib/gcc/x86_64-linux-gnu/12/…/…/…/…/include/c++/x86_64-linux-gnu -internal-isystem /usr/bin/…/lib/gcc/x86_64-linux-gnu/12/…/…/…/…/include/c++/backward -internal-isystem /usr/lib/llvm-14/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/…/lib/gcc/x86_64-linux-gnu/12/…/…/…/…/x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fdebug-compilation-dir=/root/kfr/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_bc38b.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp
clang -cc1 version 14.0.0 based upon LLVM 14.0.0 default target x86_64-pc-linux-gnu
ignoring nonexistent directory “/usr/bin/…/lib/gcc/x86_64-linux-gnu/12/…/…/…/…/include/c++/x86_64-linux-gnu”
ignoring nonexistent directory “/usr/bin/…/lib/gcc/x86_64-linux-gnu/12/…/…/…/…/include/c++/backward”
ignoring nonexistent directory “/usr/bin/…/lib/gcc/x86_64-linux-gnu/12/…/…/…/…/x86_64-linux-gnu/include”
ignoring nonexistent directory “/include”
#include “…” search starts here:
#include <…> search starts here:
/usr/bin/…/lib/gcc/x86_64-linux-gnu/12/…/…/…/…/include/c++
/usr/lib/llvm-14/lib/clang/14.0.0/include
/usr/local/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
Linking CXX executable cmTC_bc38b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bc38b.dir/link.txt --verbose=1
/usr/bin/clang++ -v CMakeFiles/cmTC_bc38b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_bc38b
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/10
Found candidate GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/12
Found candidate GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/bin/…/lib/gcc/x86_64-linux-gnu/12
Candidate multilib: .;@m64
Selected multilib: .;@m64
“/usr/bin/ld” -pie -z relro --hash-style=gnu --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_bc38b /lib/x86_64-linux-gnu/Scrt1.o /lib/x86_64-linux-gnu/crti.o /usr/bin/…/lib/gcc/x86_64-linux-gnu/12/crtbeginS.o -L/usr/bin/…/lib/gcc/x86_64-linux-gnu/12 -L/usr/bin/…/lib/gcc/x86_64-linux-gnu/12/…/…/…/…/lib64 -L/lib/x86_64-linux-gnu -L/lib/…/lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/…/lib64 -L/usr/lib/llvm-14/bin/…/lib -L/lib -L/usr/lib CMakeFiles/cmTC_bc38b.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/bin/…/lib/gcc/x86_64-linux-gnu/12/crtendS.o /lib/x86_64-linux-gnu/crtn.o
/usr/bin/ld: cannot find -lstdc++: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_bc38b.dir/build.make:100: cmTC_bc38b] Error 1
gmake[1]: Leaving directory ‘/root/kfr/build/CMakeFiles/CMakeTmp’
gmake: *** [Makefile:127: cmTC_bc38b/fast] Error 2

Determining if the CXX compiler works failed with the following output:
Change Dir: /root/kfr/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_ff516/fast && /usr/bin/gmake -f CMakeFiles/cmTC_ff516.dir/build.make CMakeFiles/cmTC_ff516.dir/build
gmake[1]: Entering directory ‘/root/kfr/build/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_ff516.dir/testCXXCompiler.cxx.o
/usr/bin/clang++ -MD -MT CMakeFiles/cmTC_ff516.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_ff516.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_ff516.dir/testCXXCompiler.cxx.o -c /root/kfr/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_ff516
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ff516.dir/link.txt --verbose=1
/usr/bin/clang++ CMakeFiles/cmTC_ff516.dir/testCXXCompiler.cxx.o -o cmTC_ff516
/usr/bin/ld: cannot find -lstdc++: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_ff516.dir/build.make:100: cmTC_ff516] Error 1
gmake[1]: Leaving directory ‘/root/kfr/build/CMakeFiles/CMakeTmp’
gmake: *** [Makefile:127: cmTC_ff516/fast] Error 2

Nothing has changed in regards to KFR installation.

For some reason clang isn’t working on your machine. What type of machine do you have?

Can you try install the following?

sudo apt update
sudo apt-get install libc++-dev libc++abi-dev

hi thanks Carl
i m using ubuntu pro 22.04 installed on Ryzen7 with 16gb ram

It appears that the clang is of a later version 15 whereas on running the above command lib 14 was installed after removing lib 15. see below
Removing libc+±15-dev:amd64 (1:15.0.7-0ubuntu0.22.04.3) …
Removing libc++1-15:amd64 (1:15.0.7-0ubuntu0.22.04.3) …
Removing libc++abi-15-dev:amd64 (1:15.0.7-0ubuntu0.22.04.3) …
Removing libc++abi1-15:amd64 (1:15.0.7-0ubuntu0.22.04.3) …
Removing libgoogle-glog-dev (0.5.0+really0.4.0-2) …
Removing libunwind-15-dev:amd64 (1:15.0.7-0ubuntu0.22.04.3) …
Removing libunwind-15:amd64 (1:15.0.7-0ubuntu0.22.04.3) …
Selecting previously unselected package libunwind-14:amd64.
(Reading database … 451054 files and directories currently installed.)
Preparing to unpack …/0-libunwind-14_1%3a14.0.0-1ubuntu1.1_amd64.deb …

navneet@bl2:~$ clang++ --version
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

on running the install script again as sudo, few important outputs are as below
**** 1 ****
CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CheckIncludeFiles.cmake:122 (message):
Policy CMP0075 is not set: Include file check macros honor
CMAKE_REQUIRED_LIBRARIES. Run “cmake --help-policy CMP0075” for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.

CMAKE_REQUIRED_LIBRARIES is set to:

/usr/lib/x86_64-linux-gnu/libusb-1.0.so

For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
cmake/Modules/FindThreads.cmake:121 (CHECK_INCLUDE_FILES)
CMakeLists.txt:119 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

**** 2 ****
CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
The C++ compiler

"/usr/bin/clang++"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /root/kfr/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d8aa4/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_d8aa4.dir/build.make CMakeFiles/cmTC_d8aa4.dir/build
gmake[1]: Entering directory '/root/kfr/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_d8aa4.dir/testCXXCompiler.cxx.o
/usr/bin/clang++    -MD -MT CMakeFiles/cmTC_d8aa4.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_d8aa4.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_d8aa4.dir/testCXXCompiler.cxx.o -c /root/kfr/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_d8aa4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d8aa4.dir/link.txt --verbose=1
/usr/bin/clang++ CMakeFiles/cmTC_d8aa4.dir/testCXXCompiler.cxx.o -o cmTC_d8aa4 
/usr/bin/ld: cannot find -lstdc++: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [CMakeFiles/cmTC_d8aa4.dir/build.make:100: cmTC_d8aa4] Error 1
gmake[1]: Leaving directory '/root/kfr/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_d8aa4/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:19 (project)

**** 3 **** few of these in conda

WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.2 documentation

**** 4 ****
found in Cmakeerror.log of kfr
Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” failed.
Compiler: /usr/bin/clang++
Build flags:
Id flags:

The output was:
1
/usr/bin/ld: cannot find -lstdc++: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

*** installed
sudo apt-get install libc++-dev libc++abi-dev

and ran the script again as Sudo (is it right to run it as sudo) it failed at same error, then looked for a solution and found as per this discussion [ubuntu - "/usr/bin/ld: cannot find -lstdc++: No such file or directory" on running flutter linux app - Stack Overflow] how to fix the issue using solution 1 from the forum post

**sudo apt install libstdc++-12-dev**

and then deleted the installed dir of kraken and started again

and FINALLY it complied. :sweat: :slightly_smiling_face:

the issue is ubuntu upgrades and unmatched compiler configurations.

Dear Carl - Kudos to Karken Team for such a wonderful product and solution.

i have a suggestion - please share a detailed prerequisites checks step for users and also whether we should be using sudo or running as the current user the scripts.

hi i could not run the krakensdr_soa_start.sh as it was intalled in root user, so i resorted running the install script without the SUDO

only below errors came up

git config --global --add safe.directory /home/navneet/librtlsdr

CMake Error: Could not open file for write in copy operation /home/navneet/librtlsdr/build/src/rtl_app_ver.h.tmp
CMake Error: : System Error: Permission denied
CMake Error at CMakeLists.txt:60 (configure_file):
configure_file Problem configuring file

CMake Error: Could not open file for write in copy operation /home/navneet/librtlsdr/build/cmake_uninstall.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at CMakeLists.txt:147 (configure_file):
configure_file Problem configuring file

– Building with kernel driver detaching disabled, use -DDETACH_KERNEL_DRIVER=ON to enable
CMake Error: Could not open file for write in copy operation /home/navneet/librtlsdr/build/librtlsdr.pc.tmp
CMake Error: : System Error: Permission denied
CMake Error at CMakeLists.txt:210 (CONFIGURE_FILE):
CONFIGURE_FILE Problem configuring file


navneet@bl2:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 30c9:0035 Luxvisions Innotech Limited HP TrueVision HD Camera
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 002: ID 0bda:2852 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 020: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 019: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 018: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 017: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 016: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Bus 001 Device 015: ID 0424:2517 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

yes now i was able to run the kraken doa and browse the config page to show sdr as connected

and within few seconds its showing disconnected

the power supply is 900w smps (foxin fps-900) with max 36A on 5V, usb cable is a high grade cable usb c to usb c

here are below logs from current user “/home/navneet/krakensdr_doa/heimdall_daq_fw/Firmware/_logs/” for helping us find the issue
rtl_daq.log
11:55:44 FATAL rtl_daq.c:501: The serial numbers of the devices are not yet configured, exiting…
kindly advise further steps to troubleshoot

hwc.log
CRITICAL:root:Failed to acquire iq frame, exiting …

rebuffer.log
11:55:44 FATAL rtl_daq.h:62: IQ header read error

Sorry for posting so frequently, just making full efforts to make it work

The kraken test doent show sl no fo 3 & 4 th device, what can be the reason

this is on a ubuntu system with sdr connected to usb - not a vm

navneet@bl2:~/krakensdr_doa$ kraken_test
Found 5 device(s):
0: Realtek, RTL2838UHIDIR, SN: 1004
1: Realtek, RTL2838UHIDIR, SN: 1000
2: Realtek, RTL2838UHIDIR, SN: 1001
3: , , SN:
4: , , SN:

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T/2 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
Sampling at 2048000 S/s.

Info: This tool will continuously read from the device, and report if
samples get lost. If you observe no further output, everything is fine.

Reading samples in async mode…
Allocating 15 (non-zero-copy) user-space buffers

lsusb -v output
Bus 001 Device 014: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
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 3 1004
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 4 (error)
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
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 2
Device Status: 0x0000
(Bus Powered)

Bus 001 Device 013: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
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 3 1000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
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
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 2
Device Status: 0x0000
(Bus Powered)

Bus 001 Device 012: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
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 3 1001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
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
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 2
Device Status: 0x0000
(Bus Powered)

Bus 001 Device 011: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
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 3 1002
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 4 (error)
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 (error)
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 (error)
cannot read device status, Resource temporarily unavailable (11)

Bus 001 Device 010: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
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 3 1003
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0022
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 4 (error)
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 (error)
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 (error)
cannot read device status, Resource temporarily unavailable (11)

Bus 001 Device 009: ID 0424:2517 Microchip Technology, Inc. (formerly SMSC) Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 2 TT per port
bMaxPacketSize0 64
idVendor 0x0424 Microchip Technology, Inc. (formerly SMSC)
idProduct 0x2517 Hub
bcdDevice 0.02
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0029
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 1 Single TT
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0
bInterfaceProtocol 2 TT per port
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 7
wHubCharacteristic 0x0089
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
Port indicators
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 1 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0503 highspeed power enable connect
Port 3: 0000.0503 highspeed power enable connect
Port 4: 0000.0503 highspeed power enable connect
Port 5: 0000.0503 highspeed power enable connect
Port 6: 0000.0503 highspeed power enable connect
Port 7: 0000.0100 power
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 0 Full speed (or root) hub
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered

Found 5 device(s):
0: Realtek, RTL2838UHIDIR, SN: 1004
1: Realtek, RTL2838UHIDIR, SN: 1000
2: Realtek, RTL2838UHIDIR, SN: 1001
3: , , SN:
4: , , SN:

Something like this usually happens when the power supply is not sufficient, or the USB data cable is poor quality.

1 Like

Carl thanks once again, you saved the day.

the issue was the cable, it was rated for higher currents. omce i changed the power supply usb cable all started working absolutely fine

Its finally time to be on the road!!

PS: is there a way to mark this forum post as Solved / Resolved

1 Like