Re: [gpm] FC5 troubles: how do acpi, pm-utils, and gnome-power-manager fit together?



On 5/16/06, Andrew <cmkrnl speakeasy net> wrote:


> >
> > $ cat /etc/pm/config
> > SUSPEND_MODULES="button"
> >
> > HIBERNATE_RESUME_POST_VIDEO="no"
> >
> > and I cannot find any documentation on the format for entering new
> > information here--comma separated, etc.
>
> I think specified by space, we should probably add this as a comment in
> the file. Pls tell me if a space works and I'll commit a fix.
>

Its SUSPEND_MODULES is delimited by space, at least when its defined in /etc/sysconfig/pm -- I think you have to handle the dependancies yourself, but I've not tried it lately, I know I have all the dependancies covered (and in the right order, for the modules I remove on my system.


I had success changing it to be

SUSPEND_MODULES="button ipw3945"

pm-suspend works now. But it is a little bit of a puzzle. At the same
time , I installed the gpm RPMS from Mr Hughes's Utopia web server.
And I think those changes are making the difference.

Now, if I'm in a wifi zone and logged in, the system does suspend to
ram and resume and the ipw3945 module is still active after suspend.
HOWEVER, I don't understand why.  The module has some bugs still, and
it does not load unless the force option is added to modprobe:

/sbin/modprobe --force ipw3945

and if pm-suspend is shutting that down, and then restarting it, I
don't think it should work.

Also, the ipw3945 module should not let itself be removed from the
kernel because the "userspace driver" is running.  After the module is
loaded, the user runs

/sbin/ipw3945d

When that program is running, watch what happens

# /sbin/rmmod ipw3945
ERROR: Module ipw3945 is in use

So that makes me think that adding the ipw3945 to the SUSPEND_MODULES
list had no effect, and I'm amazed that pm-suspend now seems to work.


I still have trouble suspending if the modular bay 2nd hard disk is in
the machine, and I think that may trace back to the fact that it is
using the USB subsystem, even though it shows up as an IDE device
(same bay as CDROM snaps into).  In the ACPI scripts I have run in the
past, I had special remove and restart provisions for the USB modules.
Why doesn't pm-suspend or gnome-power-manager seem to worry about
those?

I wish Andrew would share his list of modules, so I could get an idea
of how serious I have to get about this.


Andrew





--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]