EEE-PC 1005HA-M Webcam aktivieren/deaktivieren

Über die Konsole besteht die Möglichkeit die Webcam von einem EEE-PC 1005HA-M direkt zu aktivieren/deaktivieren. (Root-Rechte werden benötigit.)

Aktivieren

echo 1 > /sys/devices/platform/eeepc/camera

Deaktivieren

echo 0 > /sys/devices/platform/eeepc/camera

Falls sich unter Debian die Webcam nach jedem Neustart automatisch einschaltet (obwohl im BIOS vorher deaktiviert), hilft z.B. ein Eintrag in “/etc/rc.local”:

  1. #!/bin/sh -e
  2. #
  3. # rc.local
  4. #
  5. # This script is executed at the end of each multiuser runlevel.
  6. # Make sure that the script will "exit 0" on success or any other
  7. # value on error.
  8. #
  9. # In order to enable or disable this script just change the execution
  10. # bits.
  11. #
  12. # By default this script does nothing.
  13. echo 0 > /sys/devices/platform/eeepc/camera
  14. exit 0
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
echo 0 > /sys/devices/platform/eeepc/camera
exit 0

Leave a Reply

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

This site uses Akismet to reduce spam. Learn how your comment data is processed.