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

1 2 3 Next › Last »

nd925a commented on 2022-08-18 00:25 (UTC)

Using the fix from @TimonGaertner I had a successful build. I had to have it fail first and edit the file src/aasdk-git/src/USB/USBHub.cpp instead of the src/USB/USBHub.cpp during the build operation.

TimonGaertner commented on 2022-01-13 22:17 (UTC) (edited on 2022-01-13 22:19 (UTC) by TimonGaertner)

@brilthor you have to change

hotplugHandle_ = usbWrapper_.hotplugRegisterCallback(LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED, LIBUSB_HOTPLUG_NO_FLAGS, LIBUSB_HOTPLUG_MATCH_ANY, LIBUSB_HOTPLUG_MATCH_ANY,

into

hotplugHandle_ = usbWrapper_.hotplugRegisterCallback(LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED, (libusb_hotplug_flag)LIBUSB_HOTPLUG_NO_FLAGS, LIBUSB_HOTPLUG_MATCH_ANY, LIBUSB_HOTPLUG_MATCH_ANY,

on line 53 in the /src/USB/USBHub.cpp file, you can just do that by cloning https://aur.archlinux.org/aasdk-git.git, running makepkg and replacing the line, while the build is in progress

StS commented on 2021-04-08 00:28 (UTC)

This patch helped me for this: USBHub.cpp:53:103: error: invalid conversion from ‘int’ to ‘libusb_hotplug_flag’ error.

https://pastebin.com/XR4rbTmA

brilthor commented on 2021-03-09 17:15 (UTC) (edited on 2021-03-09 17:16 (UTC) by brilthor)

Build issue on two up to date arch systems

In file included from /home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/include/f1x/aasdk/USB/IUSBWrapper.hpp:24,
                from /home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/src/USB/USBHub.cpp:20:
/home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/src/USB/USBHub.cpp: In lambda function:
/home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/src/USB/USBHub.cpp:53:103: error: invalid conversion from ‘int’ to ‘libusb_hotplug_flag’ [-fpermissive]
53 | hotplugHandle_ = usbWrapper_.hotplugRegisterCallback(LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED, LIBUSB_HOTPLUG_NO_FLAGS, LIBUSB_HOTPLUG_MATCH_ANY, LIBUSB_HOTPLUG_MATCH_ANY,
    |                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~
    |                                                                                           |
    |                                                                                           int

In file included from /home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/src/USB/USBHub.cpp:20:
/home/john/.cache/pikaur/build/aasdk-git/src/aasdk-git/include/f1x/aasdk/USB/IUSBWrapper.hpp:76:108: note:   initializing argument 2 of ‘virtual f1x::aasdk::usb::HotplugCallbackHandle f1x::aasdk::usb::IUSBWrapper::hotplugRegisterCallback(libusb_hotplug_event, libusb_hotplug_flag, int, int, int, libusb_hotplug_callback_fn, void*)’
76 | ugCallbackHandle hotplugRegisterCallback(libusb_hotplug_event events, libusb_hotplug_flag flags, int vendor_id, int product_id, int dev_class,
    |                                                                       ~~~~~~~~~~~~~~~~~~~~^~~~~

make[2]: *** [CMakeFiles/aasdk.dir/build.make:641: CMakeFiles/aasdk.dir/src/USB/USBHub.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/aasdk.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

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

Yeah, I've been waiting for the OTAs before I try the 11 previews, so I'm still on 10. My play services version is still on 20.04.14 (120400-294335909).

parkerlreed commented on 2020-02-28 20:46 (UTC)

Must be where I'm on 11 DP1. Switched cables, forgot all cars, etc. Still the same result.

parkerlreed commented on 2020-02-28 20:18 (UTC)

Strange. Pixel 3 XL here.

version 5.1.500644-release

What about Play Services? That's caused issues in the past.

version 20.06.16 (120400-296104215)

I'll redo the setup on this laptop and see if it's just something weird there.

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