diff options
Diffstat (limited to 'multimedia/droidcam/README.SLACKWARE')
-rw-r--r-- | multimedia/droidcam/README.SLACKWARE | 43 |
1 files changed, 13 insertions, 30 deletions
diff --git a/multimedia/droidcam/README.SLACKWARE b/multimedia/droidcam/README.SLACKWARE index c4c7f8ca08..a91a930ff9 100644 --- a/multimedia/droidcam/README.SLACKWARE +++ b/multimedia/droidcam/README.SLACKWARE @@ -1,41 +1,24 @@ Droidcam Slackware -After installing the package, a file to load the video audio modules will be -created in "/etc/rc.d" called "rc.droidcam", +Probably the camera and microphone modules of the cell +phone will not be loaded at startup, being necessary to +add the following lines in the file "rc.modules.local". -If the module responsible for functional the camera is not working the -file is already with execution permission, only need run. +/sbin/modprobe v4l2loopback-dc +/sbin/modprobe snd-aloop -chmod +x /etc/rc.d/rc.droidcam -/etc/rc.d/rc.droidcam start -Probably the camera and microphone modules of the cell phone will not be -loaded at startup, being necessary to add the -following lines in the file "rc.local". +It is important to install the dkms package because it +manages the v412loopback-dc video module. to compile the +module automatically when the kernel is updated. +Added this lines in rc.modules.local. -if [-x /etc/rc.d/rc.droidcam]; then - /etc/rc.d/rc.droidcam start &> / dev / null -fi - -If you prefer to add in rc.shutdown. +# Enable DKMS module rebuilding -if [-x /etc/rc.d/rc.droidcam]; then - /etc/rc.d/rc.droidcam stop &> / dev / null +if [ -x /usr/lib/dkms/dkms_autoinstaller ]; then + echo "Running DKMS autoinstaller" + /usr/lib/dkms/dkms_autoinstaller start fi -Whenever you upgrade the kernel you need to reinstall the package so that the -module is recompiled on the new kernel. - - -When you need to uninstall the package The camera video driver will still be -installed and you need to remove manually if you can. - -Login as root. - -rmmod -f v4l2loopback_dc -rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/v4l2loopback-dc.ko - -For more informations. -https://www.dev47apps.com/droidcam/linux/ |