Help with bash script that fails after suspend to RAM

I have a very simple reminder script that uses an endless loop, sleep and zenity to pop up a reminder every twenty minutes:
#!/bin/bash
while true;
do
sleep 20m
zenity --warning --title="Ergonomics Reminder" --text="Check Posture or Have a Stretch!"
done
However, it does not work as it should after suspending to RAM. I am thinking I need to kill the process and restart it after every suspend, using a "thaw" notice in /etc/pm but if there is an easier way to do it please let me know!

I'm doing this for 2 reasons:
- as a scripting exercise
- because the local repo is a shared wordpress mess and people forget to make commits so I'd like a local backup that includes all changes that may not be in github (sadly).
Anyhow, thanks for the input about trap, I'm definitely confused by it's use at this point but have reworked the script without it.
#!/bin/sh
set -e #Exit on any error.
TIME=`date +"%m.%d.%Y@%H:%M:%S"` # Define the TIME variable as today's date and time.
MONTH=`date +"%b"` # Define MONTH as today's month.
FILENAME="backup-$TIME.tar.gz" # Define the filename structure.
SRCDIR="/stuff" # Define folder to backup.
DESDIR="/Backup/$MONTH/" # Define the backup folder location.
LOGFILE="$DESDIR/backup-$TIME.log" # Store the output in a log.
REMOTE=$(git ls-remote -h origin master | awk '{print $1}') # Get commit hash from head of remote master repo (github)
LOCAL=$(git rev-parse HEAD) # Get commit hash from head of server repo (dev/test)
if [[ $LOCAL == $REMOTE ]]; then # If the hashes match
echo "No update required." >> $LOGFILE # Then no pull is needed
else # If the hashes don't match then prepare to run our backup
mkdir -p $DESDIR # Create our directory if it doesn't exist.
echo "Backup started for "$TIME >> $LOGFILE # Make it log what it's doing.
tar -cpzf $DESDIR/$FILENAME $SRCDIR >> $LOGFILE 2>&1 # Perform the backup.
echo "Backup Finished for "$TIME >> $LOGFILE # Log that it's finished.
echo "Preparing for git pull " >> $LOGFILE #Log what we're doing.
cd /stuff >> $LOGFILE 2>&1 # Make sure we're in our repo directory
git pull >> $LOGFILE 2>&1
echo "Git pull completed successfully. " >> $LOGFILE
mail -s "Backup log `date`" [email protected] < $LOGFILE # Email the output to me.
fi

Similar Messages

  • Help with working script that won't convert på higher version player (As2)

    HI have an issue with a file that was created some time ago to Fplayer v6 and when I now “upgrade” it to 8-9 or 10 it does not load the xml links ;/
    I have no idea why, the file(s) works fine in the old player 6
    I have a set of xml files (note: one file for each country on a map,and the possible solution should not include to put all links in the same xml file)
    the xml looks like this (example is for Denmark file called dk.xml):  [code]
    <broadcast>
    <story>
    <lead>www.alink.com</lead>
    <URL>http://www.alink.com/</URL>
    </story>
    </broadcast>
    So in the flash file I have a set of buttons the does a few actions
    one action is to call/go to a specific frame in a MC in that frame I put the Xl loading stuff for each frame (lable)
    [code]
    headlineXML = new XML();
    headlineXML.onLoad = myLoad;
    headlineXML.load("be.xml");
    function myLoad(ok) {
                                 if (ok == true) {
                                 Publish(this.firstChild);
    function Publish(HeadlineXMLNode) {
    if (HeadlineXMLNode.nodeName.toUpperCase() == "BROADCAST") {
    content = "";
    story = HeadlineXMLNode.firstChild;
    while (story != null) {
                                 if (story.nodeName.toUpperCase() == "STORY") {
                                 lead = "";
                                 URL = "";
                                 element = story.firstChild;
    while (element != null) {
    if (element.nodeName.toUpperCase() == "LEAD") {
    lead = element.firstChild.nodeValue;
    if (element.nodeName.toUpperCase() == "URL") {
                                 URL = element.firstChild.nodeValue;                                                                                                                   
    }                                                         element = element.nextSibling;
    content += "<font size='+2' color='#3366cc'><a href='"+URL+"'>"+lead+"</a></font><br>"+body+"<br><br>";
    txt.htmltext=content;
    story = story.nextSibling;
    the button (main stage)  that calles the MC frame lable with the xml that loads the load thex and a link into a dynamic txt box (called “txt”), has this code on it: [code]
    on (press) {
                                 infoon("DK");
    on (rollOver) {
                                 DK._alpha = 50;
    on (releaseOutside, rollOut, dragOut) {
                                 DK._alpha = 100;
    so as said it works fine in FP 6 (as2)  but when published to FP 8 -9 or 10 only the XML does not load at all
    What could be the issue (I know that it is old code and it is pretty poor and should be fully upgraded but my
    skills is not on that level, I managed to make the above work from some tutorials but understanding the publishing issues
    is a bit over my head J
    I would be extremely gratefull if anyone could help me out it is really frustrating especially since the file actually works fine
    in the old player ;/
    best
    OrsonB

    the two most common issues when converting from as2 vp 6 to as2 vp 6+ are:
    1.  failure to initialize some variable.  (if not explicitly initialized in vp 6, understood to be zero.  in vp+, it's undefined.)
    2.  vp6 is not case-senstive.  vp 6+ is case- sensitive.
    you have both.
    body is undefined and htmltext is not the same as htmlText.  fix those and retest.

  • Help with PS script that gets run when an event ID is triggered.

    Hello,
    I've had some great help from Mike Laughlin on this forum on creating a simple PS script that can email me when a particular event id is seen on a server.
    Here it is:
    $serverName = $env:COMPUTERNAME
    Send-MailMessage -to [email protected] -Subject "$serverName - Low on Virtual Memory" -body "$serverName
    - low on virtual memory" -smtpserver smtp.gb.local -from [email protected]
    What I want to add is the event id to in the email too so we can get more information, is this possible?

    Here are some suggestions:
    Here is a defined trigger for security event ID 5156.  It is good for learning because it happens frequently.
    <Triggers>
    <EventTrigger>
    <Enabled>true</Enabled>
    <Subscription>&lt;QueryList&gt;&lt;Query Id="0" Path="Security"&gt;&lt;Select Path="Security"&gt;*[System[Provider[@Name='Microsoft-Windows-Security-Auditing'] and EventID=5156]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
    <ValueQueries>
    <Value name="Application">Event/EventData/Data[@Name='Application']</Value>
    <Value name="DestAddress">Event/EventData/Data[@Name='DestAddress']</Value>
    <Value name="DestPort">Event/EventData/Data[@Name='DestPort']</Value>
    <Value name="SourceAddress">Event/EventData/Data[@Name='SourceAddress']</Value>
    <Value name="SourcePort">Event/EventData/Data[@Name='SourcePort']</Value>
    <Value name="TimeCreated">Event/System/TimeCreated/@SystemTime</Value>
    </ValueQueries>
    </EventTrigger>
    </Triggers>
    The ValueQuery defines the path to the values in the event data.
    Here is how we pass the data to the command usingnamed parameters:
    <Actions Context="Author">
    <Exec>
    <Command>powershell</Command>
    <Arguments>
    -file test5156.ps1
    -Application $(Application)
    -SourceAddress $(SourceAddress)
    -SourcePort $(SourcePort)
    -DestAddress $(DestAddress)
    -DestPort $(DestPort)
    -TimeCreated $(TimeCreated)
    </Arguments>
    <WorkingDirectory>c:\test</WorkingDirectory>
    </Exec>
    </Actions>
    Notice that I do NOT use single quotes and have formatted the XML so it is easy to edit.
    The line breaks are not preserved by the XML when passed and the extra space is unimportant.
    Here is the test script that displays the passed arguments.
    Param(
    $Application,
    $SourceAddress,
    $SourcePort,
    $DestAddress,
    $DestPort,
    $TimeCreated
    '[{0:hh:mm:ss}] {1}' -f [datetime]::Now,'New Event 5156' | Out-file c:\test\testel.log -append
    $p=@{
    Application=$Application
    SourceAddress=$SourceAddress
    SourcePort=$SourcePort
    DestAddress=$DestAddress
    DestPort=$DestPort
    TimeCreated=$TimeCreated
    $parms=New-Object PsObject -Property $P
    $parms |Format-List |Out-String | Out-file c:\test\testel.log -append
    Each event ID can have very different data structures  thei si what the 5256 class o structures looks like:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
    <EventID>5156</EventID>
    <Version>1</Version>
    <Level>0</Level>
    <Task>12810</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2015-03-18T16:51:12.152331100Z" />
    <EventRecordID>34783304</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="3656" />
    <Channel>Security</Channel>
    <Computer>W8Test</Computer>
    <Security />
    </System>
    <EventData>
    <Data Name="ProcessID">2608</Data>
    <Data Name="Application">\device\harddiskvolume4\windows\system32\svchost.exe</Data>
    <Data Name="Direction">%%14592</Data>
    <Data Name="SourceAddress">239.255.255.250</Data>
    <Data Name="SourcePort">1900</Data>
    <Data Name="DestAddress">192.168.1.106</Data>
    <Data Name="DestPort">2232</Data>
    <Data Name="Protocol">17</Data>
    <Data Name="FilterRTID">275543</Data>
    <Data Name="LayerName">%%14610</Data>
    <Data Name="LayerRTID">44</Data>
    <Data Name="RemoteUserID">S-1-0-0</Data>
    <Data Name="RemoteMachineID">S-1-0-0</Data>
    </EventData>
    </Event>
    Note how the mappingis done from event data name and argument then to PowerSHell Parameter name.
    EVENT DATA: <Data Name="SourceAddress">239.255.255.250</Data>
    ValueQuery:   <Value name="SourceAddress">Event/EventData/Data[@Name=SourceAddress]</Value>
    TRIGGER COMMAND:
           <Arguments>
                 -file test5156.ps1
                 -SourceAddress $(SourceAddress) 
    SCRIPT PARAMS:
         Param(
             $SourceAddress,
    ¯\_(ツ)_/¯

  • Help with bash script

    Hi
    There are many times when I need to perform a find or du command on server data hierarchy. Often the recursion goes to many depths so the number of items is too large, i.e. command returns 'Argument list too long'.
    So I usually break it into letters, A-C, D-F, etc. However, now I want to write a script to cycle through all top-level folders from A to Z.
    I thought this might work
    for l in ${ABCDE...}; do
    echo $l
    done
    but it doesn't.
    Can anyone please help me with correct syntax?
    Cheers
    C

    How about
    <pre> find / -depth 1 -prune -type d</pre>
    If I need to process a lot of file names returned by 'find' I tend to use the following approaches:
    <pre> find /dir/path -type f -print0 | xargs -0 grep regexp</pre>
    where the ls -l is just an example of a shell command and xargs will append file names after the ls command.
    <pre> find /dir/path -name "*.c" | while read file
    do
    echo $file
    done</pre>
    where the echo is just an example of something to do with the file name.

  • Helpful Linux Bash Scripts for I.T. Admins

    I was wondering if you guys had any recommendations for helpful / simple Bash scripts that do helpful tasks in regards to Linux system administration? I have never created or used a Bash shell script but know that many of you guys do. I have no programming experience what so ever so decided to ask if you guys do have one or few scripts that are useful in basic administration tasks, could you please post them or at least point someone who is interested in the right direction?
    Thank you so much!

    I'm no sysadmin but one were to use command-line a lot i would give ZSH a shot. A nicely configured zsh shell can be unbelievably comfortable and is certainly a great tool.
    As for scripts I always thought of them as little helpers customized for certain situations. For instance easing repetitive tasks, batching some steps and timing/automating little things. For general purpose I'd probably look at available software first.
    Maybe tmux for terminal management, ranger for file management, a tiling window manager for efficiency, ssh and other survaillance/maintenance software? Personally, I'd very much like to hear, too, what software/scripts/.. linux systems admins use to keep the work to a minimum .

  • [solved] Segmentation fault with bash script

    I have a bash script that checks if it has to do something, if not it sleeps 15 secs and checks again. It works great except that after ~6hrs of just checking and sleeping it seg faults. I upped the stack limit with ulimit -s and it goes ~12hrs before it seg faults. I have a similar script that I have been using for ages that works for 24hrs no problem and I can't pinpoint where the problem is.
    The check it does is to see if a file exists, if it's empty and if not, read the first line of a file and do some date comparisons. It doesn't matter if the file is empty or not the seg fault always happens.
    Here's the seg fault causing script - it starts at the bottom
    #!/bin/bash
    # User defines
    declare -i DVB_DEVICE_NUM="0"
    declare CHANNELS_CONF="${HOME}/Mychannels.conf"
    declare SAVE_FOLDER="${HOME}/TV/tele"
    declare SCHED_FILE="$HOME/.sched-tv"
    declare ZAP_COMMAND="tzap"
    declare -i SLEEP=15
    # Program defines
    declare -i DAY="0"
    declare -i START="0"
    declare -i FINISH="0"
    declare CHAN="0"
    declare NAME="0"
    declare -i MINUTES="0"
    declare -i REC_START="0"
    declare -i REC_HOURS="0"
    declare -i REC_MINS="0"
    declare -i howlong="0"
    declare -i PIDOF_AZAP=0
    declare -i PIDOF_CAT=0
    red='\033[1;31m'
    green='\033[1;32m'
    yell='\033[1;33m'
    cyan='\033[1;36m'
    white='\033[1;37m'
    reset='\033[0m'
    function remove_entry {
    if [ "$NAME" == "" ]; then
    sed "/$DAY $START $FINISH $CHAN/d" $SCHED_FILE > /tmp/dummy
    else
    sed "/$DAY $START $FINISH $CHAN $NAME/d" $SCHED_FILE > /tmp/dummy
    fi
    mv /tmp/dummy $SCHED_FILE
    function record_entry {
    ${ZAP_COMMAND} -a ${DVB_DEVICE_NUM} -f ${DVB_DEVICE_NUM} -d ${DVB_DEVICE_NUM} \
    -c $CHANNELS_CONF -r ${CHAN} >/dev/null 2>&1 &
    PIDOF_AZAP=$!
    if [ "$PIDOF_AZAP" == "" ]; then
    printf "$red\tError starting ${ZAP_COMMAND}.\n\tFAILED: $CHAN $START\n"
    remove_entry
    exit 1
    fi
    printf "$green\tSET CHANNEL$cyan ${CHAN}\n"
    REC_MINS=$((${START}%100))
    REC_HOURS=0
    MINUTES=0
    REC_START=$(($START-$REC_MINS))
    while [ $((${REC_START}+${REC_HOURS}+${REC_MINS})) -lt $FINISH ]; do
    ((REC_MINS++))
    ((MINUTES++))
    if [ ${REC_MINS} -ge 60 ]; then
    REC_MINS=0
    ((REC_HOURS+=100))
    fi
    done
    if [ "$NAME" == "" ]; then
    declare FILE_NAME="${SAVE_FOLDER}/TV-`date +%Y%m%d-%H%M`-ch.${CHAN}-${MINUTES}.min.mpg"
    else
    declare FILE_NAME="${SAVE_FOLDER}/TV-${NAME}-${MINUTES}.min.mpg"
    fi
    dd if=/dev/dvb/adapter${DVB_DEVICE_NUM}/dvr${DVB_DEVICE_NUM} \
    of=${FILE_NAME} conv=noerror &
    PIDOF_CAT=$!
    if (( ${PIDOF_CAT} == 0 )); then
    printf "$red\tError Starting Recording.\n\t/dev/dvb/adapter${DVB_DEVICE_NUM}/dvr${DVB_DEVICE_NUM} Unavailable\n"
    kill ${PIDOF_AZAP}
    remove_entry
    exit 1
    fi
    printf "$yell\tRECORDING TO :$cyan ${FILE_NAME}\n"
    sleep ${MINUTES}m
    kill ${PIDOF_CAT} && wait ${PIDOF_CAT} 2> /dev/null
    # pkill $ZAP_COMMAND # && wait ${PIDOF_AZAP} 2> /dev/null
    kill ${PIDOF_AZAP} && wait ${PIDOF_AZAP} 2> /dev/null
    printf "$yell\tFINISHED REC :$cyan ${FILE_NAME}\n$reset"
    remove_entry
    waiting 1
    function check_action {
    [ -e "$SCHED_FILE" ] || waiting $SLEEP
    [ "`cat $SCHED_FILE`" == "" ] && waiting $SLEEP
    DAY="0"; START="0"; FINISH="0"; CHAN="0"; NAME="0"
    TODAY=`date +%Y%m%d`
    NOW=`date +%k%M`
    while read -r DAY START FINISH CHAN NAME; do
    #printf "$DAY $START $FINISH $CHAN $NAME\n"
    break
    done < $SCHED_FILE
    if [ $DAY == $TODAY ] && [ $START -lt $NOW ]; then
    printf "$red\tOld Entry : Removing $CHAN $START\n"
    remove_entry
    waiting 1
    fi
    if [ $DAY == $TODAY ] && [ $START == $NOW ]; then
    record_entry
    else
    waiting $SLEEP
    fi
    function waiting {
    howlong=$1
    sleep $howlong && check_action
    check_action
    exit 0
    And the script that has been working fine 24hrs at a time
    #!/bin/bash
    echo alarm uses a twelve hour clock
    echo Type the time for the alarm to sound as 00-00-?m
    echo e.g. 05-35-pm for 5:35pm :: 05-35-am for 5:35am
    read TIME
    function play {
    A="$(date +%I-%M-%P)"
    if [ $A = $TIME ]; then
    for i in {1..10}; do
    $(aplay -c 1 /home/$USER/alarm/chime.wav); done
    exit
    else
    wait
    fi
    function wait {
    sleep 15 && play
    play
    I was hoping to have this script idling away in screen with rtorrent, always ready to do something if need be but that's not going to happen unless I can get a clue on what part of the script I need to change to not hit any limits. My websearches are failing me on this...
    Last edited by moetunes (2012-06-24 21:41:52)

    Thanks falconindy. I changed to using a while loop.
    #!/bin/bash
    set -o nounset
    shopt -s huponexit
    # User defines
    declare -i DVB_DEVICE_NUM="0"
    declare CHANNELS_CONF="${HOME}/Mychannels.conf"
    declare SAVE_FOLDER="${HOME}/TV/tele"
    declare SCHED_FILE="$HOME/.sched-tv"
    declare ZAP_COMMAND="tzap"
    declare -i SLEEP=15
    # Program defines
    declare -i DAY="0"
    declare -i START="0"
    declare -i FINISH="0"
    declare CHAN="0"
    declare NAME="0"
    declare -i MINUTES="0"
    declare -i REC_START="0"
    declare -i REC_HOURS="0"
    declare -i REC_MINS="0"
    declare -i howlong=$SLEEP
    declare -i PIDOF_AZAP=0
    declare -i PIDOF_CAT=0
    red='\033[1;31m'
    green='\033[1;32m'
    yell='\033[1;33m'
    cyan='\033[1;36m'
    white='\033[1;37m'
    reset='\033[0m'
    function remove_entry {
    if [ "$NAME" == "" ]; then
    sed "/$DAY $START $FINISH $CHAN/d" $SCHED_FILE > /tmp/dummy
    else
    sed "/$DAY $START $FINISH $CHAN $NAME/d" $SCHED_FILE > /tmp/dummy
    fi
    mv /tmp/dummy $SCHED_FILE
    function record_entry {
    ${ZAP_COMMAND} -a ${DVB_DEVICE_NUM} -f ${DVB_DEVICE_NUM} -d ${DVB_DEVICE_NUM} \
    -c $CHANNELS_CONF -r ${CHAN} >/dev/null 2>&1 &
    PIDOF_AZAP=$!
    if [ "$PIDOF_AZAP" == "" ]; then
    printf "$red\tError starting ${ZAP_COMMAND}.\n\tFAILED: $CHAN $START\n"
    remove_entry
    exit 1
    fi
    printf "$green\tSET CHANNEL$cyan ${CHAN}\n"
    REC_MINS=$((${START}%100))
    REC_HOURS=0
    MINUTES=0
    REC_START=$(($START-$REC_MINS))
    while [ $((${REC_START}+${REC_HOURS}+${REC_MINS})) -lt $FINISH ]; do
    ((REC_MINS++))
    ((MINUTES++))
    if [ ${REC_MINS} -ge 60 ]; then
    REC_MINS=0
    ((REC_HOURS+=100))
    fi
    done
    if [ "$NAME" == "" ]; then
    declare FILE_NAME="${SAVE_FOLDER}/TV-`date +%Y%m%d-%H%M`-ch.${CHAN}-${MINUTES}.min.mpg"
    else
    declare FILE_NAME="${SAVE_FOLDER}/TV-${NAME}-${MINUTES}.min.mpg"
    fi
    dd if=/dev/dvb/adapter${DVB_DEVICE_NUM}/dvr${DVB_DEVICE_NUM} \
    of=${FILE_NAME} conv=noerror &
    PIDOF_CAT=$!
    if (( ${PIDOF_CAT} == 0 )); then
    printf "$red\tError Starting Recording.\n\t/dev/dvb/adapter${DVB_DEVICE_NUM}/dvr${DVB_DEVICE_NUM} Unavailable\n"
    kill ${PIDOF_AZAP}
    remove_entry
    exit 1
    fi
    printf "$yell\tRECORDING TO :$cyan ${FILE_NAME}\n"
    sleep ${MINUTES}m
    kill ${PIDOF_CAT} && wait ${PIDOF_CAT} 2> /dev/null
    # pkill $ZAP_COMMAND # && wait ${PIDOF_AZAP} 2> /dev/null
    kill ${PIDOF_AZAP} && wait ${PIDOF_AZAP} 2> /dev/null
    printf "$yell\tFINISHED REC :$cyan ${FILE_NAME}\n$reset"
    remove_entry
    while true; do
    sleep $howlong
    howlong=$SLEEP
    [ -e "$SCHED_FILE" ] || continue
    [ "`cat $SCHED_FILE`" == "" ] && continue
    TODAY=`date +%Y%m%d`
    NOW=`date +%k%M`
    while read -r DAY START FINISH CHAN NAME; do
    #printf "$DAY $START $FINISH $CHAN $NAME\n"
    break
    done < $SCHED_FILE
    if [ $DAY == $TODAY ] && [ $START -lt $NOW ]; then
    printf "$red\tOld Entry : Removing $CHAN $START\n"
    remove_entry
    howlong=1
    continue
    fi
    if [ $DAY == $TODAY ] && [ $START == $NOW ]; then
    record_entry
    fi
    done
    exit 0
    I think that should be ok now.

  • How can I get help with pending songs that have taken over 12 hours to fully download?

    How can I get help with pending songs that have taken over 12 hours to fully download?

    You can only suspend service for 3 months at a time (with or without payment) and only twice a year.

  • Hi can anyone help with a mac that had magnet put on it. I turned it on and then off but a white screen appears with a file with a question mark on it?

    Hi can anyone help with a mac that had magnet put on it. I turned it on and then off but a white screen appears with a file with a question mark on it?

    File icon with ? mark on it means it can't read from the hard drive. The hard drive is now wiped or bad. If just wiped then you will need to reinstall your operating system, OS X. If bad you will need to replace the drive.
    Start with booting the computer from the OS X install DVD that came with your system. If the Mac came with Lion Pre-Installed then you use the Lion internet recovery system to reinstall (Hold down Command+r keys or Command+Option+r keys to boot the computer from over the internet to the Lion recovery HD system).
    Good Luck.

  • Need help with WMI code that will send output to db

    'm new to WMI code writing, so I need some help with writing code that we can store on our server. I want this code to run when a user logs into their computer
    and talks to our server. I also want the code to:
    * check the users computer and find all installed patches
    * the date the patches were installed
    * the serial number of the users computer
    * the computer name, os version, last boot up time, and mac address
    and then have all this output to a database file. At the command prompt I've tried:
    wmic qfe get description, hotfixid
    This does return the patch information I'm looking for, but how do I combine that line of code with:
    wmic os get version, csname, serialnumber, lastbootuptime
    and
    wmic nicconfig get macaddress
    and then get all this to output to a database file?

    Thank you for the links. I checked out http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx and
    found lots of good information. I also found a good command that will print information to a text file.
    Basically what I'm trying to do is retrieve a list of all installed updates (Windows updates and 3rd party updates). I do like that the below code because it gives me the KB numbers for the Windows updates. I need this information so my IT co-workers &
    I can keep track of which of our user computers need a patch/update installed and preferably which patch/update. The minimum we want to know is which patches / updates have been installed on which computer. If you wondering why we don't have Windows automatic
    updates enable, that's because we are not allowed to.   
    This is my code so far. 
    #if you want the computer name, use this command
    get-content env:computername
    $computer = get-content env:computername
    #list of installed patches
    Get-Hotfix -ComputerName $computer#create a text file listing this information
    Get-Hotfix > 'C:\users\little e\Documents\WMI help\PowerShell\printOutPatchList.txt'
    I know you don't want to tell me the code that will print this out to a database (regardless if it's Access or SQL), and that's find. But maybe you can tell me this. Is it possible to have the results of this sent to a database file or do I need to go into
    SQL and write code for SQL to go out and grab the data from an Excel file or txt file? If I'm understanding this stuff so far, then I suspect that it can be done both ways, but the code needs to be written correctly for this to happen. If it's true, then which
    way is best (code in PowerShell to send information to SQL or SQL go get the information from the text file or Excel file)?

  • I need help writing a script that finds the first instance of a paragraph style and then changes it

    I need help writing a script that finds the first instance of a paragraph style and then changes it to another paragraph style.  I don't necessarily need someone to write the whole thing, by biggest problem is figuring how to find just the first instance of the paragraph style.  Any help would be greatly appreciated, thanks!

    Hi,
    Do you mean first instance of the paragraph style
    - in a chosen story;
    - on some chosen page in every text frames, looking from its top to the bottom;
    - in a entire document, looking from its beginning to the end, including hidden layers, master pages, footnotes etc...?
    If story...
    You could set app.findTextPreferences.appliedParagraphStyle to your "Style".
    Story.findText() gives an array of matches. 1st array's element is a 1st occurence.
    so:
    Story.findText()[0].appliedParagraphStyle = Style_1;
    //==> this will change a paraStyle of 1st occurence of story to "Style_1".
    If other cases...
    You would need to be more accurate.
    rgds

  • Can i get help with 2 songs that i downloaded on my itunes? it didnt download, said there was an error and then is stuck at PURCHASED.

    can i get help with 2 songs that i downloaded on my itunes? it didnt download, said there was an error and then is stuck at PURCHASED.

    I'd report the problem to the iTunes Store. 
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not downloading properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • Keyboard not working after suspend to ram

    Hi,
    I have this problem since I have my notebook. Is a sony vaio cs.
    After suspend to ram the keyboard does't work.
    I've read in other forums that is a general gnu/linux problem, not only arch, and I think is related with the i8042 driver and generally hp pavillions have it.
    cat /var/log/pm-suspend.log:
    Initial commandline parameters: --quirk-dpms-suspend
    --quirk-dpms-on
    --quirk-vbestate-restore
    --quirk-vbemode-restore
    --quirk-vga-mode3
    --quirk-vbe-post
    Thu Aug 13 22:39:47 UYT 2009: Running hooks for suspend.
    /usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux vaio 2.6.30-ARCH #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz GenuineIntel GNU/Linux
    Module Size Used by
    i915 206216 1
    drm 190080 2 i915
    i2c_algo_bit 6996 1 i915
    joydev 13312 0
    snd_hda_codec_realtek 278132 1
    btusb 15364 0
    bluetooth 65668 1 btusb
    fan 5656 0
    uvcvideo 68316 0
    videodev 42048 1 uvcvideo
    v4l1_compat 18228 2 uvcvideo,videodev
    v4l2_compat_ioctl32 10992 1 videodev
    arc4 2192 2
    vboxdrv 1723308 0
    ecb 3536 2
    snd_seq_dummy 3540 0
    cpufreq_powersave 1872 2
    sdhci_pci 9200 0
    sdhci 20116 1 sdhci_pci
    snd_seq_oss 36224 0
    snd_hda_intel 31208 2
    snd_hda_codec 82128 2 snd_hda_codec_realtek,snd_hda_intel
    iwlagn 108980 0
    snd_seq_midi_event 8592 1 snd_seq_oss
    snd_seq 64640 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    snd_seq_device 8324 3 snd_seq_dummy,snd_seq_oss,snd_seq
    cpufreq_ondemand 9256 0
    mmc_core 61984 1 sdhci
    snd_hwdep 9976 1 snd_hda_codec
    iwlcore 112976 1 iwlagn
    snd_pcm_oss 47328 0
    snd_mixer_oss 20976 1 snd_pcm_oss
    snd_pcm 90872 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
    mac80211 211296 2 iwlagn,iwlcore
    ohci1394 34180 0
    sony_laptop 35224 0
    psmouse 60404 0
    snd_timer 25344 2 snd_seq,snd_pcm
    uhci_hcd 27056 0
    ehci_hcd 40668 0
    i2c_i801 11632 0
    acpi_cpufreq 10272 0
    led_class 5112 2 sdhci,iwlcore
    battery 14072 0
    ieee1394 98880 1 ohci1394
    rfkill 13108 5 iwlcore,sony_laptop
    thermal 17712 0
    video 24268 1 i915
    output 3792 1 video
    serio_raw 7188 0
    snd 76744 15 snd_hda_codec_realtek,snd_seq_oss,snd_hda_intel,snd_hda_codec,snd_seq,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    soundcore 8576 1 snd
    snd_page_alloc 10784 2 snd_hda_intel,snd_pcm
    cfg80211 78120 3 iwlagn,iwlcore,mac80211
    pcspkr 3088 0
    intel_agp 33104 1
    usbcore 179376 5 btusb,uvcvideo,uhci_hcd,ehci_hcd
    i2c_core 26816 4 i915,drm,i2c_algo_bit,i2c_i801
    ac 5720 0
    sky2 56820 0
    button 7216 0
    sg 33824 0
    freq_table 4528 2 cpufreq_ondemand,acpi_cpufreq
    iTCO_wdt 13648 0
    iTCO_vendor_support 3828 1 iTCO_wdt
    evdev 12928 14
    processor 42064 3 acpi_cpufreq
    rtc_cmos 13592 0
    rtc_core 22212 1 rtc_cmos
    rtc_lib 3120 1 rtc_core
    ext4 256304 2
    mbcache 8980 1 ext4
    jbd2 69088 1 ext4
    crc16 2096 1 ext4
    sr_mod 19460 0
    sd_mod 30696 4
    cdrom 41288 1 sr_mod
    ahci 40992 3
    libata 192460 1 ahci
    scsi_mod 131736 4 sg,sr_mod,sd_mod,libata
    total used free shared buffers cached
    Mem: 3907796 1913868 1993928 0 65068 1566872
    -/+ buffers/cache: 281928 3625868
    Swap: 2441872 0 2441872
    success.
    /usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/01grub suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/55wicd suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/95led suspend suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend suspend: success.
    /etc/pm/sleep.d/99laptop-mode suspend suspend: success.
    /usr/lib/pm-utils/sleep.d/99video suspend suspend: kernel.acpi_video_flags = 0
    success.
    Thu Aug 13 22:39:50 UYT 2009: performing suspend
    Thu Aug 13 22:40:10 UYT 2009: Awake.
    Thu Aug 13 22:40:10 UYT 2009: Running hooks for resume
    /usr/lib/pm-utils/sleep.d/99video resume suspend: success.
    /etc/pm/sleep.d/99laptop-mode resume suspend: success.
    /usr/lib/pm-utils/sleep.d/98smart-kernel-video resume suspend: success.
    /usr/lib/pm-utils/sleep.d/95led resume suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
    /usr/lib/pm-utils/sleep.d/90clock resume suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
    /usr/lib/pm-utils/sleep.d/55wicd resume suspend: success.
    /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
    /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/11netcfg resume suspend: success.
    /usr/lib/pm-utils/sleep.d/01grub resume suspend: not applicable.
    /usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
    /usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
    /usr/lib/pm-utils/sleep.d/00auto-quirk resume suspend: success.
    Thu Aug 13 22:40:13 UYT 2009: Finished.
    Please ask me for more info if needed.

    I had this issue for almost a year with my Sony CS190. After a clean install, it still exists. So,
    After suspending the keyboard doesn't work, and unbinding/binding i8042 only helps touchpad, not keyboard.
    EDIT: PS: Keyboard & Touchpad work fine after hibernate.
    cat /var/log/Xorg.0.log
    This is a pre-release version of the X server from The X.Org Foundation.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the X.Org Foundation git repository.
    See http://wiki.x.org/wiki/GitPage for git access instructions.
    X.Org X Server 1.6.3.901 (1.6.4 RC 1)
    Release Date: 2009-8-25
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.30-ARCH i686
    Current Operating System: Linux ArchTiger 2.6.30-ARCH #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009 i686
    Build Date: 04 September 2009 03:37:03PM
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 4 11:01:41 2009
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) No Layout section. Using the first Screen section.
    (**) |-->Screen "Default Screen" (0)
    (**) | |-->Monitor "Monitor0"
    (**) | |-->Device "Card0"
    (**) Option "DontZap" "false"
    (==) Automatically adding devices
    (==) Automatically enabling devices
    (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
    Entry deleted from font path.
    (Run 'mkfontdir' on "/usr/share/fonts/100dpi").
    (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
    Entry deleted from font path.
    (Run 'mkfontdir' on "/usr/share/fonts/75dpi").
    (==) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    built-ins
    (==) ModulePath set to "/usr/lib/xorg/modules"
    (II) Cannot locate a core pointer device.
    (II) Cannot locate a core keyboard device.
    (II) The server relies on HAL to provide the list of input devices.
    If no devices become available, reconfigure HAL or disable AllowEmptyInput.
    (II) Loader magic: 0xec0
    (II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 5.0
    X.Org XInput driver : 4.0
    X.Org Server Extension : 2.0
    (II) Loader running on linux
    (++) using VT number 7
    (--) PCI:*(0:0:2:0) 8086:2a42:104d:903f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x000060f0/8
    (--) PCI: (0:0:2:1) 8086:2a43:104d:903f Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xd3400000/1048576
    (II) Open ACPI successful (/var/run/acpid.socket)
    (II) System resource ranges:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    (II) LoadModule: "extmod"
    (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
    (II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension MIT-SCREEN-SAVER
    (II) Loading extension XFree86-VidModeExtension
    (II) Loading extension XFree86-DGA
    (II) Loading extension DPMS
    (II) Loading extension XVideo
    (II) Loading extension XVideo-MotionCompensation
    (II) Loading extension X-Resource
    (II) LoadModule: "dbe"
    (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
    (II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DOUBLE-BUFFER
    (II) LoadModule: "glx"
    (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
    (II) Module glx: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
    (==) AIGLX enabled
    (II) Loading extension GLX
    (II) LoadModule: "record"
    (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
    (II) Module record: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension RECORD
    (II) LoadModule: "dri"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
    (II) Module dri: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension XFree86-DRI
    (II) LoadModule: "dri2"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.1.0
    ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DRI2
    (II) LoadModule: "intel"
    (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
    (II) Module intel: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 2.8.1
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 5.0
    (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G, G35,
    965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    Mobile Intel® GM45 Express Chipset,
    Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41, IGDNG_D,
    IGDNG_M
    (II) Primary Device is: PCI 00@00:02:0
    (II) resource ranges after xf86ClaimFixedResources() call:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [5] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    (II) resource ranges after probing:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[b]
    [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[b]
    [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[b]
    [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[b]
    [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[b]
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenByBusid: Searching for BusID pci:0000:00:02.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenByBusid: drmOpenMinor returns 8
    drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
    (==) intel(0): Depth 24, (--) framebuffer bpp 32
    (==) intel(0): RGB weight 888
    (==) intel(0): Default visual is TrueColor
    (**) intel(0): Option "DRI" "false"
    (II) intel(0): Integrated Graphics Chipset: Intel(R) Mobile Intel® GM45 Express Chipset
    (--) intel(0): Chipset: "Mobile Intel® GM45 Express Chipset"
    (II) intel(0): Output VGA1 using monitor section Monitor0
    (II) intel(0): Output LVDS1 has no monitor section
    (II) intel(0): Output VGA1 disconnected
    (II) intel(0): Output LVDS1 connected
    (II) intel(0): Using exact sizes for initial modes
    (II) intel(0): Output LVDS1 using initial mode 1280x800
    (==) intel(0): video overlay key set to 0x101fe
    (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
    (==) intel(0): DPI set to (96, 96)
    (II) Loading sub module "fb"
    (II) LoadModule: "fb"
    (II) Loading /usr/lib/xorg/modules//libfb.so
    (II) Module fb: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
    (==) Depth 24 pixmap format is 32 bpp
    (II) do I need RAC? No, I don't.
    (II) resource ranges after preInit:
    [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] 0 0 0x000a0000 - 0x000affff (0x10000) MS[b]
    [5] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[b]
    [6] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[b]
    [7] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
    [8] -1 0 0x00000000 - 0x00000000 (0x1) IX[b]
    [9] 0 0 0x000003b0 - 0x000003bb (0xc) IS[b]
    [10] 0 0 0x000003c0 - 0x000003df (0x20) IS[b]
    (**) intel(0): Kernel mode setting active, disabling FBC.
    (**) intel(0): Framebuffer compression disabled
    (**) intel(0): Tiling enabled
    (**) intel(0): SwapBuffers wait enabled
    (==) intel(0): VideoRam: 262144 KB
    (II) intel(0): Attempting memory allocation with tiled buffers.
    (II) intel(0): Tiled allocation successful.
    (II) UXA(0): Driver registered support for the following operations:
    (II) solid
    (II) copy
    (II) composite (RENDER acceleration)
    (==) intel(0): Backing store disabled
    (==) intel(0): Silken mouse enabled
    (II) intel(0): Initializing HW Cursor
    (II) intel(0): No memory allocations
    (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    (**) Option "dpms" "true"
    (**) intel(0): DPMS enabled
    (==) intel(0): Intel XvMC decoder disabled
    (II) intel(0): Set up textured video
    (II) intel(0): direct rendering: Disabled
    (WW) intel(0): Option "AccelMethod" is not used
    (--) RandR disabled
    (II) Initializing built-in extension Generic Event Extension
    (II) Initializing built-in extension SHAPE
    (II) Initializing built-in extension MIT-SHM
    (II) Initializing built-in extension XInputExtension
    (II) Initializing built-in extension XTEST
    (II) Initializing built-in extension BIG-REQUESTS
    (II) Initializing built-in extension SYNC
    (II) Initializing built-in extension XKEYBOARD
    (II) Initializing built-in extension XC-MISC
    (II) Initializing built-in extension SECURITY
    (II) Initializing built-in extension XINERAMA
    (II) Initializing built-in extension XFIXES
    (II) Initializing built-in extension RENDER
    (II) Initializing built-in extension RANDR
    (II) Initializing built-in extension COMPOSITE
    (II) Initializing built-in extension DAMAGE
    (II) AIGLX: Screen 0 is not DRI2 capable
    (II) AIGLX: Screen 0 is not DRI capable
    (II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/swrast_dri.so
    (II) GLX: Initialized DRISWRAST GL provider for screen 0
    (II) intel(0): Setting screen physical size to 338 x 211
    (II) intel(0): Allocate new frame buffer 1280x800 stride 1280
    (II) config/hal: Adding input device Sony Vaio Keys
    (II) LoadModule: "evdev"
    (II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
    (II) Module evdev: vendor="X.Org Foundation"
    compiled for 1.6.3, module version = 2.2.5
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
    (**) Sony Vaio Keys: always reports core events
    (**) Sony Vaio Keys: Device: "/dev/input/event10"
    (II) Sony Vaio Keys: Found keys
    (II) Sony Vaio Keys: Configuring as keyboard
    (II) XINPUT: Adding extended input device "Sony Vaio Keys" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) config/hal: Adding input device Macintosh mouse button emulation
    (**) Macintosh mouse button emulation: always reports core events
    (**) Macintosh mouse button emulation: Device: "/dev/input/event0"
    (II) Macintosh mouse button emulation: Found 3 mouse buttons
    (II) Macintosh mouse button emulation: Found x and y relative axes
    (II) Macintosh mouse button emulation: Configuring as mouse
    (**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
    (**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
    (**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
    (**) Macintosh mouse button emulation: (accel) filter chain progression: 2.00
    (**) Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
    (**) Macintosh mouse button emulation: (accel) set acceleration profile 0
    (II) Macintosh mouse button emulation: initialized for relative axes.
    (II) config/hal: Adding input device PS/2 Generic Mouse
    (**) PS/2 Generic Mouse: always reports core events
    (**) PS/2 Generic Mouse: Device: "/dev/input/event5"
    (II) PS/2 Generic Mouse: Found 3 mouse buttons
    (II) PS/2 Generic Mouse: Found x and y relative axes
    (II) PS/2 Generic Mouse: Configuring as mouse
    (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
    (**) PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE)
    (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
    (**) PS/2 Generic Mouse: (accel) filter chain progression: 2.00
    (**) PS/2 Generic Mouse: (accel) filter stage 0: 20.00 ms
    (**) PS/2 Generic Mouse: (accel) set acceleration profile 0
    (II) PS/2 Generic Mouse: initialized for relative axes.
    (II) config/hal: Adding input device Logitech VoIP USB Dual RF Receiver
    (**) Logitech VoIP USB Dual RF Receiver: always reports core events
    (**) Logitech VoIP USB Dual RF Receiver: Device: "/dev/input/event4"
    (II) Logitech VoIP USB Dual RF Receiver: Found 12 mouse buttons
    (II) Logitech VoIP USB Dual RF Receiver: Found x and y relative axes
    (II) Logitech VoIP USB Dual RF Receiver: Found scroll wheel(s)
    (II) Logitech VoIP USB Dual RF Receiver: Found keys
    (II) Logitech VoIP USB Dual RF Receiver: Configuring as mouse
    (II) Logitech VoIP USB Dual RF Receiver: Configuring as keyboard
    (**) Logitech VoIP USB Dual RF Receiver: YAxisMapping: buttons 4 and 5
    (**) Logitech VoIP USB Dual RF Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "Logitech VoIP USB Dual RF Receiver" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (**) Logitech VoIP USB Dual RF Receiver: (accel) keeping acceleration scheme 1
    (**) Logitech VoIP USB Dual RF Receiver: (accel) filter chain progression: 2.00
    (**) Logitech VoIP USB Dual RF Receiver: (accel) filter stage 0: 20.00 ms
    (**) Logitech VoIP USB Dual RF Receiver: (accel) set acceleration profile 0
    (II) Logitech VoIP USB Dual RF Receiver: initialized for relative axes.
    (II) config/hal: Adding input device AT Translated Set 2 keyboard
    (**) AT Translated Set 2 keyboard: always reports core events
    (**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
    (II) AT Translated Set 2 keyboard: Found keys
    (II) AT Translated Set 2 keyboard: Configuring as keyboard
    (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) config/hal: Adding input device Logitech VoIP USB Dual RF Receiver
    (**) Logitech VoIP USB Dual RF Receiver: always reports core events
    (**) Logitech VoIP USB Dual RF Receiver: Device: "/dev/input/event3"
    (II) Logitech VoIP USB Dual RF Receiver: Found keys
    (II) Logitech VoIP USB Dual RF Receiver: Configuring as keyboard
    (II) XINPUT: Adding extended input device "Logitech VoIP USB Dual RF Receiver" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) config/hal: Adding input device UVC Camera (05ca:183f)
    (**) UVC Camera (05ca:183f): always reports core events
    (**) UVC Camera (05ca:183f): Device: "/dev/input/event2"
    (II) UVC Camera (05ca:183f): Found keys
    (II) UVC Camera (05ca:183f): Configuring as keyboard
    (II) XINPUT: Adding extended input device "UVC Camera (05ca:183f)" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) config/hal: Adding input device Power Button
    (**) Power Button: always reports core events
    (**) Power Button: Device: "/dev/input/event8"
    (II) Power Button: Found keys
    (II) Power Button: Configuring as keyboard
    (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) config/hal: Adding input device Video Bus
    (**) Video Bus: always reports core events
    (**) Video Bus: Device: "/dev/input/event13"
    (II) Video Bus: Found keys
    (II) Video Bus: Configuring as keyboard
    (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) config/hal: Adding input device Power Button
    (**) Power Button: always reports core events
    (**) Power Button: Device: "/dev/input/event7"
    (II) Power Button: Found keys
    (II) Power Button: Configuring as keyboard
    (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) Open ACPI successful (/var/run/acpid.socket)
    (II) intel(0): No memory allocations
    (II) Sony Vaio Keys: Device reopened after 1 attempts.
    (II) Macintosh mouse button emulation: Device reopened after 1 attempts.
    (II) PS/2 Generic Mouse: Device reopened after 1 attempts.
    (II) Logitech VoIP USB Dual RF Receiver: Device reopened after 1 attempts.
    (II) AT Translated Set 2 keyboard: Device reopened after 1 attempts.
    (II) Logitech VoIP USB Dual RF Receiver: Device reopened after 1 attempts.
    (II) UVC Camera (05ca:183f): Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) Video Bus: Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) Open ACPI successful (/var/run/acpid.socket)
    (II) intel(0): No memory allocations
    (II) Sony Vaio Keys: Device reopened after 1 attempts.
    (II) Macintosh mouse button emulation: Device reopened after 1 attempts.
    (II) PS/2 Generic Mouse: Device reopened after 1 attempts.
    (II) Logitech VoIP USB Dual RF Receiver: Device reopened after 1 attempts.
    (II) AT Translated Set 2 keyboard: Device reopened after 1 attempts.
    (II) Logitech VoIP USB Dual RF Receiver: Device reopened after 1 attempts.
    (II) UVC Camera (05ca:183f): Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) Video Bus: Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) intel(0): Allocate new frame buffer 1024x768 stride 1024
    (II) intel(0): Allocate new frame buffer 2960x1050 stride 3072
    (II) Open ACPI successful (/var/run/acpid.socket)
    (II) intel(0): No memory allocations
    (II) Sony Vaio Keys: Device reopened after 1 attempts.
    (II) Macintosh mouse button emulation: Device reopened after 1 attempts.
    (II) PS/2 Generic Mouse: Device reopened after 1 attempts.
    (II) Logitech VoIP USB Dual RF Receiver: Device reopened after 1 attempts.
    (II) Logitech VoIP USB Dual RF Receiver: Device reopened after 1 attempts.
    (II) UVC Camera (05ca:183f): Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) Video Bus: Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) config/hal: removing device AT Translated Set 2 keyboard
    (II) AT Translated Set 2 keyboard: Close
    (II) UnloadModule: "evdev"
    (II) intel(0): Allocate new frame buffer 1280x800 stride 1280
    (II) intel(0): Allocate new frame buffer 2960x800 stride 3072
    (II) intel(0): Allocate new frame buffer 1280x800 stride 1280
    (II) intel(0): Allocate new frame buffer 2960x800 stride 3072
    (II) intel(0): Allocate new frame buffer 1280x800 stride 1280
    (II) config/hal: removing device PS/2 Generic Mouse
    (II) PS/2 Generic Mouse: Close
    (II) UnloadModule: "evdev"
    (II) config/hal: Adding input device PS/2 Generic Mouse
    (**) PS/2 Generic Mouse: always reports core events
    (**) PS/2 Generic Mouse: Device: "/dev/input/event1"
    (II) PS/2 Generic Mouse: Found 3 mouse buttons
    (II) PS/2 Generic Mouse: Found x and y relative axes
    (II) PS/2 Generic Mouse: Configuring as mouse
    (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
    (**) PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE)
    (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
    (**) PS/2 Generic Mouse: (accel) filter chain progression: 2.00
    (**) PS/2 Generic Mouse: (accel) filter stage 0: 20.00 ms
    (**) PS/2 Generic Mouse: (accel) set acceleration profile 0
    (II) PS/2 Generic Mouse: initialized for relative axes.
    (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
    (II) LoadModule: "synaptics"
    (II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
    (II) Module synaptics: vendor="X.Org Foundation"
    compiled for 1.6.3, module version = 1.1.3
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
    (II) Synaptics touchpad driver version 1.1.3
    (**) Option "Device" "/dev/input/event5"
    (II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
    (II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
    (II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    (II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
    (II) SynPS/2 Synaptics TouchPad: buttons: left right middle
    (**) Option "TapButton1" "1"
    (**) Option "TapButton2" "2"
    (**) Option "TapButton3" "3"
    (--) SynPS/2 Synaptics TouchPad: touchpad found
    (**) SynPS/2 Synaptics TouchPad: always reports core events
    (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
    (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    (**) SynPS/2 Synaptics TouchPad: (accel) filter chain progression: 2.00
    (**) SynPS/2 Synaptics TouchPad: (accel) filter stage 0: 20.00 ms
    (**) SynPS/2 Synaptics TouchPad: (accel) set acceleration profile 0
    (--) SynPS/2 Synaptics TouchPad: touchpad found
    (II) config/hal: removing device PS/2 Generic Mouse
    (II) PS/2 Generic Mouse: Close
    (II) UnloadModule: "evdev"
    (II) config/hal: removing device SynPS/2 Synaptics TouchPad
    (II) UnloadModule: "synaptics"
    (II) config/hal: Adding input device PS/2 Generic Mouse
    (**) PS/2 Generic Mouse: always reports core events
    (**) PS/2 Generic Mouse: Device: "/dev/input/event1"
    (II) PS/2 Generic Mouse: Found 3 mouse buttons
    (II) PS/2 Generic Mouse: Found x and y relative axes
    (II) PS/2 Generic Mouse: Configuring as mouse
    (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
    (**) PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE)
    (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
    (**) PS/2 Generic Mouse: (accel) filter chain progression: 2.00
    (**) PS/2 Generic Mouse: (accel) filter stage 0: 20.00 ms
    (**) PS/2 Generic Mouse: (accel) set acceleration profile 0
    (II) PS/2 Generic Mouse: initialized for relative axes.
    (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
    (II) Synaptics touchpad driver version 1.1.3
    (**) Option "Device" "/dev/input/event5"
    (II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
    (II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
    (II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    (II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
    (II) SynPS/2 Synaptics TouchPad: buttons: left right middle
    (**) Option "TapButton1" "1"
    (**) Option "TapButton2" "2"
    (**) Option "TapButton3" "3"
    (--) SynPS/2 Synaptics TouchPad: touchpad found
    (**) SynPS/2 Synaptics TouchPad: always reports core events
    (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
    (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    (**) SynPS/2 Synaptics TouchPad: (accel) filter chain progression: 2.00
    (**) SynPS/2 Synaptics TouchPad: (accel) filter stage 0: 20.00 ms
    (**) SynPS/2 Synaptics TouchPad: (accel) set acceleration profile 0
    (--) SynPS/2 Synaptics TouchPad: touchpad found
    (II) config/hal: removing device Sony Vaio Keys
    (II) Sony Vaio Keys: Close
    (II) UnloadModule: "evdev"
    (II) config/hal: Adding input device Sony Vaio Keys
    (**) Sony Vaio Keys: always reports core events
    (**) Sony Vaio Keys: Device: "/dev/input/event10"
    (II) Sony Vaio Keys: Found keys
    (II) Sony Vaio Keys: Configuring as keyboard
    (II) XINPUT: Adding extended input device "Sony Vaio Keys" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) config/hal: removing device PS/2 Generic Mouse
    (II) PS/2 Generic Mouse: Close
    (II) UnloadModule: "evdev"
    (II) config/hal: removing device SynPS/2 Synaptics TouchPad
    (II) UnloadModule: "synaptics"
    (II) Open ACPI successful (/var/run/acpid.socket)
    (II) intel(0): No memory allocations
    (II) Macintosh mouse button emulation: Device reopened after 1 attempts.
    (II) Logitech VoIP USB Dual RF Receiver: Device reopened after 1 attempts.
    (II) Logitech VoIP USB Dual RF Receiver: Device reopened after 1 attempts.
    (II) UVC Camera (05ca:183f): Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) Video Bus: Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) Sony Vaio Keys: Device reopened after 1 attempts.
    (II) config/hal: Adding input device PS/2 Generic Mouse
    (**) PS/2 Generic Mouse: always reports core events
    (**) PS/2 Generic Mouse: Device: "/dev/input/event1"
    (II) PS/2 Generic Mouse: Found 3 mouse buttons
    (II) PS/2 Generic Mouse: Found x and y relative axes
    (II) PS/2 Generic Mouse: Configuring as mouse
    (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
    (**) PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE)
    (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
    (**) PS/2 Generic Mouse: (accel) filter chain progression: 2.00
    (**) PS/2 Generic Mouse: (accel) filter stage 0: 20.00 ms
    (**) PS/2 Generic Mouse: (accel) set acceleration profile 0
    (II) PS/2 Generic Mouse: initialized for relative axes.
    (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
    (II) Synaptics touchpad driver version 1.1.3
    (**) Option "Device" "/dev/input/event5"
    (II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
    (II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
    (II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    (II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
    (II) SynPS/2 Synaptics TouchPad: buttons: left right middle
    (**) Option "TapButton1" "1"
    (**) Option "TapButton2" "2"
    (**) Option "TapButton3" "3"
    (--) SynPS/2 Synaptics TouchPad: touchpad found
    (**) SynPS/2 Synaptics TouchPad: always reports core events
    (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
    (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    (**) SynPS/2 Synaptics TouchPad: (accel) filter chain progression: 2.00
    (**) SynPS/2 Synaptics TouchPad: (accel) filter stage 0: 20.00 ms
    (**) SynPS/2 Synaptics TouchPad: (accel) set acceleration profile 0
    (--) SynPS/2 Synaptics TouchPad: touchpad found
    (II) config/hal: Adding input device AT Raw Set 2 keyboard
    (**) AT Raw Set 2 keyboard: always reports core events
    (**) AT Raw Set 2 keyboard: Device: "/dev/input/event12"
    (II) AT Raw Set 2 keyboard: Found keys
    (II) AT Raw Set 2 keyboard: Configuring as keyboard
    (II) XINPUT: Adding extended input device "AT Raw Set 2 keyboard" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) config/hal: removing device AT Raw Set 2 keyboard
    (II) AT Raw Set 2 keyboard: Close
    (II) UnloadModule: "evdev"
    (II) config/hal: removing device PS/2 Generic Mouse
    (II) PS/2 Generic Mouse: Close
    (II) UnloadModule: "evdev"
    (II) config/hal: removing device SynPS/2 Synaptics TouchPad
    (II) UnloadModule: "synaptics"
    (II) config/hal: removing device Logitech VoIP USB Dual RF Receiver
    (II) Logitech VoIP USB Dual RF Receiver: Close
    (II) UnloadModule: "evdev"
    (II) Open ACPI successful (/var/run/acpid.socket)
    (II) intel(0): No memory allocations
    (II) Macintosh mouse button emulation: Device reopened after 1 attempts.
    (II) UVC Camera (05ca:183f): Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) Video Bus: Device reopened after 1 attempts.
    (II) Power Button: Device reopened after 1 attempts.
    (II) Sony Vaio Keys: Device reopened after 1 attempts.
    (II) config/hal: removing device Logitech VoIP USB Dual RF Receiver
    (II) Logitech VoIP USB Dual RF Receiver: Close
    (II) UnloadModule: "evdev"
    (II) config/hal: Adding input device PS/2 Generic Mouse
    (**) PS/2 Generic Mouse: always reports core events
    (**) PS/2 Generic Mouse: Device: "/dev/input/event1"
    (II) PS/2 Generic Mouse: Found 3 mouse buttons
    (II) PS/2 Generic Mouse: Found x and y relative axes
    (II) PS/2 Generic Mouse: Configuring as mouse
    (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
    (**) PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE)
    (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
    (**) PS/2 Generic Mouse: (accel) filter chain progression: 2.00
    (**) PS/2 Generic Mouse: (accel) filter stage 0: 20.00 ms
    (**) PS/2 Generic Mouse: (accel) set acceleration profile 0
    (II) PS/2 Generic Mouse: initialized for relative axes.
    (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
    (II) Synaptics touchpad driver version 1.1.3
    (**) Option "Device" "/dev/input/event3"
    (II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
    (II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
    (II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
    (II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
    (II) SynPS/2 Synaptics TouchPad: buttons: left right middle
    (**) Option "TapButton1" "1"
    (**) Option "TapButton2" "2"
    (**) Option "TapButton3" "3"
    (--) SynPS/2 Synaptics TouchPad: touchpad found
    (**) SynPS/2 Synaptics TouchPad: always reports core events
    (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
    (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
    (**) SynPS/2 Synaptics TouchPad: (accel) filter chain progression: 2.00
    (**) SynPS/2 Synaptics TouchPad: (accel) filter stage 0: 20.00 ms
    (**) SynPS/2 Synaptics TouchPad: (accel) set acceleration profile 0
    (--) SynPS/2 Synaptics TouchPad: touchpad found
    (II) config/hal: Adding input device Logitech VoIP USB Dual RF Receiver
    (**) Logitech VoIP USB Dual RF Receiver: always reports core events
    (**) Logitech VoIP USB Dual RF Receiver: Device: "/dev/input/event4"
    (II) Logitech VoIP USB Dual RF Receiver: Found keys
    (II) Logitech VoIP USB Dual RF Receiver: Configuring as keyboard
    (II) XINPUT: Adding extended input device "Logitech VoIP USB Dual RF Receiver" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (II) config/hal: Adding input device Logitech VoIP USB Dual RF Receiver
    (**) Logitech VoIP USB Dual RF Receiver: always reports core events
    (**) Logitech VoIP USB Dual RF Receiver: Device: "/dev/input/event5"
    (II) Logitech VoIP USB Dual RF Receiver: Found 12 mouse buttons
    (II) Logitech VoIP USB Dual RF Receiver: Found x and y relative axes
    (II) Logitech VoIP USB Dual RF Receiver: Found scroll wheel(s)
    (II) Logitech VoIP USB Dual RF Receiver: Found keys
    (II) Logitech VoIP USB Dual RF Receiver: Configuring as mouse
    (II) Logitech VoIP USB Dual RF Receiver: Configuring as keyboard
    (**) Logitech VoIP USB Dual RF Receiver: YAxisMapping: buttons 4 and 5
    (**) Logitech VoIP USB Dual RF Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "Logitech VoIP USB Dual RF Receiver" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Option "xkb_model" "evdev"
    (**) Option "xkb_layout" "us"
    (**) Logitech VoIP USB Dual RF Receiver: (accel) keeping acceleration scheme 1
    (**) Logitech VoIP USB Dual RF Receiver: (accel) filter chain progression: 2.00
    (**) Logitech VoIP USB Dual RF Receiver: (accel) filter stage 0: 20.00 ms
    (**) Logitech VoIP USB Dual RF Receiver: (accel) set acceleration profile 0
    (II) Logitech VoIP USB Dual RF Receiver: initialized for relative axes.
    cat /var/log/kernel.log
    Oct 4 13:33:04 ArchTiger kernel: PM: Syncing filesystems ... done.
    Oct 4 13:33:04 ArchTiger kernel: Freezing user space processes ... (elapsed 0.00 seconds) done.
    Oct 4 13:33:04 ArchTiger kernel: Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
    Oct 4 13:33:04 ArchTiger kernel: Suspending console(s) (use no_console_suspend to debug)
    Oct 4 13:33:04 ArchTiger kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
    Oct 4 13:33:04 ArchTiger kernel: sd 0:0:0:0: [sda] Stopping disk
    Oct 4 13:33:04 ArchTiger kernel: ACPI handle has no context!
    Oct 4 13:33:04 ArchTiger kernel: sdhci-pci 0000:06:02.1: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: sdhci-pci 0000:06:02.1: PCI INT B disabled
    Oct 4 13:33:04 ArchTiger kernel: ACPI handle has no context!
    Oct 4 13:33:04 ArchTiger kernel: ACPI handle has no context!
    Oct 4 13:33:04 ArchTiger kernel: sky2 0000:02:00.0: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1d.7: PCI INT A disabled
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1d.7: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.2: PCI INT D disabled
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.1: PCI INT B disabled
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.0: PCI INT A disabled
    Oct 4 13:33:04 ArchTiger kernel: HDA Intel 0000:00:1b.0: PCI INT A disabled
    Oct 4 13:33:04 ArchTiger kernel: ACPI handle has no context!
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1a.7: PCI INT D disabled
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1a.7: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1a.1: PCI INT B disabled
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1a.0: PCI INT A disabled
    Oct 4 13:33:04 ArchTiger kernel: [drm:gm45_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
    Oct 4 13:33:04 ArchTiger kernel: ACPI: Preparing to enter system sleep state S3
    Oct 4 13:33:04 ArchTiger kernel: Disabling non-boot CPUs ...
    Oct 4 13:33:04 ArchTiger kernel: CPU 1 is now offline
    Oct 4 13:33:04 ArchTiger kernel: SMP alternatives: switching to UP code
    Oct 4 13:33:04 ArchTiger kernel: CPU0 attaching NULL sched-domain.
    Oct 4 13:33:04 ArchTiger kernel: CPU1 attaching NULL sched-domain.
    Oct 4 13:33:04 ArchTiger kernel: CPU0 attaching NULL sched-domain.
    Oct 4 13:33:04 ArchTiger kernel: CPU1 is down
    Oct 4 13:33:04 ArchTiger kernel: Extended CMOS year: 2000
    Oct 4 13:33:04 ArchTiger kernel: x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
    Oct 4 13:33:04 ArchTiger kernel: Intel machine check architecture supported.
    Oct 4 13:33:04 ArchTiger kernel: Intel machine check reporting enabled on CPU#0.
    Oct 4 13:33:04 ArchTiger kernel: Back to C!
    Oct 4 13:33:04 ArchTiger kernel: Extended CMOS year: 2000
    Oct 4 13:33:04 ArchTiger kernel: Enabling non-boot CPUs ...
    Oct 4 13:33:04 ArchTiger kernel: SMP alternatives: switching to SMP code
    Oct 4 13:33:04 ArchTiger kernel: Booting processor 1 APIC 0x1 ip 0x6000
    Oct 4 13:33:04 ArchTiger kernel: Initializing CPU#1
    Oct 4 13:33:04 ArchTiger kernel: Calibrating delay using timer specific routine.. 5059.62 BogoMIPS (lpj=8429792)
    Oct 4 13:33:04 ArchTiger kernel: CPU: L1 I cache: 32K, L1 D cache: 32K
    Oct 4 13:33:04 ArchTiger kernel: CPU: L2 cache: 6144K
    Oct 4 13:33:04 ArchTiger kernel: CPU: Physical Processor ID: 0
    Oct 4 13:33:04 ArchTiger kernel: CPU: Processor Core ID: 1
    Oct 4 13:33:04 ArchTiger kernel: Intel machine check architecture supported.
    Oct 4 13:33:04 ArchTiger kernel: Intel machine check reporting enabled on CPU#1.
    Oct 4 13:33:04 ArchTiger kernel: x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
    Oct 4 13:33:04 ArchTiger kernel: CPU1: Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz stepping 06
    Oct 4 13:33:04 ArchTiger kernel: CPU0 attaching NULL sched-domain.
    Oct 4 13:33:04 ArchTiger kernel: Switched to high resolution mode on CPU 1
    Oct 4 13:33:04 ArchTiger kernel: CPU0 attaching sched-domain:
    Oct 4 13:33:04 ArchTiger kernel: domain 0: span 0-1 level MC
    Oct 4 13:33:04 ArchTiger kernel: groups: 0 1
    Oct 4 13:33:04 ArchTiger kernel: CPU1 attaching sched-domain:
    Oct 4 13:33:04 ArchTiger kernel: domain 0: span 0-1 level MC
    Oct 4 13:33:04 ArchTiger kernel: groups: 1 0
    Oct 4 13:33:04 ArchTiger kernel: CPU1 is up
    Oct 4 13:33:04 ArchTiger kernel: ACPI: Waking up from system sleep state S3
    Oct 4 13:33:04 ArchTiger kernel: i915 0000:00:02.0: restoring config space at offset 0x6 (was 0xc, writing 0xc000000c)
    Oct 4 13:33:04 ArchTiger kernel: i915 0000:00:02.0: restoring config space at offset 0x1 (was 0x900007, writing 0x900407)
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1a.0: restoring config space at offset 0x1 (was 0x2900005, writing 0x2900001)
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1a.1: restoring config space at offset 0x1 (was 0x2900005, writing 0x2900001)
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1a.7: restoring config space at offset 0x1 (was 0x2900006, writing 0x2900002)
    Oct 4 13:33:04 ArchTiger kernel: HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x1ff)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.0: restoring config space at offset 0x9 (was 0x10001, writing 0xd131d041)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.0: restoring config space at offset 0x8 (was 0x0, writing 0xd670d570)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.0: restoring config space at offset 0x7 (was 0x20000000, writing 0x5040)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.0: restoring config space at offset 0x6 (was 0x0, writing 0x20200)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.2: restoring config space at offset 0xf (was 0x300, writing 0x3ff)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.2: restoring config space at offset 0x9 (was 0x10001, writing 0xd231d141)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.2: restoring config space at offset 0x8 (was 0x0, writing 0xd560d460)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.2: restoring config space at offset 0x7 (was 0x20000000, writing 0x3030)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.2: restoring config space at offset 0x6 (was 0x0, writing 0x30300)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.2: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.4: restoring config space at offset 0xf (was 0x100, writing 0x1ff)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.4: restoring config space at offset 0x9 (was 0x10001, writing 0xd331d241)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.4: restoring config space at offset 0x8 (was 0x0, writing 0xd450d360)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.4: restoring config space at offset 0x7 (was 0x20000000, writing 0x2020)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.4: restoring config space at offset 0x6 (was 0x0, writing 0x50400)
    Oct 4 13:33:04 ArchTiger kernel: pcieport-driver 0000:00:1c.4: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.0: restoring config space at offset 0x1 (was 0x2900005, writing 0x2900001)
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.1: restoring config space at offset 0x1 (was 0x2900005, writing 0x2900001)
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.2: restoring config space at offset 0x1 (was 0x2900005, writing 0x2900001)
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1d.7: restoring config space at offset 0x1 (was 0x2900006, writing 0x2900002)
    Oct 4 13:33:04 ArchTiger kernel: pci 0000:00:1e.0: restoring config space at offset 0x9 (was 0x10001, writing 0x1fff1)
    Oct 4 13:33:04 ArchTiger kernel: pci 0000:00:1e.0: restoring config space at offset 0x8 (was 0x0, writing 0xd350d350)
    Oct 4 13:33:04 ArchTiger kernel: pci 0000:00:1e.0: restoring config space at offset 0x7 (was 0x22800000, writing 0x228000f0)
    Oct 4 13:33:04 ArchTiger kernel: pci 0000:00:1e.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
    Oct 4 13:33:04 ArchTiger kernel: ahci 0000:00:1f.2: restoring config space at offset 0x1 (was 0x2b00007, writing 0x2b00407)
    Oct 4 13:33:04 ArchTiger kernel: sky2 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
    Oct 4 13:33:04 ArchTiger kernel: sky2 0000:02:00.0: restoring config space at offset 0x6 (was 0x1, writing 0x4001)
    Oct 4 13:33:04 ArchTiger kernel: sky2 0000:02:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xd5700004)
    Oct 4 13:33:04 ArchTiger kernel: sky2 0000:02:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
    Oct 4 13:33:04 ArchTiger kernel: iwlagn 0000:03:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
    Oct 4 13:33:04 ArchTiger kernel: iwlagn 0000:03:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xd4600004)
    Oct 4 13:33:04 ArchTiger kernel: iwlagn 0000:03:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100406)
    Oct 4 13:33:04 ArchTiger kernel: ohci1394 0000:06:02.0: restoring config space at offset 0x3 (was 0x800000, writing 0x804000)
    Oct 4 13:33:04 ArchTiger kernel: ohci1394 0000:06:02.0: restoring config space at offset 0x1 (was 0x2100000, writing 0x2100006)
    Oct 4 13:33:04 ArchTiger kernel: sdhci-pci 0000:06:02.1: restoring config space at offset 0x4 (was 0x0, writing 0xd3500900)
    Oct 4 13:33:04 ArchTiger kernel: sdhci-pci 0000:06:02.1: restoring config space at offset 0x3 (was 0x800000, writing 0x804000)
    Oct 4 13:33:04 ArchTiger kernel: sdhci-pci 0000:06:02.1: restoring config space at offset 0x1 (was 0x2100000, writing 0x2100006)
    Oct 4 13:33:04 ArchTiger kernel: pci 0000:06:02.2: restoring config space at offset 0x4 (was 0x0, writing 0xd3500800)
    Oct 4 13:33:04 ArchTiger kernel: pci 0000:06:02.2: restoring config space at offset 0x1 (was 0x2100000, writing 0x2100006)
    Oct 4 13:33:04 ArchTiger kernel: i915 0000:00:02.0: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: pci 0000:00:02.1: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1a.0: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: usb usb3: root hub lost power or was reset
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1a.1: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: usb usb4: root hub lost power or was reset
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1a.7: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1a.7: PCI INT D -> GSI 19 (level, low) -> IRQ 19
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1a.7: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1a.7: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    Oct 4 13:33:04 ArchTiger kernel: HDA Intel 0000:00:1b.0: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.0: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: usb usb5: root hub lost power or was reset
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.1: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: usb usb6: root hub lost power or was reset
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.2: PCI INT D -> GSI 16 (level, low) -> IRQ 16
    Oct 4 13:33:04 ArchTiger kernel: uhci_hcd 0000:00:1d.2: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: usb usb7: root hub lost power or was reset
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1d.7: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1d.7: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: ehci_hcd 0000:00:1d.7: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: pci 0000:00:1e.0: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: ahci 0000:00:1f.2: setting latency timer to 64
    Oct 4 13:33:04 ArchTiger kernel: sky2 0000:02:00.0: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: iwlagn 0000:03:00.0: Radio Frequency Kill Switch is On:
    Oct 4 13:33:04 ArchTiger kernel: Kill switch must be turned off for wireless networking to work.
    Oct 4 13:33:04 ArchTiger kernel: ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[16] MMIO=[d3500000-d35007ff] Max Packet=[2048] IR/IT contexts=[4/4]
    Oct 4 13:33:04 ArchTiger kernel: sdhci-pci 0000:06:02.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    Oct 4 13:33:04 ArchTiger kernel: sdhci-pci 0000:06:02.1: Will use DMA mode even though HW doesn't fully claim to support it.
    Oct 4 13:33:04 ArchTiger kernel: pci 0000:06:02.2: PME# disabled
    Oct 4 13:33:04 ArchTiger kernel: sd 0:0:0:0: [sda] Starting disk
    Oct 4 13:33:04 ArchTiger kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    Oct 4 13:33:04 ArchTiger kernel: ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
    Oct 4 13:33:04 ArchTiger kernel: ata1.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
    Oct 4 13:33:04 ArchTiger kernel: ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    Oct 4 13:33:04 ArchTiger kernel: ata1.00: configured for UDMA/133
    Oct 4 13:33:04 ArchTiger kernel: ata2.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
    Oct 4 13:33:04 ArchTiger kernel: pm_op(): usb_dev_resume+0x0/0x30 [usbcore] returns -19
    Oct 4 13:33:04 ArchTiger kernel: PM: Device 5-1 failed to resume: error -19
    Oct 4 13:33:04 ArchTiger kernel: pm_op(): usb_dev_resume+0x0/0x30 [usbcore] returns -19
    Oct 4 13:33:04 ArchTiger kernel: PM: Device 5-1.1 failed to resume: error -19
    Oct 4 13:33:04 ArchTiger kernel: pm_op(): usb_dev_resume+0x0/0x30 [usbcore] returns -19
    Oct 4 13:33:04 ArchTiger kernel: PM: Device 5-1.2 failed to resume: error -19
    Oct 4 13:33:04 ArchTiger kernel: Restarting tasks ... <6>usb 5-1: USB disconnect, address 2
    Oct 4 13:33:04 ArchTiger kernel: usb 5-1.1: USB disconnect, address 3
    Oct 4 13:33:04 ArchTiger kernel: done.
    Oct 4 13:33:04 ArchTiger kernel: usb 5-1.2: USB disconnect, address 4
    Oct 4 13:33:05 ArchTiger kernel: i8042.c: Detected active multiplexing controller, rev 1.1.
    Oct 4 13:33:05 ArchTiger kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
    Oct 4 13:33:05 ArchTiger kernel: serio: i8042 AUX0 port at 0x60,0x64 irq 12
    Oct 4 13:33:05 ArchTiger kernel: serio: i8042 AUX1 port at 0x60,0x64 irq 12
    Oct 4 13:33:05 ArchTiger kernel: serio: i8042 AUX2 port at 0x60,0x64 irq 12
    Oct 4 13:33:05 ArchTiger kernel: serio: i8042 AUX3 port at 0x60,0x64 irq 12
    Oct 4 13:33:05 ArchTiger kernel: sky2 eth0: enabling interface
    Oct 4 13:33:05 ArchTiger kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
    Oct 4 13:33:05 ArchTiger kernel: iwlagn 0000:03:00.0: Radio disabled by HW RF Kill switch
    Oct 4 13:33:05 ArchTiger kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Oct 4 13:33:05 ArchTiger kernel: wlan0: Failed to config new BSSID to the low-level driver
    Oct 4 13:33:05 ArchTiger kernel: wlan0: direct probe to AP 00:22:75:4c:36:15 try 1
    Oct 4 13:33:05 ArchTiger kernel: CPU0 attaching NULL sched-domain.
    Oct 4 13:33:05 ArchTiger kernel: CPU1 attaching NULL sched-domain.
    Oct 4 13:33:05 ArchTiger kernel: CPU0 attaching sched-domain:
    Oct 4 13:33:05 ArchTiger kernel: domain 0: span 0-1 level MC
    Oct 4 13:33:05 ArchTiger kernel: groups: 0 1
    Oct 4 13:33:05 ArchTiger kernel: CPU1 attaching sched-domain:
    Oct 4 13:33:05 ArchTiger kernel: domain 0: span 0-1 level MC
    Oct 4 13:33:05 ArchTiger kernel: groups: 1 0
    Oct 4 13:33:05 ArchTiger kernel: wlan0: direct probe to AP 00:22:75:4c:36:15 try 2
    Oct 4 13:33:05 ArchTiger kernel: wlan0: direct probe to AP 00:22:75:4c:36:15 try 3
    Oct 4 13:33:05 ArchTiger kernel: wlan0: direct probe to AP 00:22:75:4c:36:15 timed out
    Oct 4 13:33:06 ArchTiger kernel: psmouse serio22: ID: 10 00 64
    Oct 4 13:33:06 ArchTiger kernel: sky2 eth0: Link is up at 100 Mbps, full duplex, flow control both
    Oct 4 13:33:06 ArchTiger kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Oct 4 13:33:07 ArchTiger kernel: input: PS/2 Generic Mouse as /devices/platform/i8042/serio22/input/input23
    Oct 4 13:33:07 ArchTiger kernel: Synaptics Touchpad, model: 1, fw: 7.0, id: 0x1c0b1, caps: 0xd04711/0xa00000
    Oct 4 13:33:07 ArchTiger kernel: input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio24/input/input24
    Oct 4 13:33:08 ArchTiger kernel: ata2.00: qc timeout (cmd 0xef)
    Oct 4 13:33:08 ArchTiger kernel: ata2.00: failed to set xfermode (err_mask=0x4)
    Oct 4 13:33:09 ArchTiger kernel: ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    Oct 4 13:33:09 ArchTiger kernel: ata2.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
    Oct 4 13:33:09 ArchTiger kernel: ata2.00: ACPI cmd f5/00:00:00:00:00:a0 filtered out
    Oct 4 13:33:09 ArchTiger kernel: ata2.00: configured for UDMA/33
    Oct 4 13:33:09 ArchTiger kernel: ata2: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0x18 t4
    Oct 4 13:33:09 ArchTiger kernel: ata2: irq_stat 0x40000001
    Oct 4 13:33:09 ArchTiger kernel: ata2: EH complete
    Oct 4 13:33:10 ArchTiger kernel: psmouse.c: Mouse at isa0060/serio2/input0 lost synchronization, throwing 2 bytes away.
    Oct 4 13:33:17 ArchTiger kernel: eth0: no IPv6 routers present
    Oct 4 13:33:29 ArchTiger kernel: psmouse.c: Mouse at isa0060/serio2/input0 lost synchronization, throwing 1 bytes away.
    Oct 4 13:33:30 ArchTiger kernel: psmouse.c: Mouse at isa0060/serio2/input0 lost synchronization, throwing 2 bytes away.
    Oct 4 13:33:32 ArchTiger kernel: psmouse.c: Mouse at isa0060/serio2/input0 lost synchronization, throwing 2 bytes away.
    Oct 4 13:34:04 ArchTiger kernel: usb 5-1: new full speed USB device using uhci_hcd and address 5
    Oct 4 13:34:04 ArchTiger kernel: usb 5-1: configuration #1 chosen from 1 choice
    Oct 4 13:34:04 ArchTiger kernel: hub 5-1:1.0: USB hub found
    Oct 4 13:34:04 ArchTiger kernel: hub 5-1:1.0: 2 ports detected
    Oct 4 13:34:04 ArchTiger kernel: usb 5-1.1: new full speed USB device using uhci_hcd and address 6
    Oct 4 13:34:05 ArchTiger kernel: usb 5-1.1: configuration #1 chosen from 1 choice
    Oct 4 13:34:05 ArchTiger kernel: input: Logitech VoIP USB Dual RF Receiver as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1.1/5-1.1:1.0/input/input25
    Oct 4 13:34:05 ArchTiger kernel: generic-usb 0003:046D:C51C.0003: input,hidraw0: USB HID v1.11 Keyboard [Logitech VoIP USB Dual RF Receiver] on usb-0000:00:1d.0-1.1/input0
    Oct 4 13:34:05 ArchTiger kernel: input: Logitech VoIP USB Dual RF Receiver as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1.1/5-1.1:1.1/input/input26
    Oct 4 13:34:05 ArchTiger kernel: generic-usb 0003:046D:C51C.0004: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech VoIP USB Dual RF Receiver] on usb-0000:00:1d.0-1.1/input1
    Oct 4 13:34:05 ArchTiger kernel: usb 5-1.2: new full speed USB device using uhci_hcd and address 7
    Oct 4 13:34:05 ArchTiger kernel: usb 5-1.2: configuration #1 chosen from 1 choice
    cat /var/log/pm-suspend.log
    Initial commandline parameters:
    Sun Oct 4 13:34:08 EDT 2009: Running hooks for suspend.
    /usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: Adding quirks from HAL: --quirk-dpms-on --quirk-dpms-suspend --quirk-vbe-post --quirk-vbemode-restore --quirk-vbestate-restore --quirk-vga-mode-3
    success.
    /usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux ArchTiger 2.6.30-ARCH #1 SMP PREEMPT Wed Sep 9 12:37:32 UTC 2009 i686 Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz GenuineIntel GNU/Linux
    Module Size Used by
    sony_laptop 29520 0
    vboxdrv 134376 0
    ipv6 277876 14
    fuse 60896 2
    fan 4392 0
    msr 3240 0
    cpufreq_ondemand 7672 2
    acpi_cpufreq 8624 0
    freq_table 3716 2 cpufreq_ondemand,acpi_cpufreq
    snd_seq_dummy 2696 0
    snd_seq_oss 31168 0
    snd_seq_midi_event 7012 1 snd_seq_oss
    snd_seq 53744 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
    arc4 1732 2
    ecb 2788 2
    iwlagn 95208 0
    sdhci_pci 7300 0
    sdhci 17128 1 sdhci_pci
    iwlcore 96132 1 iwlagn
    mac80211 182976 2 iwlagn,iwlcore
    snd_pcm_oss 40352 0
    ohci1394 30196 0
    mmc_core 52704 1 sdhci
    snd_mixer_oss 17540 1 snd_pcm_oss
    led_class 3976 2 sdhci,iwlcore
    ieee1394 85324 1 ohci1394
    battery 10984 0
    ac 4360 0
    cfg80211 67364 3 iwlagn,iwlcore,mac80211
    rfkill 10640 5 sony_laptop,iwlcore
    thermal 13888 0
    button 5556 0
    snd_hda_codec_realtek 206568 1
    snd_usb_audio 86304 3
    snd_usb_lib 17252 1 snd_usb_audio
    snd_rawmidi 21856 1 snd_usb_lib
    snd_seq_device 6768 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
    i915 184872 2
    processor 35864 3 acpi_cpufreq
    joydev 10400 0
    drm 154656 2 i915
    snd_hda_intel 26664 2
    snd_hda_codec 71716 2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep 7656 2 snd_usb_audio,snd_hda_codec
    snd_pcm 73512 6 snd_pcm_oss,snd_usb_audio,snd_hda_intel,snd_hda_codec
    snd_timer 21100 2 snd_seq,snd_pcm
    snd 58436 21 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_usb_audio,snd_rawmidi,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
    snd_page_alloc 8876 2 snd_hda_intel,snd_pcm
    usbhid 40608 0
    hid 42496 1 usbhid
    i2c_algo_bit 5864 1 i915
    uvcvideo 61040 0
    videodev 36544 1 uvcvideo
    v4l1_compat 15688 2 uvcvideo,videodev
    video 19832 1 i915
    btusb 12632 0
    bluetooth 56676 1 btusb
    output 2884 1 video
    psmouse 59644 0
    i2c_i801 9656 0
    i2c_core 22776 4 i915,drm,i2c_algo_bit,i2c_i801
    intel_agp 27484 1
    agpgart 32756 2 drm,intel_agp
    sg 27928 0
    iTCO_wdt 10952 0
    iTCO_vendor_support 3080 1 iTCO_wdt
    serio_raw 5704 0
    bridge 54008 0
    sky2 47240 0
    evdev 10176 19
    stp 2088 1 bridge
    llc 5552 2 bridge,stp
    tun 13572 0
    soundcore 6784 1 snd
    rtc_cmos 11212 0
    rtc_core 18048 1 rtc_cmos
    rtc_lib 2500 1 rtc_core
    ext3 134380 3
    jbd 48504 1 ext3
    mbcache 7080 1 ext3
    sr_mod 16612 0
    cdrom 36032 1 sr_mod
    sd_mod 27328 5
    uhci_hcd 23540 0
    ehci_hcd 36112 0
    usbcore 150160 8 snd_usb_audio,snd_usb_lib,usbhid,uvcvideo,btusb,uhci_hcd,ehci_hcd
    ahci 34004 4
    libata 168044 1 ahci
    scsi_mod 110708 4 sg,sr_mod,sd_mod,libata
    total used free shared buffers cached
    Mem: 2980024 2880848 99176 0 108764 2400148
    -/+ buffers/cache: 371936 2608088
    Swap: 1052216 0 1052216
    success.
    Let me know, if you need any other output.
    Thanks
    Last edited by Sir_Leon (2009-10-04 17:56:47)

  • [SOLVED]Will WOL ever work again after suspend to RAM on my server?

    I used Ubuntu on this server for a long while and had WOL working after 'suspend to RAM' and after a 'shutdown -h'. Suddenly with 10.10 WOL after 'suspend to RAM' stopped working, WOL after 'shutdown -h' was still working fine, so I used that for the time being. Some days ago I thought, "well, you use Arch on your laptop for years now, so why not try it on your server, you don't like fixed release cycles anyway and Samba on Ubuntu never worked reliably on this machine, too'. So after a little fiddling to install Arch on this server and following the pm-utils entry on the Arch Wiki I am now at exactly the same position as before, WOL after 'suspend to RAM' doesn't work while WOL after a 'shutdown -h' works. The funny thing is that if I stop the network service before calling 'pm-suspend' on the server directly I can wake it with a WOL command from my laptop. I checked (via ethtool) and saw that disabling the network actually leaves the wol flag for the network card on g, but starting the network service again sets it to d. I have read many howtos and forum posts, but am at a loss right now.
    Does anyone have hints or an idea to where to look now?
    EDIT: Oh man, could this have really been so easy?
    It turns out that I simply need to stop the network service at suspend and start it again at resume, I don't even need to unload the driver module of my network card, doh. What put me off track were all my previous attempts under Ubuntu where I had tried the same thing following provided means (trough acpi) of the distro, seems I messed up there or the documentation was out of date. I now just created a hook completely myself following the Arch documentation for pm-utils and it works now!
    [root@archi ~]# cat /etc/pm/sleep.d/Start_and_stop_network_service
    #!/bin/bash
    case $1 in
    hibernate)
    echo "You didn't really call hibernate?"
    suspend)
    echo "Stop the network service"
    /etc/rc.d/network stop;
    thaw)
    echo "oh, suspend to disk is over, we are resuming..."
    resume)
    echo "Start the network service again"
    /etc/rc.d/network start;
    /usr/sbin/ethtool -s eth0 wol g;
    *) echo "somebody is calling me totally wrong."
    esac
    I also have to re-enable wol in the script, and at a cold boot I do the same through '/etc/rc.local'.
    Last edited by signor_rossi (2011-05-10 19:44:07)

    I agree iMessage is the worst thing Apple have done! Took me 3 days to work out why my text messages were not being sent, more oddly, text message were apearing on my Ipad whcih is is not the 3g model! just switch it off insettings. Other than the iOS 7 is pretty good!

  • Bluetooth and GT750M is not working after suspending to RAM.

    Hello! I am yet another lucky owner of laptop with optimus Intel+nVidia technology. I had really frustrating issue with Bumblebee because my nvidia just randomly refused to change power state in the past, luckly after a few months someone added workaround to the Bumblebee's troubleshooting section on ArchWiki and it worked flawlessly for a while. But now, most likely because of some kernel updates, I'm experiencing similar issue with both Bluetooth and nvidia card but this time only after suspending to RAM.
    % optirun glxgears
    [12125.501131] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
    [12125.501173] [ERROR]Aborting because fallback start is disabled.
    % bluetooth
    bluetooth = on
    % bluetoothctl
    [bluetooth]# devices
    [bluetooth]# power on
    No default controller available
    [bluetooth]#
    Some relevant outputs:
    % dmesg | grep -i bluetooth
    [ 5.827610] Bluetooth: Core ver 2.19
    [ 5.827633] Bluetooth: HCI device and connection manager initialized
    [ 5.827641] Bluetooth: HCI socket layer initialized
    [ 5.827643] Bluetooth: L2CAP socket layer initialized
    [ 5.827649] Bluetooth: SCO socket layer initialized
    [ 9.006994] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 9.007003] Bluetooth: BNEP socket layer initialized
    [10940.998460] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096
    [10940.998468] Bluetooth: Loading patch file failed
    [10940.851853] wlp4s0: associated
    [10940.998460] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096
    [10940.998468] Bluetooth: Loading patch file failed
    [10940.998475] ath3k: probe of 1-4:1.0 failed with error -110
    [11094.380198] mce: [Hardware Error]: Machine check events logged
    dmesg messages after the "optirun glxgears":
    [12118.593906] bbswitch: enabling discrete graphics
    [12118.604058] pci 0000:01:00.0: Refused to change power state, currently in D3
    Any ideas what's going on? Thank you!

    ACTIVATING FACETIME AND IMESSAGES
    Activating Facetime and Imessages on your phone requires the ability to send SMS messages and depending upon where you are that might be an international SMS.  Check with your carrier to see if your plan supports sending of international SMS messages.  If you are having trouble activating Facetime or Imessages turn them both off on your device and reset the device (Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost)).  Wait for the device to restart and wait a minute and turn Facetime and imessage back on and wait for activation.  If that does not fix things read the following articles:
    http://support.apple.com/kb/TS4268
    http://support.apple.com/kb/ts3367

  • Error message after suspend to RAM on ThinkPad X230i

    Hi,
    I noticed there's alway an 'Unable to dock' error message after suspend
    to RAM:
        Arch kernel: ACPI: Low-level resume complete
        Arch kernel: PM: Restoring platform NVS memory
        Arch kernel: Enabling non-boot CPUs ...
        Arch kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
        CPU1 is up
        smpboot: Booting Node 0 Processor 2 APIC 0x2
        CPU2 is up
        smpboot: Booting Node 0 Processor 3 APIC 0x3
        CPU3 is up
        ACPI: Waking up from system sleep state S3
        ACPI: \_SB_.PCI0.LPC_.EC__.BAT1: docking
        ACPI: \_SB_.PCI0.LPC_.EC__.BAT1: Unable to dock!
    System info:
    ThinkPad X230i, Linux 3.9.9-1-ARCH, systemd 204-3,
    I have tried to set Handle{SuspendKey,HibernateKey,LidSwitch} all to
    ignore, but I still get the same error message. Any other solution to
    make that message disappear?
    Regards.
    Last edited by mert (2013-07-17 09:02:10)

    See http://forums.lenovo.com/t5/Linux-Discussion/T410-Ubuntu-Lucid-Two-Weeks-of-Use-the-Good-the-Bad-the... (the bit about USB after resume)

Maybe you are looking for

  • How to create a Z Function module for the standard FM VIEW_KURGV?

    Hi all, There is a requirement to the change the functionality of the standard FM VIEW_KURGV. This FM is being used in a Z report. Hence, I have a copied this FM to a Z FM ZVIEW_KURGV after having created the Z Function Group ZV05E. However, there ar

  • Report based on 2 different Fact tables

    Hi all Is it possible to make a report based on 2 Fact tables wich are not linked to exactly the same dimensions? FactTable1 : linked to Time,Product,Geography FactTable2: linked to only Time The FactTable2 will contain only one measure which is a co

  • How to make/save changes to the file - /etc/httpd/httpd.conf - in Terminal

    I'm new to Unix/Terminal and am attempting to make changes in the Apache Web server's configuation file - /etc/httpd/httpd.conf - so that I can use PHP locally. (The "LoadModule php4" has a "#" mark in front of it which I am attempting to remove.) Th

  • Can Target Disk Mode be run from an external hard drive?

    Hi My hard drive crashed on me the other day (again) and the apple genius told me all I could do was recover my data and send it in (again) QUESTION: Can target disk mode could be run using an external hard drive as opposed to another mac? If so, how

  • 15" MacBook Pro Unibody Replacement

    I dropped my MacBook Pro today and the unibody assembly/casing is dented.  Does anyone know of a good parts store for replacement parts? Thanks.