Cpufreq ignores ignore_nice_load switch

Hello everyone,
I set up frequency scaling for my Pentium M as described on the wiki (http://wiki.archlinux.org/index.php/CPU … cy_Scaling) and it mostly works. However, I'd like the ondemand governor to ignore nice'd processes, i.e. processes with a priority larger than 1. There is a switch for that in sysfs, and something like
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load
should toggle it. Unfortunately, my installation ignores it. Does anyone know more about this behaviour?
Many thanks
  Jürgen

Thank you sooo much! This was just the right hint to make my CPU scale correctly under stress.
Thanky a million times

Similar Messages

  • Satellite A200: no sleep mode and ignores screen switch off time.

    I have recently purchased a Satellite A200. It does not seem to have a 'sleep' mode and the power settings do not seem to work. i.e. I set the screen to go off after x minutes and it ignores it.
    Any help gratefully accepted.

    I remember reading somewhere that a wireless mouse driver caused this problem, and I would imagine other software can also stop the screen saver such as DVD players, so the best thing to do would be to run recovery.
    On my laptop, I run recovery by holding down the Zero key while powering on the machine, then releasing Zero when the Toshiba logo appears. This may work on your laptop as well, but make sure you backup your data first.

  • Post-ICS answer/ignore buttons switch sides

    I just discovered today that the call accept/ignore screens are totally different depending on whether the screen is locked when the call comes in. If the screen isn't locked, it looks like it used to, with "answer" on the left and "ignore" on the right. But if the screen is locked, first you have to hit the lock symbol, then you get different and smaller buttons, with "answer" on the right and "ignore" on the left.
    Is there a way to fix this? I just want to hit answer on the left all the time, the way it worked before the "upgrade."

        Hi, jfrazer2!
    I want you ensure you have the best experience possible! I did confirm on the Razr that you can answer a call, when when the screen is locked. What type of lock are you using? Face, pattern, PIN, etc? Does this happen when the screen is asleep, or when the screen is lit but locked? Keep me posted so I can assist further.
    Thanks,
    AdamE_VZW
    Follow us on Twitter @VZWSupport

  • TACACS+ timeout value ignored

    I'm running ACS 3.3. I have a bunch of Catalyst 3550 and 3560 switches, some running IOS 12.1(19)EA1c and others running IOS 12.2(20)SE1.
    All are configured for TACACS+ as follows:
    aaa new-model
    aaa authentication login default group tacacs+ line
    aaa authentication enable default group tacacs+ enable
    aaa authorization console
    aaa authorization exec default group tacacs+ if-authenticated none
    aaa authorization commands 15 default group tacacs+ if-authenticated none
    aaa accounting exec default stop-only group tacacs+
    aaa accounting commands 15 default stop-only group tacacs+
    aaa accounting system default stop-only group tacacs+
    tacacs-server host 10.1.1.1
    tacacs-server timeout 2
    tacacs-server directed-request
    tacacs-server key CISCO
    All works fine however the "timeout" value above seems to be ignored on switches running 12.2(20)SE1. It should be that if the TACACS+ server (10.1.1.1) goes down, the switch will fall back to using local authentication after 2 secs. However, it seems to be fixed at 30 secs.
    Note that it works fine on 12.1(19)EA1c but always seems fixed at 30 secs on 12.2(20)SE1. This makes it really annoying when TACACS+ is unavailable and you're trying to configure a switch, especially if you're doing command authorization.
    Wondering if anyone else has this problem and whether Cisco is aware of it?
    Thanks.
    PAUL G.

    You are possibly running into CSCed76124 - Tacacs-server timeout value ignored. I guess you will need to track it for a workaround or consider using another IOS version not affected with this defect.

  • Laptop-mode: Failed

    Hey there
    I recently installed laptop-mode-tools on my dell vostro 1520. I seems to work pretty good, however my error log shows me "laptop-mode: Failed". So my question is now, what does this mean an what could cause this error?
    Below is a verbose output of a laptop-mode start process:
    Nov 7 10:17:49 localhost laptop-mode: Determining power state from /sys/class/power_supply/ACAD/online.
    Nov 7 10:17:49 localhost laptop-mode: Not trying other options, already found a power supply.
    Nov 7 10:17:49 localhost laptop-mode: Battery level polling is disabled.
    Nov 7 10:17:49 localhost laptop-mode: Prelim lock acquisition on descriptor 8 with pid 3028
    Nov 7 10:17:49 localhost laptop-mode: Prelim lock acquisition on descriptor 9 with pid 3028
    Nov 7 10:17:49 localhost laptop-mode: Now invoking lmt_main_function with arguments -- auto
    Nov 7 10:17:49 localhost laptop-mode: On AC power: Deactivating, because ENABLE_LAPTOP_MODE_ON_AC is not set.
    Nov 7 10:17:49 localhost laptop-mode: Laptop mode
    Nov 7 10:17:49 localhost laptop-mode: Checking if desired state is different from current state.
    Nov 7 10:17:49 localhost laptop-mode: enabled, not active
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/ac97-powersave.
    Nov 7 10:17:49 localhost laptop-mode: AC97 power saving is not available. Perhaps CONFIG_SND_AC97_POWER_SAVE option
    Nov 7 10:17:49 localhost laptop-mode: is not set in the kernel config, or the snd_ac97_codec module is not loaded.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/battery-level-polling.
    Nov 7 10:17:49 localhost laptop-mode: Battery level polling is disabled.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/bluetooth.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/configuration-file-control.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/cpufreq.
    Nov 7 10:17:49 localhost laptop-mode: Setting CPU maximum frequency for cpu /sys/devices/system/cpu/cpu0 to 2534000.
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 2534000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
    Nov 7 10:17:49 localhost laptop-mode: Setting CPU minimum frequency for cpu /sys/devices/system/cpu/cpu0 to 800000.
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
    Nov 7 10:17:49 localhost laptop-mode: Setting CPU frequency governor for cpu /sys/devices/system/cpu/cpu0 to ondemand.
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    Nov 7 10:17:49 localhost laptop-mode: Not setting CPU ignore_nice_load for cpu /sys/devices/system/cpu/cpu0.
    Nov 7 10:17:49 localhost laptop-mode: File /sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load does not exist.
    Nov 7 10:17:49 localhost laptop-mode: Setting CPU maximum frequency for cpu /sys/devices/system/cpu/cpu1 to 2534000.
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 2534000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
    Nov 7 10:17:49 localhost laptop-mode: Setting CPU minimum frequency for cpu /sys/devices/system/cpu/cpu1 to 800000.
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 800000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
    Nov 7 10:17:49 localhost laptop-mode: Setting CPU frequency governor for cpu /sys/devices/system/cpu/cpu1 to ondemand.
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
    Nov 7 10:17:49 localhost laptop-mode: Not setting CPU ignore_nice_load for cpu /sys/devices/system/cpu/cpu1.
    Nov 7 10:17:49 localhost laptop-mode: File /sys/devices/system/cpu/cpu1/cpufreq/ondemand/ignore_nice_load does not exist.
    Nov 7 10:17:49 localhost laptop-mode: Setting CPU ignore_nice_load for all cpus
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 0 > /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/dpms-standby.
    Nov 7 10:17:49 localhost laptop-mode: Determining Xauthority for display 0
    Nov 7 10:17:49 localhost laptop-mode: Set screen :0 for the user roman to standby in 1200 s, suspend in 1500 s, powerdown in 1800 s using Xauthority /home/roman/.Xauthority
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/eee-superhe.
    Nov 7 10:17:49 localhost laptop-mode: Control file is /sys/devices/platform/eeepc/cpufv
    Nov 7 10:17:49 localhost laptop-mode: Platform does not support SuperHe
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/ethernet.
    Nov 7 10:17:49 localhost laptop-mode: ethernet: /sys/devices/pci0000:00/0000:00:1c.1/0000:08:00.0/net/eth0
    Nov 7 10:17:49 localhost laptop-mode: ethernet: /sys/devices/pci0000:00/0000:00:1c.1/0000:08:00.0
    Nov 7 10:17:49 localhost laptop-mode: /usr/share/laptop-mode-tools/modules/ethernet: line 74: ethtool: command not found
    Nov 7 10:17:49 localhost laptop-mode: Could not enable wakeup-on-LAN for eth0
    Nov 7 10:17:49 localhost laptop-mode: /usr/share/laptop-mode-tools/modules/ethernet: line 135: ethtool: command not found
    Nov 7 10:17:49 localhost laptop-mode: Could not set auto-negotiation to on for eth0
    Nov 7 10:17:49 localhost laptop-mode: /usr/share/laptop-mode-tools/modules/ethernet: line 145: ethtool: command not found
    Nov 7 10:17:49 localhost laptop-mode: Could not restore speed for eth0
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/exec-commands.
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Executing comand
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/hal-polling.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/hdparm.
    Nov 7 10:17:49 localhost laptop-mode: Setting powermanagement on drives to 254.
    Nov 7 10:17:49 localhost laptop-mode: Querying /dev/sda media type using udevinfo:
    Nov 7 10:17:49 localhost laptop-mode: type 'disk' on bus 'ata' detected
    Nov 7 10:17:49 localhost laptop-mode: Querying /dev/sda media type using udevinfo:
    Nov 7 10:17:49 localhost laptop-mode: type 'disk' on bus 'ata' detected
    Nov 7 10:17:49 localhost laptop-mode: Executing: hdparm -B 254 /dev/sda
    Nov 7 10:17:49 localhost laptop-mode:
    Nov 7 10:17:49 localhost laptop-mode: Setting spindown timeout on drives to 7200 seconds.
    Nov 7 10:17:49 localhost laptop-mode: (hdparm configuration value = 244.)
    Nov 7 10:17:49 localhost laptop-mode: Querying /dev/sda media type using udevinfo:
    Nov 7 10:17:49 localhost laptop-mode: type 'disk' on bus 'ata' detected
    Nov 7 10:17:49 localhost laptop-mode: Querying /dev/sda media type using udevinfo:
    Nov 7 10:17:49 localhost laptop-mode: type 'disk' on bus 'ata' detected
    Nov 7 10:17:49 localhost laptop-mode: Executing: hdparm -S 244 /dev/sda
    Nov 7 10:17:49 localhost laptop-mode:
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/intel-hda-powersave.
    Nov 7 10:17:49 localhost laptop-mode: Intel HDA power save mode disabled.
    Nov 7 10:17:49 localhost laptop-mode: Intel HDA Controller power save set to N.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/intel-sata-powermgmt.
    Nov 7 10:17:49 localhost laptop-mode: Intel SATA link power saving set to max_performance for /sys/class/scsi_host/host0/link_power_management_policy.
    Nov 7 10:17:49 localhost laptop-mode: Intel SATA link power saving set to max_performance for /sys/class/scsi_host/host1/link_power_management_policy.
    Nov 7 10:17:49 localhost laptop-mode: Intel SATA link power saving set to max_performance for /sys/class/scsi_host/host2/link_power_management_policy.
    Nov 7 10:17:49 localhost laptop-mode: Intel SATA link power saving set to max_performance for /sys/class/scsi_host/host3/link_power_management_policy.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/laptop-mode.
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 0 > /proc/sys/vm/laptop_mode
    Nov 7 10:17:49 localhost laptop-mode: Adjusting 2.6+ kernel parameters to disable laptop mode.
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 500 > /proc/sys/vm/dirty_writeback_centisecs
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 3000 > /proc/sys/vm/dirty_expire_centisecs
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 40 > /proc/sys/vm/dirty_ratio
    Nov 7 10:17:49 localhost laptop-mode: Executing: echo 10 > /proc/sys/vm/dirty_background_ratio
    Nov 7 10:17:49 localhost laptop-mode: Remounting filesystems.
    Nov 7 10:17:49 localhost laptop-mode: proc not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: /proc not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking proc against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: sys not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: /sys not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking sys against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: udev not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: /dev not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking udev against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: run not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: /run not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking run against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: /dev/disk/by-uuid/eee19e9b-0c32-452e-adb3-a43880fa4f7f not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: / not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking /dev/disk/by-uuid/eee19e9b-0c32-452e-adb3-a43880fa4f7f against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: devpts not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: /dev/pts not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking devpts against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: shm not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: /dev/shm not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking shm against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: tmpfs not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: /tmp not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking tmpfs against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: /dev/sda1 not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: /boot not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking /dev/sda1 against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: /dev/sda1 contains /dev/sda, which is in HD, so we will remount it.
    Nov 7 10:17:49 localhost laptop-mode: Original options: rw
    Nov 7 10:17:49 localhost laptop-mode: Reducing file system type.
    Nov 7 10:17:49 localhost laptop-mode: No saved mount options, so apparently we never remounted this filesystem during this session.
    Nov 7 10:17:49 localhost laptop-mode: Not remounting.
    Nov 7 10:17:49 localhost laptop-mode: Executing: /sbin/blockdev --setfra 256 /dev/sda1
    Nov 7 10:17:49 localhost laptop-mode: /dev/sda4 not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: /home not found in PARTITIONS.
    Nov 7 10:17:49 localhost laptop-mode: Checking /dev/sda4 against HD because PARTITIONS contains "auto".
    Nov 7 10:17:49 localhost laptop-mode: Considering /dev/sda.
    Nov 7 10:17:49 localhost laptop-mode: /dev/sda4 contains /dev/sda, which is in HD, so we will remount it.
    Nov 7 10:17:49 localhost laptop-mode: Original options: rw,commit=0
    Nov 7 10:17:49 localhost laptop-mode: Reducing file system type.
    Nov 7 10:17:49 localhost laptop-mode: No saved mount options, so apparently we never remounted this filesystem during this session.
    Nov 7 10:17:49 localhost laptop-mode: Not remounting.
    Nov 7 10:17:49 localhost laptop-mode: Executing: /sbin/blockdev --setfra 256 /dev/sda4
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/lcd-brightness.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/nmi-watchdog.
    Nov 7 10:17:49 localhost laptop-mode: On AC power: setting NMI Watchdog Timer to 1
    Nov 7 10:17:49 localhost laptop-mode: NMI Watchdog timer enabled
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/runtime-pm.
    Nov 7 10:17:49 localhost laptop-mode: Activating Runtime PM for device type PCI
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:00.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:01.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1a.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1a.1
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1a.2
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1a.7
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1b.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1c.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1c.1
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1c.2
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1c.3
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1c.4
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1c.5
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1d.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1d.1
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1d.2
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1d.7
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1e.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1f.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1f.2
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:00:1f.3
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:01:00.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:08:00.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:0e:00.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:1a:00.0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:1a:00.1
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/pci/devices/0000:1a:00.2
    Nov 7 10:17:49 localhost laptop-mode: Activating Runtime PM for device type SPI
    Nov 7 10:17:49 localhost laptop-mode: /sys/bus/spi/devices/* does not support Runtime PM
    Nov 7 10:17:49 localhost laptop-mode: Activating Runtime PM for device type i2c
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/i2c/devices/i2c-0
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/i2c/devices/i2c-1
    Nov 7 10:17:49 localhost laptop-mode: Setting Runtime PM auto for device /sys/bus/i2c/devices/i2c-2
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/sched-mc-power-savings.
    Nov 7 10:17:49 localhost laptop-mode: On AC power: setting scheduler power saving to 0.
    Nov 7 10:17:49 localhost laptop-mode: Scheduler power saving is not available.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/sched-smt-power-savings.
    Nov 7 10:17:49 localhost laptop-mode: On AC power: setting scheduler power saving to 0.
    Nov 7 10:17:49 localhost laptop-mode: Scheduler SMT power saving is not available.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/start-stop-programs.
    Nov 7 10:17:49 localhost laptop-mode: START_SERVICES =
    Nov 7 10:17:49 localhost laptop-mode: STOP_SERVICES =
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/syslog-conf.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/terminal-blanking.
    Nov 7 10:17:49 localhost laptop-mode: Set terminal blanking timeout to 10 min, powerdown timeout to 50 min.
    Nov 7 10:17:49 localhost laptop-mode: Terminal /dev/tty1 found, adjusting.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/usb-autosuspend.
    Nov 7 10:17:49 localhost laptop-mode: Disabling autosuspend mode for USBCORE Controller, with timeout 0.
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 1-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 1-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 2-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 2-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device 2-2.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device 2-2.
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 2-2:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 2-2:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 2-2:1.1
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 2-2:1.1
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 3-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 3-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 4-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 4-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device 4-1.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device 4-1.
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 4-1:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 4-1:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 4-1:1.1
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 4-1:1.1
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 5-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 5-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 6-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 6-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 7-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 7-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 8-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 8-0:1.0
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device 8-1.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device 8-1.
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device 8-1.1.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device 8-1.1.
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 8-1.1:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 8-1.1:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 8-1.1:1.1
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 8-1.1:1.1
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 8-1.1:1.2
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 8-1.1:1.2
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 8-1.1:1.3
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 8-1.1:1.3
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device 8-1.2.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device 8-1.2.
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 8-1.2:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 8-1.2:1.0
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device 8-1.3.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device 8-1.3.
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 8-1.3:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 8-1.3:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not disabling auto suspend mode for usb device 8-1:1.0
    Nov 7 10:17:49 localhost laptop-mode: Not enabling ON power level for usb device 8-1:1.0
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device usb1.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device usb1.
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device usb2.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device usb2.
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device usb3.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device usb3.
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device usb4.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device usb4.
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device usb5.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device usb5.
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device usb6.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device usb6.
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device usb7.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device usb7.
    Nov 7 10:17:49 localhost laptop-mode: Disabling auto suspend mode for usb device usb8.
    Nov 7 10:17:49 localhost laptop-mode: Enabling ON power level for usb device usb8.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/video-out.
    Nov 7 10:17:49 localhost laptop-mode: video-out module is disabled.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/wireless-ipw-power.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/wireless-iwl-power.
    Nov 7 10:17:49 localhost laptop-mode: Setting power levels for iwlwifi wireless interfaces.
    Nov 7 10:17:49 localhost laptop-mode: Invoking module /usr/share/laptop-mode-tools/modules/wireless-power.
    Nov 7 10:17:49 localhost laptop-mode: Setting power saving for generic wireless interfaces.
    Nov 7 10:17:49 localhost laptop-mode: On AC power: setting power saving mode for wlan0 to off.
    Nov 7 10:17:49 localhost laptop-mode: Failed.
    Nov 7 10:17:49 localhost laptop-mode: Module /usr/local/lib/laptop-mode-tools/modules/* is not executable or is to be skipped.
    Nov 7 10:17:49 localhost laptop-mode: Module /usr/local/share/laptop-mode-tools/modules/* is not executable or is to be skipped.
    Nov 7 10:17:49 localhost laptop-mode: Module /etc/laptop-mode/modules/* is not executable or is to be skipped.

    Try to reproduce:
    $ sudo iwconfig wlan0 power on
    Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; Operation not supported.
    This may mean that power management on the wlan hardware is not supported, and we should turn it off in /etc/laptop-mode/conf.d/wireless-power.conf:
    CONTROL_WIRELESS_POWER_SAVING=0
    Now I don't get the error anymore, and still in hope wireless saves power automagically.
    PS.
    Odd is that /etc/laptop-mode/modules/ is empty as all the other dirs mentioned in 3 latter log items.

  • Need help recovering from glibc upgrade [SOLVED]

    I recently did pacman -Syu on a system because I was having trouble with a softphone utility. I installed Arch on this laptop perhaps 6 months ago and have not done many upgrades since that time. Of course I've been waylaid by the recent glibc changes and I'm trying to recover. I think I've gotten a good deal of the way there by researching the issue and attempting a few solutions. But I'm quite confused by what I'm now seeing, so I want to ask for help here.
    First, let me point out that I posted in this forum yesterday about certain events that led to my problems--see that thread at https://bbs.archlinux.org/viewtopic.php?pid=1186089. Essentially, I followed the wrong set of instructions and did pacman -Syu --ignore glibc pacman -Su before doing pacman -U http://pkgbuild.com/~allan/glibc-2.16.0 … pkg.tar.xz. That broke pacman, which, being the most current version, was expecting that glibc version to be on the system.
    To remedy the problem I followed the procedure outlined in that thread--namely booting from a USB drive on the affected system and running pacman -U http://pkgbuild.com/~allan/glibc-2.16.0 … pkg.tar.xz --root /mnt/brokenRoot. Things kinda started to work then: pacman would run, but I noted that my mouse cursor was not responding. I decided to try and finish the upgrade and so ran pacman -Syu again using the --ignore glibc switch as suggested at https://wiki.archlinux.org/index.php/De … iki:usrlib.
    Things started to get really weird after that. For example, at a certain point during the boot process--I believe when the console is getting ready to switch to framebuffer (or whatever point that's called where screen resolution changes from vga)--and the screen just freezes. The laptop won't accept any keyboard or mouse input and just appears to be hung. I was able to chroot in to the system and cause the sshd daemon to start though, and have discovered that I can ssh in and do things.
    I upgraded the kernel again today in an ssh session, which gave some quite strange results: mkinitcipio is searching for modules under /lib, whereas as I understand it, /lib is now supposed to contain nothing and is to be simply a symlink to /usr/lib. But I can't build an init image on this system unless a /modules directory is present under /lib. Well, the /lib directory was there, so I symlinked /usr/lib/modules to /lib and mkinitcpio ran fine after that. So what's up here? Why is mkinitcpio expecting the /modules directory to be under /lib?
    Just as weird, there seems to be a newer glibc version. But I can't upgrade to it: I get the message "glibc: /lib exists in filesystem." Now, having read https://wiki.archlinux.org/index.php/De … iki:usrlib I know that there are suggestions for remedying this. But when I run the commands suggested there to try and find out what packages own files in /lib, it looks to me that all files there are owned by glibc 2.16.0-1:
    find /lib -exec pacman -Qo -- {} +
    error: cannot determine ownership of directory '/lib'
    /lib/libthread_db.so.1 is owned by glibc 2.16.0-1
    /lib/libnss_files-2.16.so is owned by glibc 2.16.0-1
    /lib/libc-2.16.so is owned by glibc 2.16.0-1
    /lib/libnss_nisplus.so.2 is owned by glibc 2.16.0-1
    /lib/libnss_dns-2.16.so is owned by glibc 2.16.0-1
    /lib/libnss_nisplus-2.16.so is owned by glibc 2.16.0-1
    /lib/libanl-2.16.so is owned by glibc 2.16.0-1
    /lib/libnsl-2.16.so is owned by glibc 2.16.0-1
    /lib/libcidn-2.16.so is owned by glibc 2.16.0-1
    /lib/librt.so.1 is owned by glibc 2.16.0-1
    /lib/libnss_nis.so.2 is owned by glibc 2.16.0-1
    /lib/libBrokenLocale-2.16.so is owned by glibc 2.16.0-1
    /lib/libc.so.6 is owned by glibc 2.16.0-1
    /lib/libpthread-2.16.so is owned by glibc 2.16.0-1
    /lib/libcrypt.so.1 is owned by glibc 2.16.0-1
    /lib/libnss_db.so.2 is owned by glibc 2.16.0-1
    /lib/libutil-2.16.so is owned by glibc 2.16.0-1
    /lib/libm-2.16.so is owned by glibc 2.16.0-1
    /lib/libpthread.so.0 is owned by glibc 2.16.0-1
    /lib/libnss_files.so.2 is owned by glibc 2.16.0-1
    /lib/ld-linux-x86-64.so.2 is owned by glibc 2.16.0-1
    /lib/libcidn.so.1 is owned by glibc 2.16.0-1
    /lib/libSegFault.so is owned by glibc 2.16.0-1
    /lib/libnss_nis-2.16.so is owned by glibc 2.16.0-1
    error: No package owns /lib/modules
    /lib/librt-2.16.so is owned by glibc 2.16.0-1
    /lib/libthread_db-1.0.so is owned by glibc 2.16.0-1
    /lib/libnss_hesiod-2.16.so is owned by glibc 2.16.0-1
    /lib/libdl-2.16.so is owned by glibc 2.16.0-1
    /lib/libanl.so.1 is owned by glibc 2.16.0-1
    /lib/libpcprofile.so is owned by glibc 2.16.0-1
    /lib/libnss_compat-2.16.so is owned by glibc 2.16.0-1
    /lib/libnss_compat.so.2 is owned by glibc 2.16.0-1
    /lib/libmemusage.so is owned by glibc 2.16.0-1
    /lib/libm.so.6 is owned by glibc 2.16.0-1
    /lib/libresolv-2.16.so is owned by glibc 2.16.0-1
    /lib/libBrokenLocale.so.1 is owned by glibc 2.16.0-1
    /lib/libutil.so.1 is owned by glibc 2.16.0-1
    /lib/libcrypt-2.16.so is owned by glibc 2.16.0-1
    /lib/libnss_hesiod.so.2 is owned by glibc 2.16.0-1
    /lib/libdl.so.2 is owned by glibc 2.16.0-1
    /lib/ld-2.16.so is owned by glibc 2.16.0-1
    /lib/libnsl.so.1 is owned by glibc 2.16.0-1
    /lib/libresolv.so.2 is owned by glibc 2.16.0-1
    /lib/libnss_dns.so.2 is owned by glibc 2.16.0-1
    /lib/libnss_db-2.16.so is owned by glibc 2.16.0-1
    Long story short, I'm quite confused by this. And I have a barely-working system I need to fix.
    Can anyone please offer input on what might be going on with this system? And perhaps offer suggestions for straightening out the mess?
    Thanks,
    James
    Last edited by jamtat (2012-11-02 23:55:10)

    Ok. So I'm officially dumb--in case that wasn't already apparent. I thought I'd tried upgrading glibc after I'd deleted the symlink to /usr/lib/modules (I deleted it a couple of times). But I was apparently wrong: after just now deleting it upon reading your post, I see that the upgrade has worked and that  the system reboots into its former normal state. So. it looks like it's fixed and like this thread can be marked solved. Still I'm curious: will mkinitcpio continue looking for modules in /lib?
    Thanks,
    James
    Last edited by jamtat (2012-11-03 16:22:09)

  • Transaction Value with negative inventory

    Dear Experts, I need some help understanding why negative quantity inventory can result in a huge transaction value for an inventory item. Let me give an example.
    We do allow negative inventory. We manage inventory by item group and we use FIFO.
    We have an inventory item, let's call it ABC with a purchase price of $27.50 So far that item had only very few inventory transactions. In one of the transactions the inventory went negative (-1). Next day the problem was fixed through a stock posting which brought the inventory balance back to zero.
    The result of that last stock posting was that the transaction value was 262.28 and the cumulative value on the Inventory Audit report shows 234.78! I have no idea why all of a sudden the transaction value is so much higher than the actual purchase price of the item.
    Any ideas?

    When you allow negative inventory, the normal logic for inventory value calculation will be broken.  In this poor case, system will have no way to follow the original logic.  The value you got so high is because the negative value has to be ignored and switched to the remaining inventory.
    In my previous experience, inventory should be allow negative.  Only if you give up, or you don't care, you can let it go.
    Thanks,
    Gordon

  • Add a Human Task in BPEL but it shows as an Auto Task in BPA

    Hi, all,
    I create a BPMN flow in BPA and mapping to BPEL. And I add a Human Task in jDeveloper, and saved back to BPA server. But the problem is the updated BPMN flow shows that I added a Auto Task in BPA. Could you help me on that? Thanks in advance.
    Best Regards,
    Bill

    Hi Bill,
    Prefatory a quick intro on the basic idea of the BPA concept and a few personal recommendations. In general all changes on the control flow should be initiated top-down from the business process, which means your requirement becomes relevant only in certain cases. If the refinement of the BPEL process is going beyond the technical implementation, then the BPMN diagram itself needs to be corrected. That being said, in certain cases it may be sensible to make use of the improvement proposal feature (e.g. the IT developer recognizes the need of an additional service invocation, so that the control flow of the business process has to be refined).
    Referring to your issue these changes are displayed as Automated Activities (abstract) in the superior business process (in BPA). For this reason some activities require a different approach when it comes to accepting or rejecting by the business users. The description below provides an overview about how-to add activities in BPEL subsequently (as improvement proposals) and how they will be represented in the superior business process after synchronization (personal recommendations).
    Control flow
    Email, Fax, Pager, Pager, SMS, Voice+
    BPEL process (JDeveloper)+
    Encapsulate within a separate Abstract activity - choose a name, which helps to identify that this should be a Notification activity (define naming conventions in the conventions handbook).
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Notification' in the Symbol-dropdown list - the object appearance changes.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Invoke+
    BPEL process (JDeveloper)+
    Encapsulate within Abstract activities.
    Business process (BP Architect)+
    If encapsulated within an existing scope in BPEL - not visible in the superior process.
    If encapsulated within an Abstract activity in BPEL - represented as Automated Activity (abstract).
    Human Task+
    BPEL process (JDeveloper)+
    Encapsulate with an a separate Abstract activity - choose a name, which helps to identify that this should be a Human Task activity (define naming conventions in the conventions handbook). Ignore the Switch activity that will be added below the Human Task.
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Human Task' in the Symbol-dropdown list - the object appearance changes.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Receive, Reply+
    BPEL process (JDeveloper)+
    Encapsulate within Abstract activities.
    Business process (BP Architect)+
    If encapsulated within an existing scope in BPEL - not visible in the superior process.
    If encapsulated within an Abstract activity in BPEL - represented as Automated Activity (abstract).
    Decide+
    BPEL process (JDeveloper)+
    Add a new Abstract scope - choose a name, which helps to identify that this should be a Business Rule activity (define naming conventions in the conventions handbook). Place an Empty activity inside the scope.
    Business process (BP Architect)+
    By default represented as Automated Activity (abstract).
    Open the improvement proposal model and select the new activity. Go to Format/Representation and select 'Business rule function' in the Symbol-dropdown list - the object appearance does change.
    Important: double-click the new activity and specify all the required parameters. Share the blueprint with IT.
    Note: The attributes of the abstract Automated Activity still appear in the attributes view.
    Flow, Switch, Pick+
    BPEL process (JDeveloper)+
    Only new branches within existing activities can be added subsequently. Each branch should contain at least one Abstract activity.
    Business process (BP Architect)+
    New activities should be defined in the superior business process.
    Displayed as gateways (AND, XOR <event-based>, XOR <data-type>, OR) - the definition of these activities should be initiated in the business process.
    While+
    BPEL process (JDeveloper)+
    Only within existing scopes. Loops should be defined in the superior business process.
    Business process (BP Architect)+
    If not encapsulated within a scope in BPEL - will be represented as Automated Activity (abstract).
    If encapsulated within an existing scope in BPEL - not visible in the superior process after synchronization.
    If encapsulated within an Abstract in BPEL - will be represented as Automated Activity (abstract).
    Implementation
    Assign, Transform, Throw+
    BPEL process (JDeveloper)+
    Only within existing scopes.
    Business process (BP Architect)+
    Not visible.
    Wait, Terminate+
    BPEL process (JDeveloper)+
    Not recommended to add them subsequently - should be defined in the superior business process via Intermediate events (BPMN).
    Business process (BP Architect)+
    Displayed as intermediate event - the definition of these activities should be initiated in the business process.
    Kind regards,
    Danilo

  • Need Help with VI

    Hi LabVIEW Specialists!
    I made a simple VI which should be a gate controller. Ther is on On/Off
    Switch on for opening snd one for closing. Two Leds display the
    direction the gate moves. The gate hase to open until the ensposition
    has reached and then switch to closing until the other endposition has
    reched, and so on. It is allready working pricipally but but if the
    On/Off Button changed to high value it should always open the gate at
    first and thats my Problem.
    Now I'm using a single while loop with two RS flipflops but i don't know
    if this is the best solution. Maybe ist better to use a statemaschine
    or something else. Please take a look at my VI and maybe you can give me
    some hints.
    Link to my VI:
    http://www.8ung.at/mmax/Schubstange.vi
    Thank for y
    our help.
    Max

    You could use an Event Structure and two shift registers to handle opening and closing the gate.
    To make it clearer to me, I renamed the controls to Open and Close, and the indicators to Opened and Closed.
    I interpreted your function as follows.
    If On/Off is Off, ignore other switches and retain previous state.
    If On/Off goes from Off to On, open the gate.
    If On/Off is On and Open goes from Off to On, open the gate.
    If On/Off is On and Close goes from Off to On, close the gate.
    For any other cases, maintain the previous state.
    I also added a Stop button.
    Here's another suggestion: whenever you have a loop waiting for operator input, adding some pause (like 200 ms using the Wait (ms) function from the Time & Dialog function palette) allows the PC to spend
    more time doing other stuff while it's waiting for the user to operate a control. When you use an Event structure, wiring a value to the timeout terminal does pretty much the same thing.
    See the attached modified LabView 7 VI. I noticed that you included a link to your VI instead of attaching it. You can post and see attachments if you get to this forum through www.ni.com and goto the Discussion Forums under Developer Exchange.
    Attachments:
    SchubstangeEvents.vi ‏57 KB

  • Print color way off when stamp applied

    I've got a strange problem that occurs when printing documents with a stamp applied to them (ie: Draft).  Printing to a Ricoh 550EX printer which has its own hardware based color profile, we have to select "Let Printer Determine Colors" to get normal (un-stamped) pdf documents to print with the appropriate colors.  However even with the "Let printer determine colors" selected stamped documents print with off shaded colors.  By off shaded I mean bright yellow is printed with a green hue.
    It is as if the adobe is ignoring tha switch when printing stamped documents.  Anyone have any advice on how to correct this?
    Problem appears in both Adobe Acrobat 9 and X.  Printing to printers that do not have their own HW based color profiles works perfectly, so it seems adobe is not playing nice with the HW color profile.  All other apps can print to the Ricoh without issue.
    Thanks

    Robert R Steele Jr wrote:
    …Drivers are supposed to update through software update.  Maybe I should check with Canon.
    You must be thinking about video card drivers on the Mac.  Those are indeed supplied by Apple.  But printer drivers are the responsibility of each individual user.

  • Internal Agent not working.

    Hi,
    I recently upgraded ODI from version 10.1.3.5.1 to version 10.1.3.5.6,we do development in house and mostly use the "Internal agent(no agent)" to execute our packages and interfaces.I was always able to restart a failed session using the "Local Agent(internal Agent)" before the upgrade,now after the upgrade I am not able to restart a failed session using the "Local Agent(internal Agent)" and I can only restart any failed session using a "user created agent".Did I miss any step while upgrading ODI.
    Any help on this front is appreciated.
    Regards,
    John
    Edited by: user12083061 on Apr 15, 2010 9:46 AM
    Edited by: user12083061 on Apr 15, 2010 9:46 AM

    Hi Reshma,
    Thanks you for your reply.I am using "LKM File to SQLLDR" to bulk load millions of rows from flat files and I execute the process using the local(no agent) option,some of these rows in the flat files have special characters which chokes sqlldr and the step bombs out.When I continue the loading of data after I select the "Ignore Error" switch and restart the failed process using the local (no agent),the process does not restart,it sits on the same failed state,but If I restart the failed process using an agent that I had defined,it restarts.
    I dont understand this behavior and this is happening only after I upgraded from ODI 10.1.3.5.1 to 10.1.3.5.6
    Regards,
    John

  • Croatian (or any foreign language) spell check and dictionary

    What do people from non-english speaking countries do with OS X's limited dictionary.app?
    I am specifically talking about the Croatian language (Hrvatska), although would be happy to hear from anybody from any country on how they solved the dictionary/spell check issue for their own language.
    I am struggling to find a list of Apple Dictionary.app plugins or extra dictionaries to install.
    Now I know MS Office 08 has a Croatian dictionary (altho I can't really get it working) but what about native OS X apps?
    I have found a 3rd party solution called CocoAspell (free) but am having limited success with it.
    I would even be prepared to build a Croatian dictionary plugin for Dictionary.app if somebody could link me to some sort of instruction set.
    I'm surprised Apple have not gone to the trouble of building more dictionaries for Dictionary.app
    What do Russians, Chinese, Hungarian, Brazilian, Italian eetc etc do when they want a spell checker / dictionary for their language? Buy MS Office 08???
    How does Apple resolve this issue (esp the spell checking) in apps like Pages?
    In my hours of research into this area it is clear Apple have not really addressed this issue despite the fact it would be so easy for them to solve.
    Can anybody help me out / point me in the right direction?
    thanks
    d0z

    As a matter of fact I found the working Cro dictionary at the same ftp link you provide above shortly before you posted it. Nevertheless your great efforts are fully credited. Thanks for your excellent assistance!
    I have also been in contact with the developer of Dictionary Cleaner who tells me the 2.0 verison of his software will be able to import comma separated txt wordlists. Nice.
    Good as CocoAspell is I feel Apple should already have integrated this functionality, together with downloadable dictionaries from their site, into OS X.
    I was unable to get a working Cro dictionary, or Custom dictionary, working in Office 08 for Mac. Interstingly the windows veriosn of the product offers the full gamet of proofing and spelling tools for the Croatian language (and manay, many others).
    So both Apple and Microsoft are guilty of letting down their International customers. I am unimpressed by both. How difficult would it be for Apple to add better sprell checking and MS to port their proofing tools for office to the Mac version.
    For the record (and MBU developers): When you change the language in Office 2008 for Mac to Croatian (and prob many of the other languages in the list) ALL the spell checking stops and any Custom Dictionaries are ignored.
    Switching back to English restores spell checking but then the Custom Dictionary is opened with Roman text encoding and all the special letters in the Croatian alphabet are ignored, thus rendering the Custom Dictioanry list only 30% effective since 70% of the words in the language contain special characters.
    The develoepr of Dictionary Cleaner should consider these sorts of problems regarding the text encoding of word lists.
    Finally I'd just like to mention the confusing nature of Croatian text encoding:
    The 'input menu' tab of the international System Preference pane would seem to imdicate Croatian is Unicode. Although encoding text files in Unicode-8 mangles the characters. As it does too using another text encoding called Croatian (Mac OS). The encoding that actually works is Central European (Windows Latin 2). Go figure.
    If anybody knows anything about the subject of text encoding I'd love to know more. Useful links also welcome
    So in conclusion - Come on Apple!, sort it out with interbational sprell check.
    p.s. more downloadable non-English dictionaries for Dictionary.app too please!

  • Really annoying Outlook 2013 developments

    Can I somehow use “ignore” to switch off the most annoying feature of Outlook that drives me mad?
    I want to be able to manage my calendar and meetings and it would be really nice to have a way of automatically rejecting a request for a meeting made with the Outlook
    Calendar.  In other words obliging people to simply email me and “ask” or phone.
    The real problem in this age of “a meeting for every possible reason” is the inability to delete the things without sending a response.  If I’m busy and need to clear
    a slot for something important I want to scrub attendance at a meeting, without telling the person who sent the request.  Then they can be educated into not including me in the request.
    It is clear that the people at Outlook who developed this feature don’t understand what modern business life is like.  They forgot to develop the “OFF” switch when
    they came up with the idea.
    2.  Why does outlook 2013 have a “more” hyperlink.  I used to be able to search everything by default with Outlook 2010.  Now, the program developers seem
    to think I might only want to search half my mailbox, and that is never ever the case.  By the way I have the slider set to “All” emails by default but that only affects the cache, not the “search” function
    Thank you
    Peter Williams
    UK
    If this is the wrong place to ask these questions could someone please guide me to how you contact the people who develop MS Office.

    1) You can disable the option to automatically add meeting requests as tentative in Calendar as per:
    Do not automatically accept meeting as Tentative
    2) To control how many search results you get returned see:
    Configure how many Search results are returned
    Robert Sparnaaij
    [MVP-Outlook]
    Outlook guides and more: HowTo-Outlook.com
    Outlook Quick Tips: MSOutlook.info

  • Jerky mouse and trackpad

    Every once in a while, the mouse cursor on my new MBP becomes jerky and sometimes does not respond. I noticed that it also affects keyboard input in that when I type fast, it takes time for the characters to appear. So it seems like some kind of IO problem. I've seen this both in Leopard and Tiger. When using trackpad only or with a Mighty Mouse. It's an intermittent problem and I start seeing it when I first wake up my Mac. The only fix I found is to reboot. It just happened to me again and so I looked in the system log before rebooting. When the trackpad/mouse is ignored, I switch apps using cmd-Tab and sometimes it gets the mouse working again but then it stops again. The system log has lines such as:
    1/11/08 11:10:32 AM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change Y: oldDy=2 dy=-258
    1/11/08 11:10:39 AM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change X: oldDx=2 dx=0
    1/11/08 11:11:27 AM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change X: oldDx=0 dx=0
    1/11/08 11:11:50 AM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change X: oldDx=-2 dx=5
    1/11/08 11:11:50 AM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change Y: oldDy=-2 dy=5
    I also found another thread (http://discussions.apple.com/thread.jspa?messageID=6214498) on the problem but it does not have any answers even though it is marked "answered" so I am creating this new thread. Any ideas?

    I've just started experiencing this problem today.
    5/8/08 8:14:15 PM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change X: oldDx=53 dx=-1
    5/8/08 8:14:15 PM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change Y: oldDy=53 dy=-1
    5/8/08 8:14:35 PM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change X: oldDx=123 dx=-3
    5/8/08 8:14:35 PM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change Y: oldDy=123 dy=-3
    5/8/08 8:14:55 PM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change X: oldDx=78 dx=-2
    5/8/08 8:14:55 PM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change Y: oldDy=78 dy=-2
    5/8/08 8:15:36 PM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change X: oldDx=1 dx=0
    5/8/08 8:17:06 PM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change X: oldDx=10 dx=-1
    5/8/08 8:17:06 PM kernel IOHIDSystem::relativePointerEventGated: Unwanted Direction Change Y: oldDy=10 dy=-1
    What seemed to be happening is that all the onscreen graphics behind the mouse cursor would stop moving, then the mouse cursor stopped moving, and then everything snapped back for ~15 seconds until it happened again. I was able to safely reboot my Mac, and it seems like the problem has subsided, but I have no idea. I wish I could help beyond giving an additional account of the problem.
    - Joe

  • Think Vantage tile, not, and other observatio​ns

    I find it highly amusing that I cannot create a Think Vantage Tools tile. TninkVantage is launched using explorer.exe using a switch and when the tile is created it it is a link to Explorer, not ThinkVantage. It ignores the switch.
    I also tried to create two Internet explorer tiles, one normal and one with add ons turned off. But simple tap is treating the executable too simply and just launches iexplore, ignoring the switch to shut off add ons.  
    Also, the names applied to the user created tiles are the program names. That's pretty NON user friendly and there doesn't seem to be any way to change the name? Internally there must be a way to set the name of the tile because the preexisting tiles are all nicely labeled. But the poor user is left with cryptic file names. Is there a magic way to fix this?

    I figured out the name thing. Right clicking on the tile allows some configuration choices and makes the label editable. It wasn't that noticeable but I finally saw it.
    I also used the method of adding folder tiles by choosing Open a Web Page, pasting the folder path in, and changing HTTP to FILE. I also assigned an appropriate image to be used for the tile. My personal folder has a picture of "me". It works great and it's only slightly messy to set up. After the tile is created I edit the label and I'm done.
    I have a programs, folders and data files, and system management workspace. If this continues to work well I will be using Simple Tap a lot. I have removed 2/3 of the stuff that cluttered my desktop before and moved it to simple tap. I only have 3 programs pinned to my task bar and I may remove one more of them. Now my desktop is clean until I want something. Then I launch simple tap and call it up. I also have a bunch of stuff pinned to my start menu that I may clear off as well. It's all in Simple Tap.
    The only thing simple tap is not useful for is showing recently used docs. For that I go to the start menu.

Maybe you are looking for

  • How do you carry out an event if a job finishes with a return code 4?

    Hi A job which would complete successfully in SAP via the SM36 scheduler completes with an 'Error' in Redwood CPS because there are errors within the spool and it ends with a return code 4. We don't want this to error in Redwood CPS, so we have set t

  • Auto Increment Primary Keys

    I am trying to migrate from SQL Server. I want to setup tables which generate sequencial Primary keys on adding records to the table. I have a VB application which is using ADO with an ODBC connection. How does one use the Oracle Enterprise Console M

  • Function in windows xp

    what is function windows xp in terms of: 1. task /process management 2. i/o management 3 File management

  • HT1459 my screen has gone black from my ipod touch but its still on and sounds?

    My ipod was recently fixed because the screen was cracked then like two days later i drop my ipod but the fall wasnt even that bad when i check to see if my ipod is ok i notice that my screen is all blac but my music was still playing i tried iMessag

  • Bad sound if I watching movies

    Hello, for last 2 weeks I have a problem with audio. For example: I'm watching some movie or TV serie from my harddisk or from online website. Audio is OK but after 10-15 minutes audio faded out and it continues very silent. For vision: If you plug s