[SOLVED] Help needed with suspend2ram with acpid lid script

Hello
I'm hoping someone can help with this, I'm obviously configuing something incorrectly.
I wish to have my machine suspend to ram upon closing the lid, which I've managed to acomplish with pm-utils and acpid.
Here's my lm-lid.sh from /etc/acpi/actions:
#! /bin/sh
# lid button pressed/released event handler
#/usr/sbin/laptop_mode auto
/usr/sbin/pm-suspend
As you can see; I have commented out the penultimate line, this is what was present in the file as default, this didn't cause the machine to do anything, so I added the bottom line to call pm-suspend.
My machine suspends fine, however, upon waking again, it resumes for about 3 seconds, then suspends again... after which it wakes up fine.
So esentially I have to wake it up twice.
I'm sure it's probably something stupid I'm doing, I'd just appreciate any words on this that may help!
Last edited by Starfall (2012-06-23 23:31:00)

LoBo3268715 wrote:
Hi Starfall, I'm no expert here but what does your /etc/acpi/handler.sh look like? I never had to add "/usr/sbin/pm-suspend" to my lm_lid.sh
#!/bin/sh
# Default acpi script that takes an entry for all actions
minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"
set $*
case "$1" in
button/power)
#echo "PowerButton pressed!">/dev/tty5
case "$2" in
PBTN|PWRF)
logger "PowerButton pressed: $2"
poweroff
logger "ACPI action undefined: $2"
esac
button/sleep)
case "$2" in
SLPB|SBTN)
echo -n mem >/sys/power/state
logger "ACPI action undefined: $2"
esac
ac_adapter)
case "$2" in
AC|ACAD|ADP0)
case "$4" in
00000000)
echo -n $minspeed >$setspeed
#/etc/laptop-mode/laptop-mode start
00000001)
echo -n $maxspeed >$setspeed
#/etc/laptop-mode/laptop-mode stop
esac
logger "ACPI action undefined: $2"
esac
battery)
case "$2" in
BAT0)
case "$4" in
00000000)
logger 'Battery online'
00000001)
logger 'Battery offline'
esac
CPU0)
*) logger "ACPI action undefined: $2" ;;
esac
button/lid)
case "$3" in
close)
logger 'LID closed'
/usr/sbin/pm-suspend <<<<<<<<<<<<<<<<<<<<<< I put it here
open)
logger 'LID opened'
logger "ACPI action undefined: $3"
esac
logger "ACPI group/action undefined: $1 / $2"
esac
# vim:set ts=4 sw=4 ft=sh et:
Awesome! It works perfectly!
Thanks very much LoBo3268715!

Similar Messages

  • [SOLVED] Help, run commands as root in a script

    I was playing with some installs from AUR recently, got tired of compiling and installing all the time. Since I don't do much config,  I decided to make a small script to automate the process
    #!/bin/bash
    makepkg -f PKGBUILD &&
    app=$(ls *.pkg.*) &&
    echo mypass | su -s 'pacman -U $app &'
    the thing is "su -s" do not work and prints out "standard in must be a tty", while I've been using the same script to recompile and install from source and it did work always.
    What should I do to get it running?
    p.s: I don't want any password prompts, nor do I want to make some additional aliases or modify the sudoers file. All I need is this script to execute a command as root and install the app.
    Last edited by tasty_minerals (2011-09-16 09:41:14)

    Mr.Elendig wrote:
    tasty_minerals wrote:
    Ok, I did it. To install a package with "pacman" without any prompts for passwords and yes/no questions.
    #!/bin/bash
    makepkg -f PKGBUILD
    app=$(ls *.pkg.*)
    echo mypass | sudo -S pacman -U --noconfirm $app
    Of course you can do makepkg --install, but I don't want to mess with sudo.
    But your script is messing with sudo in a way worse way than makepkg does...
    People are doing even worse things every single day^^

  • [SOLVED] Help needed with ACPI accelerometer - Acer Iconia Tab W501

    Hi,
    I am trying to get the accelerometer working on my Acer Iconia Tab W501
    In windows, it reported as a BMA150 device, so I have that driver loading on boot.
    After months of googling and making a mess in /sys, I still have not got the device working. I was working under the assumption that the device hangs off the i2c bus, but a "lucky google" today uncovered that it is showing up through acpi - acpid is present in my daemons array of rc.conf and the kernel module acer_wmi is also loaded.
    The device is certainly sending signals to the kernel. Upon boot, dmesg ends up as follows:
    [ 11.689709] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 12.108374] EXT4-fs (sda2): re-mounted. Opts: commit=0
    [ 12.148026] EXT4-fs (sda3): re-mounted. Opts: commit=0
    [ 17.759006] FS-Cache: Loaded
    [ 17.780371] FS-Cache: Netfs 'cifs' registered for caching
    [ 17.816097] CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3
    [ 22.459133] wlan0: no IPv6 routers present
    Now, if I rotate the device, and run dmesg again, I have the following:
    [ 1255.189705] acer_wmi: Unknown function number - 5 - 1
    [ 1257.363688] acer_wmi: Unknown function number - 5 - 1
    [ 1268.268809] acer_wmi: Unknown function number - 5 - 1
    [ 1268.409270] acer_wmi: Unknown function number - 5 - 1
    [ 1308.653700] acer_wmi: Unknown function number - 5 - 1
    [ 1308.784623] acer_wmi: Unknown function number - 5 - 1
    acpi -V does not show the device:
    Battery 0: Full, 100%
    Battery 0: design capacity 2865 mAh, last full capacity 2678 mAh = 93%
    Adapter 0: on-line
    Thermal 0: ok, 59.0 degrees C
    Thermal 0: trip point 0 switches to mode critical at temperature 87.0 degrees C
    Thermal 0: trip point 1 switches to mode passive at temperature 77.0 degrees C
    Cooling 0: LCD 0 of 9
    Cooling 1: Processor 0 of 3
    Cooling 2: Processor 0 of 10
    nor is it configured on boot - dmesg | grep ACPI:
    [ 0.404389] pnp: PnP ACPI init
    [ 0.404443] ACPI: bus type pnp registered
    [ 0.405020] pnp 00:00: Plug and Play ACPI device, IDs PNP0a08 PNP0a03 (active)
    [ 0.405295] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.405829] pnp 00:02: Plug and Play ACPI device, IDs PNP0103 (active)
    [ 0.406106] pnp 00:03: Plug and Play ACPI device, IDs PNP0200 (active)
    [ 0.406268] pnp 00:04: Plug and Play ACPI device, IDs PNP0c04 (active)
    [ 0.406514] pnp 00:05: Plug and Play ACPI device, IDs PNP0b00 (active)
    [ 0.406613] pnp 00:06: Plug and Play ACPI device, IDs PNP0800 (active)
    [ 0.406774] pnp 00:07: Plug and Play ACPI device, IDs PNP0303 (active)
    [ 0.407104] system 00:08: Plug and Play ACPI device, IDs PNP0c02 (active)
    [ 0.407390] system 00:09: Plug and Play ACPI device, IDs PNP0c01 (active)
    [ 0.408373] pnp: PnP ACPI: found 10 devices
    [ 0.408377] ACPI: ACPI bus type pnp unregistered
    [ 4.684770] ACPI: Power Button [PWRB]
    [ 4.685381] ACPI: acpi_idle registered with cpuidle
    [ 4.686148] ACPI: Lid Switch [LID]
    [ 4.692517] ACPI: Power Button [PWRF]
    [ 4.696710] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
    [ 4.719486] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
    [ 4.729977] ACPI: AC Adapter [AC0] (on-line)
    [ 4.746949] ACPI: Battery Slot [BAT0] (battery present)
    [ 4.824909] ACPI: Thermal Zone [THRM] (61 C)
    [ 5.220895] acer_wmi: Acer Laptop ACPI-WMI Extras
    Yet, running acpi_listen generates the following when the tablet is rotated:
    PNP0C14:00 000000bc 00000000
    PNP0C14:00 000000bc 00000000
    PNP0C14:00 000000bc 00000000
    PNP0C14:00 000000bc 00000000
    So, it would seem the device is working and sending data to the kernel/drivers, it appears some config is needed to get it properly recognised and an entry in /dev generated.
    Really hoping there is an acpi expert around who may be able to help me get the device properly recognised and configures, ideally, as a /dev/input/js*
    Cheers.
    Last edited by Padfoot (2012-06-07 00:24:31)

    There is no need to patch the kernel anymore as current kernels have the acer wmi accelerometer patch merged.
    Ensure you have the kernel module acer_wmi loading and then the events should be propogated. acpi_listen should show the events.
    Using the code from here: http://www.jezra.net/blog/Python_Joysti … ng_Gobject i have written a little daemon that monitors the accelerometer and automatically rotates the screen based on it's position.
    Cheers.
    [EDIT] Being a laptop, I am guessing the accelerometer is possibly on the hard drive?? used for shock protection?? So if that is the case, I am not sure you will be able to utilise it in the same way as a tablet's accelerometer. There are articles on the web for setting up hard drive accelerometers in linux. The other consideration you need is that the accelerometer may not be on acpi. It could be on the i2c bus (commonly where sensors such as fan speed, core temps etc are located), in which case you will need the i2c driver to get the accelerometer events recognised in the kernel (ensure i2c kernel modules are loaded). So check exactly how the kernel detects the accelerometer, is it on acpi or the i2c bus?[/EDIT]
    Last edited by Padfoot (2013-03-31 08:42:51)

  • [Solved] help needed with wireless setup (ralink 2860 driver)

    Hi,
    I'm new to Arch so please be gentle ;-)
    I recently upgraded hoping to find improved support for my wireless.  I now find that the kernel recognises and loads the appropriate module:
    [root@akoya ~]# uname -a
    Linux akoya 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:47:56 UTC 2009 i686 Pentium(R)
    [root@akoya ~]# lspci | grep Net
    05:00.0 Network controller: RaLink RT2860
    [root@akoya ~]# lsmod | grep 2860
    rt2860sta 514808 1
    I checked over the kernel source and the rt2680sta module is the code from ralink cleaned up for the 2.6.29 kernel.  (I tried building the ralink release but it needs patching for 2.6.29)
    However getting the thing to connect using WPA is another thing altogether
    [root@akoya ~]# ifconfig ra0 up
    [root@akoya ~]# wpa_supplicant -B -Dwext -i ra0 -c /etc/wpa_supplicant.conf
    [root@akoya ~]# dhcpcd ra0
    ra0: dhcpcd 4.0.12 starting
    ra0: waiting for carrier
    ra0: timed out
    I'm not even sure if iwconfig is communicating with this driver (though I can find my router using "iwlist ra0 scan"):
    [root@akoya ~]# iwconfig ra0 essid "sodor"
    [root@akoya ~]# iwconfig
    ra0 RT2860 Wireless ESSID:"" Nickname:"RT2860STA"
    Mode:Auto Frequency=2.412 GHz Access Point: 00:21:91:FE:DA:97
    And if I try to configure using wicd I see the following log when trying to connect to the wireless:
    2009/04/17 01:16:43 :: Connecting to wireless network sodor
    2009/04/17 01:16:43 :: Putting interface down
    2009/04/17 01:16:43 :: ifconfig ra0 down
    2009/04/17 01:16:43 :: Releasing DHCP leases...
    2009/04/17 01:16:43 :: Setting false IP...
    2009/04/17 01:16:43 :: ifconfig ra0 0.0.0.0
    2009/04/17 01:16:43 :: ifconfig eth0 0.0.0.0
    2009/04/17 01:16:43 :: Stopping wpa_supplicant and any DHCP clients
    2009/04/17 01:16:43 :: killall wpa_supplicant
    2009/04/17 01:16:43 :: Flushing the routing table...
    2009/04/17 01:16:43 :: route del dev ra0
    2009/04/17 01:16:43 :: route del dev eth0
    2009/04/17 01:16:43 :: Attempting to authenticate...
    2009/04/17 01:16:43 :: ['wpa_supplicant', '-B', '-i', 'ra0', '-c', '/var/lib/wicd/configurations/002191feda97', '-D', 'wext']
    2009/04/17 01:16:43 :: Putting interface up...
    2009/04/17 01:16:43 :: ifconfig ra0 up
    2009/04/17 01:16:43 :: iwconfig ra0 mode Managed
    2009/04/17 01:16:43 :: ['iwconfig', 'ra0', 'essid', 'sodor', 'channel', '1', 'ap', '00:21:91:FE:DA:97']
    2009/04/17 01:16:43 :: WPA_CLI RESULT IS None
    2009/04/17 01:16:43 :: Failed to find status in wpa_cli result
    2009/04/17 01:16:43 :: exiting connection thread
    It is driving me crazy being tied to a cable so I'd really like to get this working... but I'm really not sure what to try.  Do I need to rebuild wpa_supplicant?  If so is there a package-based way of doing that in arch?
    Thanks in advance.
    Last edited by drandre (2009-04-17 19:40:41)

    drandre wrote:
    If so is there a package-based way of doing that
    OK... to answer my own questions ...
    two questions:
    1. Does this mean support for the ralink driver is included by default or *not* included by default?
    It seems it means *not*
    2. If I uncomment this line then makepkg refuses to build the package because the config file's md5 is no longer valid.  How then am I *meant* to make modifications to the build configuration?
    right or wrong I used makepkg -g to generate checksums for my modified config file and pasted these into PKGBUILD.  It then builds happily.  After installing I can run wpa_supplicant with no args and confirm ralink is in the list of drivers.  Excellent.  But still no success.
    Two things I have noticed:
    1. wicd places quotes "" around my pre-shared key.  If I run wpa_supplicant from the command line and use the conf file created by wicd it reports the PSK as being unparsable.  If I remove the quotes then the file is parsed correctly.
    2. It doesn't solve my problem :-(

  • [SOLVED] Help needed with iptables rule with unusual setup

    Hi I recently setup hostapd on my netbook so I could share a wireless network with my phone and I'm having trouble because my netbook is also hosting a Jetty sever (Subsonic media streamer).
    My setup is as follows
    [CABLE MODEM]===[WIRED ROUTER]=====[NETBOOK] ))))) [PHONE]
    The wired router provides the DHCP server.
    On my netbook I created a (br0) bridge between eth0 and wlan0 and started hostapd. That all works fine when I'm not trying to host my Jetty server on my netbook.
    The netbook has the IP 192.168.0.8
    The phone has the IP 192.168.0.6
    I do not want to give the Jetty server root permissions just so it can run on port 80. So instead I start it instead on port 4040 and then use a iptables rule to redirect connections to port 80 to port 4040.
    Before I setup hostapd on machine I used to use the following.
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 4040
    However when I'm using hostapd and try to access websites on my phone its web browser is ALWAYS REDIRECTED to my jetty server. I'm not really surprised at this as the rule I mentioned above is for any destination or any source.
    I tried this rule:
    iptables -t nat -A PREROUTING -d localhost -p tcp --dport 80 -j REDIRECT --to-ports 4040
    This didn't work. On my phone I could access websites as expected but nobody (tried external from network and internally) could access the jetty server on port 80. Does anyone know why this rule doesn't work?
    I tried this rule:
    iptables -t nat -A PREROUTING \! -s 192.168.0.6 -p tcp --dport 80 -j REDIRECT --to-ports 4040
    This rule worked (Redirect port 4040 connections to port 80 if the connection isn't from my phone). But this is NOT very good at all as it means I would need a separate rule for every wireless device that connected to my netbook (via hostapd). Also if the IP address of my phone ever changes this rule becomes useless too!
    Does anyone have any ideas?
    Any help would be greatly appreciated.
    Thanks.
    Last edited by delcypher (2010-07-24 20:17:35)

    Well looks like I fixed my own problem.
    I added a LOG target in the PREROUTING chain like so
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j LOG --log-prefix 'cheesy-redirect'
    iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 80
    When I looked at /var/logs/everything I noticed this.
    dan-netbook kernel: cheesy-redirectIN=br0 OUT= PHYSIN=eth0 MAC=00:26:18:73:ea:28:00:09:5b:5d:0a:33:08:00 SRC=178.102.41.92 DST=192.168.0.3 LEN=52 TOS=0x00 PREC=0x00 TTL=46 ID=51411 DF PROTO=TCP SPT=48219 DPT=80 WINDOW=49640 RES=0x00 SYN URGP=0
    The destination is 192.168.0.3 ! Which is very very weird. This the IP address I had told my router to give my eth0 card in the past when I wasn't using a network bridge (br0). I was connected to the network using 192.168.0.8 on br0. The eth0 interface wasn't assigned an IP address.
    192.168.0.3 was also the IP address I setup for static port forwarding (which I forgot about) so when I accessed my jetty server from outside my network all packets would of been forwarded to 192.168.0.3
    I should never of received those packets as I was 192.168.0.8 not 192.168.0.3 at the time of logging so how I even received these packets is a mystery to me. Maybe the router software is buggy
    Fixing was pretty straight forward I changed the port forward to go to 192.168.0.8 and then tried connecting to the jetty server externally and noted in the log
    cheesy-redirectIN=br0 OUT= PHYSIN=eth0 MAC=00:25:d3:46:4d:0d:00:09:5b:5d:0a:33:08:00 SRC=178.102.41.92 DST=192.168.0.8 LEN=52 TOS=0x00 PREC=0x00 TTL=46 ID=65326 DF PROTO=TCP SPT=33597 DPT=80 WINDOW=49640 RES=0x00 SYN URGP=0
    So the correct redirect rule is
    iptables -t nat -A PREROUTING -p tcp --dport 80 -d 192.168.0.8 -j REDIRECT --to-ports 80
    which works nicely
    One last question though. Does anyone know how I can use a hostname rather than 192.168.0.8 which points to whatever the IP address of br0 is set to? localhost points to 127.0.0.1 so that doesn't work.

  • [Solved] Help needed with getting fonts antialiased.

    Greetings.  I'm in the process of installingArch and I must be missing something as fonts just aren't antialiasing.  Any help would be appreciated.  I'm using the Fonts guide on the wiki.  Here's the steps I did:
    pacman -Rd libxft
    yaourt -S fontconfig-lcd cairo-lcd
    pacman -S libxft-lcd
    Freetype is installed and I linked what I could to /etc/fonts/conf.d/:
    10-autohint.conf 40-nonlatin.conf 65-nonlatin.conf
    10-sub-pixel-rgb.conf 45-latin.conf 69-unifont.conf
    20-fix-globaladvance.conf 49-sansserif.conf 70-no-bitmaps.conf
    20-unhint-small-vera.conf 50-user.conf 80-delicious.conf
    29-replace-bitmap-fonts.conf 51-local.conf 90-synthetic.conf
    30-metric-aliases.conf 60-latin.conf README
    30-urw-aliases.conf 65-fonts-persian.conf
    I've tried changing settings in the KDE control center from "System Settings" to Enabled, started a new app.  But no luck.  I've created a basic ~/.fonts.conf that has antialiasing and hinting, logging out and logging in again to no avail.  What got me was that fontconfig didn't install a 10-antialias.conf:
    10-autohint.conf 25-unhint-nonlatin.conf 60-latin.conf
    10-no-sub-pixel.conf 29-replace-bitmap-fonts.conf 65-fonts-persian.conf
    10-sub-pixel-bgr.conf 30-metric-aliases.conf 65-khmer.conf
    10-sub-pixel-rgb.conf 30-urw-aliases.conf 65-nonlatin.conf
    10-sub-pixel-vbgr.conf 40-nonlatin.conf 69-unifont.conf
    10-sub-pixel-vrgb.conf 45-latin.conf 70-no-bitmaps.conf
    10-unhinted.conf 49-sansserif.conf 70-yes-bitmaps.conf
    20-fix-globaladvance.conf 50-user.conf 80-delicious.conf
    20-unhint-small-vera.conf 51-local.conf 90-synthetic.conf
    Is this the problem?  Obviously I'm missing a step here.  Any ideas, what do I need to do?
    Last edited by Kisha (2009-03-05 01:18:41)

    Dallied through the thread and didn't find anything.  No luck thus far.  Looks like this is a system-wide problem as KDM in not antialiasing.  Change to a new ~/.fonts.conf:
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font" >
    <edit mode="assign" name="rgba" >
    <const>rgb</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hinting" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hintstyle" >
    <const>hintslight</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="antialias" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font">
    <edit mode="assign" name="lcdfilter">
    <const>lcddefault</const>
    </edit>
    </match>
    </fontconfig>
    but the problem persists.  Argh, this is tough.  Did I possibly forget something?
    Last edited by Kisha (2009-03-05 00:03:19)

  • [SOLVED] help needed with active window script

    I am trying to receive the current window from a script. it works fine, but when no window is open i get an error.
    i am using this command:
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev
    error message is "Invalid Window id format: 0x0"
    I tried working around this by using this script:
    #!/bin/bash
    title_window () {
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev
    title_root () {
    title_window | grep 0x0
    if [[ -z title_root ]]
    then
    title_window
    else
    echo "Desktop"
    fi
    But now it shows "Desktop" for every window.
    Last edited by Rasi (2013-01-22 11:59:46)

    solved.
    solution:
    #!/bin/bash
    title_window () {
    xprop -id $(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) _NET_WM_NAME | cut -d '=' -f 2 | cut -b 1-2 --complement | rev | cut -c 2- | rev 2>&1
    title_root () {
    title_window |& grep -q 0x0
    if title_root;
    then
    echo "Desktop"
    else
    title_window
    fi

  • Advice/Help needed migrating/working with two macs

    I currently own a mid-2010 (I think) Macbook Pro and a couple of months ago I bought a Mac Mini. Unfortunately when I set up the Mac Mini I was short on time and my excitement/lack of patience got the better of me so I copied everything on the HDD from my MBP over to the Mac Mini and I have been using the same profile to login on both machines.
    This causes a few problems, particularly when I'm trying to connect the two machines via a network to share files. They can never connect, I'm thinking probably because they're using the same profile and get confused. I also haven't taken the time to properly install all the applications and so some do not work on the mini.
    Rather than trying to pull my hair out trying to solve the issues, I think I've reached a point where I think I need to either start over or get some advice on what to do.
    Ideally I'd like to use the Mini mainly for music apps (Garageband, possibly Logic Pro X in the future) and occassional internet and iTunes use. Since it has a bigger HDD, I'd like to store my music on the Mini.
    I would then use the MBP as my general internet and iTunes machine. I would however like to be able to use it for music production stuff (again GB and/or Logic) if I am travelling. I know that I will need to upgrade the OS and the RAM which I am happy to do.
    I would like to be able to have most of the same apps on both machines and also be able to easily transfer files, music etc. between the two.
    So in light of what I'd like to achieve, what would be my best course of action? Would I be best to start over and try to migrate from fresh or can I make something work with what I have?
    A further complication is that I have since used both machines so I will have some new stuff saved on both machines that won't be on the other. Is there any way to keep these new files if I start over?
    Would anyone be gracious enough to point me in the direction of an easy to follow guide to help me achieve what I want?
    Sorry for the long-winded post (and if I've posted in the wrong section) but I really think I lept into the migration without really knowing what I was doing and I could really use some advice to help me work out what to do!

    With your project open, press Shift + Q to open System Settings.
    Where are your render files being stored to? The path should be pointing to your external. I'm betting that it's set to your system drive instead.

  • Help needed in working with Excel

    i have a ms excel template with n number of columns.
    I need to add a new column using sql code. Can anyone tell me what is the code??? thx in advance...

    Erm i tink the final db is excel and no more.
    the db given to me is in excel and i can do whatever with it but the final output have to be in excel.
    ( i initially imported the excel db to access and everything is out running fine. But as i wont be using the application after i had it out. So i thought it would be better to allow it to work on excel thus saving the trouble of importing and exporting)
    I have to work with a few db(all excel) and they each contains 40 000 - 80 000 records...(i dun knw if that is considered small or large)
    I have limited knowledge on access macros and sql and the knowledge i had on them does not permit me to carry out the operations i wan.(and im required to develop an application with GUI)
    thx for all helps and comments guyz...

  • HELP needed in working with established InDesign catalog

    I have just inherited the job of up keep and editing of our catalog. The entire catalog is on InDesign cs5. I have never worked with any InDesign programs. It looks to me like the entire thing was done in individual text boxes, I am at a loss as to were to begin, can anyone recommend a tutorial to get me started. I have looked and did not find what I needed.

    I like the Visual Quickstart Guides to get to know a new program - lots of pics, captions and tips - besides wordy explanations.
    Also indesignsecrets.com for tips once you know the program better - and their pdf magazine - they are quite happy to point out bugs and workarounds. I always find Adobe resources hide the shortcomings and tell you everything is perfect - until the next version of the software where they tell you it wasn't but have now fixed it!
    (I have no ties to the above)
    This forum seems the most active (and helpful) for sorting individual problems.

  • Help needed to work with wbservices

    Hi ,
        I'm in urgent need to develop webservices in
    Webdynpro . I have seen help docs but could get full out of it . Can any one help me in this issue.
    thanks in advance,
    Ravi Shankar.

    Hi Venkat,
    Please go through this blog on <a href="/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi Webservices using SAPXI</a> and see if it helps you......Follow the blog and do it step by step and see if it helps you.The blog explains the same Scenario that you are trying.
    Also go through these links and they will surely help you learn more about Webservices:
    <a href="/people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies between SAP System & Webservice Using Proxies</a>
    You can Go through these links to get some info about accessing Webservices:
    http://help.sap.com/saphelp_nw04/helpdata/en/d6/f9bc3d52f39d33e10000000a11405a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/b7/d7baaf1481a349ab723e3acd7334b3/content.htm
    The following weblogs will explain you about the integration of webdypro with XI.
    <a href="http:///people/saravanakumar.kuppusamy2/blog/2005/02/07/interfacing-to-xi-from-webdynpro">Interfacing to XI from Webdynpro</a>
    <a href="/people/sap.user72/blog/2005/09/15/connecting-to-xi-server-from-web-dynpro">Connecting to XI server from Web Dynpro</a>
    Also please refer to the link below:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1334">EP-XI [original link is broken] [original link is broken]
    It is an Excellent Blog on EP-XI Integration using Web Services and Web Dynpro MVC.
    Regards,
    Abhy

  • Href and target tags tutorial/help needed for use with an existing website

    I have a website, (built through iweb), and an intro movie. I have spent a lot of time trying to understand the proper tags and how to use them without much luck. My goal is to have the homepage associated with my domain name load in a browser while at the same time have my intro movie open in a Quicktime Player window, play, and automatically close leaving the webpage visible. If anyone can point me to a tutorial or walk my through the process I would appreciate it.

    Poster movie style. Requires QuickTime Pro:
    Create an image (or a frame from your movie). This becomes the "poster". You could add text to it (Click to Play) in a graphic editor app to help your viewers or add text to the page under the image with these instructions.
    Save this new file as poster.mov
    It becomes the src="poster.mov" (source tag in the html code). Set its dimensions to fit your page layout.
    Your "intro movie" will be your href="intro.mov" (href tag in the html code).
    Open it with QuickTime Pro and then open the Movie Properties window. Click on the Presentation tab to see the choices. Automatically close option will close the QuickTime window. Automatically quit option will quit the running QuickTime Player app. This would be a better option as the browser should come back as the "front" application. You also want to check "auto play".
    Use Save As (preserves fast start feature) and name this file intro.mov
    In your html code for the QuickTime files you need to set target="quicktimeplayer" (this launches the QuickTime Player app instead of using the browser plug-in). It may also help if you use the full URL to both files in each tag (http://myserver.com/foldername/intro.mov).
    One of mine as an example. It uses automatically close window:
    http://homepage.mac.com/kkirkster/mycareerfuture/
    View the source code to see the tag structure. My page uses javascript instead of the older object/embed tag code.
    More useful links:
    http://developer.apple.com/internet/ieembedprep.html
    http://www.qtbridge.com/pageot/pageot.html

  • Help needed please.. with JPG file

    Hi all,
    I am a Forms developer that DOES NOT use Jdeveloper so go easy on me!
    I have with the help of this forum amended the Java Bean Forms graph to create a JPG from the Graph bean. Our original problem was the need to print the graphs that were displayed, the forum very helpfully guided me through creating a JPG and i used Forms to open this and therefore user can then print it.
    I have used the following:
    File f = new File((String) _object,"img.gif");
    FileOutputStream fos = new FileOutputStream(f);
    m_graph.exportToGIF(fos);
    I then use Forms to Pass the clients temp location and save the file to the local PC temp location as img.gif.
    Unforunately this came up with user rights problems and in order to make this work we needed to sign the certificate. BUT by signing the certificate it meant EVERY one of our customers has to approve the changes once we give them the new JAR. Unforunately we use (as per Oracle Certification) JRE 1.4.2_13 and when the customers go to approve the changes it crashes JAVA (if they have previousely used the system). The only way to get round this (that we have found) is to clear all signitures and clear cache on the JRE. This is something that our customers will not accept doing.
    I posted that initial JRE problem but not had any comeback so my next question is. Is there a way to do what we need to do without the need of signing the JAR?
    The graph pre these changes did not need the approvals. So im assuming its the fact we want to place something on the Client PC is what is requiring the approval. Can we do what were doing but place the JPG on the Server and use something like webutil to get the file over. Meaning we dont need to use a different JAR?
    Any help would be most appreciated

    Hi,
    I cannot help you much on the issue, but I can confirm some of your thought. Signing is indeed required because you're trying to access the user's PC, which is a potential security breach hence why Java requires that the user agrees to it when the application goes out of the normal sandbox. You can check out http://www.securingjava.com/chapter-two/ as an introduction on the subject.
    I don't really get your use case though, you simply want to print the generated gif file right, so why do you write it on the user's hard drive?
    Regards,
    ~ Simon

  • Help needed, possible problem with HDD

    In the last few weeks, my iMac has become quite slow and tends to freeze fairly often. The other day I turned it on and was met with a kernel panic screen and could not access my desktop or any of my files. To find the source of the problem I ran an Apple Hardware Test which gave me the following error:
    4HDD/11/40000004:SATA (0,0)
    After searching on the internet, I decided to boot from my OSX install disc and run Disk Utility. After verifying the disc, and repairing the disc, the scan revealed that there was no problem with the HDD. However, I was still being met with the kernel panic screen whenever I tried to turn on the computer.
    After booting from the install disc again, I did an Archive and Install, which finally let me get to my desktop, however the computer was once again running slowly and after another Apple Hardware Test it resulted in the same error as above.
    After more searching on the internet, I decided to remove the 3rd party RAM from my iMac and replace it with the original RAM. No success again.
    More searching brought Disk Warrior to my attention. After purchasing the program, I ran the included scans and once again was given the result that there was nothing wrong with the HDD.
    After this I decided to run Tech Tools Deluxe which came up with a Directory fail, even though the Disk Utility and Disk Warrior scans found no such problem.
    So what procedure can I take now, I am hesitant to perform a System Restore as I do not want to lose my files, but this may be my only option.
    Please help.

    Okay, I ended up installing OSX to my external HD and booted from that. Ran Disk Warrior from the external and used it to rebuild the internal HD. After the rebuild DW gave me the message that it could not replace the new directory with the old directory as there was a disk malfunction. I managed to copy all of my important data to the external.
    I'm guessing that the internal needs to be replaced? I'd rather start fresh with a new one than risk this happening again anyways.
    In any case thank you very much for your help, it was much appreciated .

  • Help needed to communicate with networked printer

    I have a iMac G5 with Airport card. I am trying to communicate with an HP7660 printer attached to a WinXP machine with a USB cable. I can communicate bidirectionally fine with shared files between the Mac and the PC. I have turned on the file sharing on the printer itself. In the Mac, in System Preferences/Print & Fax, I set up the printer in the Printer Browser window with the following:
    Protocol: Line Printer Daemon - LPD
    Address: I used the IP address of the PC
    Queue: left blank
    Name: hp7660 (same as I gave it on the PC)
    Location: I used the IP address of the PC
    Print Using: Generic Postscript Printer (this was the default since this model was not shown in the printer list.
    In the Print & Fax, under Sharing, it shows the hp7660 checked.
    In Printer Setup, "Printer model" shows Generic Postscript Printer.
    In Printer Setup, "Name & Location" shows correct for both. The Queue is shown as hp7660 and the driver version is 10.4 (the Mac version).
    Now, when I open a Word file and click on "File/Print", the "Printer" is hp7660. When I click Print, I get an error message that says
    "Network host "IP address" is busy, down or unreachable; will retry in 30 seconds..."
    This same thing happens regardless of the Protocol option that I choose: Line Printer Daemon, Internet Printing Protocol, or HP Jet Direct.
    During this time, I get no error message on the PC and there is no other work going on at the PC. As I said, I can easily communicate between both machines, except for the printing.
    If all of the configuration settings are correct, does anyone have any ideas that I might have overlooked?
    Thanks
    Herschel

    Henry,
    Thanks for being so patient with my problem.
    When I follow the efelix directions for setting up the PC, it says that when you press the "Add" button on the Mac, a drop down menu will appear so that one can choose "Window Printing". This is not what happens for me. When I push the "Add" button, a "Printer Browser" window opens.
    This Printer Browser window (in the first box) gives me only 3 options: the LPD, IPP and Socket options. After manually entering the Address (IP address of PC), Name (same as shown on the PC), and Location (IP address of PC), the default in "Print Using" shows up as "Generic Postscript Printer". I then click on the "Print Using" using option to choose the HP Photosmart 7660 printer from the list rather than the Generic Postscript Printer.
    Now, when I click on "Add", the "Windows Printing/Workgroup" comes up in a Printer Browser window. It has only one item under the "Name" column which is my name and under the "Comment" column it had the Mac ID listed. I then choose "Network Neighborhood" as suggested in the efelix website. What appears now is a single choice called "WORKGROUP" under both the "Name" and "Comment" columns. I should have had 2 choices (as efelix shows), one being "WORKGROUP" and the other being a workgroup that contains my remote PC.
    This procedure, according the efelix procedure broke down at the very beginning when he suggests clicking on Add immediatly after setting up the PC. I did not get the drop down window he shows in order to choose "Windows Printing". Rather, this choice did not appear until I went through the configuration procedure of manually choosing the "HP Photosmart 760 Foomatic/hpijs" from the printer list. I don't know whether this may be due to a difference in Panther or Tiger (which I have), but the way I did it does not allow me to make the connection.
    So, in summary, it requires that I take a different path to get to the same conditions that efelix shows. Obviously, it is not getting the results needed. I sometimes wonder whether deleting the "hpijs" and 'ghostscript" and just using the HP upgrade might work? What do you think? Or is there some other way to get the "Add" window to give me the drop down window?
    I know this may be confusing, but I am trying to give you the step by step procedure that is happening.
    Thanks
    Herschel

Maybe you are looking for

  • Computer crashed and want to move my ipod library to diff. computer

    my computer crashed and i would like to move my music from my ipod to my new computer. i tried transferring it, but when i go to the music folder, the itunes folder and itunes library folders are empty. not sure what i'm doing wrong... my itunes page

  • Error in Module Development

    Hi Experts, I am getting the below error while I am trying to test the Scenario having custom module to read Excel file In the ejb-j2ee-engine.xml I have given  JNDI name readExcel In the Sender Communication channel I have specified readExcel In the

  • Slow receipt of e mail

    My e mail does not show up on my Galaxy lll until hours after it is actually received in my e mail account (on my computer etc).  Is there a setting adjustment I need to make so that I receive them in real time.  Text messages work fine in real time.

  • How can I connect my Phone 6 to my Toyota Camry? Phone is not discoverable

    How can I connect my Phone 6 to my Toyota Camry? Phone is not discoverable

  • Roles in KM EP

    Hello, I have an ask regarding roles in SAP KM. I want to set documents with specific criterias (moduls of SAP, project phases, document type, sector, ...). In my company there are different roles: consultant, developer, manager... Every role wants a