hexvalid / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
0 stars 0 forks source link

13.04 daily build is failing with error "None of the kernel modules webcamstudio/v4l2loopback are loaded" #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add the Ubuntu 13.04 daily builds PPA to sources list
2. apt-get install webcamstudio
3. run webcamstudio

What is the expected output?
webcamstudio runs and produces output.

What do you see instead?
Error dialog appears "None of the kernel modules webcamstudio/v4l2loopback are 
loaded... The virtual webcam will not be available..."
webcamstudio does then run, but does not produce any output.

The Operating system you are using (Linux, Windows etc)?
Ubuntu 13.04 (Raring Ringtail)

What version of WebcamStudio are you using?
Installed from the daily builds PPA
deb http://ppa.launchpad.net/webcamstudio/webcamstudio-dailybuilds/ubuntu 
raring main

What version of Java are you using?
java-7-openjdk-i386

What is your Webcamera vendor, model and version?
Creative Webcam Live!

For *nix users please enter the output from "sudo lsusb"?
Bus 002 Device 002: ID 0644:0200 TEAC Corp. All-In-One Multi-Card Reader 
CA200/B/S
Bus 004 Device 002: ID 041e:4036 Creative Technology, Ltd Webcam Live!/Live! Pro
Bus 004 Device 003: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard
Bus 005 Device 002: ID 046d:c52f Logitech, Inc. Wireless Mouse M305
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Original issue reported on code.google.com by craig.w...@theoldfarmhouse.org on 4 May 2013 at 8:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
FYI also tried the following:

craig@Inspiron:~$ sudo service webcamstudio restart
[sudo] password for craig: 
 * Stopping WebcamStudio kernel modules                                         
 * No WebcamStudio kernel modules loaded
                                                                         [ OK ]
 * Loading WebcamStudio kernel modules                                          
 * No suitable WebcamStudio modules for the running kernel found
                                                                         [ OK ]

Original comment by craig.w...@theoldfarmhouse.org on 4 May 2013 at 9:16

GoogleCodeExporter commented 9 years ago
After more experimenting I have tried also installing webcamstudio-dkms:

craig@Inspiron:~$ sudo apt-get install webcamstudio-dkms

...

webcamstudio:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.8.0-19-generic/updates/dkms/

depmod......

DKMS: install completed.

However when I run webcamstudio I still see the same error dialogue "None of 
the kernel modules webcamstudio/v4l2loopback are loaded... The virtual webcam 
will not be available..."

Original comment by craig.w...@theoldfarmhouse.org on 4 May 2013 at 9:24

GoogleCodeExporter commented 9 years ago
And finally I run modprobe

craig@Inspiron:~$ sudo modprobe webcamstudio

... and it is now working!

Original comment by craig.w...@theoldfarmhouse.org on 4 May 2013 at 9:34

GoogleCodeExporter commented 9 years ago
Updated my Ubuntu (apt-get upgrade) today and an updated webcamstudio was 
installed.

Having done so the "None of the kernel modules webcamstudio/v4l2loopback are 
loaded... The virtual webcam will not be available..." error returned until I 
next rebooted.

Original comment by craig.w...@theoldfarmhouse.org on 14 May 2013 at 6:59

GoogleCodeExporter commented 9 years ago
Hi,
Thanks for your info and investigation of the problem, and sorry for my late 
reply...

This is not an actual bug...

I am sorry for this annoying inconvenience, but it is a kinda design decision.
This dialog is only there to remind you that you need to install/load the 
required kernel module (this could be WCS' own kernel module named webcamstudio 
or the v4l2loopback kernel module if installed).

So WCS is split into two packages - webcamstudio and webcamstudio-dkms. And 
when you install the webcamstudio package, it recommends either 
webcamstudio-dkms or the v4l2loopback-dkms to be installed. After every 
add/update/upgrade of any of these dkms modules a restart of the webcamstudio 
service is needed, but that shouldn't be done auto by any of the dkms modules, 
since the user may want to use just them and not the webcamstudio application, 
thus resulting into install error of the dkms module(I will refine this auto 
service restart in later releases).

We've been thinking of removing this warning message, but this way the user may 
not be aware he is not having any of the dkms modules available and loaded. 

Maybe we need to think on another solution.

Anyway for now (even in SVN code) after installing/updating any of the dkms 
modules that work with WCS either manual restart of the webcamstudio service or 
a PC reboot is needed, so the changes could take effect.

Feel free to share any other convenient solution :)

Again... I am sorry for the annoyance....

Original comment by peter.u....@gmail.com on 16 Jun 2013 at 8:13

GoogleCodeExporter commented 9 years ago
Ubuntu 13.10 Saucy PPA created with correct WCStudio video module.

Original comment by soylent...@gmail.com on 26 Oct 2013 at 10:05