viktorgino / headunit-desktop

HeadUnit Desktop is a car PC software built with Qt 5 and QML
https://github.com/viktorgino/headunit-desktop/wiki
GNU General Public License v3.0
292 stars 64 forks source link

DAB+ does not work with welle.io #48

Closed Rootinator closed 2 years ago

Rootinator commented 5 years ago

Hello,

I have a RTL2832U USB stick, but unfortunately "welle.io" does not find any DAB+ stations on the head unit.

However, if I connect the stick to the smartphone on which the Android app welle.io is installed, it works perfectly there.

It does not work on the head unit. The stick is detected, but there are no DAB+ stations.

How can I fix the error?

@viktorgino @gregd72002

viktorgino commented 5 years ago

I will dedicate some time to this project this weekend, will have a look then. Welle.io needs to be updated to upstream in here

Rootinator commented 5 years ago

Would it then be possible that you can upload the finished image here?

http://files.headunit.viktorgino.me/index.html

(I think your head unit is very nice)

viktorgino commented 5 years ago

I will update the image to Raspbian Buster too. I've started working on packaging everything here, so the app can be updated via apt-get. This should make things easier. I just need to figure out how to setup a main and a nightly repo.

Rootinator commented 5 years ago

@viktorgino

I have now replaced the source files of welle.io from "https://github.com/AlbrechtL/welle.io/releases/tag/v2.0-beta2 (Source Code ZIP)" to "/opt/headunit-desktop/welle.io".

Now DAB + stations are found, but I have no audio output. The squares are all green.

As an audio driver I use ALSA.

viktorgino commented 5 years ago

@Rootinator I've updated to the latest version of welle.io. You'll need to install some additional packages to build it : libmp3lame-dev libsoapysdr-dev libmpg123-dev, there are some issues with the GUI due to how the icons are being loaded to the QML context, I will have to correct those at some point, but it is usable for now. Can you try to build the latest master branch from here? It works for me on the Pi.

Rootinator commented 5 years ago

How can I update the head unit?

I currently use this image: http://files.headunit.viktorgino.me/image_2018-04-15-Raspbian-viktorginos-headunit-4GB.zip

viktorgino commented 5 years ago

I will finish the deb build scripts and the new image in the next couple of days. Updating welle.io took way longer than I expected. Until then you'd need to manually build it, but there are some changes in dependencies etc, so I'd suggest waiting.

Rootinator commented 5 years ago

Thank you for your work!

viktorgino commented 5 years ago

@Rootinator the new image is on the way, had to first move everything to Raspbian Buster, building extra dependencies for apt now, should have something to test this evening.

Rootinator commented 5 years ago

That sounds great

Rootinator commented 5 years ago

Have you already tested the new system and is it working?

@viktorgino

viktorgino commented 5 years ago

I've managed to get the updated image to build, but hud is not starting up, I'll have some time tomorrow to debug it, but not sure what's wrong yet. I have built the extra dependencies on buster and uploaded them to the apt repository. My current progress is on my pi-gen repository https://github.com/viktorgino/pi-gen

On Sat, 17 Aug 2019, 17:13 Rootinator, notifications@github.com wrote:

Have you already tested the new system and is it working?

@viktorgino https://github.com/viktorgino

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/viktorgino/headunit-desktop/issues/48?email_source=notifications&email_token=ACWK74XNLMQI2QAYZNZ5PBTQFAPTPA5CNFSM4IIKH32KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QORQQ#issuecomment-522250434, or mute the thread https://github.com/notifications/unsubscribe-auth/ACWK74UZJTWVRBHOQGJYIUTQFAPTPANCNFSM4IIKH32A .

Rootinator commented 5 years ago

That's not great if hud does not want to start. Would it work on a previous version of Raspbian or did you find the error why hud does not start?

viktorgino commented 5 years ago

I've got it working on a stock Rasbian Buster image, so now its back to debugging what's wrong with the image I generate.

Rootinator commented 5 years ago

Did you fix the error so that DAB+ can now play sound (which did not work before) and that your (new) head unit starts up again?

@viktorgino