LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-19-2009, 05:25 AM   #1
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Rep: Reputation: 30
Run Webcam script


To make my webcam works, I must run the commands, each time I want execute them:

cd /home/a/microdia
make
sudo insmod ./sn9c20x.ko
sudo modprobe videodev
sudo modprobe compat-ioctl32
sudo insmod ./sn9c20x.ko

There are anibody can make a scritp to run all this all this commands, to execute my webcam???

My webcam is: Canyon CN-WCAMN1
 
Old 06-19-2009, 06:00 AM   #2
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
I can do one that's work, but I must to put de password two times:

Code:
#!/bin/bash
gksu
cd /home/a/microdia && make
sudo insmod ./sn9c20x.ko 
sudo modprobe videodev
sudo modprobe compat-ioctl32
sudo insmod ./sn9c20x.ko
How can help me?
I can not turn off the webcam, I need restart the system...
 
Old 06-19-2009, 06:22 AM   #3
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
How can I stop the webcam. Do you know any command. the kill don't works...
 
Old 06-19-2009, 07:40 AM   #4
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
what I do when I do:

sudo insmod ./sn9c20x.ko

is activated a module of kernel.
How I do the reverse???????????????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is a script, run at boot time from init.d, run with root authority? tmbrwolf53 Linux - Server 2 03-31-2007 08:15 PM
How to get a program to run a phillips spc300nc webcam peterfc Linux - Desktop 1 09-12-2006 06:35 PM
webcam script in Fedora 2 jonfa Linux - Software 0 06-08-2004 03:53 PM
Webcam software/script? OwlManAtt Linux - Software 1 04-05-2004 08:02 PM
on Network Up Script run? On Battery power run script? v2-ncl Linux - General 0 12-08-2003 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration