systemd-modules-load is complaining in logs: "Failed to find module 'v4l2loopback_dc width=320 height=240'", and the module is not loaded at all (it is in the right place and working when loading manually with modprobe). According to https://wiki.archlinux.org/index.php/Kernel_modules#Setting_module_options module parameters, such as 'width' and 'height' should be set like 'options v4l2loopback_dc width=320 height=240' in /etc/modprobe.d/droidcam.conf, not in /usr/lib/modules-load.d/droidcam.conf directly.
After moving options to modprobe.d problem is gone and
$ grep "" /sys/module/v4l2loopback_dc/parameters/*
/sys/module/v4l2loopback_dc/parameters/height:240
/sys/module/v4l2loopback_dc/parameters/width:320
(looks like parameters are being set correctly).
Search Criteria
Package Details: droidcam 1:2.1.3-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/droidcam.git (read-only, click to copy) |
---|---|
Package Base: | droidcam |
Description: | A tool to turn your phone/tablet into a wireless/usb webcam |
Upstream URL: | https://github.com/dev47apps/droidcam-linux-client |
Keywords: | android ios webcam |
Licenses: | GPL-2.0-or-later |
Submitter: | marquicus |
Maintainer: | mhdi |
Last Packager: | mhdi |
Votes: | 140 |
Popularity: | 1.43 |
First Submitted: | 2011-06-29 20:31 (UTC) |
Last Updated: | 2024-06-14 19:38 (UTC) |
Dependencies (21)
- alsa-lib
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libappindicator-gtk3
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- libusbmuxd (libusbmuxd-rr-compatibleAUR, libusbmuxd-gitAUR)
- libx11 (libx11-gitAUR)
- pango (pango-gitAUR)
- speex (speex-gitAUR)
- V4L2LOOPBACK-MODULE (v4l2loopback-dc-dkmsAUR, linux-pfAUR, v4l2loopback-dkms)
- alsa-lib (make)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-amd-fullAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (make)
- libappindicator-gtk3 (make)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR) (make)
- libusbmuxd (libusbmuxd-rr-compatibleAUR, libusbmuxd-gitAUR) (make)
- speex (speex-gitAUR) (make)
- android-tools (android-sdk-platform-tools-dummyAUR, android-sdk-platform-toolsAUR) (optional) – for Android USB connection
- Show 1 more dependencies...
Required by (0)
Sources (3)
Latest Comments
« First ‹ Previous 1 .. 30 31 32 33 34 35 36 37 Next › Last »
test0 commented on 2014-05-16 22:56 (UTC)
nagy commented on 2014-02-03 22:37 (UTC)
looks like they also released the source of this https://github.com/aramg/droidcam
i will make a PKGBUILD that builds from source then.
nagy commented on 2014-02-03 22:24 (UTC)
apparently they changed something in the file v4l2loopback-dc.c.
the last modification date tells 16.12.2013 .
anyway, i changed the hash sums but left the old ones and also a note about it.
jamesan commented on 2014-02-03 20:23 (UTC)
The SHA-1 hashes for both 32- and 64-bit tarballs are incorrect. The upstream version hasn't changed, so I don't know what's caused the hash change.
notthesun commented on 2013-10-30 11:36 (UTC)
works good with the absolute path...thanks for the tip ;)
nagy commented on 2013-10-29 21:35 (UTC)
did you reboot ? try that and otherwise try to load the module by absolute path. dont forget the parameters.
# insmod /usr/lib/modules/extramodules-3.11-ARCH/v4l2loopback_dc.ko width=320 height=240
maybe dmesg gives some errors that you can post.
notthesun commented on 2013-10-29 19:30 (UTC)
i've follow your instruction but i can't get droidcam to works...when i try to modprobe v4l2loopback_dc i get the module not found error but the module is in the right place
nagy commented on 2013-10-27 19:15 (UTC)
i finally got it to work. this definitely needs a wiki article or at least some readme. I will write it these days.
in short what you have to do:
after building this package...
- reboot or load the modules videodev, v4l2loopback, v4l2loopback_dc by hand
using modprobe. But for the v4l2loopback_dc module you need to
add a "width" and "height" parameter. these can be 320x240 or more.
this should give you /dev/video0 or /dev/video1
- install the app on your phone. search in the google play store for droidcam.
there is a free and a paid version. both should work.
- if you are in the "video" group you can do $ droidcam otherwise you will need
to run it as root: # droidcam
this should popup a gui in which you can enter your device's ip and port.
then press connect and you should see the camera starting on your device.
thats it. you can test the video using vlc for example :
$ vlc v4l2:///dev/video1:width=320:height=240
nagy commented on 2013-10-10 19:20 (UTC)
it actually looks like it tries to build v4l2loopback itself, wich should be fulfilled by pulling it in as a dependency.
droidcam ships with a webcam-driver that depends on v4l2loopback to register the android cam as a webcam, called "v4l2loopback-dc".
i have installed the corresponding app on my phone but i have not gotten it to work yet. I need to debug this a little bit more, sorry.
Xemertix commented on 2013-10-10 12:09 (UTC)
any news? in the file "install" there are the steps needed to build the module... it seems it needs the source of v4l2loopback
Pinned Comments