[Solved] Acpi handler not triggering power button action

I'm editing the acpi handler.sh script to react to my power button, here is a relevant snippet from the code:
#!/bin/sh
set $*
logger "$1 $2"
case "$1" in
button/power)
logger "$1 $2"
case "$2" in
PWRF)
logger "$1 $2"
logger "ACPI action undefined: $2"
esac
button/lid)
When i then press power, the log shows a single entry:
Aug 28 11:53:35 localhost logger: button/power PWRF
Which is from the first logger action above case "$1".
Does anyone have a clue why the following actions under button/power don't produce any output? The code below button/lid does work properly, so it seems to be just the power button action misbehaving.

I must've made a typo somewhere because it seems to work now. I'm not really sure where i went wrong though.. 

Similar Messages

  • [Solved]ACPI Handler.sh not running xbacklight command (UL30A)

    Hey,
    First off, I apologize if this was covered anywhere already, but I wasn't able to find a solution that worked for me yet.  My problem is that I have an acpi handler.sh script configured to run xbacklight -set 15 on battery, and -set 100 on AC, yet it doesn't do so.  The command works for me from my user account, and all the other settings from the handler.sh file are applied (as far as I can tell).  Is it something simple I've overlooking?  Is there a better way to do so without gnome-power-manager, or laptop-mode-tools (don't work for me)?
    ACPI packages I have installed:
    acpi
    acpi-support
    acpid
    I also have acpid and acpi-support in my rc.conf daemons array.
    Thanks in advance for any suggestions,
    Lswest
    Handler.sh file:
    #!/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;
    xbacklight -set 15;
    hciconfig hci0 down;
    /etc/rc.d/bluetooth stop;
    rmmod hci_usb;
    ifconfig eth0 down;
    echo min_power >> /sys/class/scsi_host/host0/link_power_management_policy;
    echo 1500 >> /proc/sys/vm/dirty_writeback_centisecs;
    00000001)
    echo -n $maxspeed > $setspeed;
    xbacklight -set 100;
    ifconfig eth0 up;
    modprobe hci_usb;
    hciconfig hci0 up;
    /etc/rc.d/bluetooth start;
    echo max_performance >> /sys/class/scsi_host/host0/link_power_management_policiy
    echo 500 >> /proc/sys/vm/dirty_writeback_centisecs
    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
    pm-suspend;
    logger "ACPI group/action undefined: $1 / $2"
    esac
    Last edited by lswest (2010-07-19 21:45:43)

    Whatever variation of xbacklight I give in I get the following:
    No outputs have backlight property.
    I had the same issue originally with KMS and the intel driver.
    Found a solution that works for me:
    asus-laptop (kernel module) introduces a few new settings and features to the kernel for asus laptops.  One of which is to create a brightness file for the LED Monitor (didn't exist for my Asus UL30A), where it then sets the brightness.  Not sure if breaking xbacklight was intended or not, but for anyone experiencing the same problem, echo 0-15 (15=max brightness) in handler.sh (it should work, haven't yet gotten it to do so though) to this file: /sys/devices/platform/asus_laptop/backlight/asus_laptop/brightness, in order to automatically adjust brightness levels.  Brightness keys work as before.
    *EDIT...hopefully the last one*  It seems acpi-support uses pm-powersave, meaning you need to add your custom actions to /etc/pm/power.d/ (haven't tried it yet, but for anyone who need the info, it's here).
    Last edited by lswest (2010-07-19 22:04:59)

  • [SOLVED] ACPI handler.sh no longer working (Thinkpad X60 Tablet)

    Hello there,
    I recently did a few updates on my system to reduce power usage and get hdaps working. For some reason one of these changes must have broken ACPID in some way so that what I wrote in handler.sh no longer has any effect when I e.g. press the configured buttons to lock my screen or shut down, but I have no clue which.
    I'm not really familiar with where ACPI and ACPID keeps all their logs either, and which parts in there might mean something for me. I don't even know how I can check if ACPI is running properly and just ACPID isn't, for instance (both are running thought, confirmed with ps -A).
    Here's what I can remember of what I did:
    -full system update
    -install cpufreq to redcude power usage with acpi_cpufreq
    -install HDAPS with Thinkpad driver, as described on the Wiki
    -tweak my laptop-mode settings, e.g. disable VGA output when in laptop mode
    -enable AHCI for my hard drive in kernel image and BIOS
    Would be great if you could help me troubleshoot this somehow, as I really don't have a clue on how to fix this. Here's some output that might be helpful for starters:
    cat /etc/acpi/handler.sh
    #!/bin/sh
    set $*
    case "$1" in
    button/power)
    #echo "PowerButton pressed!">/dev/tty5
    case "$2" in
    PWRF)
    #Power off
    shutdown -h now
    logger "ACPI action undefined: $2"
    esac
    ibm/hotkey)
    #echo "Display swiveled">/dev/tty5
    case "$2" in
    HKEY)
    case "$4" in
    00005009)
    #Swiveling down
    /bin/sh /etc/acpi/actions/swivel-down
    0000500a)
    #Swiveling up
    /bin/sh /etc/acpi/actions/swivel-up
    00001002)
    #Lock screen
    xscreensaver-command -lock
    #run_once xtrlock &
    00001004)
    #Standby button
    xscreensaver-command -lock ; s2ram
    00001005)
    #Network button
    /etc/rc.d/net-auto-wireless restart
    00001009)
    #Reboot
    shutdown -r now
    00007000)
    #WLan button switched
    /etc/rc.d/net-auto-wireless restart
    fi
    esac
    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)
    #laptop mode should take care of this alone!
    #/etc/rc.d/laptop-mode start
    00000001)
    #/etc/rc.d/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
    case "$2" in
    LID)
    if [[ `cat /proc/acpi/button/lid/LID/state | awk '{print $2}'` = "closed" ]]
    then
    #run_once xtrlock &
    xscreensaver-command -lock
    fi
    esac
    logger "ACPI group/action undefined: $1 / $2"
    esac
    dmesg | grep acpi
    BIOS-e820: 000000007f6d0000 - 000000007f6df000 (ACPI data)
    BIOS-e820: 000000007f6df000 - 000000007f700000 (ACPI NVS)
    modified: 000000007f6d0000 - 000000007f6df000 (ACPI data)
    modified: 000000007f6df000 - 000000007f700000 (ACPI NVS)
    ACPI: RSDP 000f67c0 00024 (v02 LENOVO)
    ACPI: XSDT 7f6d11e8 0008C (v01 LENOVO TP-7J 00001140 LTP 00000000)
    ACPI: FACP 7f6d1300 000F4 (v03 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI Warning: 32/64X length mismatch in Gpe1Block: 0/32 (20090903/tbfadt-526)
    ACPI Warning: Optional field Gpe1Block has zero address or length: 000000000000102C/0 (20090903/tbfadt-557)
    ACPI: DSDT 7f6d1690 0D56F (v01 LENOVO TP-7J 00001140 MSFT 0100000E)
    ACPI: FACS 7f6f4000 00040
    ACPI: SSDT 7f6d14b4 001DC (v01 LENOVO TP-7J 00001140 MSFT 0100000E)
    ACPI: ECDT 7f6debff 00052 (v01 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: TCPA 7f6dec51 00032 (v02 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: APIC 7f6dec83 00068 (v01 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: MCFG 7f6deceb 0003C (v01 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: HPET 7f6ded27 00038 (v01 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: SLIC 7f6dee62 00176 (v01 LENOVO TP-7J 00001140 LTP 00000000)
    ACPI: BOOT 7f6defd8 00028 (v01 LENOVO TP-7J 00001140 LTP 00000001)
    ACPI: SSDT 7f6f2603 0025F (v01 LENOVO TP-7J 00001140 INTL 20050513)
    ACPI: SSDT 7f6f2862 000A6 (v01 LENOVO TP-7J 00001140 INTL 20050513)
    ACPI: SSDT 7f6f2908 004F7 (v01 LENOVO TP-7J 00001140 INTL 20050513)
    ACPI: SSDT 7f6f2dff 001D8 (v01 LENOVO TP-7J 00001140 INTL 20050513)
    ACPI: Local APIC address 0xfee00000
    ACPI: PM-Timer IO Port: 0x1008
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
    ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    ACPI: IRQ0 used by override.
    ACPI: IRQ2 used by override.
    ACPI: IRQ9 used by override.
    Using ACPI (MADT) for SMP configuration information
    ACPI: HPET id: 0x8086a201 base: 0xfed00000
    ACPI: Core revision 20090903
    ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
    ACPI: bus type pci registered
    ACPI: EC: EC description table is found, configuring boot EC
    ACPI: Interpreter enabled
    ACPI: (supports S0 S3 S4 S5)
    ACPI: Using IOAPIC for interrupt routing
    ACPI: EC: GPE = 0x1c, I/O: command/status = 0x66, data = 0x62
    ACPI: Power Resource [PUBS] (on)
    ACPI: ACPI Dock Station Driver: 3 docks/bays found
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP2._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP3._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
    ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11)
    PCI: Using ACPI for IRQ routing
    pnp: PnP ACPI init
    ACPI: bus type pnp registered
    pnp: PnP ACPI: found 11 devices
    ACPI: ACPI bus type pnp unregistered
    acpi device:01: registered as cooling_device0
    ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
    ACPI: Lid Switch [LID]
    ACPI: Sleep Button [SLPB]
    ACPI: Power Button [PWRF]
    i915 0000:00:02.0: power state changed by ACPI to D0
    ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    ACPI: SSDT 7f6f1ccc 001FE (v01 PmRef Cpu0Ist 00000100 INTL 20050513)
    ACPI: SSDT 7f6f1f4f 006B4 (v01 PmRef Cpu0Cst 00000100 INTL 20050513)
    ACPI: SSDT 7f6f1c04 000C8 (v01 PmRef Cpu1Ist 00000100 INTL 20050513)
    ACPI: SSDT 7f6f1eca 00085 (v01 PmRef Cpu1Cst 00000100 INTL 20050513)
    ehci_hcd 0000:00:1d.7: power state changed by ACPI to D0
    uhci_hcd 0000:00:1d.0: power state changed by ACPI to D0
    uhci_hcd 0000:00:1d.2: power state changed by ACPI to D0
    ACPI: Thermal Zone [THM0] (56 C)
    ACPI: Thermal Zone [THM1] (59 C)
    ACPI: AC Adapter [AC] (on-line)
    ACPI: Battery Slot [BAT0] (battery present)
    thinkpad_acpi: ThinkPad ACPI Extras v0.23
    thinkpad_acpi: http://ibm-acpi.sf.net/
    thinkpad_acpi: ThinkPad BIOS 7JET29WW (1.14 ), EC 7JHT13WW-1.04
    thinkpad_acpi: Lenovo ThinkPad X60 Tablet, model 6363WDK
    thinkpad_acpi: WARNING: Outdated ThinkPad BIOS/EC firmware
    thinkpad_acpi: WARNING: This firmware may be missing critical bug fixes and/or important features
    thinkpad_acpi: ACPI backlight control delay disabled
    thinkpad_acpi: radio switch found; radios are enabled
    thinkpad_acpi: possible tablet mode switch found; ThinkPad in laptop mode
    thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
    thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
    Registered led device: tpacpi::thinklight
    Registered led device: tpacpi::power
    Registered led device: tpacpi::standby
    Registered led device: tpacpi::thinkvantage
    thinkpad_acpi: Standard ACPI backlight interface available, not loading native one.
    ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    cat /var/log/acpid.log
    Feb 28 13:19:28 damnation acpid: exiting
    Mar 1 12:48:43 damnation acpid: starting up
    Mar 1 12:48:43 damnation acpid: 4 rules loaded
    Mar 1 12:48:43 damnation acpid: waiting for events: event logging is off
    Mar 1 12:48:44 damnation acpid: client connected from 1737[82:82]
    Mar 1 12:48:44 damnation acpid: 1 client rule loaded
    Mar 1 12:49:39 damnation acpid: client connected from 2523[0:0]
    Mar 1 12:49:39 damnation acpid: 1 client rule loaded
    Mar 1 12:49:56 damnation acpid: exiting
    Mar 1 12:49:56 damnation acpid: starting up
    Mar 1 12:49:56 damnation acpid: 4 rules loaded
    Mar 1 12:49:56 damnation acpid: waiting for events: event logging is off
    Mar 1 12:49:57 damnation acpid: client connected from 2523[0:0]
    Mar 1 12:49:57 damnation acpid: 1 client rule loaded
    Mar 1 12:50:01 damnation acpid: client connected from 1737[82:82]
    Mar 1 12:50:01 damnation acpid: 1 client rule loaded
    Mar 2 10:23:50 damnation acpid: client 2523[0:0] has disconnected
    Mar 2 10:23:50 damnation acpid: client connected from 2523[0:0]
    Mar 2 10:23:50 damnation acpid: 1 client rule loaded
    Mar 2 10:52:18 damnation acpid: client 2523[0:0] has disconnected
    Mar 2 10:52:18 damnation acpid: client connected from 2523[0:0]
    Mar 2 10:52:18 damnation acpid: 1 client rule loaded
    Mar 2 17:00:21 damnation acpid: client 2523[0:0] has disconnected
    Mar 2 17:00:21 damnation acpid: client connected from 2523[0:0]
    Mar 2 17:00:21 damnation acpid: 1 client rule loaded
    Mar 3 09:54:32 damnation acpid: client 2523[0:0] has disconnected
    Mar 3 09:54:32 damnation acpid: client connected from 2523[0:0]
    Mar 3 09:54:32 damnation acpid: 1 client rule loaded
    Mar 3 10:28:14 damnation acpid: exiting
    Mar 3 10:28:14 damnation acpid: starting up
    Mar 3 10:28:14 damnation acpid: 4 rules loaded
    Mar 3 10:28:14 damnation acpid: waiting for events: event logging is off
    Mar 3 10:28:15 damnation acpid: client connected from 2523[0:0]
    Mar 3 10:28:15 damnation acpid: 1 client rule loaded
    Mar 3 10:28:19 damnation acpid: client connected from 1737[82:82]
    Mar 3 10:28:19 damnation acpid: 1 client rule loaded
    Mar 3 10:37:44 damnation acpid: exiting
    Mar 3 10:37:44 damnation acpid: starting up
    Mar 3 10:37:44 damnation acpid: 4 rules loaded
    Mar 3 10:37:44 damnation acpid: waiting for events: event logging is off
    Mar 3 10:37:45 damnation acpid: client connected from 2523[0:0]
    Mar 3 10:37:45 damnation acpid: 1 client rule loaded
    Mar 3 10:37:49 damnation acpid: client connected from 1737[82:82]
    Mar 3 10:37:49 damnation acpid: 1 client rule loaded
    Mar 3 12:22:44 damnation acpid: exiting
    Mar 3 12:23:44 damnation acpid: starting up
    Mar 3 12:23:45 damnation acpid: 4 rules loaded
    Mar 3 12:23:45 damnation acpid: waiting for events: event logging is off
    Mar 3 12:23:46 damnation acpid: client connected from 3417[82:82]
    Mar 3 12:23:46 damnation acpid: 1 client rule loaded
    Mar 3 12:24:40 damnation acpid: client connected from 4287[0:0]
    Mar 3 12:24:40 damnation acpid: 1 client rule loaded
    Mar 3 12:24:55 damnation acpid: exiting
    Mar 3 12:24:55 damnation acpid: starting up
    Mar 3 12:24:55 damnation acpid: 4 rules loaded
    Mar 3 12:24:55 damnation acpid: waiting for events: event logging is off
    Mar 3 12:24:56 damnation acpid: client connected from 4287[0:0]
    Mar 3 12:24:56 damnation acpid: 1 client rule loaded
    Mar 3 12:25:00 damnation acpid: client connected from 3417[82:82]
    Mar 3 12:25:00 damnation acpid: 1 client rule loaded
    Mar 3 12:40:54 damnation acpid: exiting
    Mar 3 12:49:47 damnation acpid: starting up
    Mar 3 12:49:47 damnation acpid: 4 rules loaded
    Mar 3 12:49:47 damnation acpid: waiting for events: event logging is off
    Mar 3 12:49:49 damnation acpid: client connected from 3396[82:82]
    Mar 3 12:49:49 damnation acpid: 1 client rule loaded
    Mar 3 12:50:12 damnation acpid: client connected from 5224[0:0]
    Mar 3 12:50:12 damnation acpid: 1 client rule loaded
    Mar 3 12:50:59 damnation acpid: exiting
    Mar 3 12:50:59 damnation acpid: starting up
    Mar 3 12:50:59 damnation acpid: 4 rules loaded
    Mar 3 12:50:59 damnation acpid: waiting for events: event logging is off
    Mar 3 12:51:00 damnation acpid: client connected from 5224[0:0]
    Mar 3 12:51:00 damnation acpid: 1 client rule loaded
    Mar 3 12:51:04 damnation acpid: client connected from 3396[82:82]
    Mar 3 12:51:04 damnation acpid: 1 client rule loaded
    Mar 3 13:21:42 damnation acpid: exiting
    Mar 3 13:21:42 damnation acpid: starting up
    Mar 3 13:21:42 damnation acpid: 4 rules loaded
    Mar 3 13:21:42 damnation acpid: waiting for events: event logging is off
    Mar 3 13:21:43 damnation acpid: client connected from 5224[0:0]
    Mar 3 13:21:43 damnation acpid: 1 client rule loaded
    Mar 3 13:21:47 damnation acpid: client connected from 3396[82:82]
    Mar 3 13:21:47 damnation acpid: 1 client rule loaded
    Mar 3 13:22:21 damnation acpid: exiting
    Mar 3 13:22:21 damnation acpid: starting up
    Mar 3 13:22:21 damnation acpid: 4 rules loaded
    Mar 3 13:22:21 damnation acpid: waiting for events: event logging is off
    Mar 3 13:22:22 damnation acpid: client connected from 5224[0:0]
    Mar 3 13:22:22 damnation acpid: 1 client rule loaded
    Mar 3 13:22:26 damnation acpid: client connected from 3396[82:82]
    Mar 3 13:22:26 damnation acpid: 1 client rule loaded
    Mar 3 13:23:03 damnation acpid: client 5224[0:0] has disconnected
    Mar 3 13:23:03 damnation acpid: client connected from 5224[0:0]
    Mar 3 13:23:03 damnation acpid: 1 client rule loaded
    Mar 3 13:25:00 damnation acpid: exiting
    Mar 3 13:25:00 damnation acpid: starting up
    Mar 3 13:25:00 damnation acpid: 4 rules loaded
    Mar 3 13:25:00 damnation acpid: waiting for events: event logging is off
    Mar 3 13:25:01 damnation acpid: client connected from 5224[0:0]
    Mar 3 13:25:01 damnation acpid: 1 client rule loaded
    Mar 3 13:25:05 damnation acpid: client connected from 3396[82:82]
    Mar 3 13:25:05 damnation acpid: 1 client rule loaded
    Mar 3 13:29:52 damnation acpid: client connected from 21588[1000:100]
    Mar 3 13:29:52 damnation acpid: 1 client rule loaded
    Mar 3 13:30:27 damnation acpid: client 21588[1000:100] has disconnected
    Mar 3 13:36:15 damnation acpid: exiting
    Mar 3 13:37:54 damnation acpid: starting up
    Mar 3 13:37:54 damnation acpid: 4 rules loaded
    Mar 3 13:37:54 damnation acpid: waiting for events: event logging is off
    Mar 3 13:37:56 damnation acpid: client connected from 3419[82:82]
    Mar 3 13:37:56 damnation acpid: 1 client rule loaded
    Mar 3 13:38:28 damnation acpid: client connected from 4292[0:0]
    Mar 3 13:38:28 damnation acpid: 1 client rule loaded
    Mar 3 13:39:24 damnation acpid: exiting
    Mar 3 13:39:24 damnation acpid: starting up
    Mar 3 13:39:24 damnation acpid: 4 rules loaded
    Mar 3 13:39:24 damnation acpid: waiting for events: event logging is off
    Mar 3 13:39:25 damnation acpid: client connected from 4292[0:0]
    Mar 3 13:39:25 damnation acpid: 1 client rule loaded
    Mar 3 13:39:29 damnation acpid: client connected from 3419[82:82]
    Mar 3 13:39:29 damnation acpid: 1 client rule loaded
    Mar 3 13:44:09 damnation acpid: client connected from 4488[1000:100]
    Mar 3 13:44:09 damnation acpid: 1 client rule loaded
    Mar 3 13:45:42 damnation acpid: client 4488[1000:100] has disconnected
    Mar 3 13:58:17 damnation acpid: exiting
    Mar 3 13:58:17 damnation acpid: starting up
    Mar 3 13:58:17 damnation acpid: 4 rules loaded
    Mar 3 13:58:17 damnation acpid: waiting for events: event logging is off
    Mar 3 13:58:18 damnation acpid: client connected from 4292[0:0]
    Mar 3 13:58:18 damnation acpid: 1 client rule loaded
    Mar 3 13:58:22 damnation acpid: client connected from 3419[82:82]
    Mar 3 13:58:22 damnation acpid: 1 client rule loaded
    (are all these "client has disconnected" messages normal?)
    Last edited by Natanji (2010-03-07 11:03:54)

    I don't know if it works for everyone but i have just fixed the acpi rotate for my x60t
    /usr/bin/xrotate
    #!/bin/sh
    output=LVDS1
    if [ "$XROT_OUTPUT" ]
    then
    output=$XROT_OUTPUT;
    fi
    devices="stylus eraser"
    geomnbr=0
    xrandr=normal
    wacom=normal
    if [ "$1" == "-" ] || [ "$1" == "+" ] || ! [ "$1" ];
    then
    operator="$1";
    [ "$1" ] || operator='+';
    case `xrandr --verbose | grep "^$output " | sed "s/^[^ ]* [^ ]* [^ ]* ([^(]*) \([a-z]*\).*/\1/"` in
    normal) geom=0;;
    left) geom=1;;
    inverted) geom=2;;
    right) geom=3;;
    esac
    let geom=${geom}${operator}1+4
    let geom=${geom}%4
    else
    geom="$1"
    fi
    case $geom in
    1) wacom=CCW; xrandr=left ;;
    2) wacom=HALF; xrandr=inverted ;;
    3) wacom=CW; xrandr=right ;;
    *) wacom=NONE; xrandr=normal ;;
    esac
    echo "xrandr to $xrandr, xsetwacom to $wacom" >&2
    if xrandr --output "$output" --rotate "$xrandr"; then
    for device in $devices
    do
    xsetwacom set "$device" Rotate "$wacom"
    done
    fi
    #workaround for linuxwacom bug
    if [ "`xsetwacom get stylus Mode`" == '1' ]; then
    for decive in $devices
    do
    xsetwacom set stylus CoreEvent "off"
    xsetwacom set stylus Mode "off"
    done
    { sleep 1;
    for device in $devices
    do
    xsetwacom set stylus Mode "on"
    xsetwacom set stylus CoreEvent "on"
    done; } &
    fi
    /etc/acpi/thinkpad-swivel-up.sh       
    #!/bin/bash
    XAUTHORITY=/var/lib/gdm/\:0.Xauth DISPLAY=:0.0 /usr/bin/xrotate 0
    /etc/acpi/thinkpad-swivel-down.sh       
    #!/bin/bash
    XAUTHORITY=/var/lib/gdm/\:0.Xauth DISPLAY=:0.0 /usr/bin/xrotate 1
    The problem was that my acpid starts long before xorg.
    System:
    Thinkpad x60 tablet
    xorg 1.8
    acpid 1.0.10

  • OIM 11gR2 - RoleUser PostProcess Event Handler not triggered

    Hi,
    I'm trying to create a postprocess event-handler for RoleUser entity so that when a role is assigned (or removed) to a user an UDF is populated with the list of its roles.
    I developed my event-handler and registered it following instructions on http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/oper.htm#OMDEV4749 but the event-handler is not triggered.
    I've read and tried a lot of things but nothing seems to work.
    I use System.out.println() and a Logger in the event-handler methods as well as breakpoints debugging via Eclipse, all this indicates the event-handler is not triggered.
    I checked the event-handler is registered by using getEventHandlers(RoleUser,CREATE) method on IAMAppDesignMBean through Enterprise Manager. Result is :
    Postprocess,-2147483648,PostProcessingInitiation,/metadata/iam-features-request/event-definition/EventHandlers.xml,true
    Postprocess,FIRST,MyHandler,Plugin:MyHandler,false
    Postprocess,FIRST,MyHandler,Plugin:MyHandler,false
    Postprocess,FIRST,MyHandler,Plugin:MyHandler,false
    Postprocess,FIRST,MyHandler,Plugin:MyHandler,false
    Postprocess,1020,RoleGrantPostProcessActionHandler,/metadata/iam-features-identity/event-definition/EventHandlers.xml,false
    Postprocess,9988,AsyncHandler,/metadata/iam-features-asyncwsclient/EventHandlers.xml,true
    Postprocess,3000000,CallBackOAACGWithApprove,/metadata/iam-features-rolesod/EventHandlers.xml,true
    Postprocess,2147483647,RequestCompleted,/metadata/iam-features-request/event-definition/EventHandlers.xml,true
    Note that I dont understand why the handler appears four times..
    Also, when I unregister it, it still appears one time.
    Here is my event handler XML file (in META-INF folder of the plugin zip) :
    <?xml version='1.0' encoding='utf-8'?>
    <eventhandlers
      xmlns="http://www.oracle.com/schema/oim/platform/kernel/"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel orchestration-handlers.xsd">
      <action-handler
      class="package.MyHandler"
      entity-type="RoleUser"
      operation="ANY"
      name="MyHandler"
      stage="postprocess"
      order="FIRST"
      sync="TRUE" />
    </eventhandlers>
    plugin.xml file (root of plugin zip) :
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
      <plugin
      pluginclass="package.MyHandler"
      version="1.0"
      name="Myhandler" />
      </plugins>
    </oimplugins>
    Java code (in a JAR in lib folder of plugin zip) :
    public class MyHandler implements PostProcessHandler {
    @Override
    public EventResult execute(long processId, long eventId, Orchestration orchestration) {
      System.out.println("Inside EventResult execute ");
      LOGGER.log(Level.SEVERE, "Inside eventResult execute");
      // Some code
      return new EventResult();
    @Override
    public BulkEventResult execute(long processId, long eventId, BulkOrchestration orchestration) {
      String operation = orchestration.getOperation().trim().toString();
      System.out.println("<---------- Calling " + getClass().getName() + ": Operation[" + operation + "] Execute ---------->");
      LOGGER.log(Level.SEVERE, "Inside BulkEventResult execute");
      // Some code
      return new BulkEventResult();
    Maybe I'm missing something ? Any help would be really appreciated
    Thanks,
    Gael
    EDIT :
    Also note that I see these messages in the logs but I'm not sure it concern my event handler from what I read on some pages :
    XML schema validation failed for XML eventhandlers and it will not be loaded by kernel.
    [CALLBACKMSG] Found 0 possible matches for applicable policies for step POST_PROCESS, entity RoleUser, operation CREATE.
    Related link : Post process event handler when a role is created or modified in OIM

    I eventually got it working but I'm not sure of how.. !
    I changed the name of the handler (it was not "MyHandler" but something very long, I shortened it). I copy and paste exactly what was described here : Post process event handler when a role is created or modified in OIM. I did purge cache. I tried to apply it on another entity (Role), it was triggered, then I applied it back to RoleUser and it still works.
    If it can help someone, my plugin zip contains :
    plugin.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
      <plugin pluginclass="fr.xxx.RoleUserProcessor"
      version="1.0" name="RoleUserProcessor" />
      </plugins>
    </oimplugins>
    META-INF/EventHandlers.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel orchestration-handlers.xsd">
      <action-handler class="fr.xxx.RoleUserProcessor"
      entity-type="RoleUser" operation="ANY" name="RoleUserProcessor" order="9999"
      stage="postprocess" sync="TRUE" />
    </eventhandlers>
    lib/xxx.jar/RoleUserProcessor.java :
    @Override
      public EventResult execute(long processId, long eventId, Orchestration orchestration) {
      LOGGER.log(Level.INFO, "Execution RoleUserProcessor EventHandler (mode non bulk)");
      String operation = orchestration.getOperation().trim().toString();
      LOGGER.log(Level.INFO, "Operation : " + operation);
      return new EventResult();
      @Override
      public BulkEventResult execute(long processId, long eventId, BulkOrchestration orchestration) {
      LOGGER.log(Level.INFO, "Execution RoleUserProcessor EventHandler (mode bulk)");
      String operation = orchestration.getOperation().trim().toString();
      LOGGER.log(Level.INFO, "Operation : " + operation);
      return new BulkEventResult();
    Thank you
    Also, a thing that may help some people, I found out that the ORCHEVENTS table in OIM schema contains the history of handlers triggered.

  • Event Handler not Triggered when user is assigned by Membership Rule

    I have defined a post-processed event handler for RoleUser Entity.
    The handler is triggered normally when a user is manually assigned a role.
    However, it is not trigger, if users are assigned through membership rule.
    I have tried both the single execute method and the bulk execute method.
    OIM version: 11gR2

    Hi,
    Check the list of orchestration handlers triggered for this operation in the Diagnostic Dashboard. Check whether, if your custom event handler is present in the list. If its isn't, then there must be something wrong with your Plugin.
    Thanks,
    RK.

  • Power button actions

    With all other OS X versions if you Press the power button while the system is on it brings up a dialog box with 4 options, Restart, Sleep, Shut Down and Cancel.
    With Mavericks it auto puts the system to sleep. I want to enable the old options. How do I do that? I've looked all through Sys Prefs, Energy Saver, Accessibilty and all others and can't find anyway to change this.
    Going to Google it now.

    Thanks but that is not the point. The point is I do not want to have to hold down some other key to bring up that dialog box. That is not easy and takes either 2 hands or a contortion of one hand.
    Old way, Press power button and hit the S key to sleep, the R key to restart or the Enter key to shut down.
    I did a search on this and it has been reported as a BUG since the first Beta release of Mavericks. But did Apple listen, NO. They just change things even after they are told no users like it.
    tranceman07 wrote:
    Try holding CTRL then the power button. :-)

  • Cinema Display Power Light Suddenly Not On & Power Button Not Responding

    So, I've had major problems with my G5 which Apple diagnosed as being the board (and then the video card etc...). They gave me a $700 credit towards a new machine (I got a new MacBook Pro) but before I put the old G5 up for sale I wanted to try pulling some of the RAM to see if the problem was just faulty RAM. I pulled a gb from OWC I put in after purchasing the machine. Pressed power and I got the start-up chime which I haven't been able to get forever, AND the fans didn't go into turbo mode like it did before. BUT, my display which I had left plugged in for the last 6 months and whose power button has been continually lit up with the machine unplugged.......now won't light. What happened? Please HELP!!!

    Happened to me last week and I did eveything possible to investigate if my power unit was broken, cable damaged, fuse blown etc.  In the end I simply reset the PRAM and as if by magic the Cinema Disply came back.  Touch wood it has been alright since.  http://support.apple.com/kb/HT1379?viewlocale=en_US

  • Capture comp controller event n enhancement view - handler not triggered

    Hi,
    Enhanced a std WDA component through the enhancement framework.  Added a view in the enhancement.  This view will be a popup requesting user supplies more details.
    Ive enhanced a std component controller method to fire off a component controller event.  Ive also created an event handler method in the new view and associated with the component controller event.
    Unfortunately the new view method doesnt trigger.  If I add an event handler method to one of the std views through the enhancement framework it does trigger.
    Grateful for any solution/info, cheers!

    Hey,
    Std view A is the active view when the firing of the event occurs within the component controller.  Enhancement view Z is where the event handler method is defined.Defining an event handler method in active view A will be triggered upon component controller event firing, but not event handler method in view Z.  Handling within event view Z (not active/displayed) beyond the realms of WDA eventing?

  • GETVPN (crypto pki timers) not triggering appropriate rollover action

    Hi everyone,
    I am observing a "weird" behavior of numerous similarly configured devices in a GETVPN enviroment and was hoping for some pointers.
    all commands are executed on the GM
    #sh ver | i IOS
    Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.1(4)M3, RELEASE SOFTWARE (fc1)
    GM is enrolled with 2 SubCAs.
    #sh run | s trustpoint
    crypto pki trustpoint SubCA01
    enrollment url $url
    subject-name ...
    revocation-check none
    rsakeypair CertKeys.SubCA01
    auto-enroll 70
    crypto pki trustpoint SubCA02
    enrollment url $url
    subject-name ...
    revocation-check none
    rsakeypair CertKeys.SubCA02
    auto-enroll 70
    #sh cryp pki cert | i cn
        cn=SubCA02
        cn=$router
        cn=RootCA
        cn=SubCA02
        cn=SubCA01
        cn=$router
        cn=RootCA
        cn=SubCA01
    registration with KS1 and KS2 works fine, crypto map is applied, ipsec sa comes up all good. (no output, because problem isn't gdoi related)
    Now here's the problem relating to obtaining the rollover certs:
    All possible crypto pki debugging is activated and term mon'd
    #sh cryp pki tim
    PKI Timers
    |           1.308
      |           1.308  SHADOW SubCA02
      | 27d22:56:14.428  SHADOW SubCA01
    Oct  1 09:54:42.075: PKI: Shadow timer went off forSubCA02
    Oct  1 09:54:42.075: PKI:get_cert SubCA02 0x10 (expired=0):
    Oct  1 09:54:42.075: PKI:get_cert SubCA02 0x10 (expired=0):
    #sh cryp pki tim
    PKI Timers
    |       59:30.308
      |       59:30.308  SHADOW SubCA02
      | 27d22:55:43.428  SHADOW SubCA01
    As seen above, the device registers the timer firing, but does nothing. It does not try to obtain a rollover cert. Manually enrolling with the corresponding trustpoint immediately afterwards works fine and the rollover cert is obtained with no issues whatsoever.
    Above behavior persists through a reload and does not affect all devices in the GETVPN, which are configured identically in regards to GETVPN and have the exact same IOS and hardware.
    Any ideas? Thx in advance for taking the time.
    [EDIT: is this not enough information? if so, please point me to what is required so I can provide it. thanks]

    Hi Jacob,
    instead of 'dtmf-relay sip-notify', could you please try 'dtmf-relay rtp-nte' under voice register pool 1&2 and let me know how it works?

  • HT1547 My mac book pro is 3 yrs old and today while watching something on it, it got power off suddenly. And power button is not working, left side round button to battery is not working but when I plugg in to charge it, then this round button shows 4 gre

    I am having MacBook Pro 3 yrs old and today while I was watching some movie on it suddenly it got power off and when I am trying to start it, it's power button is not working even the round button on external left side is not showing battery lights. But when I connect it to chrger then Charger only gives green light and even the external round button only shown 4 green lights (if charger connected). I don't know what to do now

    Sounds like you need a #1SMC Reset
    1. SMC reset
    >>Instructions to reset SMC
    Disconnect other non-Apple and external hardware except (if applicable) a mouse and keyboard until your finished repairing your machine.
    Problems solved: Fans blowing with no activity, machine is not booting, power button pressed and nothing happens, problems with indicators, Magsafe has wrong lights, battery is not charging, monitor and graphics issues etc.  If the battery is not charged (from like letting it sleep too long), let the Mac charge up awhile afterwards.
    Will not hurt the machine resetting if it's not broken.
    Other related hardware problems (optional):
    Check battery status: Hold option/alt key down while clicking on the battery icon in the menu bar, top right corner.
    Magsafe: Use the correct/matching power supply charger with your Mac, not a less powered one from another Mac.
    Apple: Laptop won't power up   Apple: Computer won't power up  Troubleshooting optical drive
    Magsafe problems   Magsafe problems more

  • Re: Dynamic Action is not triggering in LSMW Recording

    Hello All,
    In SAP HRMS personnel actions if i do using LSMW Recording it is not triggering  the dynamic actions.
    Is there any mechanism to Trigger dynamic action in LSMW Recording ?
    How to find the differences in process with and with out recording ?
    Small help is also highly appreciated.
    With Regards,
    Sunil,
    +91-9903695384.

    Yes. Do one  thing. First study the dynamic action. Try to understand what the dynamic action is doing. Is it creating data in other infotype or is it updating some other table. Once it is clear what the dynamic action is doing then you can try to implement the same logic in LSMW. In LSMW there is a provision to add more than one recording and this recording can be called based on some logic..
    Thanks & Regards,
    Sandip

  • MacBook Pro crashes when I press power button to shut down

    Installed Lion (10.7.2) on a 2010 MBP yesterday; had to replace the hard drive as it failed the SMART test. Everything seems to be working fine until I press the power button to shut the computer down. It freezes solid every single time. I have to then hold the power button down for 10 seconds so it restarts.
    Anyone else with that issue?

    I reset the PRAM/NVRAM which, incidentally, is different than it used to be. No more chimes; instead a screen which allows you to run Disk Utility, which I did. Also repaired permissions.
    I reset the SMC which I thought would solve the problem considering the power button is managed by it. No luck.
    I've disabled the tablet extension because I'd seen an error mentioning it somewhere and I've updated Growl to 1.2.2 although not the new Lion-friendly 1.3 because people seem to have a lot of trouble with it. Still, it's an option.
    Here are some "error" related lines from the System Diagnostic Report. Both reports are called mds_2011-10-18_(sixdigits)_localhost.crash
    Crashed Thread:  2  Dispatch queue: com.apple.metadata.spotlightindex
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000bad
    VM Regions Near 0xbad:
    -->
        __TEXT                 0000000105162000-000000010526f000 [ 1076K] r-x/rwx SM=COW  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Support/mds
    Application Specific Information:
    [0x10a243000]/SourceCache/Spotlight/Spotlight-627.20/core-db/log-db/ldb.c:237: failed assertion 'val' /.Spotlight-V100/Store-V2/2B0E3327-BEC2-43B8-B41E-83DF2386BA37 (hfs, t: 0x11, st: 0x1, f: 0x480d000) 
    [0x10a2c6000](Error) IndexPath in openReverseStore:Successfully recovered from shadow with state d00d0dd0
    Initializing
    objc[243]: garbage collection is OFF
    ~snip~
    Thread 2 Crashed:: Dispatch queue: com.apple.metadata.spotlightindex
    0   com.apple.spotlight.index               0x000000010548ea26 getDBFForUniquedValue + 44
    1   com.apple.spotlight.index               0x000000010548f169 inflateDBO2 + 1494
    2   com.apple.spotlight.index               0x000000010549a059 db2_get_obj_callback + 617
    3   com.apple.spotlight.index               0x000000010537a804 si_remapForIndex + 133
    4   com.apple.spotlight.index               0x0000000105388daf InnerMerge + 2991
    5   com.apple.spotlight.index               0x0000000105389272 OuterMerge + 1021
    6   com.apple.spotlight.index               0x000000010537982a si_mergeIndex + 3552
    7   com.apple.spotlight.index               0x000000010537aa96 runLoop + 54
    8   com.apple.spotlight.index               0x000000010538dc17 work_fun + 746
    9   libdispatch.dylib                       0x000000010668a10a _dispatch_queue_drain + 264
    10  libdispatch.dylib                       0x0000000106689f66 _dispatch_queue_invoke + 54
    11  libdispatch.dylib                       0x000000010668a0d4 _dispatch_queue_drain + 210
    12  libdispatch.dylib                       0x0000000106689f66 _dispatch_queue_invoke + 54
    13  libdispatch.dylib                       0x000000010668a0d4 _dispatch_queue_drain + 210
    14  libdispatch.dylib                       0x0000000106689f66 _dispatch_queue_invoke + 54
    15  libdispatch.dylib                       0x0000000106689760 _dispatch_worker_thread2 + 198
    16  libsystem_c.dylib                       0x000000010675a3da _pthread_wqthread + 316
    17  libsystem_c.dylib                       0x000000010675bb85 start_wqthread + 13
    ~snip~
    Thread 2 crashed with X86 Thread State (64-bit):
      rax: 0x0e728f25bcd2a170  rbx: 0x0000000000000003  rcx: 0x00000000000213b0  rdx: 0x00007ff5226990e0
      rdi: 0x000000010a0dde00  rsi: 0x00007ff522600000  rbp: 0x000000010a240ff0  rsp: 0x000000010a240fe0
       r8: 0x000000000000000e   r9: 0x00007ff522696fe0  r10: 0x0000000078e0b3b5  r11: 0x0000000018c32a40
      r12: 0x000000000000000f  r13: 0x000000010a2411c0  r14: 0x0000000000000015  r15: 0x00007ff52300e430
      rip: 0x000000010548ea26  rfl: 0x0000000000010202  cr2: 0x0000000000000bad
    From another report:
    Crashed Thread:  5  Dispatch queue: com.apple.metadata.spotlightindex
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000bad
    VM Regions Near 0xbad:
    -->
        __TEXT                 000000010f880000-000000010f98d000 [ 1076K] r-x/rwx SM=COW  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Support/mds
    Application Specific Information:
    [0x114924000]/SourceCache/Spotlight/Spotlight-627.20/core-db/log-db/ldb.c:237: failed assertion 'val' /.Spotlight-V100/Store-V2/2B0E3327-BEC2-43B8-B41E-83DF2386BA37 (hfs, t: 0x11, st: 0x1, f: 0x480d000) 
    [0x1149a7000](Error) IndexPath in openReverseStore:Successfully recovered from shadow with state d00d0dd0
    Initializing
    objc[61]: garbage collection is OFF
    ~snip~
    Thread 5 Crashed:: Dispatch queue: com.apple.metadata.spotlightindex
    0   com.apple.spotlight.index               0x000000010fbafa26 getDBFForUniquedValue + 44
    1   com.apple.spotlight.index               0x000000010fbb0169 inflateDBO2 + 1494
    2   com.apple.spotlight.index               0x000000010fbbb059 db2_get_obj_callback + 617
    3   com.apple.spotlight.index               0x000000010fa9b804 si_remapForIndex + 133
    4   com.apple.spotlight.index               0x000000010faa9daf InnerMerge + 2991
    5   com.apple.spotlight.index               0x000000010faaa272 OuterMerge + 1021
    6   com.apple.spotlight.index               0x000000010fa9a82a si_mergeIndex + 3552
    7   com.apple.spotlight.index               0x000000010fa9ba96 runLoop + 54
    8   com.apple.spotlight.index               0x000000010faaec17 work_fun + 746
    9   libdispatch.dylib                       0x0000000110d9f10a _dispatch_queue_drain + 264
    10  libdispatch.dylib                       0x0000000110d9ef66 _dispatch_queue_invoke + 54
    11  libdispatch.dylib                       0x0000000110d9f0d4 _dispatch_queue_drain + 210
    12  libdispatch.dylib                       0x0000000110d9ef66 _dispatch_queue_invoke + 54
    13  libdispatch.dylib                       0x0000000110d9f0d4 _dispatch_queue_drain + 210
    14  libdispatch.dylib                       0x0000000110d9ef66 _dispatch_queue_invoke + 54
    15  libdispatch.dylib                       0x0000000110d9e760 _dispatch_worker_thread2 + 198
    16  libsystem_c.dylib                       0x0000000110e693da _pthread_wqthread + 316
    17  libsystem_c.dylib                       0x0000000110e6ab85 start_wqthread + 13
    ~snip~
    Thread 5 crashed with X86 Thread State (64-bit):
      rax: 0xf8f96330d263d9d4  rbx: 0x0000000000000003  rcx: 0x0000000000016570  rdx: 0x00007fbe82e14870
      rdi: 0x00000001147bee00  rsi: 0x00007fbe82e00000  rbp: 0x0000000114921ff0  rsp: 0x0000000114921fe0
       r8: 0x000000000000000d   r9: 0x0000000000000000  r10: 0x00000000a9c7612d  r11: 0x00000000ffffff7f
      r12: 0x000000000000000f  r13: 0x00000001149221c0  r14: 0x0000000000000015  r15: 0x00007fbe83929c30
      rip: 0x000000010fbafa26  rfl: 0x0000000000010202  cr2: 0x0000000000000bad
    As for the System.log, lines with the word "crash" in it:
    a lot of: com.apple.launchd.peruser.501[121] (com.apple.ReportCrash): Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
    and: com.apple.dock.extra[154]: 2011-10-14 09:26:47.693 com.apple.dock.extra[154:1707] Could not connect the action buttonPressed: to target of class NSApplication
    ReportCrash[556]: DebugSymbols was unable to start a spotlight query: spotlight is not responding or disabled
    com.apple.dock.extra[563]: Could not connect the action buttonPressed: to target of class NSApplication
    Oct 16 10:23:01 mikes-mbp loginwindow[433]: DEAD_PROCESS: 433 console
    a lot of these: com.apple.dock.extra[142]: 2011-10-18 20:23:44.979 com.apple.dock.extra[142:1707] Could not connect the action buttonPressed: to target of class NSApplication
    There's tons of stuff here. Hopefully, something up there makes sense. At the end of the day, everything works, except shutting down the computer with the power button. I'm trying to use menus but it's a hard habit to break.

  • IPhone 4s looks shut down all the time.especially when the 3g is on.in the forums its said to push the use button and the power button at the same time.the people calling me cannot reach at my phone.what should i do ?

    my phone looks like offline all the time.its all about me to notice that its offline.then i have to push the main button and the power button together to open it.then the apple sign comes on the screen and the phone turns online.but i cannot receive the information of who called me at the time that my iphone 4s turned offline by itself.i cannot receive messages at all.what can i do now ? i sent the phone to the service and they just told me that they installed the current version.but i guess nothing happened.its doing the same thing again.i cannot use my iphone.
    From Turkiye.

    I've tried all those.But nothing works.The phone seems to be shut down.But it is not.When i get it out of my pocket, for example to call someone, i touch to main button but nothing happens.I solve it by pushing the power button and the main button together just for a couple of seconds, as its said so in the forums.
    also, people told me that they were calling me, my phone was ringing but i didnt answer?...i checked it for millions of times, it seems to be shut down, but its normally not.then i push the buttons together and the apple sign comes on the screen.it searches for the network.and it works.
    but i do not see any calls, texts anything.but for the others, they say my phone seems to be workin.
    I thought it was 'cause of the 3G is switched on but when I turn 3G off, it does the same thing.it seems to be offline all the time.

  • Workflow WS00000038 Purch.Req - Event REJECTED not triggered

    Hi Friends!
    (SAP ECC 6.0)
    (Tcode SWE3 - BUS2009-REJECTED is active)
    When using WS00000038 Purchase requisition we have problem when an item is REJECTED.
    the Event that is triggered is BUS2009-SIGNIFICANTLYCHANGED. This leads to that the Workflow end up with status  COMPLETED and NO further handling of the actual Rejection that were made.
    IF BUS2009-REJECTED were triggered instead, then WS00000038 would have followed another path in the workflow which is to handle the REJECTION via another TASK.
    Why is BUS2009-REJECTED not triggered when button "REJECT" Requisition is pressed (ME54N).
    Best regards
    Henrik

    In this aproval step within WS00000038 it is actually ME54N that is called.
    The result in the task of the workflow is an EXTERNAL EVENT that is triggered.
    In my case it is BUS2009-SIGNIFICANTLYCHANGED that is triggered instead of BUS2009-REJECTED.
    this is what causes my Workflow WS00000038 to choose the wrong path.
    Does anyone have a solution of how to get BUS2009-REJECTED triggered via ME54N when I actually press button to REJECT and then SAVE.
    Best reg
    Henrik

  • Power button function windows 7

    just setup windows 7 and noticed when i hit the power button on the mac air it just puts it in sleep, i checked the function setting in start bar in windows and its set for power button action to be shut off. any ideas?

    maybe you and windows have a different idea about if it's a powerbutton or something else
    I would look around windows power settings and try changing some of the other actions which it have set to put it a sleep and change that to see if that solves it

Maybe you are looking for

  • Help with XHTML columns in IE6

    I'm having some problems with my columns in IE6. The math is all correct and it lays out perfectly fine in firefox as expected. For some reason IE6 seems to be doubling the numbers I assign as my margins. Can anyone give me a tip as to what's wrong h

  • Is the only way to keep a behaviour's setting after finish via a keyframe

    Is the only way to keep the final value of a movement behaviour (ie scale, thow etc), once the behaviour ends but the element to which the behaviour was attached hasn't ended, by converting the behaviour to keyframes? I can see no other way, although

  • Flashupdater filling system.log with spew

    Has anyone else noticed that flashupdater is filling their system.log with spew? This is happening on systems with and without flash installed. Sign, yet another blunder...

  • Do playing games lower my MacBook's lifespan?

    I have a MacBook Pro with Retina Display and want to know how harmful playings games are to it. Does it effect battery life? The overall speed of the machine overtime? Please let me know and if you could explain to me why it would harm my MacBook Pro

  • Itunes file wont save on my laptop

    help me!!