viktorgino / headunit-desktop Goto Github PK
View Code? Open in Web Editor NEWHeadUnit Desktop is a car PC software built with Qt 5 and QML
Home Page: https://github.com/viktorgino/headunit-desktop/wiki
License: GNU General Public License v3.0
HeadUnit Desktop is a car PC software built with Qt 5 and QML
Home Page: https://github.com/viktorgino/headunit-desktop/wiki
License: GNU General Public License v3.0
Hello,
I am using a 7inch hdmi screen 800x480 and i am using your image.
I added a auto login and auto start your headunit-app after boot.
Each time that the Pi boots, (screen for booting is ok) the app restart and the screen schrinks more and more. At the end I don't see the scren at all (please see attached pictures).
I have the same behavior without touching the image at all.
Would you know why? I shut it down by direcly powering off, is it a problem?
Downloaded
http://files.headunit.viktorgino.me/image_2017-08-08-Raspbian-viktorginos-headunit-lite.zip
Followed
http://headunit.viktorgino.me/
When launching
qmake && make -j4 sub-app-pro
after 5-10 minutes, get build error :
[...]
DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CONCURRENT_LIB -
DQT_CORE_LIB -I. -Iheadunit/hu -Iheadunit/hu/generated.x64 -Iheadunit/common -Iqml_gui/quickcross
-isystem /usr/include/libusb-1.0 -isystem /usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-
2.0/include -isystem /usr/include/gstreamer-1.0 -isystem /usr/include/Qt5GStreamer -isystem
/usr/include/arm-linux-gnueabihf/qt5/QtCore -isystem /usr/include/arm-linux-gnueabihf/qt5 -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQuick -isystem /usr/include/arm-linux-gnueabihf/qt5/QtGui -isystem /usr/include/arm-linux-gnueabihf/qt5/QtQml -isystem /usr/include/arm-linux-gnueabihf/qt5/QtNetwork -isystem /usr/include/taglib -isystem /usr/include/arm-linux-gnueabihf/qt5/QtMultimediaWidgets -isystem /usr/include/arm-linux-gnueabihf/qt5/QtMultimedia -isystem /usr/include/arm-linux-gnueabihf/qt5/QtWidgets -isystem /usr/include/arm-linux-gnueabihf/qt5/QtSql -isystem /usr/include/arm-linux-gnueabihf/qt5/QtConcurrent -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o moc_mediascanner.o moc_mediascanner.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
Makefile.app:1444: recipe for target 'qrc_qml.o' failed
make[1]: *** [qrc_qml.o] Error 4
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/pi/headunit-desktop'
Makefile:41: recipe for target 'sub-app-pro' failed
make: *** [sub-app-pro] Error 2
pi@raspberrypi:~/headunit-desktop $
never mind, i had a problem with the settings
Hi,
I believe there was some recent changes. The folder qml_gui @ 7cc6f5f link is broken and hence the git clone fails. Can anyone update the correct link?
Hello,
I would like to try to put your project in my car.
I dowloaded your image and tested it on my TV and an old VGA screen, both were working fine.
Then I tried on a 3,5 inch TFT screen (connected with gpio pins).
using the xinit
I got an error
Fatal server error: (EE) no screen found(EE)
and using
QT_QPA_PLATFORM=eglfs /opt/headunit-desktop/headunit-app
I got:
QXcbConnection: Could not connect to display
I also read the question about the official 7' inch screen not yet compatible.
Would you know how I can use these screens? or which screens can I use?
Trying to compile headunit-destop on Raspberrypi using Raspbian Stretch...
pi@CarPC:~/qt-gstreamer/build/headunit-desktop $ qmake && make -j4 sub-app-pro ( test -e Makefile.app || /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake /home/pi/qt-gstreamer/build/headunit-desktop/app.pro -o Makefile.app ) && make -f Makefile.app Project ERROR: Unknown module(s) in QT: bluetooth BluezQt charts Makefile:41: die Regel für Ziel „sub-app-pro“ scheiterte make: *** [sub-app-pro] Fehler 3
(Sorry for german text)
After installing qtconnectivity5-dev error message changes to:
Project ERROR: Unknown module(s) in QT: charts
Seems Charts feature is not recognized correctly...
Don't find any charts packages on raspbian stretch feed... only on sid, but version mismatch 5.7.1 - 5.9.2
Any help on compiling headunit-desktop on up-to-date raspbian stretch?
Thanks in advance
I keep on getting the error on multiple systems Project ERROR: qofono-qt5 development package not found
Hello. I'd really like to give this promising project a try, but I can't build it.
I'm following the guidelines on HeadUnit Desktop
There you say at "Build headunit":
Here I get the first error error: unknown switch `j'
trying to use
git clone --recursive --depth 1 -j6 https://github.com/viktorgino/headunit-desktop.git && cd headunit-desktop
I solved this by simply removing the -j6
from git clone
-command
When I try to compile the project, using the command qmake && make -j4 sub-app-pro
it fails, giving me these errors (twice):
I copied the whole log to pastebin
In file included from headunit.cpp:1:0: headunit.h:40:23: error: field ‘connected’ has incomplete type ‘std::atomic<bool>’ std::atomic<bool> connected; ^ In file included from /usr/include/c++/5/bits/shared_ptr_atomic.h:33:0, from /usr/include/c++/5/memory:83, from /usr/include/c++/5/thread:40, from headunit/hu/hu_aap.h:6, from headunit.h:15, from headunit.cpp:1: /usr/include/c++/5/bits/atomic_base.h:126:12: note: declaration of ‘struct std::atomic<bool>’ struct atomic; ^ In file included from headunit.cpp:1:0: headunit.h:41:23: error: field ‘videoFocus’ has incomplete type ‘std::atomic<bool>’ std::atomic<bool> videoFocus; ^ In file included from /usr/include/c++/5/bits/shared_ptr_atomic.h:33:0, from /usr/include/c++/5/memory:83, from /usr/include/c++/5/thread:40, from headunit/hu/hu_aap.h:6, from headunit.h:15, from headunit.cpp:1: /usr/include/c++/5/bits/atomic_base.h:126:12: note: declaration of ‘struct std::atomic<bool>’ struct atomic; ^ In file included from headunit.cpp:1:0: headunit.h:42:23: error: field ‘audioFocus’ has incomplete type ‘std::atomic<bool>’ std::atomic<bool> audioFocus; ^ In file included from /usr/include/c++/5/bits/shared_ptr_atomic.h:33:0, from /usr/include/c++/5/memory:83, from /usr/include/c++/5/thread:40, from headunit/hu/hu_aap.h:6, from headunit.h:15, from headunit.cpp:1: /usr/include/c++/5/bits/atomic_base.h:126:12: note: declaration of ‘struct std::atomic<bool>’ struct atomic; ^
I'm using Ubuntu 16.04 LTS 64 Bit (in an VM) and GNU Make 4.1 built for x86_64-pc-linux-gnu
and the chapters Install Qt
, Install the prerequisites for building and running headunit
and Build and install QtGstreamer
worked without problems.
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?
Hello,
What are the possible video modes that we can have with AA? As far as I know it streams H264 video, is it possible to have in mp4 format too?
Thanks
Hi,
Great project! Congratulations!
I suggest to implement one AA Proxy Mode:
The idea is quite simple: the video/audio output is done using the AA protocol to the Car (native HU), and the rest of the data/interaction is passed through the Pi.
What is the objective?
Provide an alternative (not physical) output to the "headuni-desktop" app.
Impersonate the native HU using all the time the screen/touch/control to execute all the Apps implemented in the "headunit-desktop". And without losing the option to use AA in the phone.
Use the AA protocol over Wifi with the phone but the cable connection with the native HU.
Incorporate more channels, for example CAN BUS or ODB-II data obtained by other interfaces with the Pi and send this info from the "headunit-desktop" app to the Smartphone. This provides Extended data not implemented by the original car.
And several other useful stuff.
You agree?
Hello,
I was trying today to build your project. I managed to start the headunit-app, but I am receving these errors when I plug the phone to the Raspberry pi via USB:
Device attached: 10007:65344 (bus 1, device 7 path: 1.2) | Serial no.: � | bDeviceClass:0
remove
Error getting manufacturer string from device: 0x2717:0xff40 | Manufacturer string set as Unknown
Error getting product string from device: 0x2717:0xff40 | Product string set as Unknown
Error getting serial number from device: 0x2717:0xff40 | Serial number string set as Unknown
The phone is a Xiaomi Redmi 4. If I start Android Auto, I can not see anything on the Rpi screen.
Thank you.
Gabriel
Is there any intent to support arbitrary OEM buttons via GPIO or backup/dash cameras?
Bit new to troubleshooting Android Auto stuff, but hopefully some of the info I've collected is useful. Happy to try out changes, etc. as necessary to help out.
On a freshly compiled build from master
, connecting an Android 10 phone with Android Auto 6.0.615334-release generates the "USB device connected" message, but the Android Auto tab of headunit-desktop remains at "Please connect a device". Checking the logs shows the error Unknown transport type
. Adding some debugging to print out the transport type shows some unprintable characters.
Changing the code around this part to force the transport to USB gets a little further, before crashing completely with the following:
void HU::ChannelDescriptor_OutputStreamChannel_VideoConfig::set_resolution(HU::ChannelDescriptor_OutputStreamChannel_VideoConfig_VIDEO_RESOLUTION): Assertion `::HU:::ChannelDescriptor_OutputStreamChannel_VideoConfig_VIDEO_RESOLUTION_IsValid(value)` failed.
Hi,
it keeps crashing seemingly randomly for me. Are there any log files i can view to determine the culprit?
Best regards Steffen
I connected the 7" Raspberry Pi Touch Display and am using the latest headuni image (image_2017-08-17-Raspbian-viktorginos-headunit-lite.zip
) as is with the changes from Setting up the PI: Setup the WiFi, Rotate the screen, Increase the GPU memory and Enable SSH.
After apt-get update && apt-get upgrade
I started the headunit successfuly!
But the touchscreen-input doesn't work properly. It rarely recognizes touch-input - but if it does, the input is correct.
I assume the error is linked to the log entries
InputFactory: Input device: "auto"
InputFactory: No valid device found use Null device instead.
Full log on pastebin.
Trying to launch it with OpenGL gives the error
QXcbConnection: Could not connect to display
Full log on pastebin.
First of all. THANK YOU.
I was trying for many weeks to make the headunit work on the RPI. Thank God you answered to my request at gartnera repo.
It was easy to install and ompile everything with your manual. Thumb Up for that.
My first impressions.
You did a great job. I'm using the RPI to connect my phone via bluetooth streaming audio to my BMW. Therefor I use the Pibus. It's able to talk to the Ibus of the BMW.
Now with your program I hope I can stream video signal to the nav screen. Already did this with Kodi. But your solution is much better then Kodi or XBMC. Not only the AA option, but also Media server and DAB.
Some ideas I have:
Is there an option to close the program and get back to command line ?
Is it possible to add the media library of the phone to the media server ?
After disconnting my phone and reconnecting, nor the program or the phone was reacting. So AA stopped working.
Is it normal that "top" in console says running at 100% at your program ?
Best regards
On the pi3 if I switch expert mode on it causes Welle.io to become unusable, I am not able to activate any switch, and the only way for me to fix it is to reinstall headunit-desktop, I also can't get this version if welle.io to work with my dab dongle but it works perfectly on my android phone and on windows
wondering if carplay support would be possible?
When hotplugging a new device on Raspbian the device is not recognised as an Android device. The hotplug event fires in usbconnectionlistener.cpp
I Can't add Media Locations on RPI3 with the Image of the Headunit from 04/15/2018.
When I press "Add" it shows the "Media Locations" Window without adding the selected folder.
Viktor I am trying to use a pi with a low cost bluetooth speaker / mic
Even after installing ofono and doing the usual with a bluetooth dongle I am still struggling to force hsf/hsp mode.
I can get a phone to connect to the Pi via Hsf/hsp but getting the pi to connect to headset is driving me nuts!!! :)
If you have any guides or tips please share.
PS as an afterthought have a look at https://mycroft.ai/ as it might be a great combo for your HUD
Another error.
Tried to run music from an audio cd. Wanted to add therefor a new media folder. I mounted the USB DVD drive at /media.
When clicking on ADD HU is terminated with segmentation fault.
Doesn't also work with other new folders like /Home/Desktop. Also segmentation fault.
remove this post, thanks!
I get the following error when trying to add new folders to the media library. This wasn't there before, possibly caused by changes to the Qt SQLite DB. (using Qt 5.11.1 on Ubuntu 18.10 x64)
QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
QSqlQuery::prepare: database not open
the radio screen really playing radio?
or should i do somethings for that to work?
Hey,
first of all I want to say that you did an awsome work!
But there are three things I can´t get through.
I hope that the my contribution is not to rude.
Greetings David
FM radio is shown in the screenshots but is it implemented yet?
Hi Viktorgino, thanks for fixing qml_gui folder thing so quickly! One more request. Its seems there has been few changes in the application. So the final app file is different I believe. Instead of "app.pro", I believe it is "headunit-desktop.pro"
So the final command "make -j4 sub-app-pro" gives me a program without AA. I did try "make -j4 sub-headunit-desktop-pro" but getting error that there is no make config file.
Can you help me with that please?
This is related to the Theme UI switching item in Projects. i'm kinda new to Git, so i'm just dropping this here. i threw together an idea, but wanted to pitch it before i go too far down the rabbit hole. How does everyone feel about this direction for a theme?
As reported by @szeater:
'If you hit the gauge icon in AA, where the 'Return to Mazda Connect' option is, AA just hangs'
Test what this should actually do and change the label to 'Return to Headunit Desktop'
Hi Viktorgino, I have compiled the app and the app is running awesome except the audio part. When I start the app I get an error "Module 'org.viktorgino.headunit.volume' does not contain a module identifier directive - it cannot be protected from external registrations."
When I goto Settings -> Audio -> Advanced -> Profile and change the profile, I get an error
"org.kde.plasma.pulseaudio: No object for name "alsa_output.platform-soc_audio.analog-stereo"
org.kde.plasma.pulseaudio: No object for name "alsa_output.platform-soc_audio.analog-stereo.monitor"
Even though Pulse audio works fine. I have other apps and those output audio via audio jack & HDMI through ALSA & Pulse audio
Can you let me know what might be the issue?
Hello,
is it possible to hide the A/C control?
My car is too old, for this option :S
Hello I discovered your project yesterday and I installed it today: everything works like a charm !
I just wanted to know if it was possible to change the interface to have Android Auto in fullscreen (I want to delete the features on the right side).
Can you tell me which files I have to modify to do this ?
Do I have to do something to enable a usb microphone, I have one connected but it doesn't register any input, I know it works as I've tried it on my pc. I have no clue about Linux so sorry if this is an easily answered question
Hi - awesome project. Sure hope it will keep evolving :-)
In the "Install QT" section of the instructions on there appears to be one package missing:
qtconnectivity5-dev
It results in the compile error:
Project ERROR: Unknown module(s) in QT: bluetooth
Might save noobs like me a bit of headache when compiling :-)
Is there any way to auto start this instead of having to always login and use QT_QPA_PLATFORM=eglfs /opt/headunit-desktop/headunit-app as I'd rather not have to carry a keyboard in my car
Hello,
Unfortunately, no voice is played on Android-Auto when navigating.
Not on Google Maps and not on Waze.
But the music gets quieter and then louder.
Is there a hidden volume control for navigation?
On the smartphone in Maps the voice is loud and active.
"Voice over Bluetooth" is disabled because the receiver does not support Bluetooth.
EDIT:
I found the mistake.
I'm using an external USB sound card and it will not play any navigation announcements. Music is played.
The navigation announcements are played via the permanently installed sound card.
How can I make the Raspberry play everything, that is music and navigation, via the external USB sound card?
Hello,
how can I change the brightness without SSH?
I had Markus (marlo) reach out to me in email asking about Windows compatibility.
At the moment this isn't something I'd like to focus on, but if there is interest I might reconsider. Also happy to provide some guidance if someone decides to do this.
I have followed the instructions to build and install the desktop head unit on a Debian 10.6.0 64bit VM in VMWare.
I connected my Pixel4 phone with Android11 to the desktop head unit, and tied to play some music from the YoutubeMusic.
There was sound output but just the configuration was not correct, either the channels or the sample rate was wrong.
I can see from the log there were some PCM open errors but the sound did played out.
And I tried to look at the source code and the audio config for music audio is 16bit-48kHz-2ch which was right.
So, what else could be going wrong?
Here is the log:
./headunit-app
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Plugin Manager: Plugin loaded : "libandroid-auto-plugin.so"
Car settings file doesn't exists! "/home/huangwei/hud/modules/hvac/cars/sample/config.ini"
Plugin Manager: Plugin loaded : "libhvac-plugin.so"
Plugin Manager: Plugin loaded : "libmedia-player-plugin.so"
Settings Loader: "" : Error loading settings JSON, root type should be of "items" type
Plugin Manager: Plugin loaded : "libodb-car-plugin.so"
Plugin Manager: Plugin loaded : "libphone-bluetooth-plugin.so"
rpiplugin not initializing.
Plugin Manager: Plugin loaded : "librpi-plugin.so"
Plugin Manager: Plugin loaded : "libsample-plugin.so"
Plugin Manager: Plugin loaded : "libusbconnectionlistener-plugin.so"
WelleIoPlugin
2020-11-12T18:22:37.339 Debug: Plugin loaded : "libwelle-io-plugin.so"
2020-11-12T18:22:37.339 Debug: Loading qml plugin: "libandroid-auto-plugin.so"
2020-11-12T18:22:37.340 Debug: Loading qml plugin: "libhvac-plugin.so"
2020-11-12T18:22:37.340 Debug: Loading qml plugin: "libmedia-player-plugin.so"
2020-11-12T18:22:37.340 Debug: Loading qml plugin: "libodb-car-plugin.so"
2020-11-12T18:22:37.340 Debug: Loading qml plugin: "libphone-bluetooth-plugin.so"
2020-11-12T18:22:37.340 Debug: Loading qml plugin: "librpi-plugin.so"
2020-11-12T18:22:37.340 Debug: Loading qml plugin: "libsample-plugin.so"
2020-11-12T18:22:37.340 Debug: Loading qml plugin: "libusbconnectionlistener-plugin.so"
2020-11-12T18:22:37.340 Debug: Loading qml plugin: "libwelle-io-plugin.so"
2020-11-12T18:22:37.341 Debug: Theme loaded : "themes/default-theme/libdefault-theme.so"
2020-11-12T18:22:37.341 Debug: Has onEvent
2020-11-12T18:22:37.536 Debug: Audio: ActiveState
2020-11-12T18:22:37.672 Debug: Starting headunit
W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:392: Start : Opening device 0x18d1 : 0x4ee7
W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:409: Start : Device 0x18d1 : 0x4ee7 responded with protocol ver 2
2020-11-12T18:22:37.725 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:258: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:37.743 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:154: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:37.746 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:69: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:37.746 Warning: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
2020-11-12T18:22:37.753 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:58: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:37.753 Warning: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
2020-11-12T18:22:37.754 Warning: libpng warning: iCCP: known incorrect sRGB profile
2020-11-12T18:22:37.756 Warning: libpng warning: iCCP: known incorrect sRGB profile
2020-11-12T18:22:37.758 Warning: libpng warning: iCCP: known incorrect sRGB profile
2020-11-12T18:22:37.760 Warning: libpng warning: iCCP: known incorrect sRGB profile
2020-11-12T18:22:37.762 Warning: libpng warning: iCCP: known incorrect sRGB profile
2020-11-12T18:22:37.767 Warning: libpng warning: iCCP: known incorrect sRGB profile
2020-11-12T18:22:37.770 Warning: libpng warning: iCCP: known incorrect sRGB profile
2020-11-12T18:22:37.772 Warning: libpng warning: iCCP: known incorrect sRGB profile
2020-11-12T18:22:37.774 Warning: libpng warning: iCCP: known incorrect sRGB profile
2020-11-12T18:22:37.808 Warning: qrc:/MediaPlayer/qml/MediaPlayerLayout.qml:6:1: module "QtGraphicalEffects" version 1.11 is not installed
2020-11-12T18:22:37.857 Warning: QIODevice::read (QFile, ":/AUTHORS"): device not open
2020-11-12T18:22:37.857 Warning: QIODevice::read (QFile, ":/THANKS"): device not open
2020-11-12T18:22:37.857 Warning: QIODevice::read (QFile, ":/COPYING"): device not open
2020-11-12T18:22:37.857 Warning: QIODevice::read (QFile, ":/libs/COPYING.LGPL-2.1"): device not open
2020-11-12T18:22:37.857 Warning: QIODevice::read (QFile, ":/libs/kiss_fft/COPYING"): device not open
2020-11-12T18:22:37.871 Warning: qrc:/QML/settingpages/NullSettings.qml: No such file or directory
2020-11-12T18:22:37.873 Debug: main: Set language "en_US"
2020-11-12T18:22:37.873 Debug: main: Error while loading language "en_US" use English "en_GB" instead
2020-11-12T18:22:37.882 Warning: QIODevice::read (QFile, ":/AUTHORS"): device not open
2020-11-12T18:22:37.882 Warning: QIODevice::read (QFile, ":/THANKS"): device not open
2020-11-12T18:22:37.882 Warning: QIODevice::read (QFile, ":/COPYING"): device not open
2020-11-12T18:22:37.883 Warning: QIODevice::read (QFile, ":/libs/COPYING.LGPL-2.1"): device not open
2020-11-12T18:22:37.883 Warning: QIODevice::read (QFile, ":/libs/kiss_fft/COPYING"): device not open
2020-11-12T18:22:37.888 Warning: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
2020-11-12T18:22:37.888 Warning: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
2020-11-12T18:22:37.896 Warning: qrc:/QML/settingpages/SoapySDRSettings.qml: No such file or directory
2020-11-12T18:22:37.897 Debug: Apply settings initially
2020-11-12T18:22:37.897 Debug: RadioController: Close device
2020-11-12T18:22:37.898 Info: InputFactory:Input device:auto
2020-11-12T18:22:37.900 Info: Airspy:Open airspy
2020-11-12T18:22:37.999 Info: Airspy:airpsy_open () failed:AIRSPY_ERROR_NOT_FOUND(-5)
2020-11-12T18:22:38.001 Info: RTL_SDR:Open rtl-sdr
2020-11-12T18:22:38.005 Info: RTL_SDR:No devices found
2020-11-12T18:22:38.131 Info: SoapySdr
RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.
2020-11-12T18:22:38.313 Info: [INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_3.13.1.0-3
RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.
2020-11-12T18:22:39.639 Info: SoapySDR driver=Audio hardware=Audio device_id=0 origin=https://github.com/pothosware/SoapyAudio
2020-11-12T18:22:39.639 Info: SoapySDR master clock rate set to 0 kHz
2020-11-12T18:22:39.639 Info: OutputSoapySDR:Actual RX rate: 2048 ksps.
2020-11-12T18:22:39.639 Info: Supported antenna: RX
2020-11-12T18:22:39.639 Info: Not selecting antenna
2020-11-12T18:22:39.639 Info: DC offset compensation not supported
2020-11-12T18:22:39.640 Info: *************** Setup soapy stream
[INFO] Using format CF32.
2020-11-12T18:22:39.640 Debug: RadioController: AGC on
2020-11-12T18:22:39.640 Debug: Audio: Volume 1
2020-11-12T18:22:39.640 Warning: qrc:/WelleIoPluginRes/QML/settingpages/GlobalSettings.qml:176: TypeError: Cannot call method 'initDevice' of null
RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:0,0), Device or resource busy.
2020-11-12T18:22:39.655 Warning: QQmlComponent: Component is not ready
2020-11-12T18:22:39.655 Warning: qrc:/WelleIoPluginRes/QML/GeneralView.qml:61: TypeError: Type error
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:46: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:39: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:61: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:54: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:75: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:69: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:89: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:83: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:103: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.235 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:97: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:117: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:111: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:131: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:125: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:145: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:139: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:159: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/FanDirection.qml:153: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:56: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:55: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:51: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:57: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:67: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:66: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.236 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:62: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:68: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:110: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:152: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:151: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:150: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:153: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:171: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:170: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:167: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:181: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.237 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:179: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:191: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:189: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:210: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:209: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:206: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:216: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:257: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:255: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:254: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.238 Warning: qrc:/HVAC/ClimateControl/ACLayout.qml:256: ReferenceError: HVACPlugin is not defined
2020-11-12T18:22:40.240 Debug: [ofono] ofono manager is not available
libusb: error [udev_hotplug_event] ignoring udev action bind
2020-11-12T18:22:41.140 Debug: AndroidAuto event UsbConnectionListenerPlugin::UsbDeviceAdded : "{\"manufacturer\":\"Google\",\"pid\":\"11521\",\"product\":\"Pixel 4 XL\",\"serialNumber\":\"98131FFBA003DU\",\"vid\":\"6353\"}"
2020-11-12T18:22:41.140 Debug: Starting headunit
W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:493: Start : Found OAP Device
W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:501: Start : OK libusb_claim_interface usb_err: 0 (Success)
W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:515: Start : Done get_config_descriptor config: 0x55da124a6060 num_int: 2
W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:540: Start : iusb_ep_in: 0x81
W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:547: Start : iusb_ep_out: 0x01
W: ../../../modules/android-auto/headunit/hu/hu_ssl.cpp:209: hu_ssl_begin_handshake : SSL_do_handshake() ret: -1
W: ../../../modules/android-auto/headunit/hu/hu_ssl.cpp:65: send_ssl_handshake_packet : BIO_read() HS client req ret: 194
W: ../../../modules/android-auto/headunit/hu/hu_ssl.cpp:232: hu_handle_SSLHandshake : BIO_write() server rsp ret: 2282
W: ../../../modules/android-auto/headunit/hu/hu_ssl.cpp:235: hu_handle_SSLHandshake : SSL_do_handshake() ret: -1
W: ../../../modules/android-auto/headunit/hu/hu_ssl.cpp:65: send_ssl_handshake_packet : BIO_read() HS client req ret: 1191
W: ../../../modules/android-auto/headunit/hu/hu_ssl.cpp:232: hu_handle_SSLHandshake : BIO_write() server rsp ret: 51
W: ../../../modules/android-auto/headunit/hu/hu_ssl.cpp:235: hu_handle_SSLHandshake : SSL_do_handshake() ret: 1
W: ../../../modules/android-auto/headunit/hu/hu_ssl.cpp:261: hu_handle_SSLHandshake : SET: iaap_state: 2 (hu_STATE_STARTED)
W: ../../../modules/android-auto/headunit/hu/hu_aap.cpp:1392: hu_aap_start : Starting HU thread
W: ../../../modules/android-auto/headunit/hu/hu_aap.cpp:599: hu_handle_ServiceDiscoveryRequest : Found BT address 00:1A:7D:DA:71:11. Exposing Bluetooth service
2020-11-12T18:22:41.352 Warning: [BluezQt] bluez manager started
2020-11-12T18:22:41.353 Warning: [BluezQt] Agent registered
2020-11-12T18:22:41.354 Warning: [BluezQt] Agent set as default
2020-11-12T18:22:41.354 Warning: [BluezQt] obex service started
2020-11-12T18:22:41.364 Warning: [BluezQt] obex manager started
BluetoothPairingRequest: phone_address: "F0:5C:77:C4:BD:B8"
pairing_method: BLUETOOTH_PARING_METHOD_HFP
Hi, I wanted to build your project to check it out, build steps are successful after a few tweaks (Ubuntu 16.04 PC).
However, I receive "Unknown transport type" error.
./headunit-app
Plugin Manager: Plugin loaded : "libandroid-auto-plugin.so"
Plugin Manager: Plugin loaded : "libhvac-plugin.so"
Plugin Manager: Plugin loaded : "libsample-plugin.so"
Plugin Manager: Plugin loaded : "libusbconnectionlistener-plugin.so"
Loading qml plugin: "libandroid-auto-plugin.so"
Loading qml plugin: "libhvac-plugin.so"
Loading qml plugin: "libsample-plugin.so"
Loading qml plugin: "libusbconnectionlistener-plugin.so"
Starting headunit
E: ../../../modules/android-auto/headunit/hu/hu_aap.cpp:83: ihu_tra_start : Unknown transport type
Loading hvac settings : "0"
QIODevice::read (QFile, "0"): device not open
JSON Parse error : "illegal value"
Theme Manager: Theme loaded : "themes/default-theme/libdefault-theme.so"
Setting video surface
qrc:/HVAC/ClimateControl/HVACControlFanSlider.qml:10:5: Unable to assign [undefined] to int
qrc:/HVAC/ClimateControl/HVACControlFanSlider.qml:10:5: Unable to assign [undefined] to int
qrc:/HVAC/ClimateControl/HVACControlFanSlider.qml:10:5: Unable to assign [undefined] to int
qrc:/HVAC/ClimateControl/HVACControlFanSlider.qml:10:5: Unable to assign [undefined] to int
AndroidAuto event UsbConnectionListenerPlugin::UsbDeviceAdded : QVariant(QByteArray, "{\"manufacturer\":\"SAMSUNG\",\"pid\":\"26720\",\"product\":\"SAMSUNG_Android\",\"serialNumber\":\"RF8N11J2QNV\",\"vid\":\"1256\"}")
Starting headunit
E: ../../../modules/android-auto/headunit/hu/hu_aap.cpp:83: ihu_tra_start : Unknown transport type
AndroidAuto event UsbConnectionListenerPlugin::UsbDeviceAdded : QVariant(QByteArray, "{\"manufacturer\":\"SAMSUNG\",\"pid\":\"26720\",\"product\":\"SAMSUNG_Android\",\"serialNumber\":\"RF8N11J2QNV\",\"vid\":\"1256\"}")
Starting headunit
E: ../../../modules/android-auto/headunit/hu/hu_aap.cpp:83: ihu_tra_start : Unknown transport type
Could you help me figure out why I'm getting such error? Do I need to use a specific Android Auto version on my phone, or set something on my phone. (fyi My car & openauto have no issues connecting to my phone ) Thanks for the help in advance.
The idea is to have a RPi image. Use buildtool to build all the dependencies including headunit-desktop for RPi and to support fast boot time.
Call it something like headunit-desktop-rpi-imagebuilder
is there any working build guide/script out there today??
i tried many ways nothing ended with a running binary
than i mixed them fixing here an there compiler errors but nothing worked really
i need some help
the only thing which is working is the complete but outdated image from the website
but the image from 2018-08 is more a showreel than a full working system
greetings from germany
Now I can compile the project.
So I try to start it with ./headunit-app
- but that shows this error:
$ ./headunit-app
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:29 Type DashView unavailable
qrc:/qml/DashView.qml:51 Type RightMenu unavailable
qrc:/qml/RightMenu.qml:1 module "QtQuick" version 2.6 is not installed
...
This error occures, because the file headunit-desktop/qml_gui/qml/RightMenu.qml
has
import QtQuick 2.6
instead of
import QtQuick 2.5
After changing this, the application works like a charm - and it's surprisingly awesome. Good job!
On Raspbian when welle.io throws an exception headunit quits with terminate called after throwing an instance of 'int'
. Mainly thrown by https://github.com/AlbrechtL/welle.io/blob/master/src/ofdm/ofdm-processor.cpp . This behavior isn't present/haven't been observed on other platforms.
The only difference between the way welle.io loads QQmlApplicationEngine and the way headunit does is that welle.io uses dynamic allocation when creating QQmlApplicationEngine.
Hello,
How can I make a call with the head unit?
Preferably, "Android Auto" is used.
Do I need to connect the phone via Bluetooth?
In this case I can not connect the phone via Bluetooth.
When I go to Settings in "Phone" and turn on Bluetooth and make it visible, the raspberry is not found by the smartphone.
What do I have to set how, so that one can telephone with the head unit?
Now - while headuit-app works I try to build "headunit with welle.io".
Therefore I try to make the project using the command
cd ~/headunit-desktop && make clean && qmake CONFIG+=welleio && make -j4 sub-app-with-welleio-pro
Here I get 2 errors:
1. make clean
after trying to run this command I get this error:
cd qmllive/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake ~/Development/headunit-desktop/tests/qmllive/qmllive.pro CONFIG+=release -o Makefile ) && make -f Makefile clean
Project ERROR: qmllive development package not found
Makefile:100: die Regel für Ziel „sub-qmllive-clean“ scheiterte (EN: rule for target "sub-qmllive-clean failed)
make[1]: *** [sub-qmllive-clean] Fehler 3 (EN: error 3)
make[1]: Verzeichnis „~/Development/headunit-desktop/tests“ wird verlassen (EN: leaving dir ...)
Makefile:93: die Regel für Ziel „sub-tests-clean“ scheiterte (EN: rule for target "sub-tests-clean" failed)
make: *** [sub-tests-clean] Fehler 2 (EN: error 2)
2. $ make -j4 sub-app-with-welleio-pro
$ qmake CONFIG+=welleio
works - but then after running make -j4 sub-app-with-welleio-pro
I get this error (I translated into English):
make: *** rule to make target „sub-app-with-welleio-pro“. Stop.
I cloned the latest version of the repo - with and without the changes mentioned in Issue #3 . And I can't run this command. Again everything worked except for issue #3 and this command mentioned above.
Use Ubuntu 17.04 or Debian 9 with Qt 5.7 - and follow the instructions by @viktorgino
See this comment
Mic is enabled in both alsa and pulse. Starting a microphone listen session on android auto renders the following log output while not having any output:
SHAI1 : Mic Started
** (headunit-app:4548): CRITICAL **: gst_app_sink_try_pull_sample: assertion 'GST_IS_APP_SINK (appsink)' failed
(headunit-app:4548): GStreamer-CRITICAL **: gst_sample_get_buffer: assertion 'GST_IS_SAMPLE (sample)' failed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.