Screen won't dim

On another (third laptop I've put arch on) computer, the screen won't dim automatically. It's using gnome and when I unplug the power cord, the OSD comes up showing a lower value but the screen stays the same.

I've got it somewhat going now using acpid. I'm just not sure which to use under battery and A/C and which of those to use. Right now, it dims when unplugged but nothing when I replug. Actually, all it does is dim, when there is a switch.
[#!/bin/sh
# Default acpi script that takes an entry for all actions
# NOTE: This is a 2.6-centric script. If you use 2.4.x, you'll have to
# modify it to not use /sys
minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
set $*
case "$1" in
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
PWRF) logger "PowerButton pressed: $2" ;;
*) logger "ACPI action undefined: $2" ;;
esac
button/sleep)
case "$2" in
SLPB) echo -n mem >/sys/power/state ;;
*) logger "ACPI action undefined: $2" ;;
esac
ac_adapter)
case "$2" in
AC)
case "$4" in
00000000)
echo -n $minspeed >$setspeed
#/etc/laptop-mode/laptop-mode start
xbacklight -set 100
00000001)
echo -n $maxspeed >$setspeed
#/etc/laptop-mode/laptop-mode stop
xbacklight -set 30
esac
*) logger "ACPI action undefined: $2" ;;
esac
battery)
case "$2" in
BAT0)
case "$4" in
00000000) #echo "offline" >/dev/tty5
xbacklight -set 100
00000001) #echo "online" >/dev/tty5
xbacklight -set 30
esac
CPU0)
*) logger "ACPI action undefined: $2" ;;
esac
button/lid)
#echo "LID switched!">/dev/tty5
/usr/sbin/pm-suspend --quirk-s3-bios --quirk-s3-mode
logger "ACPI group/action undefined: $1 / $2"
esac
Last edited by Reasons (2008-01-21 16:28:45)

Similar Messages

  • Screen won't dime when making a call...

    I've had my iphone a while along with the CORRECT case and all of a sudden, when making a call the screen won't dim so I'm constantly hitting numbers or whatever with my cheek....
    Does anyone else have this issue?

    This is an issue with the proximity sensor, which has been discussed in hundreds of posts in this forum, which makes you wonder why the search option even exists.
    The sensor is either blocked by dust, dirt or a screen protector, or defective. In both cases you'd better take the phone to a Nokia Care Point for assessment

  • Mac screen won't dim, mac won't go to sleep after VNC connection (ARDAgent)

    I can't seem to figure this out. Have my mac configured to auto dim and sleep after 10 minutes. When I have used a VNC client to log on to my mac (via iphone or work PC) using different VNC clients the mac won't dim or sleep after 10 minutes.
    After hours of trying to find the culprit it seems to be the process ARDAgent. When I force quit this process the mac will dim and sleep as usual. I tried different VNC clients but the problem seems to be on the mac end. Only a force quit or disabling screen sharing from the settings.app seem to help.
    Anyone any idea how to fix this?

    Hi,
    same problem with my iMac ... I even did a clean install - it didn't help.
    PLEASE APPLE FOLKS - FIX THIS !

  • I phone 5 screen won't dim/ go to sleep?

    My wife'sphone won't dim screen stays bright? Battery eating..

    I am having the same problem. This just started a couple of days ago. Sometimes the computer refuses to go to sleep. The little white light does not flash, and I can tell that the screen is not powering down. If I give up and leave the lid closed for the day, even though it's not asleep, when I return and open the lid the screen is dark and I think that the computer has shut down. I think that the computer must shut off after an hour. I do not seem to lose much (any?) battery power in these cases. But simply hitting the restart button (or any button) does not bring the dark screen back to life. Inevitably, I have to hit the restart button at least two or three times, and at that point the computer completely restarts. I'm worried that this problem is simply going to get worse. I am not running any big programs on my computer at all, and I don't have any voice programs, and this problem occurs even if I shut down every open application. But it never used to matter if I left programs open; it would sleep anyway. Going to the drop-down menu to ask the computer to sleep manually does not work. What can I do?

  • Screen won't dim w/ Intel KMS [SOLVED]

    I have a rather obscure Gateway T-series laptop, with an Intel 965 chip. To get backlight working I had to use acpi_backlight=vendor in Grub, but if KMS is on I can't dim anymore, either with the keys or xbacklight. The keys have no effect, and xbacklight says "No outputs have backlight property".
    I haven't noticed any benefits from using KMS, so before now I usually had it off, but it seems that that isn't going to be an option anymore. Am I just SOL now? Anyone dealt with this before?
    Last edited by JohnnyRogers (2010-03-14 17:38:00)

    JohnnyRogers wrote:I've found a workaround, in this post: http://ubuntuforums.org/showpost.php?p= … ostcount=9 Marking as solved.
    Might be smart to copy that forumpost here for future reference, in case the link becomes invalid for w/e reason.
    Re: No brightness adjustment on samsun n210 (Intel GMA 3150)
    Hi,
    you can adjust brightness level by sending values directly to device, by setpci:
    setpci -s 00:02.0 f4.b=ff
    where 00:02.0 is the device address returned by lspci,and ff is a hexadecimal value <0,ff>. I have n210 running Debian, works well
    Because it wasn't easy to control brightness this way, I've written a program that adjusts brightness, you can download source from here:
    ftp://x.servebeer.com:51300/bright.c
    or here:
    http://info.wsisiz.edu.pl/~sieluzyc/bright.c
    It's a _very simple_ program, but it allows you to increase/decrease brightness by predefinied step, check actual brightness level and set level to a specific value.
    It uses the same method that setpci does (write to file in /sys), so plz remember this can be dangerous - use at your own risk.
    App does not assign any key shourtcuts, you have to do this manually.
    Wcale

  • Does anyone know why my 5s screen won't dim during a call?

    I really didn't notice that it wasn't dimming until I bumped my face against it during a call and it went to speaker phone.  The I started paying attention and apparently the sensor isn't working properly.
    Anyone have a idea if there is a fix for this or did I just get a bum phone and need to contact apple?

    Hi there Barnsworth,
    You may find the troubleshooting steps in the article below helpful.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    -Griff W. 

  • After my software update, my iPod screen won't automatically turn off without manually locking... help!

    my iPod screen won't automatically turn off without manually locking... help!
    Does anyone know how to change the settings so it will turn off/dim/lock automatically without needing to press the white button at the top all day?  I'm draining batter and it's so annoying!

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • My ipod touch won't dim after one minute

    I have an ipod touch 3rd gen and the other day I was changing some settings which changed a setting regarding the back light. I have it set to auto lock at one minute but as I have the music playing the ipod won't dim or lock itself unless I physically lock it.

    Follow the instructions here: http://www.apple.com/support/ipodtouch/assistant/ipodtouch/
    It will probably result in having to restore the iPod. Here are those instructions, with emphasis on some easily overlooked requirements:
    Disconnect the USB cable from the Pod touch, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.If you cannot turn off the device using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the device turns off, release only the Sleep/Wake button.
    Continue pressing and holding the Home button while you reconnect the USB cable to the device. The device should turn on.Note: If you see the "low battery" screen, let the device charge for at least ten minutes to ensure that the battery has some charge, and then start with step 2 again.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears (iTunes icon and USB connector) release the Home button.
    If necessary, open iTunes. You should see the "recovery mode" alert ("iTunes has detected a phone in recovery mode").
    Use iTunes to restore the device.
    If you do not see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Select the iPod in iTunes and choose "restore from backup".

  • [Help]iPhone 5s screen won't turn on / won't play sounds

    Hello, my name is Bryan.
    I've got a problem with my iPhone 5s. I opened my iPhone to fix an issue with the home button (Watched a guide on youtube on how to achieve this), and I connected everything as it is supposed to go, my home button is working but now my screen won't turn on or the phone won't play any sounds. I know the phone it's on because I can connect it to the computer and the computer recognizes it. Also, I tried calling it, and it rings on the phone I am calling from, but my iPhone simply won't play any sounds...
    I am also sure the phone is not in DFU mode.
    Any help?
    Thanks in advance,
    - Bryan

    It won't even vibrate or do anything, but it's on.

  • Downloaded new iOS for iPhone 5. Now the handset is running hot, keeps freezing on different screens, won't charge on official charger ( only charges on crap poundland one) and battery is loosing 1% every two minutes!

    Downloaded new iOS for iPhone 5. Now the handset is running hot, keeps freezing on different screens, won't charge on official charger ( only charges on crap poundland one) and battery is loosing 1% every two minutes! I've closed all apps and reset the complete phone but no luck. Any one know what else I can try apart from a new phone?

    I have done a factory reset at 45% battery. After the reset it's still hot and at 35% now

  • HT201406 IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even powe

    IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even power if off. I can't access the hardward ID which Apple support seems to require for Chat.
    It might have happened when I was accessing my camera bypassing the lock screen!
    All I know is that the thing is now useless and it looks like I will have to wait for the battery to run down to see if powering it back up afterwards will solve the problem.

    I have since discovered the "hold down home key and power button" together for a few seconds and this seems to have worked .... phew!

  • My iPhone 4s acts like I need to plug in to iTunes and I got an error message saying it failed to download update and now the screen won't go away. USB port end on phone with arrow pointing to iTunes...

    My iPhone 4s acts like I need to plug in to iTunes and I got an error message saying it failed to download update and now the screen won't go away. USB port end on phone with arrow pointing to iTunes...

    Now iTunes will not recognize my phone as a device...

  • My 4s phone is not responding to my swiping it , I need to unlock it to go to iTunes to see if I'm backed up but phone/ screen won't unlock what can I do?

    My 4s screen won't let me swipe I've tried turning all off and on , tried plugging into Mac to back up but am unable to as I can't unlock phone if I had screen replaced would that help.

    Hey Nadia232,
    Thanks for the question, and great troubleshooting so far. I understand that you are experiencing issues with your iPhone 4S multi-touch display. The following resource may provide a solution:
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Resolution
    If your device is experiencing any of the symptoms listed above, try the following steps:
    1. Restart your device
              - Hold the On/Off button until "slide to power off" appears. Slide to power off your device. When it is off, press the On/Off button to turn it back on.
              - If you can't restart your device, reset it by pressing and holding the Sleep/Wake button and the Home button at the same time for a least ten seconds, until the Apple logo appears.
    2. Clean the screen with a soft, slightly damp, lint-free cloth.
    3. Avoid using the device while wearing gloves, with wet hands, or immediately after applying hand lotion.
    4. If you have a protective case, or if you are using a plastic sheet or film on the display, try removing them and testing the device without it.
    If the steps above don't resolve your issue, please schedule a service appointment with an Apple Retail Store for evaluation. If an Apple Retail store is not an option, contact Apple to find out your best service option or see the Service FAQ for your product.
    If your issue is not resolved, please follow the last steps for seeking service options.
    Thanks,
    Matt M.

  • How do I remove the lock(with the circle around it) from the top of my iPhone? The screen won't display sideways.

    How do I remove the lock (with the circle around it) on my Iphone? The screen won't change to the side view. I have no idea what button I accidently
    pushed.... Please advise!  Thanks, Amy

    Double click the home button, swipe the dock at the bottom of the screen to the right, tap the circle/lock so it becomes just a circular arrow.

  • HT5219 I have a macbook air (mid 2012) and a thunderbolt display. Do I absolutely need to connect the power supply together with the thunderbolt cable ? I found that the screen won't wake up if only the thunderbolt connection is plugged.

    I have a macbook air (mid 2012) and a thunderbolt display (27''). 
    Do I absolutely need to connect the power supply together with the thunderbolt cable ?
    I found that the screen won't wake up if only the thunderbolt connection is plugged. Is this normal ?

    I just got my ATD and late 2011 MBP up and running. I've not tried running without the power adapter from the ATD plugged in, but I just tried and didn't have any problems with the display not waking. You may want to take your query to the ATD forum - https://discussions.apple.com/community/peripherals/thunderbolt_display - perhaps someone there has experienced a similar issue.
    Good luck,
    Clinton

Maybe you are looking for

  • Negative Balance in Opening Stock & Closing Stock

    Dear Experts,                     Below the query which i used to get the Opening Stock,Purchase,Issue,Return and closing stock. Here i face some problem that i get negative inventory for some items and the same has been checked in inventory audit re

  • Mega Player 538 won't start anymore

    I just flashed the firmware of my mega player 538 to the latest 1.11.03. The prosedure went ok but now the player won't start anymore. When I press "Power On" -button nothing happens. Is there anything that I can do or is the player gone...? Can I re

  • Create Business Action : Document Type Error

    I am trying to create Create Business Action for X12 over Generic In the Document Definition block, I have entered Name : 850 Definition Definition : 850.xsd Document Type Parameters Functional Group Identifier Code : PO Transaction Set ecs File : 85

  • Sending Email. Urgent

    Hi all,   i am planning to send an email from abap To [email protected] Subject: Mail from ABAP text: example mail  from an abap program <b>How to aproach that? Give me a Clear Idea. which function modules to use? which Structures to Use?</b>

  • Saved search not navigating for only one user

    Hi Everyone, I have a saved search that navigates for all users except one. Furthermore, on that same search screen if I use a different object type, do a search and save it, the saved search works for that user. So it seems like it is related to the