[workaround] log filling up with "ACPI group/action undefined"

I use Arch with a HP 510 notebook and my /var/log/messages.log is filled up with:
Aug 19 14:15:36 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:15:36 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:15:36 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:15:36 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:15:36 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:15:36 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:06 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:06 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:06 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:06 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:06 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:06 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:06 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:07 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:07 hp510 logger: ACPI group/action undefined: video / C054
Aug 19 14:16:07 hp510 logger: ACPI group/action undefined: video / C054
Any suggestions?
Last edited by fijam (2009-08-20 22:35:10)

Turns out that the message is triggered when the laptop's lid is closed for more than a few seconds. I have no idea if that's a bug but I worked it around in handler.sh before the catch-all condition like that:
video)
case "$2" in
C054) : ;;
*) logger "ACPI video action undefined: $2" ;;
esac
It's probably the Wrong Way but I am quite sleepy and it appears to be working.
Thanks for suggestions.

Similar Messages

  • Log filling up with "ACPI action undefined: ACAD"

    logger: ACPI action undefined: ACAD
    logger: ACPI action undefined: ACAD
    logger: ACPI action undefined: ACAD
    logger: ACPI action undefined: ACAD
    logger: ACPI action undefined: ACAD
    Is it bad? Any ideas?

    It's not bad, for me it least it happens because ACAD is the name for the AC adapter rather than AC like the /etc/acpi/handler.sh script assumes.
    So I have a file like /proc/acpi/ac_adapter/ACAD rather than /proc/acpi/ac_adapter/AC
    I changed handler.sh to reflect this.

  • System.log fills up with uninstall_folder_path no 0

    My system.log fills up with the following text:
    Apr 10 22:09:48 Macken DelMonitor[60]: hokan
    Apr 10 22:09:48 Macken DelMonitor[60]: uninstall_path no 0
    Apr 10 22:09:48 Macken DelMonitor[60]: uninstall_folder_path no 0
    Apr 10 22:09:50 Macken DelMonitor[60]: install_path yes
    These four lines adds every other second, and just fills upp the system.log.
    I habe tried to google but can not find any clues to what this is and how to make it stop!
    Anyone have any suggestions?
    I have a Mac Book Pro with verson 10.7.3
    Regards,
    Hokan

    It's some third-party software that you installed, but I can't be more specific. If you can't figure it out any other way, you'll just have to start uninstalling things until the log messages stop.

  • System.log filling up with enqueueData rtn message

    I'm seeing the following log entry in system.log 7-9 times a second:
    Oct 22 11:00:00 pbair-paulywalnutz-com kernel[0]: ttyioss9000003: enqueueData rtn (e00002d8)
    I've tried googling and checked discussions here but can't find anything that seems to be related.
    I don't think it's affecting my PB all that much but it is definitely not right and I would like to fix it.
    Please let me know any information I might post that would help diagnose, etc...
    Thanks,
    Paul

    I contacted technical support for Software-Systeme (what the company is not called Bresink as I posted earlier).
    They replied promptly with what seems to be the answer…
    Hardware Monitor Support wrote:
    The error message indicates that you have configured Hardware Monitor
    to send its current readings to an external LCD display box. However,
    this box appears to have a technical problem or you have no such device
    connected. To switch this off, open "Preferences > LCD Module", select
    the USB device and set "Configure for display type" to "No display".
    This works for me and stops the logs filling with the messages. I'm not sure when I set the LCD display settings, but I imagine it was when I was learning what the settings do.
    Just select the items in the top 'lcd module settings' table and set them to no display.
    Drew

  • Log filling up with crlcache.db errors

    I posted an earlier question where my log was filling up with errors from Adobe Air.
    I corrected that issue by clearing the adobe keychain.
    My logs are still filling, however, with the following:
    8/2/11 3:42:46.057 PM sandboxd: ([390]) WebProcess(390) deny file-read-data /private/var/db/crls/crlcache.db
    This only happens when I'm running safari.
    I've tried recreating an empty /private/var/db/crls folder but it immediately started happening again.
    Thoughts?

    I believe its fixed.
    open Keychain Access then select Keychain Access -> Keychain First Aid
    Run a repair
    Select the crlcache.db keychain and right click -> delete files and associations
    Run a repair
    I had to do the set twice until crlcache.db was no longer in my keychain.   After it was removed, the logs no longer posted when I used safari.

  • System.log fills up with bad packets errors (Multicast packet - CRC error)

    Hello,
    I've been trying to Google my problem but found no answers; hopefully someone can help me?
    Whenever I'm online, my System.logs fills up (every second, and sometimes, multiple times each second) with the following message :
    19/12/07 12:51:01 PM kernel AppleYukon2 - bad packet received. length: 60, packet status bits: Multicast packet, CRC error
    19/12/07 12:51:01 PM kernel AppleYukon2 - bad packet received. length: 60, packet status bits: Multicast packet, CRC error
    My DSL modem is connect directly into my iMac. It's a Speedstream 5360). I never have any problems connecting to the Internet and the speed I get is fine. When I configured my Network settings, I only added my PPPoE Service name username and âssword - everything else was automatically added (Ethernet configuration).
    Is there anything I should change in the Advanced Settings?
    The System.log causes me problem because it often causes the application Console to crash when I try to view it.

    I should add that this problem didn't exist when I was using Tiger.
    Also, when I called Apple Tech Support, I was simply told "just don't play with the Console".

  • Accounting Log filling up with useless data

    I am getting my ACS Accounting logs filled with useless data from about 12 devices. I think I have found the cause - I just don't know how to fix it.
    The accounting data has a username we have not used for months, and I stumbled upon this by looking at various show commands on the devices that are causing the problem.
    When I do a "sh aaa sessions", I see this:
    CE-WIN-IDF16-3750-Stack1#sh aaa session
    Total sessions since last reload: 189
    Session Id: 1
       Unique Id: 127
       User Name: *not available*
       IP Address: 0.0.0.0
       Idle Time: 0
       CT Call Handle: 0
    Session Id: 354
       Unique Id: 263
       User Name: cenetmgmt
       IP Address: 10.62.7.15
       Idle Time: 0
       CT Call Handle: 0
    Session Id: 626
       Unique Id: 410
       User Name: leehoyle
       IP Address: 10.62.7.15
       Idle Time: 0
       CT Call Handle: 0
    I would LOVE to get rid of that Session ID: 354 if I could. I can't seem to find a suitable "clear" command. Any help out there?
    Thansk in advance!
    Lee Hoyle

    I am not trying to access anything I keep getting the message that my cloud is full than go to it to find that is is full of things from my computer and pictures from the Sims game spent 3 hours yesterday as it kept telling me that Verizon was not available. Why is my cloud not backing up my phone but randomly backing up my computer which I do not need. This is using the desktop Icon. I have not even opened it on my desktop until I tried to delete the stuff on it it did this on its own.

  • System.log filling up with: mbp kernel[0]: dp events: 0x04

    Dec 21 17:09:52 mbp kernel[0]: dp events: 0x04
    This line seems to repeat 5 or 6 times per minute, filling system.log.
    Looks like it started Dec 19th. I don't see any obvious unusual thing I did at that time.
    Any ideas?
    Thanks, jeff

    Although Apple has not fixed this yet, I have learned some interesting things. While on the phone with Apple, they had me run a Data Capture program to collect info about my system to send back to them.
    While running the application, I had Console open so I could look at the system log. To my surprise, after running this application, the repeating dp events: 0x04 completely stopped and the mouse cursor behaved normally. The mouse continued to behave normally until I put the computer to sleep and woke it up again.
    In summary:
    1) The dp events: 0x04 messages are present when the mouse skips and not present when it doesn't. This seems like proof that the muliple writes to the system log are what make the cursor skip.
    2) Running Capture Data.app (from the Apple tech) runs a handful of scripts that not only capture data, but also kills the dp events for some reason.
    I have verified this four different times and reported my findings to the Apple tech I was speaking to.
    Can anyone else who receive the data capture program from Apple give this a shot? Just have Console open and look at your system log before, during, and after running the program. Perhaps you'll see as I did that the dp events go away and your mouse works right (at least until sleep).

  • System.log fills up with  mDNSResponder[17]

    My system.log will be filled in a 1 second intervall by the following message:
    25.12.07 17:58:25 mDNSResponder[17] Failed to obtain NAT port mapping from router 192.168.0.1 external address 0.0.0.0 internal port 22 (ports are different).
    Does any body have an idea what I have wrong configured. I'm using a router DGL-4300.
    reagrds
    wholler

    Sure. This is what I gleaned from a mere 2 seconds with the Berkley packet monitor. I don't know if it is very usable, but at least you can see how bad my router was getting spammed:
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(I0''
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(K<'
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49773
    Byte count: 396
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    123
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:DeletePortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPCon</div>
    nection:1"></u:DeletePortMappingResponse></s:Body></s:Envelope>
    0
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49774
    Byte count: 390
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    11d
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:AddPortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnec</div>
    tion:1"></u:AddPortMappingResponse></s:Body></s:Envelope>
    0
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(5A''
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49776
    Byte count: 390
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    11d
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:AddPortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnec</div>
    tion:1"></u:AddPortMappingResponse></s:Body></s:Envelope>
    0
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E( ''
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49778
    Byte count: 385
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    11d
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:AddPortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnec</div>
    tion:1"></u:AddPortMappingResponse></s:Body></s:Envelope>
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(''
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49780
    Byte count: 385
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    11d
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:AddPortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnec</div>
    tion:1"></u:AddPortMappingResponse></s:Body></s:Envelope>
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49779
    Byte count: 98
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    0
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.145
    Source Port: 49781
    Destination IP: 192.168.0.1
    Destination Port: 4444
    Byte count: 919
    Raw Data:
    4CPOST /wipconn HTTP/1.1
    Content-Type: text/xml; charset="utf-8"
    SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#DeletePortMappin
    g"
    User-Agent: Mozilla/4.0 (compatible; UPnP/1.0; Windows 9x)
    Host: 192.168.0.1:4444
    Content-Length: 604
    Connection: close
    Pragma: no-cache
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
    " SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-E
    NV:Body><m:DeletePortMapping xmlns:m="urn:schemas-upnp-org:service:WANIPConn
    ection:1"><NewRemoteHost xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:d
    t="string"></NewRemoteHost><NewExternalPort xmlns:dt="urn:schemas-microsoft-
    com:datatypes" dt:dt="ui2">9999</NewExternalPort><NewProtocol xmlns:dt="urn:
    schemas-microsoft-com:datatypes" dt:dt="string">TCP</NewProtocol></m:DeleteP
    ortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(#''
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.145
    Source Port: 49784
    Destination IP: 192.168.0.1
    Destination Port: 4444
    Byte count: 1432
    Raw Data:
    4EPOST /wipconn HTTP/1.1
    Content-Type: text/xml; charset="utf-8"
    SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#AddPortMapping"
    User-Agent: Mozilla/4.0 (compatible; UPnP/1.0; Windows 9x)
    Host: 192.168.0.1:4444
    Content-Length: 1119
    Connection: close
    Pragma: no-cache
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
    " SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-E
    NV:Body><m:AddPortMapping xmlns:m="urn:schemas-upnp-org:service:WANIPConnect
    ion:1"><NewRemoteHost xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="
    string"></NewRemoteHost><NewExternalPort xmlns:dt="urn:schemas-microsoft-com
    :datatypes" dt:dt="ui2">9999</NewExternalPort><NewProtocol xmlns:dt="urn:sch
    emas-microsoft-com:datatypes" dt:dt="string">TCP</NewProtocol><NewInternalPo
    rt xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui2">9999</NewInter
    nalPort><NewInternalClient xmlns:dt="urn:schemas-microsoft-com:datatypes" dt
    :dt="string">192.168.0.145</NewInternalClient><NewEnabled xmlns:dt="urn:sche
    mas-microsoft-com:datatypes" dt:dt="boolean">1</NewEnabled><NewPortMappingDe
    scription xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">iC99
    99</NewPortMappingDescription><NewLeaseDuration xmlns:dt="urn:schemas-micros
    oft-com:datatypes" dt:dt="ui4">0</NewLeaseDuration></m:AddPortMapping></SOAP
    -ENV:Body></SOAP-ENV:Envelope>
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49784
    Byte count: 385
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    11d
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:AddPortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnec</div>
    tion:1"></u:AddPortMappingResponse></s:Body></s:Envelope>
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(T.''
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(1''
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49785
    Byte count: 396
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    123
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:DeletePortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPCon</div>
    nection:1"></u:DeletePortMappingResponse></s:Body></s:Envelope>
    0
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(,''
    Start Time: 23:27:16
    Last Hit: 23:27:16
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(P(z''
    Start Time: 23:27:16
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49787
    Byte count: 396
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    123
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:DeletePortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPCon</div>
    nection:1"></u:DeletePortMappingResponse></s:Body></s:Envelope>
    0
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(7$''
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(|J''
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49789
    Byte count: 93
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49790
    Byte count: 390
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    11d
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:AddPortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnec</div>
    tion:1"></u:AddPortMappingResponse></s:Body></s:Envelope>
    0
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(t''
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.145
    Source Port: 49791
    Destination IP: 192.168.0.1
    Destination Port: 4444
    Byte count: 919
    Raw Data:
    4JPOST /wipconn HTTP/1.1
    Content-Type: text/xml; charset="utf-8"
    SOAPAction: "urn:schemas-upnp-org:service:WANIPConnection:1#DeletePortMappin
    g"
    User-Agent: Mozilla/4.0 (compatible; UPnP/1.0; Windows 9x)
    Host: 192.168.0.1:4444
    Content-Length: 604
    Connection: close
    Pragma: no-cache
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
    " SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-E
    NV:Body><m:DeletePortMapping xmlns:m="urn:schemas-upnp-org:service:WANIPConn
    ection:1"><NewRemoteHost xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:d
    t="string"></NewRemoteHost><NewExternalPort xmlns:dt="urn:schemas-microsoft-
    com:datatypes" dt:dt="ui2">9999</NewExternalPort><NewProtocol xmlns:dt="urn:
    schemas-microsoft-com:datatypes" dt:dt="string">TCP</NewProtocol></m:DeleteP
    ortMapping></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49792
    Byte count: 390
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    11d
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:AddPortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnec</div>
    tion:1"></u:AddPortMappingResponse></s:Body></s:Envelope>
    0
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49793
    Byte count: 391
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    123
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:DeletePortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPCon</div>
    nection:1"></u:DeletePortMappingResponse></s:Body></s:Envelope>
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49794
    Byte count: 98
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    0
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(p''
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49796
    Byte count: 385
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    11d
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:AddPortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnec</div>
    tion:1"></u:AddPortMappingResponse></s:Body></s:Envelope>
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49797
    Byte count: 391
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    123
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:DeletePortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPCon</div>
    nection:1"></u:DeletePortMappingResponse></s:Body></s:Envelope>
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49798
    Byte count: 390
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    11d
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:AddPortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPConnec</div>
    tion:1"></u:AddPortMappingResponse></s:Body></s:Envelope>
    0
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E( 3''
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: TCP
    Source IP: 192.168.0.1
    Source Port: 4444
    Destination IP: 192.168.0.145
    Destination Port: 49799
    Byte count: 396
    Raw Data:
    HTTP/1.1 200 OK
    SERVER: ipOS/6.8 UPnP/1.0 IGD/1.0
    EXT:
    Transfer-Encoding: Chunked
    123
    <?xml version="1.0"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/en
    velope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body
    <div class="jive-quote"><u:DeletePortMappingResponse xmlns:u="urn:schemas-upnp-org:service:WANIPCon</div>
    nection:1"></u:DeletePortMappingResponse></s:Body></s:Envelope>
    0
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: ICMP
    Source IP: 192.168.0.1
    Source Port: 0
    Destination IP: 192.168.0.145
    Destination Port: 0
    Byte count: 48
    Raw Data:
    E(#''
    Start Time: 23:27:17
    Last Hit: 23:27:17
    Protocol: UDP
    Source IP: 192.168.0.145
    Source Port: 5353
    Destination IP: 192.168.0.1
    Destination Port: 5351
    Byte count: 12
    Raw Data:
    -----------------------------------------------------------------------

  • Log filling up with kadmind: no such file or directory while initializing

    My log files are being spammed with
    "kadmind; No such file or directory while initializing, aborting"
    followed by edu.mit.kadmind exiting and respawning and then 4x:
    "krb5kdc: cannot initialize realm My-FQDM.NET - see log file for details"
    Not surprisingly, Kerberos logins do not work, for instance from iCal I get:
    "Cannot contact any KDC for requested realm"
    This is a brand new iMac with a brand new install of OS X Leopard, using "Standard" configuration. I'm a complete network admin newb and acknowledge that; I could really use some help getting Kerberos working, and failing that, getting it to stop respawning and spamming the error logs.
    Edit: Sorry, wrong forum, reposted here:
    http://discussions.apple.com/thread.jspa?threadID=1934679&tstart=0
    Message was edited by: Derek Jones3

    Hm, I definitely have a reverse PTR. But there's also definitely a problem with Kerberos. In the Directory, I click Edit for a user and get a GSSAPI Error (cannot find ticket for requested realm) followed by a "if you haven't dismissed the Kerberos authentication dialog by clicking 'Cancel', chances are there is a problem with Kerberos." Interestingly, there's never a dialog presented to me.
    In case it's relevant, as mentioned, this is a new iMac. It will not boot from the OS X Server Install DVD - I have to start out with the client version of OS X and run the installer from the disc, and then reboot sans install DVD. If I try to boot from the DVD it restarts over and over again. Enterprise support said this is "normal" since the install DVD comes with 10.5.4 - it won't boot from a machine that came with 10.5.6 client.
    Is it possible that something that the client version does with Kerberos (standalone machine?) doesn't get corrected in the Server install, preventing it from working? I'm postulizing this theory as I see in my error log shortly after boot:
    com.apple.KerberosAutoConfig[3244] Couldn't find KerberosClient config record

  • Flood of "ACPI action undefined":laptop not handling AC adapter state?

    Hello,
    The laptop is an old Toshiba dynabook CX1/212CMEW, Celeron M CPU, so it doesn't have most of the power saving features. I frequently see the following message when monitoring with journalctl -f
    Apr 19 18:14:04 Elder logger[750]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:14:21 Elder logger[771]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:14:37 Elder logger[792]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:14:54 Elder logger[813]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:15:11 Elder logger[831]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:15:28 Elder logger[852]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:15:45 Elder logger[874]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:16:19 Elder logger[910]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:16:35 Elder logger[928]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:16:52 Elder logger[950]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:17:09 Elder logger[968]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:17:26 Elder logger[989]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:17:59 Elder logger[1025]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:18:16 Elder logger[1046]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:18:33 Elder logger[1064]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:19:04 Elder logger[1100]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:19:06 Elder logger[1105]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:19:40 Elder logger[1141]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:19:56 Elder logger[1159]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:20:30 Elder logger[1198]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:21:04 Elder logger[1236]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:21:20 Elder logger[1254]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:21:37 Elder logger[1275]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:22:27 Elder logger[1314]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:23:01 Elder logger[1335]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:23:35 Elder logger[1359]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:23:51 Elder logger[1371]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:26:06 Elder logger[1457]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:26:39 Elder logger[1481]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:26:56 Elder logger[1493]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:27:13 Elder logger[1508]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:28:03 Elder logger[1541]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:28:37 Elder logger[1564]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:29:27 Elder logger[1598]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:29:43 Elder logger[1610]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:31:07 Elder logger[1666]: ACPI action undefined: PNP0C0A:00
    Apr 19 18:32:48 Elder logger[1729]: ACPI action undefined: PNP0C0A:00
    Looking around, it seems to be related to the AC adapter somehow. I have the default handler.sh, modified for also handling the brightness keys:
    #!/bin/bash
    # Default acpi script that takes an entry for all actions
    case "$1" in
    button/power)
    case "$2" in
    PBTN|PWRF)
    logger 'PowerButton pressed'
    logger "ACPI action undefined: $2"
    esac
    button/sleep)
    case "$2" in
    SLPB|SBTN)
    logger 'SleepButton pressed'
    echo -n mem >/sys/power/state
    logger "ACPI action undefined: $2"
    esac
    ac_adapter)
    case "$2" in
    AC|ACAD|ADP0)
    case "$4" in
    00000000)
    logger 'AC unpluged'
    00000001)
    logger 'AC pluged'
    esac
    logger "ACPI action undefined: $2"
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000)
    logger 'Battery online'
    00000001)
    logger 'Battery offline'
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    case "$3" in
    close)
    logger 'LID closed'
    open)
    logger 'LID opened'
    logger "ACPI action undefined: $3"
    esac
    video/brightnessdown)
    echo $(($(< /sys/class/backlight/toshiba/brightness) - 1)) > /sys/class/backlight/toshiba/brightness
    video/brightnessup)
    echo $(($(< /sys/class/backlight/toshiba/brightness) + 1)) > /sys/class/backlight/toshiba/brightness
    # button/screenlock)
    # xs=$(ps -C xscreensaver -o user=)
    # if test $xs; then su $xs -c "xscreensaver-command -lock"; fi
    logger "ACPI group/action undefined: $1 / $2"
    esac
    # vim:set ts=4 sw=4 ft=sh et:
    It appears whether the laptop is running on battery or on AC. When unplugging, the following appears in the log:
    Apr 19 18:41:47 Elder kernel: toshiba_acpi: Unknown key e00
    Apr 19 18:41:47 Elder logger[2226]: ACPI action undefined: ACPI0003:00
    Plugging in shows the following:
    Apr 19 18:44:31 Elder logger[2362]: ACPI action undefined: ACPI0003:00
    I expected to see :01 while either plugging or unplugging the AC adaptor... Though (dis)charging state seems to be correctly reported to LXDE's battery widget.
    Quite new to linux, so I'm a bit lost on how to "fix" that. Or can I safely ignore that without any side-effects on the battery? I can provide more info if you tell me where to get it.

    You could ignore it, but I suggest you adapt that default handler.sh to ignore events with PNP in them. That would prevent flooding of your journal.

  • [SOLVED] Need a little help with ACPI handler.sh script.

    By using ACPI I'm trying to get my laptop to hibernate at critical power state. So far I've made a few test scripts to test how to do this, with one of these scripts I'm stuck. My scripting skills are not that good to solve it.
    This is the script:
    if [ `awk '{print $3}' /proc/acpi/battery/C1E9/state` == "ok" ]
    then
    logger "battery is ok"
    else
    logger "battery is not ok"
    fi
    If I run the script I get an error (while "battery is not ok" is logged):
    ┌─[~]
    └─> ./test2
    ./test2: line 1: [: too many arguments
    ┌─[~]
    └─>
    When I run the awk-command from the script, I get the following output:
    ┌─[~]
    └─> awk '{print $3}' /proc/acpi/battery/C1E9/state
    ok
    discharging
    2341
    1824
    10969
    ┌─[~]
    └─>
    I think the problem lies in the multiple output of the awk-command, but I'm stuck in solving it.
    Any help would be great.
    Last edited by NeoXP (2009-11-16 22:40:45)

    @ skanky
    Thanks for the suggestion, but you're right I'm not gonna change a working script. It is working exactly as expected.
    @ all
    When interested this is my current handler.sh
    #!/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
    00000001)
    echo -n $maxspeed >$setspeed
    #/etc/laptop-mode/laptop-mode stop
    esac
    *) logger "ACPI action undefined: $2" ;;
    esac
    battery)
    if [ `awk '{print $2}' /proc/acpi/ac_adapter/C1E8/state` == "off-line" ];
    then
    logger "battery discharging"
    if (( `awk '{if (NR==5) {print $3}}' /proc/acpi/battery/C1E9/state` >= "250" ))
    then
    logger "battery ok"
    else
    logger "battery not ok"
    /usr/sbin/pm-hibernate;
    fi
    else logger "battery charging"
    fi
    button/lid)
    if [ `awk '{print $2}' /proc/acpi/button/lid/C1ED/state` == "closed" ];
    then
    logger "ACPI lid closed"
    /usr/sbin/pm-suspend
    fi
    logger "ACPI group/action undefined: $1 / $2"
    esac
    Still working on it though

  • Cannot resume from suspend when done with acpi (close lid)

    This is my /etc/acpi/handler.sh
    #!/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
    00000001)
    echo -n $maxspeed >$setspeed
    #/etc/laptop-mode/laptop-mode stop
    esac
    *) logger "ACPI action undefined: $2" ;;
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000) #echo "offline" >/dev/tty5
    00000001) #echo "online" >/dev/tty5
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    #echo "LID switched!">/dev/tty5
    /usr/sbin/pm-suspend
    logger "ACPI group/action undefined: $1 / $2"
    esac
    The only thing I added was the /usr/sbin/pm-suspend.
    When I run /usr/sbin/pm-suspend from a terminal, the suspend works fine, but when I try to use the close lid suspend I have trouble resuming. When I open the lid, the laptop starts making noises and lights up (as if it were to resume), but after a while it goes and suspends again.
    Pushing the power button to try to resume (this is how I successfully resumed from the commandline suspend) causes the same behavior to happen, so I ended up just holding down the power button and rebooting.
    I tried commenting the /usr/sbin/pm-suspend, and uncommented the default echo line. This caused "LID switched!" to be displayed 3 times on /dev/tty5; each one on the next line further to the right. I'm not sure if that is supposed to be normal behaviour.

    Hi, sorry my fault. I should have been more specific. Here my full handler.sh
    #!/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"
    /usr/sbin/pm-suspend ;;
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/sleep)
    case "$2" in
    SLPB) logger "SleepButton pressed: $2"
    /usr/sbin/pm-suspend ;;
    *) 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
    00000001)
    echo -n $maxspeed >$setspeed
    #/etc/laptop-mode/laptop-mode stop
    esac
    *) logger "ACPI action undefined: $2" ;;
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000) #echo "offline" >/dev/tty5
    00000001) #echo "online" >/dev/tty5
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    #echo "LID switched!">/dev/tty5
    logger "ACPI lid switched $1 $2"
    if grep -q closed /proc/acpi/button/lid/LID0/state
    then
    logger "ACPI lid closed"
    /usr/sbin/pm-suspend
    else
    logger "ACPI lid opened"
    echo -n 2 > /proc/acpi/video/EGFX/LCD0/brightness
    fi
    logger "ACPI group/action undefined: $1 / $2"
    esac
    HTH.

  • I have a Win7Pro SP1 PC locked down with a Group Policy as it is a public facing PC. PDF fillable forms cannot be completed when logged on as the restricted user. The forms work as a normal user. What are the user requirements/permissions needed to fill f

    I have a Win7Pro SP1 PC locked down with a Group Policy as it is a public facing PC. PDF fillable forms cannot be completed when logged on as the restricted user. The forms work as a normal user. What are the user requirements/permissions needed to fill forms?

    Well, try this (I was able to fix my with these steps):
    Go Utilities > Disk Utility
    Select your Startup Disk, e.g. Macintosh HD
    Then, under the First Aid Tab, click Verify Disk Permissions.
    If there are errors, then click repair Disk Permissions.
    After it is done, restart the computer and see if your problem is resolved.
    I hope this help.
    Zeke
    www.ZekeYuen.com/blog/

  • Logs are generating with owner and group as 'root'

    Hi,
    In our newly installed and configured Oracle application server(10.1.3.5), the logs are generating with owner and group as 'root'.
    Location: $ORACLE_HOME/Apache/Apache/logs
    -rw-r----- 1 root root 6700 Apr 3 02:03 access_log.1364947200
    -rw-r----- 1 root root 430 Apr 3 02:04 error_log.1364947200
    We have configured it on port 80. For this the '.apachectl' ownership and permissions are changed as below:
    -rwsr-s--- 1 root dba 1703780 Jul 21 2009 .apachectl
    Kindly let me know what are the changes to be made, for the logs to be generated with the group as 'dba' instead of 'root'.
    Thanks.
    Edited by: 985284 on Apr 3, 2013 3:14 AM
    Edited by: 985284 on Apr 3, 2013 4:22 AM

    Ok - that is quit weird then. If you want to run the HTTP Server on a privileged port, you basically change the ownership of the .apachectl executable :
    cd ORACLE_HOME/Apache/Apache/bin
    chown root .apachectl
    chmod 6750 .apachectlas per [url http://docs.oracle.com/cd/B25221_05/core.1013/b25209/ports.htm#CIHJEEJH]documentation.
    Your user and group directive should be set to :
    User oracle
    Group dbaUpon starting, the http server would start as root and then switch the effective userid of the process from root to oracle. In the process list (ps -ef | grep httpd), you should see oracle.
    Do you have the same configuration and what do you see in the process list?

Maybe you are looking for

  • SOAP receiver channel with https url

    Hi All, We are working on SAP PO 7.4. We have RFC to SOAP scenario. To connect with external target system we are using https url. We don't have any sign, encrypt requirement, do we still need to maintain certificates in Key Store as we are using htt

  • How to set the supported monitor resolution in Solaris 11 Express

    I am running Solaris Express 11 under Hyper-V and my monitor is "unknown" as such the maximum resolution is 1152 x 864. How can I manually tell Solaris that I want to use a higher resolution? Which files do I need to modify? Thanks, Codrut

  • Video in scene selection menu

    Hello: I've successfully created a scene selection menu using chapter markers. Looks good, but when I go into simulator and check out the scene selection menu, I noticed that the video begins to play from the marker points without stopping. How do I

  • Trouble with re-installing CS5.5

    I am trying to re-install AAdobe CS 5.5 on a new laptop.  I have the installation files and the original license key.  But when I try to install, it says invalid license.

  • How do I do I update Safari

    how do I do I update Safari