Results 1 to 8 of 8

Thread: turn off webcam with command

  1. #1
    Join Date
    May 2009
    Beans
    150

    turn off webcam with command

    Is there any command to shutdown the integrated webcam? thanks.

  2. #2
    Join Date
    Sep 2006
    Beans
    1,610
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: turn off webcam with command

    It depends on what software is turning it on in the first place.

    Ubuntu doesn't install anything, by default, to enable an integrate webcam, so only you know what's installed and turning it on. Assuming that it is on... Is the webcam light on?

    Usually, you turn off the 'cam by stopping the software that turned it on.

    Example: install, then start, qcam and the webcam light turns on. Exit qcam and the webcam shuts off.

  3. #3
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: turn off webcam with command

    If you know what driver module is controlling the webcam, you could disable the driver with `modprobe -r`

  4. #4
    Join Date
    May 2009
    Beans
    150

    Re: turn off webcam with command

    Quote Originally Posted by Giblet5 View Post
    It depends on what software is turning it on in the first place...
    I use Cheese to capture pictures, however, the webcam light is still on when the Cheese is closed, the problem persists without any fix since Ubuntu 8.04.

    Quote Originally Posted by falconindy View Post
    If you know what driver module is controlling the webcam, you could disable the driver with `modprobe -r`
    This command `modprobe -r` will remove driver from kernel, doesn't it? I don't want to remove the driver, I just want to shutdown the webcam.

  5. #5
    Join Date
    May 2009
    Beans
    150

    Re: turn off webcam with command

    No one knows how to make it?

  6. #6
    Join Date
    Nov 2008
    Location
    Here, There, Everywhere
    Beans
    1,163
    Distro
    Xubuntu

    Re: turn off webcam with command

    I also would like to turn it off, so BUMP.

    EDIT:
    Quote Originally Posted by chaopoch View Post
    This command `modprobe -r` will remove driver from kernel, doesn't it? I don't want to remove the driver, I just want to shutdown the webcam.
    I tested it and no, it don't uninstall the driver, only disables it. You can enable it again with `modprobe` For my camera, I had to run
    Code:
    sudo modprobe -r gspca_m5602
    to disable the camera and
    Code:
    sudo modprobe gspca_m5602
    to enable it.

    I would like a GUI/non-root way to this if someone knows.
    Last edited by Tibuda; October 22nd, 2009 at 06:28 PM.

  7. #7
    Join Date
    Dec 2011
    Beans
    2

    Re: turn off webcam with command

    Easiest way to disable the webcam at boot is:

    sudo gedit /etc/modprobe.d/blacklist.conf

    *At the bottom of the file add this line:

    blacklist uvcvideo

    Save the file and reboot. Your webcam is no longer functioning.

    (But I always put a piece of electrical tape over the aperture anyway.)

  8. #8
    Join Date
    Feb 2007
    Beans
    24,961
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: turn off webcam with command

    Back to sleep thread .

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •