waydroid / waydroid

Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.
https://waydro.id
GNU General Public License v3.0
7.94k stars 329 forks source link

We need the ability to use a webcam #1040

Open promeneur opened 1 year ago

promeneur commented 1 year ago

We need webcam.

Some of my contacts chose to use WhatsApp.

My PC is my main tool in my life, along the day. It's more handy to answer to a video call with my PC.

With Linux there is no WhatsApp desktop version with video call.

The only way is to use till now, a QEMU VM with a dedicated webcam [1] with android-x86.

I know well QEMU but from Mr Jo Waydroid is a good solution, only using the package manager.

It's a pity that MS Windows can run Linux app and now Android app and not Linux.

A fast way, even if it's not a perfect solution, is what I do :

[2] for openSUSE add a 50.qemu.rules file in /etc/udev/udev.d/ with the contents :

Logitech, Inc. C270 Webcam

SUBSYSTEMS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="0825", GROUP="kvm", MODE:="0666"

[3] ...... -device usb-ehci,id=ehci .... -device usb-host,vendorid=0x046d,productid=0x0825

Warning :

You must get this :

-device usb-kbd \ -device usb-mouse \ -device usb-tablet \ -device usb-host,vendorid=0x046d,productid=0x0825 \

Thanks

Quackdoc commented 1 year ago

duplicate of #622