![]() |
APMD-List: |
to APMD Home
|
Index:
[thread]
[date]
[subject]
[author]
From: Jont Allen <jba@research.att.com> To : Richard Green <rtg@tir.com> Re: Linux & Audio on ThinkPad 380D?Richard Thank you 10^9 times for taking on such an important project. Suspend is critical for the notebook linux box. Ideally it would work 100% of the time. 99.9% is not good enough (for me) because if you close the lid, and it does not suspend, it can be a very serious problem. For one thing, your disk is spinning, and you think it is asleep. It could crash the heads, for example, with a jolt to the machine in your shoulder bag. (do you agree?) One thing I would like to see is some feedback (if possible) about what fails to suspend when the suspend is rejected. This way you could figure out what you are doing wrong, and maybe not do it next time. (If you cant fix the machine, then fix the behavior of the user of the machine :) I looked at the MS/Intel APM spec (this was about a year ago), but it didn't really say anything about feedback to the OS when a card refuses to suspend. Now the spec has changed, with this new W98 spec (ACPI), who knows what is going on. Also, I tried adding debugging messages to the apm commands in the kernel, but again I didnt get much back. Do you know if it possible to get feedback as to what PCMCIA card rejects the suspend request, and if so, how to do it? Jont Allen Richard Green wrote: > > On Sat, 3 Oct 1998, Anderson MacKay wrote: > > > Kevin Brick wrote: > > > IC> Note that unfortunately suspending the machine appears to kill > > > IC> the sound card. > > > > > > This happens on my TP600 as well. Anyone have any idea why, or how to > > > go about trying to fix it? > > > > For me, simply doing "rmmod sound; modprobe sound" after coming back > > from a suspend will re-initialize the internal sound system. Works > > great -- I have a TP600, the 41U model. (Of course, it only works if > > your sound is modularized ...) > > This was the nth time I heard someone reporting a suspend/resume > workaround of some sort. It got me thinking, and I ended up sending an > email to the author of apmd. Here's part of the reply: > > From: Avery Pennarun <apenwarr@worldvisions.ca> > To: Richard Green <rtg@tir.com>, apmd-list@worldvisions.ca > Subject: Re: apm question. > > Rik Faith has transferred maintainership of apmd to me. I have a web page > with my new apmd 3.0beta3: > > http://www.worldvisions.ca/~apenwarr/apmd/ > > It also points to a mailing list dedicated to apmd, which you might be > interested in. If you read Linux-laptops, you might want to mention this to > the people there. Hopefully we can end all the apmd hacks now that it's > maintained again! > > In particular, the new -s and -r options allow you to run commands on > suspend/resume. This implementation of this may change soon to use a > centralized "apmd event dispatch" script... but no one has worked out the > details yet. > > Have fun, > > Avery > > -- > Richard T. Green, N8BJX > Milford, MI > ------------------------------------------------------------------------ > Technology is a gift of God. After the gift of life it is perhaps the > greatest of God's gifts. It is the mother of civilizations, of arts and > of sciences. --- Freeman Dyson, *Infinite in All Directions* > ------------------------------------------------------------------------ -- Jont B. Allen, Room E161 AT&T Labs-Research Shannon Laboratory 180 Park Ave. Florham Park NJ 07932-0971 973/360-8545voice, x7111fax http://www.research.att.com/info/jba Index: [thread] [date] [subject] [author] |