Re: Wake PC on Sound Event



cedars123 wrote:
Hi,

I have an Asus P5 and use my PC to automatically record analogue phone
calls via the 'mic in' at the back of the PC (purely for training
purposes).

I would like to get my PC to power on when there is sound input via the
'mic in', so that my Pc will turn on when there is a phone call.

Since the APM allows 'power on' via PCI devices, I assume that this
includes a sound card.

1. Is it possible to get my PC to power on when there is sound input
via the 'mic in'?

2. If so, do I need a sound card, or is what came with the MOBO
enough?

3. What settings need to be made in the BIOS and Vista to get PC to
power on (I notice that Vista allows you to run scheduled tasks that
wake PC up on trigger event such as a hardware event or application)?

4. If a sound card is needed, does it require any specific features?

5. Do I need anything else like a special power unit or software?

It would be really cool if I could get this working.

If anyone has any ideas how I get this to work, or how to get my PC
recording phone conversations without using up loads of power the whole
time, that would be great.

Thanks.

It sounds like an intriguing idea, but I don't think sound
cards make use of PME. At least, I've never heard of one
doing it.

At one time, we had "Wake On Lan". The computer had a three
pin header, the LAN card had a three pin header, and if you
wanted the LAN card to wake the computer, you used a WOL
cable to join the LAN card to the motherboard. That was one
earlier example of an explicit hardware interface for waking.

In one of the more recent versions of PCI standard, they
decided it would be fun to incorporate that function, into
the PCI slot connector itself. By doing that, the user
no longer needs to find and plug in the cable. Every
PCI slot has the function, and multiple cards can be inserted
into the computer, all of which could have access to the PME
signal.

So, with a modern computer, you can get a LAN card that has
PME on its PCI connector, a motherboard that supports PME,
and then the LAN card wakes the computer.

If you were a designer, and wanted to add that function to a
sound card, it would be a relatively simple matter to trigger on
an audio level, and assert PME. I don't know the entire sequence
of events that follows assertion of PME, so cannot comment in
any further detail there.

http://www.microsoft.com/whdc/archive/PCIpm.mspx

You could have a look at your computer, and see what other features
would do something equivalent. For example, say you have an RS-232
serial port on the computer. Say one of the pins on the connector
is "RI" or "Ring Indicator". And in the BIOS, you see a setting
called "Wake On Ring". That would monitor the RI pin and look
for a state change.

Purchase an external modem with RS-232 interface. You don't have
to do much with it, except connect it to the phone line, and see
if it'll assert RI for you. If it can, the modem could be used
to wake the computer. Again, I cannot comment on the side effects
f doing this (such as whether the modem will attempt to answer
the phone or not, and what Hayes Command Set function would be
needed to "neuter" the modem). The above Microsoft article
implies that PCI devices are scanned, until the thing with an
asserted PME is found, and then the driver for the device
is informed. In this case, it would be the driver for the
RS232 port, that would be triggered, and I don't know what
happens in response. (I seem to remember, you can make
the serial port refuse to answer on a ring, so maybe you
get awakened, but nothing more has to happen.)

So you'd have two things connected to the phone line. You'd
have your current phone tap, that is delivering an analog
signal to the sound card or equivalent. You would also have
your RS232 modem, using it to monitor the Ring Indicator. To integrate
all of these function properly, there are bound to be important
details I'm missing.

One thing I'd be concerned about, is the sound recording application
and how it works. Say you start a recording in the morning at 8AM.
You hang up the phone. (Something now has to put the computer to
sleep...) Now, what happens to the file that was open when you
did sleep command ? Is the file committed, and a
new file started ? Or is all of the audio recording you ever
did, sitting in a file that has not been committed to the
file system. Now, imagine the power goes off to the computer.
Everything since 8AM could now be lost, of your audio recordings.
There could be 1GB of data written to the disk, but because
the file was not "saved" or closed off, the file is not
considered to be there in the file system.

It is for those reasons, I'm not sure you have everything
you need, to make a fully automated phone recording device.
There might be more highly integrated, dedicated phone
recording devices, that would make the job seamless.

Paul
.



Relevant Pages

  • Re: TV Tuner Help
    ... I hope to set the recording using time, date, channel type VCR setup, but I did not like to hear the C-Media Chips are crappy, I will be run through a cd-audio type input. ... Audio quality seems to be a more likely issue with this card as it is with every card I've ever owned. ... C-media chip based on-board sound produces crappy sound with TV cards. ... Since you don't mention a sound card I assume you are using on-board sound. ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: weird problem...sound card disappears from Media Encoder
    ... In one machine, we used the Sound Blaster Live sound card, the other was ... >>I'm running the encoder? ... that playback differs from recording and it's the ...
    (microsoft.public.windowsmedia.encoder)
  • Re: Computer recording
    ... > and in professional recording studios. ... > out from the amp and feed that into my Mackie 1202 (old mixer). ... > I have a line out from the mixer going into my sound card. ...
    (rec.music.makers.guitar.jazz)
  • Re: how do I easily change sound cards?
    ... want to record from the mixer, or output to it, choose card #1. ... but does it change the settings in whatever recording package ... open it up and select the sound card. ... I have a batch file I use for access to Device Manager which also ...
    (microsoft.public.windowsxp.customize)
  • Re: Adding external sound card to laptop
    ... However, when a phonograph recording is made, the recoding on the vinyl is NOT "flat" ... ... The PHONO inputs of phono pre-amps and "receivers" does this, but other inputs do not, and, in particular, NO inputs of ANY computer sound card do this. ...
    (comp.sys.laptops)