Button/lid (no /proc/acpi/events?)

I must be missing something obvious but it seem that when I close my laptop's lid, the button/lid section of handler.sh is not triggered. I have acpi running fine, it even seems that other events are successfully triggered (like ac_adapter), but not button/lid. Essentially I'm trying to run 'powersave -u' when I close the lid.
Help please?

Thanks for the reply. It seems like this might be part of a bigger problem though, because I don't seem to have a /proc/acpi/event. What I have in /proc/acpi are ac_adapter, battery, button, embedded_controller, fan, power_resource, processor, thermal_zone, and video.
Also, when I start my computer, Arch says that the acpi daemon started successfully. But if I stop it (also successfully) and then try to start it again, it always fails with "acpid: can't open /proc/acpi/event: Device or resource busy".
Here's some sample output from /var/log/acpid which doesn't seem to be very useful. The exiting lines are probably me manually stopping acpid, although it never starts up again unless I reboot..
[Fri Feb 17 10:59:02 2006] starting up
[Fri Feb 17 10:59:02 2006] 2 rules loaded
[Fri Feb 17 10:59:07 2006] client connected from 2788[82:82]
[Fri Feb 17 10:59:07 2006] 1 client rule loaded
[Fri Feb 17 10:59:39 2006] exiting
[Fri Feb 17 11:01:34 2006] starting up
[Fri Feb 17 11:01:34 2006] 2 rules loaded
[Fri Feb 17 11:01:39 2006] client connected from 2729[82:82]
[Fri Feb 17 11:01:39 2006] 1 client rule loaded
[Fri Feb 17 11:02:12 2006] received event "thermal_zone C176 00000081 00000000"
[Fri Feb 17 11:02:12 2006] notifying client 2729[82:82]
[Fri Feb 17 11:02:12 2006] executing action "/etc/acpi/handler.sh thermal_zone C176 00000081 00000000"
[Fri Feb 17 11:02:12 2006] BEGIN HANDLER MESSAGES
cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq: No such file or directory
cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: No such file or directory
[Fri Feb 17 11:02:12 2006] END HANDLER MESSAGES
[Fri Feb 17 11:02:12 2006] action exited with status 0
[Fri Feb 17 11:02:12 2006] executing action "/etc/acpi/handler.sh thermal_zone C176 00000081 00000000"
[Fri Feb 17 11:02:12 2006] BEGIN HANDLER MESSAGES
cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq: No such file or directory
cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: No such file or directory
[Fri Feb 17 11:02:12 2006] END HANDLER MESSAGES
[Fri Feb 17 11:02:12 2006] action exited with status 0
[Fri Feb 17 11:02:12 2006] completed event "thermal_zone C176 00000081 00000000"
[Fri Feb 17 11:08:30 2006] exiting
Now I'm really confused.

Similar Messages

  • /proc/acpi/event: Device or resource busy

    Hi
    ACPI has been working fine on my Acer Travelmate for a long time - but suddenly it broke. I can't start acpid deamon - I get the following error:
    acpid: can't open /proc/acpi/event: Device or resource busy
    Does anybody know how to fix it?

    Hello, I have the same problem, but I think (not confirmed yet) that the solution of putting acpid before hald might work... (i can't restart this notebook right now...)
    Just posting this because i used "lsof" to find what process uses the /proc/acpi/event file... so it would help you to find why you can't access it even when acpid starts before hald....
    21:32:58°nanex@root:/home/noice$ /etc/rc.d/acpid restart
    :: Stopping acpid [FAIL]
    :: Starting acpid [BUSY]
    acpid: can't open /proc/acpi/event: Device or resource busy
    [FAIL]
    21:33:00°nanex@root:/home/noice$ /etc/rc.d/acpid stop
    :: Stopping acpid [FAIL]
    21:37:27°nanex@root:/home/noice$ cat /proc/acpi/event
    cat: /proc/acpi/event: Device or resource busy
    21:37:34°nanex@root:/home/noice$ lsof /proc/acpi/event
    lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/noice/.gvfs
    Output information may be incomplete.
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    hald-addo 4193 hal 4r REG 0,3 0 4026531932 /proc/acpi/event
    21:32:58°nanex@root:/home/noice$ /etc/rc.d/acpid restart
    :: Stopping acpid [FAIL]
    :: Starting acpid [BUSY] acpid: can't open /proc/acpi/event: Device or resource busy
    [FAIL]
    21:33:00°nanex@root:/home/noice$ /etc/rc.d/acpid stop
    :: Stopping acpid [FAIL]
    21:37:27°nanex@root:/home/noice$ cat /proc/acpi/event
    cat: /proc/acpi/event: Device or resource busy
    21:37:34°nanex@root:/home/noice$ lsof /proc/acpi/event
    lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/noice/.gvfs
    Output information may be incomplete.
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    hald-addo 4193 hal 4r REG 0,3 0 4026531932 /proc/acpi/event

  • ACPI doesn't detect closed lid until other acpi event

    Basically I have the same problem as described in this thread:
    https://bbs.archlinux.org/viewtopic.php?id=121224
    No solution is posted so I bring this up again.
    As said when I close the lid, acpi doesn't detect it not in the acpi.log neither with acpi_listen. When I insert the battery, acpi immediately detects the closed lid and my laptop goes in suspend as it's supposed to.
    This happens with a WM + acpi + laptop-mode-tools, in Xfce and in Gnome. KDE however works fine.
    The logs when I close the lid and then insert the battery:
    acpi.log
    Jan 21 20:51:31 localhost acpid: client 1254[0:1000] has disconnected
    Jan 21 20:51:31 localhost acpid: client connected from 1254[0:1000]
    Jan 21 20:51:31 localhost acpid: 1 client rule loaded

    I can tell with the lid closed because of which lights are on.
    Anyway, I don't see anything interesting at all in the logs. This is so weird.
    EDIT: I'm thinking that it might be conflicting kernel modules. For example I have phc-intel and acpi-cpufreq. Plus I'm using the CK kernel. So when I get home today, I'll first try removing phc-intel, then acpi-cpufreq, then I'll try stock kernel.
    Last edited by pogeymanz (2011-06-22 17:32:56)

  • Dell Laptop acpi events

    Hi,
    I have a Dell Inspiron 1150. I'm struggling to get it to recognize acpi events such as the lid closing or the power button. The acpi modules I have loaded are ac, battery, fan, button. To monitor acpi events I typed
    cat /proc/acpi/event
    in a terminal. Is there some module I'm missing? Other acpi functionality seems to be working - I can throttle the cpu, I can get information about the state of the battery and it can detect when the ac adaptor is plugged in.

    goldfish2 wrote:You wont see anything happening in /proc/acpi/events using cat, if it works or not.
    I beg to differ.
    An example output from my (working) desktop:
    $ su
    Password:
    [root@newcastle philip]# /etc/rc.d/acpid stop
    :: Stopping acpid [DONE]
    [root@newcastle philip]# cat /proc/acpi/event
    button/power PWRF 00000080 00000001
    button/power PWRF 00000080 00000002
    button/power PWRF 00000080 00000003
    button/power PWRF 00000080 00000004
    [root@newcastle philip]#
    I've aslo examined the acpid log, and I get a few random ac_power events but I can't seem to reproduce them

  • Deprecated /proc/acpi/

    Hello,
    Sorry, my english sucks.
    Do you recommend to keep these options enabled in the kernel?
    Deprecated /proc/acpi files
    Deprecated power /proc/acpi directories
    Deprecated /proc/acpi/event support
    or the related acpi pkgs in Arch are updated for use /sys/ ?

    Most acpi modules should have switched to sysfs by now but you'd have to read the documentation for the acpi-module you want to use.
    I'd still keep it around. It doesn't hurt and it's shorter than /sys/devices/platform .

  • /proc/acpi/button does not exist.

    /proc/acpi/button does not exist. Any ideas?
    or, anyone knows which module is the owner of /proc/acpi/button?
    Thanks!

    I am having the same problem, even with a stock kernel. There is no power button
    device and therefore acpi_listen does not detect putton press events. I am on a
    Thinkpad T420s, which used to work until a recent reinstall. Here are the
    outputs that were originally requested (most of them look quite similar to
    enicham's):
    % lsmod | grep evdev
    evdev 11784 27
    % ls /dev/input
    by-id event10 event14 event2 event6 mice
    by-path event11 event15 event3 event7 mouse0
    event0 event12 event16 event4 event8 mouse1
    event1 event13 event17 event5 event9 mouse2
    % cat /proc/bus/input/devices
    I: Bus=0011 Vendor=0001 Product=0001 Version=ab54
    N: Name="AT Translated Set 2 keyboard"
    P: Phys=isa0060/serio0/input0
    S: Sysfs=/devices/platform/i8042/serio0/input/input0
    U: Uniq=
    H: Handlers=sysrq kbd event0
    B: PROP=0
    B: EV=120013
    B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
    B: MSC=10
    B: LED=7
    I: Bus=0003 Vendor=046d Product=c52b Version=0111
    N: Name="Logitech Unifying Device. Wireless PID:101b"
    P: Phys=usb-0000:00:1a.0-1.2:1
    S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.2/0003:046D:C52B.0003/0003:046D:C52B.0004/input/input2
    U: Uniq=
    H: Handlers=mouse0 event1
    B: PROP=0
    B: EV=17
    B: KEY=ffff0000 0 0 0 0
    B: REL=143
    B: MSC=10
    I: Bus=0003 Vendor=046d Product=c52b Version=0111
    N: Name="Logitech Unifying Device. Wireless PID:4002"
    P: Phys=usb-0000:00:1a.0-1.2:2
    S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.2/0003:046D:C52B.0003/0003:046D:C52B.0005/input/input3
    U: Uniq=
    H: Handlers=sysrq kbd event2
    B: PROP=0
    B: EV=12001f
    B: KEY=837fff072ff32d bf54444600000000 1 30f948b17c007 ffff73fad941dfff febeffdfffefffff fffffffffffffffe
    B: REL=40
    B: ABS=100000000
    B: MSC=10
    B: LED=1f
    I: Bus=0019 Vendor=0000 Product=0005 Version=0000
    N: Name="Lid Switch"
    P: Phys=PNP0C0D/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input4
    U: Uniq=
    H: Handlers=event3
    B: PROP=0
    B: EV=21
    B: SW=1
    I: Bus=0019 Vendor=0000 Product=0003 Version=0000
    N: Name="Sleep Button"
    P: Phys=PNP0C0E/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input5
    U: Uniq=
    H: Handlers=kbd event4
    B: PROP=0
    B: EV=3
    B: KEY=4000 0 0
    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button"
    P: Phys=LNXPWRBN/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6
    U: Uniq=
    H: Handlers=kbd event5
    B: PROP=0
    B: EV=3
    B: KEY=10000000000000 0
    I: Bus=0019 Vendor=0000 Product=0006 Version=0000
    N: Name="Video Bus"
    P: Phys=LNXVIDEO/video/input0
    S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:0a/LNXVIDEO:01/input/input7
    U: Uniq=
    H: Handlers=kbd event6
    B: PROP=0
    B: EV=3
    B: KEY=3e000b00000000 0 0 0
    I: Bus=0019 Vendor=17aa Product=5054 Version=4101
    N: Name="ThinkPad Extra Buttons"
    P: Phys=thinkpad_acpi/input0
    S: Sysfs=/devices/platform/thinkpad_acpi/input/input8
    U: Uniq=
    H: Handlers=kbd rfkill event7
    B: PROP=0
    B: EV=33
    B: KEY=18040000 0 10000000000000 0 1501b00102004 c000000001104000 e000000000000 0
    B: MSC=10
    B: SW=8
    I: Bus=0003 Vendor=04f2 Product=b221 Version=0752
    N: Name="Integrated Camera"
    P: Phys=usb-0000:00:1a.0-1.6/button
    S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6:1.0/input/input9
    U: Uniq=
    H: Handlers=kbd event8
    B: PROP=0
    B: EV=3
    B: KEY=100000 0 0 0
    I: Bus=0010 Vendor=001f Product=0001 Version=0100
    N: Name="PC Speaker"
    P: Phys=isa0061/input0
    S: Sysfs=/devices/platform/pcspkr/input/input10
    U: Uniq=
    H: Handlers=kbd event9
    B: PROP=0
    B: EV=40001
    B: SND=6
    I: Bus=0001 Vendor=14f1 Product=506e Version=0001
    N: Name="HDA Digital PCBeep"
    P: Phys=card0/codec#0/beep0
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/input/input12
    U: Uniq=
    H: Handlers=kbd event10
    B: PROP=0
    B: EV=40001
    B: SND=6
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH Headphone"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input14
    U: Uniq=
    H: Handlers=event11
    B: PROP=0
    B: EV=21
    B: SW=4
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH Mic"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input13
    U: Uniq=
    H: Handlers=event12
    B: PROP=0
    B: EV=21
    B: SW=10
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA NVidia HDMI/DP,pcm=8"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
    U: Uniq=
    H: Handlers=event13
    B: PROP=0
    B: EV=21
    B: SW=140
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA NVidia HDMI/DP,pcm=7"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
    U: Uniq=
    H: Handlers=event14
    B: PROP=0
    B: EV=21
    B: SW=140
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA NVidia HDMI/DP,pcm=3"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
    U: Uniq=
    H: Handlers=event15
    B: PROP=0
    B: EV=21
    B: SW=140
    I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
    N: Name="SynPS/2 Synaptics TouchPad"
    P: Phys=isa0060/serio1/input0
    S: Sysfs=/devices/platform/i8042/serio1/input/input11
    U: Uniq=
    H: Handlers=mouse1 event16
    B: PROP=9
    B: EV=b
    B: KEY=6420 30000 0 0 0 0
    B: ABS=260800011000003
    I: Bus=0011 Vendor=0002 Product=000a Version=0000
    N: Name="TPPS/2 IBM TrackPoint"
    P: Phys=synaptics-pt/serio0/input0
    S: Sysfs=/devices/platform/i8042/serio1/serio2/input/input18
    U: Uniq=
    H: Handlers=mouse2 event17
    B: PROP=0
    B: EV=7
    B: KEY=70000 0 0 0 0
    B: REL=3
    % pacman -Qi linux
    Name : linux
    Version : 3.14.5-1
    Description : The Linux kernel and modules
    Architecture : x86_64
    URL : http://www.kernel.org/
    Licenses : GPL2
    Groups : base
    Provides : kernel26=3.14.5
    Depends On : coreutils linux-firmware kmod
    mkinitcpio>=0.7
    Optional Deps : crda: to set the correct wireless channels
    of your country
    Required By : nvidia
    Optional For : None
    Conflicts With : kernel26
    Replaces : kernel26
    Installed Size : 71950.00 KiB
    Packager : Tobias Powalowski <[email protected]>
    Build Date : Sun 01 Jun 2014 01:40:01 AM EDT
    Install Date : Sat 07 Jun 2014 02:21:14 PM EDT
    Install Reason : Explicitly installed
    Install Script : Yes
    Validated By : Signature
    % journalctl | grep dev/input
    Jun 07 19:14:16 unmensch systemd-logind[286]: Watching system buttons on /dev/input/event6 (Power Button)
    Jun 07 19:14:16 unmensch systemd-logind[286]: Watching system buttons on /dev/input/event3 (Video Bus)
    Jun 07 19:14:16 unmensch systemd-logind[286]: Watching system buttons on /dev/input/event4 (Lid Switch)
    Jun 07 19:14:16 unmensch systemd-logind[286]: Watching system buttons on /dev/input/event5 (Sleep Button)
    Jun 07 19:14:16 unmensch systemd-logind[286]: Watching system buttons on /dev/input/event7 (ThinkPad Extra Buttons)

  • ACPI button/lid problem

    Hello all,
    I have been running Arch on this laptop for quite some time now. Recently though I had to do a reinstall of it because I messed it up while trying to do something. Anyway, I got everything working except for the lid problem, i have the age old when I close it, it freezes. I have installed ACPI and it recognizes the Lid event, however it is still frozen I checked the /var/log/messages.log and this is what showed up:
    Jun 19 11:33:12 UsbArch logger: ACPI group/action undefined: video / VID1
    Jun 19 11:33:12 UsbArch logger: ACPI group/action undefined: video / VID
    All I can tell is that it doesnt recognize the laptop screen or something. On the last install acpi worked like a charm, I dont know why it is not working now. Any help would be much appreciated. Thank you, Levi.

    I bet it does not freeze.
    Test it, follow these steps exactly as they are written:
    Start xwindows
    open a terminal
    close the lid
    open the lid
    wait for a second
    then type this
    xset dpms force on
    then press enter
    Your monitor should come back on.
    If this works you will need to edit your /etc/acpi/actions/lm_lid.sh file
    also make sure that you install laptop_mode and acpid
    here is the content of my lm_lid.sh
    #!/bin/sh
    test -f /usr/sbin/laptop_mode || exit 0
    #lid button pressed/released event handler
    #From: http://gentoo-wiki.com/HOWTO_Automatically_turn_off_your_monitor
    if grep -q open /proc/acpi/button/lid/LID/state
    then
    XAUTHORITY="$( ps -C xinit f|sed 's/.*-auth \(.*\)serverauth.*/\1Xauthority/p' )" /usr/bin/xset -display :0.0 dpms force on
    /usr/sbin/laptop_mode auto
    /usr/bin logger dpms force on
    else
    XAUTHORITY="$( ps -C xinit f| sed -n 's/.*-auth \(.*\)serverauth.*/\1Xauthority/p' )" /usr/bin/xset -display :0.0 dpms force off
    /usr/bin logger dpms force off
    fi
    Last edited by timetrap (2008-06-20 20:20:51)

  • Thinkpad x200 Tablett - Make buttons return acpi events

    Hi there,
    on my Thinkpad X200T I have some buttons for rotating the screen when I am in tablett mode. My problem is that these keys do not produce acpi events, but I get some keycodes (via xev). I know there is a way to fake keys from acpi events - but is there another way around? I want to get acpi events when i press these buttons. All the other buttons create acpi events, just these 3 buttons dont. Anyone know how to do?
    Btw: I use the kernel module thinkpad_acpi.
    I would also be happy if anyone comes up with another solution, i mean somehow this should be working...
    Thanks!
    Last edited by klump (2012-03-19 19:50:52)

    Hi there,
    on my Thinkpad X200T I have some buttons for rotating the screen when I am in tablett mode. My problem is that these keys do not produce acpi events, but I get some keycodes (via xev). I know there is a way to fake keys from acpi events - but is there another way around? I want to get acpi events when i press these buttons. All the other buttons create acpi events, just these 3 buttons dont. Anyone know how to do?
    Btw: I use the kernel module thinkpad_acpi.
    I would also be happy if anyone comes up with another solution, i mean somehow this should be working...
    Thanks!
    Last edited by klump (2012-03-19 19:50:52)

  • How to interpret acpi events?

    Hi.
    I installed acpid and with a little tweaking of the handler.sh I got the basic actions to be recognized. Now, how can i get a list, or something, of all avalible events and thay're explanation.  Whan i monitor the /var/log/messages.log i often get 'ACPI group/action undefined: processor / CPU0' or '... termal_zone / TZ1'. How can i find out what those events meen, and how i can use them.
    edit: BTW, i tested the fn key and it seems to work with a lot of keys, including the one for seting up the brightness of the monitor. Does that have something to do with acpid?
    Last edited by KRTac (2008-07-17 00:03:19)

    I don't know that there is any definitive source where you can look up the ACPI events, their parameters and what they mean. Perhaps the ACPI specification (http://www.acpi.info/spec.htm) might have some info, but its 600+ pages of very boring reading. Also note that different manufacturers will use different events. When I moved from a Dell to a ThinkPad I had to modify my ACPI scripts to change names of a number of events and parameters.
    Probably the best you could do is log every ACPI event, run tail -f on the log file and put the laptop through its paces, noting which events correspond to which actions. Try things like opening/shutting the lid (if its a laptop), press various Fn buttons, unplug and plug in the AC cord, run the battery down to zero, run the temperature up as high as you can. This is basically what I did when I first set up my custom ACPI scripts.
    Another thing you should do is look at other peoples ACPI scripts. That will give you ideas about how to use ACPI events. Look up your laptop on http://www.linux-laptop.net/ and scan through the configs to see if anyone set up ACPI scripts.
    Finally, the Fn keys may or may not have to do with ACPI. You can check this by logging ACPI events. My Thinkpad sends an event for every Fn combination. However, some combos have an action hard-wired so that ACPI is not needed. For example, the monitor brightness probably does not have to do with ACPI.
    Good luck.

  • Kernel doesn't log ACPI events: ACPI module or Bios corruptions

    Well, this is very strange and i dunno where to look at to solve this:
    My new NP530U3C (Samusung ultrabook)is running Arch and i'm currently using acpid to trigger the acpi events couse i have no DE (fluxbox).
    I can't understand the way my kernel and acpid log the LID event:
    Kernel.log
    Oct 6 20:06:46 localhost kernel: [ 2.105259] ACPI: Lid Switch [LID0]
    Oct 6 20:44:31 localhost kernel: [ 2.111136] ACPI: Lid Switch [LID0]
    Oct 6 23:03:18 localhost kernel: [ 2.111244] ACPI: Lid Switch [LID0]
    Oct 6 23:17:14 localhost kernel: [ 2.088524] ACPI: Lid Switch [LID0]
    Messages.log
    Oct 6 20:06:46 localhost kernel: [ 2.105259] ACPI: Lid Switch [LID0]
    Oct 6 20:44:31 localhost kernel: [ 2.111136] ACPI: Lid Switch [LID0]
    Oct 6 20:45:29 localhost logger: LID closed
    Oct 6 20:45:48 localhost logger: LID opened
    Oct 6 20:53:58 localhost logger: LID closed
    Oct 6 20:54:07 localhost logger: LID opened
    Oct 6 23:00:04 localhost logger: LID closed
    Oct 6 23:00:16 localhost logger: LID opened
    Oct 6 23:03:18 localhost kernel: [ 2.111244] ACPI: Lid Switch [LID0]
    Oct 6 23:17:14 localhost kernel: [ 2.088524] ACPI: Lid Switch [LID0]
    Oct 6 23:18:32 localhost logger: LID closed
    Oct 6 23:18:40 localhost logger: LID opened
    Oct 6 23:24:33 localhost logger: LID closed
    Oct 6 23:24:40 localhost logger: LID opened
    Oct 6 23:27:18 localhost logger: LID closed
    Oct 6 23:27:28 localhost logger: LID opened
    Oct 6 23:33:40 localhost logger: LID closed
    Oct 6 23:33:48 localhost logger: LID opened
    When i close the lid, i have to wait 10 sec approx to trigger the LID close event and start the suspend action!
    on wakeup i don't know because my samsung can wakeup only with the power button (no lid in wakeup events).
    So somebody can enlighten me?
    *EDIT <-----
    I can summarize it is a corruption of the Bios/ACPI module that affect this laptop after a certain suspentions circle (I mean not every first suspentions).
    I would like to debug in a better way but i have no instruments to investigate:
    If someone can point me to a way to debug this stuff like Bios corruptions and/or Kernel module failure...
    Any advide is appreciated
    Last edited by j0lly (2012-10-29 14:29:44)

    well, is a samsung ultrabook! i'm doing some m ore tests and still 10 sec delayed!
    a note:
    when the kernel log the LID state i can suspend instantly after i really close the LID.
    after a reboot, and halt/start thigs doesn't changes....
    The kernel logger resume after some reboots or *resetting* (using a needle to click a button above the laptop close to the battery) the laptop <-- this method was whrote somewhere and i tried it, and solved sometinms the issue for 2/3 days.
    is starnge because it appears without any regularity, but i'm not so pro and is difficult for me to figure out what can trigger the event!
    EDIT
    Oct 7 00:21:58 localhost kernel: [ 686.653890] psmouse serio1: Touchpad at isa0060/serio1/input0 lost sync at byte 6
    Oct 7 00:21:59 localhost kernel: [ 686.668774] psmouse serio1: Touchpad at isa0060/serio1/input0 - driver resynced.
    dunno if is important, but after a resume from suspend, i got this messege. i thought it was only after it (like a little error in the resume hooks) but no i'm noticing it in  the messages.log every how
    Last edited by j0lly (2012-10-06 22:24:03)

  • Acpi events

    Hello, i have a thinkpad laptop
    all of my /etc/systemd/logind.conf lines are commented out.
    the ACPI events my laptop generates are still handled by something, i.e when i close the lid, the screen goes off, power button does what it should, etc
    I read that the logind.conf file is responsible for the actions that will be run by systemd when certain acpi events occur. so:
    1. what triggers these actions even though my logind.conf is empty? does systemd have some defaults?
    2. how can i debug all the acpi events that occur?
    TY!

    orschiro wrote:Tested with xev.
    Test with something that listens to *ACPI* events
    You'll need to check what systemd is doing with ACPI these days - it used to be simply /etc/acpi/handler.sh

  • No battery identified in /proc/acpi/

    After the last couple of kernel updates, I no longer have a BATx folder inside /proc/acpi.
    I used it to pipe the results to a little script I use on my statusbar, which keeps track of my memory usage, battery left, etc.
    The strangest thing is that dmesg acknowledges the battery is there, and acpi returns the correct percentage and everything. It's just gone from /proc/acpi.
    Anyone else had this one happen?
    My laptop is an Acer TimeLine 1410.
    dmesg | grep battery
    [ 5.630145] ACPI: Battery Slot [BAT1] (battery present)
    acpi -i
    Battery 0: Full, 100%
    Battery 0: design capacity 4400 mAh, last full capacity 4264 mAh = 96%
    Last edited by Onyros (2011-10-10 13:34:01)

    Using /proc to store ACPI information has been discouraged and deprecated since 2.6.24. The same data is available in /sys now and interested parties can (should) subscribe to ACPI events from the kernel via netlink.
    https://bugs.archlinux.org/task/25845
    acpitool upstream needs to fix this.

  • Acpi events aren't recognized at startup

    Hi forum!
    Since 3 weeks my acpi events aren't recognized anymore after startup, no apci_listen and no event-handler-output. I've got to manually type "systemctl restart acpid" to get them working again. What could be the problem? Journallog: http://pastebin.com/5f03T2wh
    Regards,
    thurse93
    Last edited by thurse93 (2014-03-21 12:50:39)

    We might have the same issue, though restarting acpid doesn't change anything for me. I've tried different kernels and tried to find out if any package was updated when it started happening, but couldn't find anything. I've opened a bug report for the kernel here:
    https://bugzilla.kernel.org/show_bug.cgi?id=71221
    That bug has the following effects on my computer:
    - Backlight keys not working
    - Wireless key not working
    - Doesn't detect the change when plugging out the battery cord, KDE/upower can't see that the computer is on battery
    - CPU frequency isn't lowered automatically anymore when my PC gets too hot, and it just shuts down due to overheating

  • [solved] /proc/acpi/thermal_zone/: No such file or directory

    i want to monitor my laptop temperature with conky but i get 
    Conky: scandir for /proc/acpi/thermal_zone/: No such file or directory
    does anyone know what i must install in order for it to work?
    Last edited by red-guy (2011-03-21 17:05:00)

    red-guy wrote:also, why do you even bother posting if it's not to help?
    Because :
    stlarch wrote:You are just expected to try to help yourself first. Then, when you've exhausted every effort ask. It's the Arch way. The wiki is your best friend.
    And also because as forum moderator, we have to keep the boards as clean as possible. For you the problem might be new, but for many users here, they have seen these types of threads many times which have also been answered over and over again and also documented in the wiki. The wiki is a resource that has been created by the collective efforts of the Arch users - present and past. Make use of it.
    As a general rule, if you have an issue, search the wiki, then the internet, then the forums for similar threads and if you still have problems then post a thread detailing what attempts you have made in order to fix the problem. That way, people don't give you options that you have already tried and know that they don't work.
    In addition, please go through the forum rules to familiarize yourself with the basic rules and policies of the Arch forums.

  • Where is my /proc/acpi/video interface? Can't find it!

    Hello!
    I'm using a custom kernel. (2.6.23.8) For my xorg config I need a /proc/acpi/video interface (the nvidia driver need this interface).
    I searched in the kernel config, but in Power Management / ACPI there isn't a "Video" Option.
    How can I active this interface?
    Thanks for your help!
    Best regards,
    Flasher

    Hello,
    I had the same problem a while back.  You have to go into Device Drivers / Graphics Support, and turn on the first option, "Backlight & LCD device support".  Under that option, choose "Lowlevel backlight controls".  At this point, the video option should magically appear in the ACPI section.
    Works for me.  There may other dependencies I don't know about.
    HTH,
    peart.
    Last edited by peart (2007-11-29 17:07:51)

Maybe you are looking for