From: Jason <ja...@co...> - 2009-03-29 15:00:33
|
I'm not holding out much hope now after my research bout, but thought I'd ask the question... Does coLinux pass along any kind of APM events during sleep/hibernates/wakups from Windows XP? I found a few threads from 2005 saying no, but it's 2009 now, so thought I'd ask again. Searching in the Wiki didn't yield any results. Thanks Jason |
From: Jason <ja...@co...> - 2009-03-29 20:30:32
|
Jason wrote: > Does coLinux pass along any kind of APM events during > sleep/hibernates/wakups from Windows XP? > I've had a few people write me direct to say they don't know the answer, but actual sleep/recover works fine. So, I'll expound a bit on my use case. My system lives on a network that uses DHCP. Sometimes it moves between networks actually between hibernate/wake up. The dhcpcd does not seem keep track of it's lease time properly during the sleep cycle (or maybe coLinux just comes up too fast before the network is properly re-established, so dhcpcd never sees a reply from a reachable dhcp server... either way, same effect). Either way, I want to be able to catch the 'wakeup' signal so I can work on getting an event to occur that gets dhcpcd to re-negotiate it's lease properly. I could brute force it by checking for large skews in the clock between runs of a script, however if APM support exists, it would be a much more elegant solution. Thanks Jason |
From: Paolo M. <pao...@gm...> - 2009-03-30 06:12:43
|
Colinux does not have support for APM. But windows (that is the host system) has support for it. Colinux is seen as a (more or less) a normal application by windows. So APM works OK. I repeat, colinux does not support APM. APM is managed from windows! I don't know an elegant solution for your problem. I don't think there is it. Bye, Paolo On Sun, Mar 29, 2009 at 10:30 PM, Jason <ja...@co...> wrote: > Jason wrote: >> Does coLinux pass along any kind of APM events during >> sleep/hibernates/wakups from Windows XP? >> > > I've had a few people write me direct to say they don't know the answer, > but actual sleep/recover works fine. > > So, I'll expound a bit on my use case. My system lives on a network that > uses DHCP. Sometimes it moves between networks actually between > hibernate/wake up. > > The dhcpcd does not seem keep track of it's lease time properly during > the sleep cycle (or maybe coLinux just comes up too fast before the > network is properly re-established, so dhcpcd never sees a reply from a > reachable dhcp server... either way, same effect). > > Either way, I want to be able to catch the 'wakeup' signal so I can work > on getting an event to occur that gets dhcpcd to re-negotiate it's lease > properly. > > I could brute force it by checking for large skews in the clock between > runs of a script, however if APM support exists, it would be a much more > elegant solution. > > Thanks > > Jason > > ------------------------------------------------------------------------------ > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > |
From: Nambi J U <ju...@gm...> - 2009-03-30 06:32:39
|
Hi, I have been using Colinux and always put my laptop on stand-by and I have not faced any issue with Colinux. Regards, Nambi On Mon, Mar 30, 2009 at 11:42 AM, Paolo Minazzi <pao...@gm...>wrote: > Colinux does not have support for APM. > But windows (that is the host system) has support for it. > Colinux is seen as a (more or less) a normal application by windows. > So APM works OK. I repeat, colinux does not support APM. > APM is managed from windows! > I don't know an elegant solution for your problem. > I don't think there is it. > Bye, > Paolo > > On Sun, Mar 29, 2009 at 10:30 PM, Jason <ja...@co...> wrote: > > Jason wrote: > >> Does coLinux pass along any kind of APM events during > >> sleep/hibernates/wakups from Windows XP? > >> > > > > I've had a few people write me direct to say they don't know the answer, > > but actual sleep/recover works fine. > > > > So, I'll expound a bit on my use case. My system lives on a network that > > uses DHCP. Sometimes it moves between networks actually between > > hibernate/wake up. > > > > The dhcpcd does not seem keep track of it's lease time properly during > > the sleep cycle (or maybe coLinux just comes up too fast before the > > network is properly re-established, so dhcpcd never sees a reply from a > > reachable dhcp server... either way, same effect). > > > > Either way, I want to be able to catch the 'wakeup' signal so I can work > > on getting an event to occur that gets dhcpcd to re-negotiate it's lease > > properly. > > > > I could brute force it by checking for large skews in the clock between > > runs of a script, however if APM support exists, it would be a much more > > elegant solution. > > > > Thanks > > > > Jason > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > coLinux-users mailing list > > coL...@li... > > https://lists.sourceforge.net/lists/listinfo/colinux-users > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > |
From: Jason <ja...@co...> - 2009-03-30 14:01:00
|
Paolo Minazzi wrote: > Colinux does not have support for APM. > That's what I've been coming to the conclusion of. It'd be great if coLinux could somehow see the event (does Windows even send or have a trappable event that processes can get notified that the system is sleeping/hibernating?) and pass it on to the kernel as an APM or ACPI event. So this answers my question, and the only way to deal with my dhcpcd not getting an IP (either because of the way it keeps track of time while 'sleeping', or because the bridge doesn't come up fast enough during the wake up) is going to be to do some clock skew monitoring. Thanks! Jason |