Package Details: aasdk-git r90.a483733-1

Git Clone URL: https://aur.archlinux.org/aasdk-git.git (read-only, click to copy)
Package Base: aasdk-git
Description: Library to build AndroidAuto headunit
Upstream URL: https://github.com/f1xpl/aasdk
Licenses: GPL3
Conflicts: aasdk
Provides: aasdk
Submitter: parkerlreed
Maintainer: parkerlreed
Last Packager: parkerlreed
Votes: 1
Popularity: 0.000000
First Submitted: 2018-02-27 02:03 (UTC)
Last Updated: 2020-10-20 16:06 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

mbromilow commented on 2020-02-28 19:41 (UTC)

Works fine for me on a somewhat fresh Arch install, using a Pixel 2 on the latest OS with Android Auto 5.1.500644-release - been using it for a good 10 minutes or so pressing buttons and messing with resolutions, and I've not seen any unstability at all, so not sure what the issue could be there?

parkerlreed commented on 2020-02-28 17:19 (UTC)

It completely broke after the latest Android Auto update. Doesn't even start now.

[parker@stealth ~]$ autoapp 
[2020-02-28 12:17:57.798398] [0x00007f6aebac9300] [warning] [OpenAuto] [RecentAddressesList] failed to read configuration file: openauto_wifi_recent.ini, error: openauto_wifi_recent.ini: cannot open file. Empty list will be used.
[2020-02-28 12:17:57.893602] [0x00007f6ae92bd700] [info]    [OpenAuto] [App] Waiting for device...
[2020-02-28 12:17:58.015291] [0x00007f6ae37fe700] [info]    [OpenAuto] [App] Devices enumeration result: true
[2020-02-28 12:18:17.396185] [0x00007f6ae37fe700] [info]    [OpenAuto] [App] Device connected.
[2020-02-28 12:18:17.398496] [0x00007f6aebac9300] [debug]   [OpenAuto] [AudioInput] create.
[2020-02-28 12:18:17.404909] [0x00007f6aebac9300] [debug]   [OpenAuto] [QtVideoOutput] create.
[2020-02-28 12:18:17.487755] [0x00007f6ae37fe700] [info]    [OpenAuto] [AndroidAutoEntity] start.
[2020-02-28 12:18:17.487772] [0x00007f6ae37fe700] [info]    [OpenAuto] [AudioInputService] start.
[2020-02-28 12:18:17.487837] [0x00007f6ae37fe700] [info]    [OpenAuto] [AudioService] start, channel: MEDIA_AUDIO
[2020-02-28 12:18:17.487853] [0x00007f6ae37fe700] [info]    [OpenAuto] [AudioService] start, channel: SPEECH_AUDIO
[2020-02-28 12:18:17.487860] [0x00007f6ae37fe700] [info]    [OpenAuto] [AudioService] start, channel: SYSTEM_AUDIO
[2020-02-28 12:18:17.487867] [0x00007f6ae37fe700] [info]    [OpenAuto] [SensorService] start.
[2020-02-28 12:18:17.487876] [0x00007f6ae37fe700] [info]    [OpenAuto] [VideoService] start.
[2020-02-28 12:18:17.487888] [0x00007f6ae37fe700] [info]    [OpenAuto] [BluetoothService] start.
[2020-02-28 12:18:17.487896] [0x00007f6ae37fe700] [info]    [OpenAuto] [InputService] start.
[2020-02-28 12:18:17.493011] [0x00007f6ae8abc700] [info]    [OpenAuto] [AndroidAutoEntity] version response, version: 1.5, status: 0
[2020-02-28 12:18:17.493021] [0x00007f6ae8abc700] [info]    [OpenAuto] [AndroidAutoEntity] Begin handshake.
[2020-02-28 12:18:17.518106] [0x00007f6ae8abc700] [info]    [OpenAuto] [AndroidAutoEntity] Handshake, size: 2282
[2020-02-28 12:18:17.519463] [0x00007f6ae8abc700] [info]    [OpenAuto] [AndroidAutoEntity] continue handshake.
[2020-02-28 12:18:17.530676] [0x00007f6ae3fff700] [info]    [OpenAuto] [AndroidAutoEntity] Handshake, size: 51
[2020-02-28 12:18:17.530758] [0x00007f6ae3fff700] [info]    [OpenAuto] [AndroidAutoEntity] Auth completed.
[2020-02-28 12:18:17.535437] [0x00007f6ae37fe700] [info]    [OpenAuto] [AndroidAutoEntity] Discovery request, device name: Android, brand: Google Pixel 3 XL
[2020-02-28 12:18:17.535466] [0x00007f6ae37fe700] [info]    [OpenAuto] [AudioInputService] fill features.
[2020-02-28 12:18:17.535477] [0x00007f6ae37fe700] [info]    [OpenAuto] [AudioService] fill features, channel: MEDIA_AUDIO
[2020-02-28 12:18:17.535485] [0x00007f6ae37fe700] [info]    [OpenAuto] [AudioService] fill features, channel: SPEECH_AUDIO
[2020-02-28 12:18:17.535491] [0x00007f6ae37fe700] [info]    [OpenAuto] [AudioService] fill features, channel: SYSTEM_AUDIO
[2020-02-28 12:18:17.535497] [0x00007f6ae37fe700] [info]    [OpenAuto] [SensorService] fill features.
[2020-02-28 12:18:17.535505] [0x00007f6ae37fe700] [info]    [OpenAuto] [VideoService] fill features.
[2020-02-28 12:18:17.535513] [0x00007f6ae37fe700] [info]    [OpenAuto] [BluetoothService] fill features
[2020-02-28 12:18:17.535520] [0x00007f6ae37fe700] [info]    [OpenAuto] [InputService] fill features.

Poop

parkerlreed commented on 2020-02-28 02:06 (UTC) (edited on 2020-02-28 02:13 (UTC) by parkerlreed)

@mbromilow Thanks! Updated both packages and it is working again! Huzzah.

https://i.imgur.com/YIQVCBW.png

EDIT: Dangit. Worked for a little bit but after going to 720p and messing around it likes to crash hitting the "Home" button (Or seemingly at random for any other button)

mbromilow commented on 2020-02-27 21:27 (UTC)

Ah sorry, they're needed for openauto, my bad!

parkerlreed commented on 2020-02-27 21:25 (UTC)

Are they needed for this or openauto? openauto-git I already have gst-libav on.

If they're needed here I'll be sure to get that added.

Thanks a ton for the patch!

mbromilow commented on 2020-02-27 21:16 (UTC) (edited on 2020-02-27 21:17 (UTC) by mbromilow)

Here's a patch to add compatibility for boost 1.70+

boost_1.70_fixes.patch:

diff --unified --recursive --text aasdk-git/src/Channel/ServiceChannel.cpp aasdk-git.new/src/Channel/ServiceChannel.cpp
--- aasdk-git/src/Channel/ServiceChannel.cpp
+++ aasdk-git.new/src/Channel/ServiceChannel.cpp
@@ -38,7 +38,7 @@

 void ServiceChannel::send(messenger::Message::Pointer message, SendPromise::Pointer promise)
 {
-    auto sendPromise = messenger::SendPromise::defer(strand_.get_io_service());
+    auto sendPromise = messenger::SendPromise::defer(strand_.context());
     io::PromiseLink<>::forward(*sendPromise, std::move(promise));
     messenger_->enqueueSend(std::move(message), std::move(sendPromise));
 }
diff --unified --recursive --text aasdk-git/src/USB/AccessoryModeQueryChain.cpp aasdk-git.new/src/USB/AccessoryModeQueryChain.cpp
--- aasdk-git/src/USB/AccessoryModeQueryChain.cpp
+++ aasdk-git.new/src/USB/AccessoryModeQueryChain.cpp
@@ -58,7 +58,7 @@
                 });

             this->startQuery(AccessoryModeQueryType::PROTOCOL_VERSION,
-                             std::make_shared<USBEndpoint>(usbWrapper_, strand_.get_io_service(), std::move(handle)),
+                             std::make_shared<USBEndpoint>(usbWrapper_, strand_.context(), std::move(handle)),
                              std::move(queryPromise));
         }
     });

diff -u PKGBUILD.new PKGBUILD:

--- PKGBUILD
+++ PKGBUILD
@@ -14,8 +14,10 @@
 source=(
   "$pkgname::git+https://github.com/opencardev/aasdk#branch=development"
   promise.patch
+  boost_1.70_fixes.patch
 )
 md5sums=('SKIP'
+         'SKIP'
          'SKIP')

 pkgver() {
@@ -26,6 +28,7 @@
 prepare() {
   cd $pkgname
   patch --forward --strip=1 --input="${srcdir}/promise.patch"
+  patch -N -p 1 -i "${srcdir}/boost_1.70_fixes.patch"
 }

 build() {

It's also worth noting that I had to install gstreamer and gstreamer-plugins-bad; maybe these should be added as dependencies?

parkerlreed commented on 2019-12-23 00:58 (UTC)

@jesseFrey yeah it's broken at the moment. https://github.com/opencardev/aasdk/issues/3

Main upstream disabled all issues so it's up to the forks to fix stuff :(

jesseFrey commented on 2019-12-23 00:39 (UTC)

Build failed for me. got lots of errors saying "regenerate this file with a newer version of protoc" and then failed later on

parkerlreed commented on 2019-03-08 02:32 (UTC)

@urizen Updated. Thanks!

urizen commented on 2019-03-08 02:20 (UTC)

Got it to build with theses changes to the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 1e3f4bc..1e8c94e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,14 +11,23 @@ provides=($_pkgname)
 conflicts=($_pkgname)
 depends=('libusb' 'protobuf' 'openssl' 'boost-libs')
 makedepends=('cmake' 'boost' 'git')
-source=("$pkgname::git+https://github.com/f1xpl/aasdk.git#branch=master")
-md5sums=('SKIP')
+source=(
+  "$pkgname::git+https://github.com/f1xpl/aasdk.git#branch=master"
+  promise.patch
+  )
+md5sums=('SKIP'
+          'SKIP')

 pkgver() {
   cd $pkgname
   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

+prepare() {
+  cd $pkgname
+  patch --forward --strip=1 --input="${srcdir}/promise.patch"
+}
+
 build() {
   cd $pkgname
   mkdir -p aasdk_build

And promise.patch :

diff --git a/include/f1x/aasdk/IO/Promise.hpp b/include/f1x/aasdk/IO/Promise.hpp
index 9f5e222..646b258 100644
--- a/include/f1x/aasdk/IO/Promise.hpp
+++ b/include/f1x/aasdk/IO/Promise.hpp
@@ -20,6 +20,7 @@

 #include <functional>
 #include <boost/asio.hpp>
+#include <boost/core/noncopyable.hpp>
 #include <f1x/aasdk/Error/Error.hpp>
 #include <f1x/aasdk/IO/IOContextWrapper.hpp>

I also commented on the issue upstream.