usbaudio icon indicating copy to clipboard operation
usbaudio copied to clipboard

audio is not playing on linux

Open Ananyajain721 opened this issue 6 years ago • 12 comments

I am using ASUS zenfone max pro M2 stock Android P. It doesn't show any error

[INFO] Device: [18d1:2d05] JBAAGF081424RH5 [INFO] Audio forwarding enabled [INFO] Matching PulseAudio input source found: 2 (18d1:2d05) asus_SDM660-QRD__SN:42204D05_JBAAGF081424RH5 [INFO] Playing pulse://2 VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332) [000056178eb6c230] dummy interface: using the dummy interface module...

it starts with this. But doesn't play audio on my ubuntu. IDK why? it seems everything fine And I run without scrcpy.

Ananyajain721 avatar Jul 09 '19 17:07 Ananyajain721

Same issue with me.

I am using HP Desktop with Lubuntu OS. My Device: Redmi Note 6 Pro

Here is the terminal log [gshah@gshah-desk ~]$ usbaudio [INFO] Device: [18d1:2d05] 4e55f6ec [INFO] Audio forwarding enabled [INFO] Matching PulseAudio input source found: 4 (18d1:2d05) Xiaomi_SDM636-MTP__SN:E443775A_4e55f6ec [INFO] Playing pulse://4 VLC media player 3.0.7.1 Vetinari (revision 3.0.7.1-0-gf3940db4af) [000056222feb0320] dummy interface: using the dummy interface module...

but there is no sound. I am playing this without scrcpy.

There is no visible error anywhere.

gshah30 avatar Aug 11 '19 07:08 gshah30

Any solution???

manish6022 avatar Oct 05 '19 09:10 manish6022

No, I don't know what the problem is.

rom1v avatar Oct 05 '19 12:10 rom1v

I got same issue, no Audio playing.

I tried command ffplay -vn -f pulse -i alsa_input.usb-Xiaomi_Redmi_Note_3_d238a584-01.analog-stereo

no ff player appear, but when I was unplug usb the FF player appear

arifinnmo avatar Oct 06 '19 11:10 arifinnmo

我的debain10一样,没有声音

cosoc avatar Nov 10 '19 07:11 cosoc

Same issue, Xiaomi Mi 6 connecting to Ubuntu 19.10 VM.

[INFO] Device: [18d1:4ee7] a87092db [INFO] Audio forwarding enabled [INFO] Waiting for input source... [INFO] Matching PulseAudio input source found: 13 (18d1:2d05) Xiaomi_MI_6_a87092db [INFO] Playing pulse://13 VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) [000055ccb6c516d0] dummy interface: using the dummy interface module...

fredomne avatar Jan 18 '20 06:01 fredomne

I had a similar issue, check ur pulseaudio for some muted application or device

Samega7Cattac avatar Mar 02 '20 00:03 Samega7Cattac

Same issue , i play with or without scrcpy

[INFO] Device: [18d1:2d05] 0053d3e00504 [INFO] Audio forwarding enabled [INFO] Matching PulseAudio input source found: 2 (18d1:2d05) Android_Android_0053d3e00504 [INFO] Playing pulse://2 VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) [000055687fe8fbc0] dummy interface: using the dummy interface module...

thelazyone11 avatar Mar 26 '20 19:03 thelazyone11

Same issue
I am using SparkyLinux i386 with Asus zenfone max pro m1

[INFO] Device: [0b05:7775] J8AAGF127166WKH [INFO] Audio forwarding enabled [INFO] Waiting for input source... [INFO] Matching PulseAudio input source found: 2 (18d1:2d05) asus_SDM636-QRD__SN:0DB1B0AD_J8AAGF127166WKH [INFO] Playing pulse://2 VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) [0185e100] dummy interface: using the dummy interface module...

AnshadV avatar Apr 14 '20 14:04 AnshadV

[INFO] Device: [04e8:6860] 234be4d5 [INFO] Audio forwarding enabled [INFO] Waiting for input source... [INFO] Matching PulseAudio input source found: 7 (18d1:2d05) SAMSUNG_SAMSUNG_Android_234be4d5 [INFO] Playing pulse://7 VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7) [000055a60de46690] dummy interface: using the dummy interface module...

Same issue running android 9 and linux mint, in fact when im using usb audio the usb manager on my phone doesnt know what it has selected.

then when trying to use scrcpy after closing usbaudio

INFO: scrcpy 1.12.1 https://github.com/Genymobile/scrcpy adb: error: failed to get feature set: insufficient permissions for device: user in plugdev group; are your udev rules wrong? See [http://developer.android.com/tools/device.html] for more information ERROR: "adb push" returned with value 1

Ron-TheDev avatar Apr 30 '20 08:04 Ron-TheDev

Same issue with me.

I am using HP Desktop with Lubuntu OS. My Device: Redmi Note 6 Pro

Here is the terminal log [gshah@gshah-desk ~]$ usbaudio [INFO] Device: [18d1:2d05] 4e55f6ec [INFO] Audio forwarding enabled [INFO] Matching PulseAudio input source found: 4 (18d1:2d05) Xiaomi_SDM636-MTP__SN:E443775A_4e55f6ec [INFO] Playing pulse://4 VLC media player 3.0.7.1 Vetinari (revision 3.0.7.1-0-gf3940db4af) [000056222feb0320] dummy interface: using the dummy interface module...

but there is no sound. I am playing this without scrcpy.

There is no visible error anywhere.

Same issue with me for Redmi Note 5 Pro. Couldn't fix. Also there's no sign of any error.

abhijith-ms avatar May 27 '20 13:05 abhijith-ms

Update scrcpy:

Ensure you have the latest version of scrcpy installed. You can do this by running the following commands in the terminal:

sudo apt update
sudo apt upgrade scrcpy

Check System Audio: Make sure that your system audio is working correctly. Test the audio with other applications or media players to ensure it's not a system-wide issue.

Check scrcpy Options: When starting scrcpy, make sure you are not explicitly disabling audio. The -N option, for example, disables audio. Ensure that you are not using it unintentionally.

scrcpy

PulseAudio: Ensure that PulseAudio is properly configured. You can install PulseAudio if it's not already installed:

sudo apt install pulseaudio

Also, make sure PulseAudio is running:

pulseaudio --start

PulseAudio Volume Control: Use the PulseAudio Volume Control (pavucontrol) to check if scrcpy is listed and that its audio is not muted.

sudo apt install pavucontrol
pavucontrol

Look for scrcpy in the playback tab and ensure the audio is not muted.

Restart ADB and scrcpy: Restart the Android Debug Bridge (ADB) and scrcpy:

adb kill-server
adb start-server
scrcpy

Permissions: Ensure that your user has the necessary permissions to access audio devices. You can add your user to the "audio" group:

sudo usermod -aG audio $USER

Logout and log back in for the changes to take effect.

Note: If you are using a wired headphones then audio cant be played on your Ubuntu device

mushaibkhan avatar Jan 06 '24 05:01 mushaibkhan