Closed rahulsangwn closed 3 years ago
Error -7 is LIBUSB_ERROR_TIMEOUT. It is hard to say why that would happen when AAClient is communicating with your mobile device. Some ideas/questions:
Please let me know if you find something out.
First, I looked into the dmesg logs and found out a message usbfs: process 1855 (AAClient) did not claim interface 0 before use
. Using below code i got rid of this message
if (libusb_kernel_driver_active(handle, interface)) {
if (libusb_detach_kernel_driver(handle, interface)) {}
}
libusb_claim_interface(handle, interface)
At this point my problem was still unresolved, Open E: in transfer failed: -7
.
Then, I use DefaultChannelHandler instead of other handlers in both AAServer and AAClient, which solved my problem completely.
Thank You for your valuable suggestions.
Hi @tomasz-grobelny , thank you for the project. I am running AACS on the Raspberry Pi 4. Want to proxy android auto traffic through AACS, but open auto display is stuck at the initial AAServer video pattern (large red and yellowish green pixels).
Can you please point out what can be the problem.