1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Write a macro for sleep

Discussion in 'Windows Vista' started by Giles, Jun 25, 2009.

  1. Giles

    Giles Guest

    I have Vista 64 bit. My PC stopped going to sleep when I pressed the sleep
    button (in fact it crashed); to cut a long story short, I eventually traced
    the problem to a new sound card I'd installed - disabling the card allows
    sleep to work normally. (I see that the card manufacturer, M-Audio, includes
    a note in its FAQ to the effect that none of its cards will work with sleep.
    Great.)

    I'm now faced with the prospect of having to navigate through Control Panel
    and the Device Manager to disable the card every time I want to put the PC to
    sleep, and then the same performance to re-enable to card when I wake it up.

    Does anyone know if it's possible to run a series of commands when the sleep
    button is pressed so that it disables the card before going to sleep? I
    suppose I'm asking if there's a way that someone who's only semi-technical
    could write a macro and apply it to the button - or is this just cloud cuckoo
    land?
     
  2. Rich

    Rich Guest

    "Giles" <Giles@discussions.microsoft.com> wrote in message
    news:3AD2FC40-2E14-4CDD-A799-2035FEAC728E@microsoft.com...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    >I have Vista 64 bit. My PC stopped going to sleep when I pressed the sleep
    > button (in fact it crashed); to cut a long story short, I eventually
    > traced
    > the problem to a new sound card I'd installed - disabling the card allows
    > sleep to work normally. (I see that the card manufacturer, M-Audio,
    > includes
    > a note in its FAQ to the effect that none of its cards will work with
    > sleep.
    > Great.)
    >
    > I'm now faced with the prospect of having to navigate through Control
    > Panel
    > and the Device Manager to disable the card every time I want to put the PC
    > to
    > sleep, and then the same performance to re-enable to card when I wake it
    > up.
    >
    > Does anyone know if it's possible to run a series of commands when the
    > sleep
    > button is pressed so that it disables the card before going to sleep? I
    > suppose I'm asking if there's a way that someone who's only semi-technical
    > could write a macro and apply it to the button - or is this just cloud
    > cuckoo
    > land?<!--colorc--><!--/colorc-->

    Just buy another audio card and the problems goes away! There cheap these
    days.
     
  3. Bob

    Bob Guest

  4. JEWboy

    JEWboy Guest

    keep checking manufacturer for updated driver once/month so one day you
    won't have to disable it for each sleep.
    Why M-Audio, I hate them!
     
  5. Giles

    Giles Guest

    Bob,

    Thanks, that looks promising - and great to know even if it turns out not to
    resolve the sleep issue.

    Giles.

    "Bob" wrote:
    <!--coloro:blue--><span style="color:blue <!--/coloro-->
    > Create a desktop shortcut "rundll32.exe powrprof.dll,SetSuspendState 0,1,0"
    > without the quotes.
    >
    >
    > "Giles" <Giles@discussions.microsoft.com> wrote in message
    > news:3AD2FC40-2E14-4CDD-A799-2035FEAC728E@microsoft.com...<!--coloro:green--><span style="color:green <!--/coloro-->
    > >I have Vista 64 bit. My PC stopped going to sleep when I pressed the sleep
    > > button (in fact it crashed); to cut a long story short, I eventually
    > > traced
    > > the problem to a new sound card I'd installed - disabling the card allows
    > > sleep to work normally. (I see that the card manufacturer, M-Audio,
    > > includes
    > > a note in its FAQ to the effect that none of its cards will work with
    > > sleep.
    > > Great.)
    > >
    > > I'm now faced with the prospect of having to navigate through Control
    > > Panel
    > > and the Device Manager to disable the card every time I want to put the PC
    > > to
    > > sleep, and then the same performance to re-enable to card when I wake it
    > > up.
    > >
    > > Does anyone know if it's possible to run a series of commands when the
    > > sleep
    > > button is pressed so that it disables the card before going to sleep? I
    > > suppose I'm asking if there's a way that someone who's only semi-technical
    > > could write a macro and apply it to the button - or is this just cloud
    > > cuckoo
    > > land? <!--colorc--><!--/colorc-->
    >
    >
    > <!--colorc--><!--/colorc-->
     
  6. Giles

    Giles Guest

    I guess I shall keep a regular check, but to me it sounds as if M-Audio has
    decided it's not interested in the issue.

    Why did I choose them? Fair question. I looked around various music
    production forums and their card seemed to be rated highly for its
    performance at a reasonable price (around £100). With the benefit of knowing
    what I now know about its interference with sleep mode I might have made a
    different choice...

    "JEWboy" wrote:
    <!--coloro:blue--><span style="color:blue <!--/coloro-->
    > keep checking manufacturer for updated driver once/month so one day you
    > won't have to disable it for each sleep.
    > Why M-Audio, I hate them!
    >
    > <!--colorc--><!--/colorc-->
     

Share This Page