Re: Request for ergonomy feature
- From: Dan Williams <dcbw redhat com>
- To: jtgoguen gmail com
- Cc: networkmanager-list gnome org
- Subject: Re: Request for ergonomy feature
- Date: Thu, 11 Oct 2007 15:14:57 -0400
On Thu, 2007-10-11 at 14:14 -0300, Joel Goguen wrote:
> On Thu, 2007-10-11 at 13:09 -0400, Dan Williams wrote:
> > On Thu, 2007-10-11 at 13:56 -0300, Joel Goguen wrote:
> > > On Thu, 2007-10-11 at 18:31 +0200, Markus Becker wrote:
> > > > On Thu, 11 Oct 2007, Peter Clifton wrote:
> > > >
> > > > >
> > > > > On Thu, 2007-10-11 at 11:45 -0400, Scott Rossillo wrote:
> > > > >> I have a similar problem with sleeping my laptop at work and then
> > > > >> going home to connect to my wireless network. I usually resort to
> > > > >> opening a terminal and restarting the Network Manager service on the
> > > > >> occasions that the applet refuses to scan for wireless networks in
> > > > >> timely fashion.
> > > > >
> > > > > Rescan on wake from suspend or hibernate might be the way to solve this?
> > > >
> > > > Did you have a look in /etc/hibernate/common.conf?
> > > > At least on Debian there is an option "EnableNMReconnect yes".
> > > >
> > > > BR,
> > > > Markus Becker
> > > >
> > > > >
> > > > > --
> > > > > Peter Clifton
> > > > >
> > > > > Electrical Engineering Division,
> > > > > Engineering Department,
> > > > > University of Cambridge,
> > > > > 9, JJ Thomson Avenue,
> > > > > Cambridge
> > > > > CB3 0FA
> > > > >
> > > > > Tel: +44 (0)7729 980173 - (No signal in the lab!)
> > > > >
> > > > > _______________________________________________
> > > > > NetworkManager-list mailing list
> > > > > NetworkManager-list gnome org
> > > > > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > > > >
> > > > _______________________________________________
> > > > NetworkManager-list mailing list
> > > > NetworkManager-list gnome org
> > > > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> > > On Ubuntu Gutsy beta, there is no such directory '/etc/hibernate/'.
> > > Also, I'm not able to hibernate the laptop at all, only Suspend. Maybe
> > > that file normally handles both, but this is the first I've heard of it.
> >
> > On Fedora, gnome-power-manager is the thing that tells NM to sleep and
> > wake up. Maybe that's the case for Ubuntu as well, I don't know. But
> > please check and make sure your distro is correctly telling NM to go to
> > sleep and waking up. The behavior you describe is consistent with NM
> > _not_ going to sleep, which is should be doing.
> >
> > Dan
> >
> >
> > > _______________________________________________
> > > NetworkManager-list mailing list
> > > NetworkManager-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/networkmanager-list
> >
> Primarily for my own curiosity and so I can put some details in a bug
> report if needed, what would be the proper way to tell NM to go to sleep
> and wake up? Is there a way to broadcast a message over dbus and
> anything listening that receives the message goes to sleep or wakes up
> as appropriate? Or would a message need to be sent specifically to NM
> for each?
Historically, there has not been a system service that sends out dbus
signals on sleep/wake. That should probably be HAL if anything. But
since power policy is managed int he _session_, and not system wide,
it's unclear exactly how that would work. In any case, you must call
the 'sleep' and 'wake' methods like so:
dbus-send --system
--dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager
org.freedesktop.NetworkManager.sleep
and 'wake'.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]