mlanypitts / webcamstudio

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

How to autostart the webcam module #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. open webcamstudio
2.
3.

What is the expected output? What do you see instead?

i can start the module at the terminal with
sudo /etc/init.d/webcamstudio start
but i want it to load automatically at the login of the computer
i installed the deb package on mint 11 (gnome)

Original issue reported on code.google.com by EduardEl...@gmail.com on 18 Oct 2011 at 8:21

GoogleCodeExporter commented 8 years ago
The module loading is done automatically with /etc/init.d/webcamstudio.  You 
should have a few link in rc2.d ,rc3.d., etc...

If that does not happen, something is wrong or not adapted to Mint.  See if 
those links were installed from the debian package...

Original comment by patrick.balleux on 22 Oct 2011 at 12:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
this is what i got from command line, also i have installed first the old 
webcamstudio on the repositories then installed the deb over it

this is the terminal output

ledah@Sasha ~ $ locate rc2.d
/etc/rc2.d
/etc/rc2.d/README
/etc/rc2.d/S20fancontrol
/etc/rc2.d/S20hddtemp
/etc/rc2.d/S20kerneloops
/etc/rc2.d/S20samba4
/etc/rc2.d/S20speech-dispatcher
/etc/rc2.d/S20vboxballoonctrl-service
/etc/rc2.d/S20vboxdrv
/etc/rc2.d/S20vboxweb-service
/etc/rc2.d/S20winbind
/etc/rc2.d/S25bluetooth
/etc/rc2.d/S50pulseaudio
/etc/rc2.d/S50rsync
/etc/rc2.d/S50saned
/etc/rc2.d/S70dns-clean
/etc/rc2.d/S70pppd-dns
/etc/rc2.d/S75sudo
/etc/rc2.d/S90binfmt-support
/etc/rc2.d/S99acpi-support
/etc/rc2.d/S99grub-common
/etc/rc2.d/S99ondemand
/etc/rc2.d/S99rc.local
/etc/rc2.d/S99webcamstudio
ledah@Sasha ~ $ locate rc3.d
/etc/rc3.d
/etc/rc3.d/README
/etc/rc3.d/S20fancontrol
/etc/rc3.d/S20hddtemp
/etc/rc3.d/S20kerneloops
/etc/rc3.d/S20samba4
/etc/rc3.d/S20speech-dispatcher
/etc/rc3.d/S20vboxballoonctrl-service
/etc/rc3.d/S20vboxdrv
/etc/rc3.d/S20vboxweb-service
/etc/rc3.d/S20winbind
/etc/rc3.d/S25bluetooth
/etc/rc3.d/S50pulseaudio
/etc/rc3.d/S50rsync
/etc/rc3.d/S50saned
/etc/rc3.d/S70dns-clean
/etc/rc3.d/S70pppd-dns
/etc/rc3.d/S75sudo
/etc/rc3.d/S90binfmt-support
/etc/rc3.d/S99acpi-support
/etc/rc3.d/S99grub-common
/etc/rc3.d/S99ondemand
/etc/rc3.d/S99rc.local
/etc/rc3.d/S99webcamstudio
ledah@Sasha ~ $ locate rc4.d
/etc/rc4.d
/etc/rc4.d/README
/etc/rc4.d/S20fancontrol
/etc/rc4.d/S20hddtemp
/etc/rc4.d/S20kerneloops
/etc/rc4.d/S20samba4
/etc/rc4.d/S20speech-dispatcher
/etc/rc4.d/S20vboxballoonctrl-service
/etc/rc4.d/S20vboxdrv
/etc/rc4.d/S20vboxweb-service
/etc/rc4.d/S20winbind
/etc/rc4.d/S25bluetooth
/etc/rc4.d/S50pulseaudio
/etc/rc4.d/S50rsync
/etc/rc4.d/S50saned
/etc/rc4.d/S70dns-clean
/etc/rc4.d/S70pppd-dns
/etc/rc4.d/S75sudo
/etc/rc4.d/S90binfmt-support
/etc/rc4.d/S99acpi-support
/etc/rc4.d/S99grub-common
/etc/rc4.d/S99ondemand
/etc/rc4.d/S99rc.local
/etc/rc4.d/S99webcamstudio
ledah@Sasha ~ $ locate rc5.d
/etc/rc5.d
/etc/rc5.d/README
/etc/rc5.d/S20fancontrol
/etc/rc5.d/S20hddtemp
/etc/rc5.d/S20kerneloops
/etc/rc5.d/S20samba4
/etc/rc5.d/S20speech-dispatcher
/etc/rc5.d/S20vboxballoonctrl-service
/etc/rc5.d/S20vboxdrv
/etc/rc5.d/S20vboxweb-service
/etc/rc5.d/S20winbind
/etc/rc5.d/S25bluetooth
/etc/rc5.d/S50pulseaudio
/etc/rc5.d/S50rsync
/etc/rc5.d/S50saned
/etc/rc5.d/S70dns-clean
/etc/rc5.d/S70pppd-dns
/etc/rc5.d/S75sudo
/etc/rc5.d/S90binfmt-support
/etc/rc5.d/S99acpi-support
/etc/rc5.d/S99grub-common
/etc/rc5.d/S99ondemand
/etc/rc5.d/S99rc.local
/etc/rc5.d/S99webcamstudio
ledah@Sasha ~ $ locate rc6.d
/etc/rc6.d
/etc/rc6.d/K20hddtemp
/etc/rc6.d/K20samba4
/etc/rc6.d/K20speech-dispatcher
/etc/rc6.d/K20vboxballoonctrl-service
/etc/rc6.d/K20vboxdrv
/etc/rc6.d/K20vboxweb-service
/etc/rc6.d/K20winbind
/etc/rc6.d/K74bluetooth
/etc/rc6.d/README
/etc/rc6.d/S10unattended-upgrades
/etc/rc6.d/S20sendsigs
/etc/rc6.d/S30urandom
/etc/rc6.d/S31umountnfs.sh
/etc/rc6.d/S35networking
/etc/rc6.d/S40umountfs
/etc/rc6.d/S48cryptdisks
/etc/rc6.d/S59cryptdisks-early
/etc/rc6.d/S60umountroot
/etc/rc6.d/S90reboot
ledah@Sasha ~ $ webcamstudio
Using JRE: /usr/lib/jvm/java-6-openjdk/bin
Module webcamstudio is not loaded...

progname=zenity; RGBA=on
/home/ledah/.themes/Dark-Elementary/gtk-2.0/gtkrc:126: Murrine configuration 
option "gradients" is no longer supported and will be ignored.
OS is Linux
Starting iWebcamera Detection...
ledah@Sasha ~ $ sudo /etc/init.d/webcamstudio start
 * Starting WebcamStudio kernel module webcamstudio                             Building vloopback driver...
make -C /lib/modules/`uname -r`/build M=/tmp/webcamstudio-src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
  CC [M]  /tmp/webcamstudio-src/webcamstudio.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/webcamstudio-src/webcamstudio.mod.o
  LD [M]  /tmp/webcamstudio-src/webcamstudio.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
make -C /lib/modules/`uname -r`/build M=/tmp/webcamstudio-src modules_install
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
  INSTALL /tmp/webcamstudio-src/webcamstudio.ko
  DEPMOD  2.6.38-8-generic
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
depmod -ae
WARNING: -e needs -E or -F
                                                                         [ OK ]
ledah@Sasha ~ $ webcamstudio
Using JRE: /usr/lib/jvm/java-6-openjdk/bin
OS is Linux
DEBUG: WebcamStudio Video Device (video1)
DEBUG: WebcamStudio Video Device (video1)
Starting iWebcamera Detection...
Not same sourceDesktop
[the program works perfectly at this point]

Original comment by EduardEl...@gmail.com on 22 Oct 2011 at 9:32

GoogleCodeExporter commented 8 years ago
It should work as everything is in place...  Will have to investigate if Mint 
is missing a starting script...

Could you have a look in the kernel log or message logs to see if the script is 
executed when booting up?

Original comment by patrick.balleux on 13 Nov 2011 at 4:20

GoogleCodeExporter commented 8 years ago
This issue should be fixed in latest SVN r443

Please test and provide feedback...

The deb packages are in our daily builds PPA....

Thanks

Original comment by peter.u....@gmail.com on 3 Apr 2013 at 7:34

GoogleCodeExporter commented 8 years ago

Original comment by peter.u....@gmail.com on 21 Apr 2013 at 9:30