Closed RattyDAVE closed 8 months ago
I will work on this in the next days. I will keep you informed here and once you test the image I will close the issue.
I get it working with modified build-packages.sh:
$ git diff build-packages.sh
diff --git a/build-packages.sh b/build-packages.sh
index 702dbde..011b31c 100755
--- a/build-packages.sh
+++ b/build-packages.sh
@@ -4,7 +4,7 @@ export MAKEFLAGS="-j12"
echo "+ init..."
apt update
-apt-get -y install --no-install-recommends wget gpg ca-certificates
+apt-get -y install --no-install-recommends wget gpg ca-certificates libusb-1.0-0-dev
echo "+ Add repos and update..."
if [[ ! -f /etc/apt/trusted.gpg.d/openwebrx-plus.gpg ]]; then
@@ -16,7 +16,7 @@ fi
apt update
echo "+ Install dev packages..."
-BUILD_PACKAGES="git build-essential debhelper cmake libprotobuf-dev protobuf-compiler libcodecserver-dev wget gpg"
+BUILD_PACKAGES="git build-essential debhelper cmake libprotobuf-dev protobuf-compiler libcodecserver-dev wget gpg pkg-config"
apt-get -y install --no-install-recommends $BUILD_PACKAGES
echo "+ Build MBELIB..."
@@ -35,6 +35,13 @@ dpkg-buildpackage
cd ..
mkdir /deb
+mv *.deb /deb/
+
+git clone https://github.com/rtlsdrblog/rtl-sdr-blog
+cd rtl-sdr-blog
+dpkg-buildpackage -b --no-sign
+cd ..
+
mv *.deb /deb/
cd /deb
apt download libcodecserver
and install-packages.sh:
$ git diff install-packages.sh
diff --git a/install-packages.sh b/install-packages.sh
index 3a757c9..5e0f25f 100755
--- a/install-packages.sh
+++ b/install-packages.sh
@@ -15,6 +15,18 @@ export MAKEFLAGS="-j12"
#fi
#apt update
+rm -rvf /usr/lib/librtlsdr* /usr/include/rtl-sdr* /usr/local/lib/librtlsdr* /usr/local/include/rtl-sdr* /usr/local/include/rtl_* /usr/local/bin/rtl_adsb /usr/local/bin/rtl_eeprom /usr/local/bin/rtl_power /usr/local/bin/rtl_tcp /usr/local/bin/rtl_biast /usr/local/bin/rtl_fm /usr/local/bin/rtl_sdr /usr/local/bin/rtl_test
+
+echo "+ init..."
+apt update
+apt-get -y install --no-install-recommends libusb-1.0-0-dev
+
+echo "+ Install rtl-sdr v4..."
+dpkg -i /deb/librtlsdr0_*.deb
+dpkg -i /deb/librtlsdr-dev_*.deb
+dpkg -i /deb/rtl-sdr_*.deb
+
+
dpkg -i /deb/libmbe1_1.3.0_*.deb
Thanks. I will look into this after a few days. I was busy with other projects and I forgot to work on this. Thanks for the diff.
Can someone test and report if it works with v4 now?
Just downloaded latest image. Not fully tested but works as is without any modification.
Thanks, Closing this issue.
Confirming that it is working great on RTL-SDR v4
On Tue, 13 Feb 2024, 22:11 Stanislav Lechev [0xAF], < @.***> wrote:
Closed #2 https://github.com/0xAF/openwebrxplus-softmbe-docker/issues/2 as completed.
— Reply to this email directly, view it on GitHub https://github.com/0xAF/openwebrxplus-softmbe-docker/issues/2#event-11794544810, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFBNXULL3URCWLXFZXNNJ3YTPQIBAVCNFSM6AAAAAA5WLEXFKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG44TINJUGQ4DCMA . You are receiving this because you authored the thread.Message ID: @.*** com>
Is is possible to add the new RTL-SDR V4 drivers?
https://github.com/rtlsdrblog/rtl-sdr-blog
Thanks
Dave