How can I disable an integrated webcam?

Hi @ all!
I got Arch Linux running on a Samsung Q45 Danyal here which works pretty fine.
Since I'm trying to run it at the least powerconsumption possible when on the road
I wrote a small bash-script to handle things:
#!/bin/bash
hal-disable-polling --device /dev/scd0
echo 5 > /sys/bus/pci/drivers/iwl3945/0000:02:00.0/power_level
mount -o remount,relatime /
hdparm -B 10 -S 12 /dev/sda
echo 10 > /sys/module/snd_hda_intel/parameters/power_save
Now when I'm running powertop it says that I should activate USB-autosuspend
since my webcam causes some serious amount of wakeups (about 1.5 W less with
USB-autosuspend on). The thing is - I don't need that webcam at all and I didn't find
a way to integrate this option into my script, so I always run my script (I integrated it
into /etc/acpi/events/battery and lm_battery, but it isn't executed automatically, so I
have to start it by hand all the time) and then powertop to disable the webcam/activate
autosuspend when on battery.
Is there a way to disable the webcam completely, so I wouldn't need to deactivate
it at all? Or how can I integrate USB-autosuspend into my powersaving script?
Another point would be firefox - it causes about 35% of wakeups when idle...thats
definately too much in my opinion - any ideas about that?
A last question would be - how can I deactivate the display? My last notebook had
such a fancy Function-Key doing that for me...with this one this isn't the case (at least
I couldn't find one). Is there a way of defining my own shortcut to disable/reenable the display?
Lots of questions I know...and I appreciate every help and suggestions/improvements
for my powersaving-script

Could you help me find out which module I have to blacklist?
bash-4.0# lsmod
Module Size Used by
aes_i586 8100 1
aes_generic 27204 1 aes_i586
cpufreq_stats 5256 0
tun 13732 0
i915 183432 2
drm 154752 3 i915
i2c_algo_bit 5864 1 i915
video 19768 1 i915
output 2884 1 video
ipv6 277908 18
reiserfs 247304 1
joydev 10432 0
wmi 6568 0
pcmcia 36268 0
sdhci_pci 7300 0
sdhci 17096 1 sdhci_pci
mmc_core 52576 1 sdhci
ohci1394 30292 0
ieee1394 85836 1 ohci1394
yenta_socket 25136 1
rsrc_nonstatic 12292 1 yenta_socket
pcmcia_core 35128 3 pcmcia,yenta_socket,rsrc_nonstatic
ricoh_mmc 3812 0
sg 27896 0
psmouse 59644 0
i2c_i801 9688 0
i2c_core 22776 4 i915,drm,i2c_algo_bit,i2c_i801
intel_agp 27484 1
agpgart 32756 3 drm,intel_agp
pcspkr 2404 0
serio_raw 5704 0
ehci_hcd 35856 0
iTCO_wdt 10952 0
iTCO_vendor_support 3080 1 iTCO_wdt
usbcore 149968 2 ehci_hcd
thermal 13888 0
fan 4392 0
button 5588 0
battery 10984 0
ac 4360 0
evdev 10176 7
snd_hda_codec_realtek 206536 1
snd_seq_dummy 2696 0
snd_seq_oss 31168 0
snd_seq_midi_event 7012 1 snd_seq_oss
snd_seq 53744 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6768 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_intel 26696 4
snd_hda_codec 71716 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 7624 1 snd_hda_codec
snd_pcm_oss 40352 0
snd_pcm 73768 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 21068 3 snd_seq,snd_pcm
snd_page_alloc 8844 2 snd_hda_intel,snd_pcm
snd_mixer_oss 17540 1 snd_pcm_oss
snd 58404 17 snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 6784 1 snd
arc4 1732 2
ecb 2788 2
iwl3945 80680 0
iwlcore 96196 1 iwl3945
rfkill 10640 2 iwlcore
mac80211 182880 2 iwl3945,iwlcore
led_class 3976 3 sdhci,iwl3945,iwlcore
cfg80211 67300 3 iwl3945,iwlcore,mac80211
sky2 47208 0
cpufreq_powersave 1380 2
acpi_cpufreq 8688 0
freq_table 3716 2 cpufreq_stats,acpi_cpufreq
processor 35864 3 acpi_cpufreq
rtc_cmos 11244 0
rtc_core 18048 1 rtc_cmos
rtc_lib 2500 1 rtc_core
ext3 135340 1
jbd 48856 1 ext3
mbcache 7112 1 ext3
sd_mod 27808 4
sr_mod 16676 0
cdrom 36032 1 sr_mod
ata_piix 23112 3
ata_generic 4680 0
pata_acpi 4228 0
libata 168460 3 ata_piix,ata_generic,pata_acpi
scsi_mod 110580 4 sg,sd_mod,sr_mod,libata
bash-4.0# lsusb
Bus 001 Device 002: ID 0ac8:c302 Z-Star Microelectronics Corp. Vega USB 2.0 Camera
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

Similar Messages

  • How can i disable my iMac webcam green led ?

    i work in night. i need to turn off webcam green led , because make hurt for my eyes.
    how can i disable my iMac webcam green led ?

    I believe the LED cannot be disassociated from the camera being on. This hard wiring is important to protect the user from being videoed without their knowledge.
    If the small green dot hurts your eyes, you should see an optometrist who may be able to help your heightened sensitivity, with special glasses of some kind.

  • Where can I find the integrated webcam for my HP G62t-350 Notebook PC?

    Just like the title asks, where can I find the integrated webcam for my HP G62t-350 Notebook PC? I have what looks like a rectangle in the top center of the screen/lid, in the bevel, but I'm not sure of how to get it to work, or if it's even able to work! I've seen pics of where there is a gray circle or dot in the middle of that rectangle, but I'm not able to see if I have one or not. Would someone please help me out here?

    Click on start button under all programs in search box type in web cam. List will show above if it is installed you will see it. Other wise you need to purchased a web cam. This is how I found excess to my web cam on HP dv7 6135dx.

  • How can I disable Firefox from automatically opening on system startup on my Mac - unchecking the "open at login" does not work?

    We have Firefox 10.o on our Macbook Pro OS X 10.5.8. I prefer using Firefox as my browser but my husband prefers Safari for now because of a long history of bookmarks and saved information he doesn't have time to re-do. He is tired of Firefox automatically opening when we start up the laptop, and even when we uncheck the "open at login" it still opens at login every time. He is about to uninstall it because of this. How can we disable? It does NOT show up in our account on the Mac OS as an application that starts at login, so we can't disable it there.

    For those of you running Windows, I found this on another site. (Unfortunately, not before getting totally disgusted and switching to chrome.)
    1. click start (or the windows flag button at the bottom left) 2. in the "search programs and files" or the RUN dialog box, enter "msconfig.exe" or "msconfig". 3. That should open the system configuration program. 4. click the "Startup" tab at the top of the opened program. 5. Under the "startup item" column, look for Mozilla firefox. 6. uncheck that one. 7. Click OK or apply. 8. click "exit without restart". 9. you're good to go.

  • How can I disable imessage from old phone?

    how can I disable imessage from old phone number / iphone I no longer have?

    iMesssage to old phone
    If you move to another phone and forget to turn off iMessage then read “if you no longer have the device in http://support.apple.com/kb/HT5661  If you still cannot resolve it call Apple http://support.apple.com/kb/HE57
    To deactivate iMessage http://support.apple.com/kb/ts5185
    Read http://m.samsung.com/us/support/SupportOwnersFAQPopup.do?faq_id=FAQ00053450&fm_s eq=62995

  • How can i disable imessage from automatically starting up when i turn on macbook air?

    how can i disable imessage from automatically starting up when i turn on macbook air? i dont know my imessages to pop up on my laptop when it turns on. But i dont want to disable imessage totally on my macbook.

    Welcome to the Apple Support Communities
    First of all, check that Messages is closed when you turn off your MacBook. This is so important because, by default, OS X will reopen all opened apps the next time you start your Mac.
    Apart from that, when you go to  > Shut Down, or  > Restart, in the window you see to restart or turn off your MacBook, unmark "Reopen windows when logging back in". This will avoid that your Mac opens all opened apps the next time you start the MacBook, so Messages won't start automatically at startup

  • The windows of the Windows bar are already a form of tabs, so I don't need them in Firefox. How can I disable them completely from Firefox 23?

    RE: TABS ARE WINDOWS!
    The Windows bar already functions as a tab bar. Those tabs are called "windows." So, I find Firefox tab windows superfluous. How can I disable them completely from Firefox 23? I don't need what is essentially TWO windows bars covering up the entire width of my widescreen monitor's image! I already have a Windows bar at the bottom of my screen and, if I really wanted to, I could change ITS position to the top of the screen, so that it would LOOK like the Firefox tab windows bar. Firefox TABS are, essentially, a superfluous SECOND WINDOWS BAR.
    Here are my reasons for why I'd rather use Mozilla's Firefox, than Microsoft's Internet Explorer or Google's Chrome. I love and admire Firefox for Mozilla's intent on good security, for Firefox's Personas add-on, and for Firefox's free use of the Ad-Block add-on which, as you know, has the distinct virtue of reducing screen clutter--the last of which is my motive for wanting to get rid of the SUPERFLUOUS Firefox tabs "windows" bar. I am dreadfully sick of companies forcing miscellaneous bars (mostly representing marketing campaigns trying to sell me something) into my browser (and down my throat) every time I download something. (In case you haven't guessed, I am deliberately referring to your Firefox tabs bar as a "Firefox tabs 'windows' bar," because TABS are WINDOWS!)

    Let me clarify even more. The Firefox add-on you mention does not remove "tabs" windows. It only HIDES the "tabs" bar when there is only one "tab" in that window. It DOES NOT end "tabs." It does not turn "tabs" off.
    I know this, because, even with the add-on you recommend, the "tabs" bar often re-appears when I open a link, which--for some unknown reason--Firefox defaults to opening in a second "tab" within the same window, rather than putting it in a new Windows bar window. This, of course, disregards what I want to happen.
    I want to use my Windows bar to control my windows. I do not want my Firefox browser controlling my windows--which it calls "tabs." Can you tell me how to shut off "tabs?"

  • HT204053 Hello I found someone using My Apple ID for face time how can I disable it

    Hello I found someone using My Apple ID for face time how can I disable it

    Welcome to the Apple community.
    Change your password..

  • How can i disable an icon beside battery percentage(a phone on some dots) ?

    AN icon appeared beside battery percentage(iphone 5).its a phone icone on some dots beside battery percentage.how can I disable it?

    iPhone: Understanding the TTY symbol in the status bar

  • How can i disable imessage on my notebook?

    I'm very sick of receiving text messages on every device. How can I disable imessage on my macbook pro so I don't receive texts that I wish to receive only on my phone?

    Welcome to Apple Support Communities
    If you do not want to receive your text messages on your Mac, open Messages, go to Messages menu (in the menu bar) > Preferences > Accounts, choose your iMessage account and untick your phone number or disable your account

  • How can I disable the Mail program from starting automatically on boot?

    Why everytime I start my computer, the Mail program start automatically?...how can I disable this?
    Thanks!

    Control-click its Dock icon and set it not to open at login, or remove it from the list of login items for your user account in the Accounts pane of System Preferences.
    (40415)

  • How can i disable a submit button and execute submit_action method on click

    Good Day,
    On my page I have a submit button that execute the submit_action method of the page backing bean that submit data captured on the page into a database and activate another class that send mail at the same time on a click of the submit button,the mail process takes a while before returning back to the page.I was able to disable the submit button to prevent the user from keep click while the process is running but the issue is on clicking the submit button it only disable the submit button without executing the submit_action method of the page backing bean.How can i disable the submit button and execute submit_method of the backing bean at the same time.
    Thanks in advance.

    I tried this out on one of my pages to see if it works.
    First, I added the following JavaScript to my submit button's onClick event:
    this.disabled=true; return true;When I clicked the submit button, it was disabled but the form was not submitted.
    I deleted the JavaScript from the onClick event and added the following JavaScript to the form's onSubmit event:
    var button = document.getElementById("form1:submitButton"); button.disabled=true; return true;When I click the submit button, it was disabled and the form was submitted but the button's action method was not called.
    The next thing I tried was to change the onSubmit event code:
    var button = document.getElementById("form1:submitButton"); setTimeout("button.disabled=true", 500); return true;This seemed to work. The difference was that I added a 1/2 second delay before disabling the button.
    See if that works for you. If not then I'm fresh out of ideas.

  • How can I disable the Voicemail button on an iPhone 4

    How can I disable the Voicemail button on an iPhone 4 or
    if that is not possible can i programme it to dial my own phone rather than my carrier's Voicemail box?

    No, it's not possible to disable that button and no, it's not possible to reprogram it to anything else.

  • How can I disable awesomebar search/keyword suggestions on FF 3.6?

    I am on FF 3.6. I'm trying to find a way to disable the AwesomeBar search/keyword suggestions. I have gone through tools -> options -> privacy -> location bar. I have tried setting the location bar set to show only history, bookmarks, or even none, but it still shows keyword search suggestions. How can I disable this?
    I have also tried from about:config, setting maxrichresults to 0. Again, that is not what I'm looking for. I want it to show history and bookmarks, but I do not want keyword search suggestions.

    I'm pretty sure the poster doesn't want to disable the keyword search functionality. What they want is for keyword searches to work, but just not be displayed (or at least not displayed as the automatic first option) on the list of location bar suggestions when typing a new URL.
    In their words, "I want it to show history and bookmarks, but I do not want keyword search suggestions."
    That was how keyword search bookmarks worked in FF3.5, if I recall, and I too would like that behavior back. I haven't found any way to train the awesomebar to not show me keyword search bookmarks.

  • How can I disable iPhoto automatic launch?

    Hi,
    I do not use iPhoto to import my digital images. How can I disable the automatic launch when I plug my camera or card reader?
    Thanks!

    Hi Paul,
    To do this just open Image Capture, open its preferences and then under the general tab you can select the option of "When a camera is connected, open:"
    Just select no application and that should do it.
    Sam

Maybe you are looking for

  • Checking Well-Formed XML files with ABAP Mapping

    Hi guys, Anybody knows which is the best way to check (well-formed) incoming XML files trough XI? I’m using ABAP Mapping and before I check the value of the XML fields I want to check if the XML is well-formed. For this reason I need to know which is

  • How can I use USRP as a noise generator?

    Hi everyone. Does anyone know how can I use a NI USRP 2920 to generate white noise or impulsive noise at its Tx port? (I am kind of new to this area and any help is appreciated) Thanks.

  • External Editor Not Working

    I'm running Lightroom 4 on a Mac OSX 10.6.8 and using Elements 10 as my external editor.  When I right click and select EDIT IN  and choose Elements, nothing happens.  When setting up Elements as my editor for LR, I'm sure I chose the right folder fo

  • I have installed windows 7 on my MBP but cant get the drivers

    i have installed windows 7 home premium on my MBP running mountain lion from the windows official disc that came with a Dell lappy but i cant download the drivers , when i go to boot camp and try downloading drivers , it shows network error. the func

  • I accidently deleted the automatic pop-up blocker notice; how can I get it back???

    The pop-up blocker that shows up at the top of the internet page when it's blocking a pop-up... It disappeared when I accidentally clicked don't show me this in the future or whatever. I need it back!