rom1v / aoa-audio

PoC to forward audio from Android device to computer
58 stars 6 forks source link

several problems #4

Closed ghost closed 5 years ago

ghost commented 5 years ago

1) Ive receive this output rather than running

rockpi@rockpi:~/Desktop/aoa-audio$ pactl list short sources
0   alsa_output.platform-hdmi-sound.stereo-fallback.monitor module-alsa-card.c  s16le 2ch 44100Hz   SUSPENDED

2) I cant access scrcpy while running this program. I have access without it running.

error: failed to get feature set: insufficient permissions for device: user in plugdev group; are your udev rules wrong?

Thanks as always

rom1v commented 5 years ago
  1. SUSPENDED is expected when no sound is played
  2. Enabling AOA changes the USB pid of the device, and the new vid:pid is probably not authorized in your udev rules. Check the vid:pid with lsusb, and authorize it in /etc/udev/rules.d/51-android.rules or similar.