Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audio is not playing on linux #5

Open
Ananyajain721 opened this issue Jul 9, 2019 · 12 comments
Open

audio is not playing on linux #5

Ananyajain721 opened this issue Jul 9, 2019 · 12 comments

Comments

@Ananyajain721
Copy link

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.

@gshah30
Copy link

gshah30 commented Aug 11, 2019

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.

@manish6022
Copy link

Any solution???

@rom1v
Copy link
Owner

rom1v commented Oct 5, 2019

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

@arifinnmo
Copy link

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

@cosoc
Copy link

cosoc commented Nov 10, 2019

我的debain10一样,没有声音

@fredomne
Copy link

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...

@Samega7Cattac
Copy link

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

@thelazyone11
Copy link

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...

@AnshadV
Copy link

AnshadV commented Apr 14, 2020

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...

@RashadBrowne
Copy link

RashadBrowne commented Apr 30, 2020

[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

@abhijith-ms
Copy link

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.

@mushaibkhan
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests