Re: sleep mode revisited
> > When I packaged it on my stock 8.2 system pbbuttonsd didn't like the > > symlinks. That may have been fixed in a subsequent release... > > Doesn't seem to care anymore... I rebuilt your pbbuttonsd package on > a not-quite stock 8.2 (only mozilla was upgraded and kde3 added). I've rebuilt them on a pure cooker (yesterday update), and beside struggling with some unknown rpm macro, all went fine. My 16VRAM (as Apple calls it) ibook running benh rc3 kernel is able to sleep when the lid is closed and to wake up either under KDE3/Gnome2 or console mode. The only trouble I had was to re-define the device in pbbuttonsd.conf since benh kernel does not have devfsd enabled. Brice
Re: sleep mode revisited
On Wed Jul 31, 2002 at 10:49:13AM -0700, Ben Reser wrote: > > Hmmm... you're right. Just checked... you can tell it to use > > non-devfs entries and it will work whether devfs is used or not (devfs > > makes the correct symlinks). Wondered about that because my benH > > kernel doesn't do devfs, but the linuxppc kernel does (just my playing > > around). > > When I packaged it on my stock 8.2 system pbbuttonsd didn't like the > symlinks. That may have been fixed in a subsequent release... Doesn't seem to care anymore... I rebuilt your pbbuttonsd package on a not-quite stock 8.2 (only mozilla was upgraded and kde3 added). -- MandrakeSoft Security; http://www.mandrakesecure.net/ "lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import" {GnuPG: 1024D/FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD} msg03796/pgp0.pgp Description: PGP signature
Re: sleep mode revisited
Hi, I did correct the config /dev/pmud, so maybe I'm missing devfs with the new kernel. I'll check on that. I'm sure I am running pbbuttonsd because the start script would give an error initially. It couldn't insert the module since in benh kernels these things are not modules but built in the kernel. Once I eliminated that from the script it ran merrily. Now that I think about, I really should compile the kernel, it will be easier to do the debugging. Two questions: a) does the benh kernel have devfs at all? or is it just a matter of enabling it at config time? b) do you have the .config resulting from your compile? that way I don't have to go guessing ppc options. I've only compiled intel kernels before. Thanks, Platy On Wed, 2002-07-31 at 13:49, Ben Reser wrote: > On Wed, Jul 31, 2002 at 11:41:44AM -0600, Vincent Danen wrote: > > Hmmm... you're right. Just checked... you can tell it to use > > non-devfs entries and it will work whether devfs is used or not (devfs > > makes the correct symlinks). Wondered about that because my benH > > kernel doesn't do devfs, but the linuxppc kernel does (just my playing > > around). > > When I packaged it on my stock 8.2 system pbbuttonsd didn't like the > symlinks. That may have been fixed in a subsequent release... > > -- > Ben Reser <[EMAIL PROTECTED]> > http://ben.reser.org > > We tend to see all wars through the lens of the current conflict, and we > mine history for lessons convenient to the present purpose. > - Brian Hayes
Re: sleep mode revisited
On Wed, Jul 31, 2002 at 11:41:44AM -0600, Vincent Danen wrote: > Hmmm... you're right. Just checked... you can tell it to use > non-devfs entries and it will work whether devfs is used or not (devfs > makes the correct symlinks). Wondered about that because my benH > kernel doesn't do devfs, but the linuxppc kernel does (just my playing > around). When I packaged it on my stock 8.2 system pbbuttonsd didn't like the symlinks. That may have been fixed in a subsequent release... -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org We tend to see all wars through the lens of the current conflict, and we mine history for lessons convenient to the present purpose. - Brian Hayes
Re: sleep mode revisited
On Wed Jul 31, 2002 at 10:30:11AM -0700, Ben Reser wrote: > On Wed, Jul 31, 2002 at 11:22:05AM -0600, Vincent Danen wrote: > > No special configs... I've got pmud-0.10.1-1mdk installed, > > pbbuttonsd-0.4.10-3rph and gtkpbbuttons-0.4.6b-4rph (the rph packages > > are basic rebuilds of the packages Ben mentioned on the list a while > > ago). The only config changes were to /etc/pbbuttonsd.conf to set pmu > > to /dev/pmu and mixer to /dev/mixer (forget what the original settings > > were). Are you sure that pbbuttonsd is running? It would silently > > error out on me and say OK when starting with the initscript, but > > would actually never start because the paths to the mixer and pmu were > > wrong. Running "pbbuttonsd" on the commandline directly will tell you > > if there are errors in the config. > > Those config changes were only necessary because you weren't using > devfs. Anyone using devfs will have pbbuttonsd working out of the box. Hmmm... you're right. Just checked... you can tell it to use non-devfs entries and it will work whether devfs is used or not (devfs makes the correct symlinks). Wondered about that because my benH kernel doesn't do devfs, but the linuxppc kernel does (just my playing around). -- MandrakeSoft Security; http://www.mandrakesecure.net/ "lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import" {GnuPG: 1024D/FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD} msg03793/pgp0.pgp Description: PGP signature
Re: sleep mode revisited
On Wed, Jul 31, 2002 at 11:22:05AM -0600, Vincent Danen wrote: > No special configs... I've got pmud-0.10.1-1mdk installed, > pbbuttonsd-0.4.10-3rph and gtkpbbuttons-0.4.6b-4rph (the rph packages > are basic rebuilds of the packages Ben mentioned on the list a while > ago). The only config changes were to /etc/pbbuttonsd.conf to set pmu > to /dev/pmu and mixer to /dev/mixer (forget what the original settings > were). Are you sure that pbbuttonsd is running? It would silently > error out on me and say OK when starting with the initscript, but > would actually never start because the paths to the mixer and pmu were > wrong. Running "pbbuttonsd" on the commandline directly will tell you > if there are errors in the config. Those config changes were only necessary because you weren't using devfs. Anyone using devfs will have pbbuttonsd working out of the box. -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org We tend to see all wars through the lens of the current conflict, and we mine history for lessons convenient to the present purpose. - Brian Hayes
Re: sleep mode revisited
On Wed Jul 31, 2002 at 12:32:42AM -0400, Ornitorinco wrote: > Hi, > I'm sleep deprived too ;-). My case is worse though. > I have a new powerbook, I have installed the benH kernel > (2.4.19rc3-ben0 from the binary though): when I close the lid > it seems to put the machine to sleep (although the "breathing > light" does not go on).. when I open the lid the machine simply > stays like that. No life signs whatsoever. No matter what I do, > click, type, whatever I don't know how to make it wake up. Well, with the Mandrake kernel I did better than this... the sleep light would come on, but only in X would it not come back. In a console, sleeping worked fine. I've got both 2.4.19rc3 and 2.4.19rc3-ben0 (currently booted into 2.4.19rc3) and it works just peachy. Both were built from source. > It is in some kind of suspended mode because the power button > doesn't inmediately turn it on, I have to push it for a while > as if I was to hard turn it off and then turn it on back again. > > Note this happens both on X and on console, I have both pmud > and powerbuttonsd running. Can you tell me which of versions > of those are you running? any special config? No special configs... I've got pmud-0.10.1-1mdk installed, pbbuttonsd-0.4.10-3rph and gtkpbbuttons-0.4.6b-4rph (the rph packages are basic rebuilds of the packages Ben mentioned on the list a while ago). The only config changes were to /etc/pbbuttonsd.conf to set pmu to /dev/pmu and mixer to /dev/mixer (forget what the original settings were). Are you sure that pbbuttonsd is running? It would silently error out on me and say OK when starting with the initscript, but would actually never start because the paths to the mixer and pmu were wrong. Running "pbbuttonsd" on the commandline directly will tell you if there are errors in the config. > If anybody has any suggestions I'm willing to try it out. -- MandrakeSoft Security; http://www.mandrakesecure.net/ "lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import" {GnuPG: 1024D/FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD} msg03791/pgp0.pgp Description: PGP signature
Re: sleep mode revisited
On Wed, Jul 31, 2002 at 12:32:42AM -0400, Ornitorinco wrote: > Hi, > I'm sleep deprived too ;-). My case is worse though. > I have a new powerbook, I have installed the benH kernel > (2.4.19rc3-ben0 from the binary though): when I close the lid > it seems to put the machine to sleep (although the "breathing > light" does not go on).. when I open the lid the machine simply > stays like that. No life signs whatsoever. No matter what I do, > click, type, whatever I don't know how to make it wake up. > > It is in some kind of suspended mode because the power button > doesn't inmediately turn it on, I have to push it for a while > as if I was to hard turn it off and then turn it on back again. > > Note this happens both on X and on console, I have both pmud > and powerbuttonsd running. Can you tell me which of versions > of those are you running? any special config? > > If anybody has any suggestions I'm willing to try it out. > Thanks, > Platy > > ps. maybe compiling from source would do the trick? This is a different problem. Your powerbook is probably new enough that it's not supported by the kernel/pmud. And just because other people have say a TiBook or whatever you have doesn't mean apple hasn't made some minute change that doesn't create an issue (they do it all the time). The issue that Vincent found a solution to was machines that would go to sleep and wake up when in console mode but not under X... -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org We tend to see all wars through the lens of the current conflict, and we mine history for lessons convenient to the present purpose. - Brian Hayes
Re: sleep mode revisited
Hi, I'm sleep deprived too ;-). My case is worse though. I have a new powerbook, I have installed the benH kernel (2.4.19rc3-ben0 from the binary though): when I close the lid it seems to put the machine to sleep (although the "breathing light" does not go on).. when I open the lid the machine simply stays like that. No life signs whatsoever. No matter what I do, click, type, whatever I don't know how to make it wake up. It is in some kind of suspended mode because the power button doesn't inmediately turn it on, I have to push it for a while as if I was to hard turn it off and then turn it on back again. Note this happens both on X and on console, I have both pmud and powerbuttonsd running. Can you tell me which of versions of those are you running? any special config? If anybody has any suggestions I'm willing to try it out. Thanks, Platy ps. maybe compiling from source would do the trick? On Wed, 2002-07-31 at 00:29, Vincent Danen wrote: > Well, I built the linuxppc kernel and the benH kernel (2.4.19-rc3) > from scratch and both put the system into sleep mode and, more > importantly, wake up properly after I open the lid. Even in KDE3 > where it wasn't working before (it always worked on the console > before). I'm not sure what the problem there was, but using either a > newer kernel or a ppc-specific (more or less) kernel did the trick. > > As an aside, the linuxppc kernel seems quite nice as far as powerbooks > or mac systems may go... building it is a snap and very fast > (considering all of the intel-specific hardware you don't have to > worry about making modules for). I have no benchmarks on whether they > are faster than the stock Mandrake kernels or not. > > On a side note, if you're using XFS you'll have to apply the XFS > patches yourself, but support for ext3 and reiserfs is in the linuxppc > kernel already (I don't remember if they're in the benH kernel or > not). > > Just as an FYI for anyone who is in the same sleep-deprived () > situation that I was in. > > -- > MandrakeSoft Security; http://www.mandrakesecure.net/ > "lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import" > {GnuPG: 1024D/FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD}
sleep mode revisited
Well, I built the linuxppc kernel and the benH kernel (2.4.19-rc3) from scratch and both put the system into sleep mode and, more importantly, wake up properly after I open the lid. Even in KDE3 where it wasn't working before (it always worked on the console before). I'm not sure what the problem there was, but using either a newer kernel or a ppc-specific (more or less) kernel did the trick. As an aside, the linuxppc kernel seems quite nice as far as powerbooks or mac systems may go... building it is a snap and very fast (considering all of the intel-specific hardware you don't have to worry about making modules for). I have no benchmarks on whether they are faster than the stock Mandrake kernels or not. On a side note, if you're using XFS you'll have to apply the XFS patches yourself, but support for ext3 and reiserfs is in the linuxppc kernel already (I don't remember if they're in the benH kernel or not). Just as an FYI for anyone who is in the same sleep-deprived () situation that I was in. -- MandrakeSoft Security; http://www.mandrakesecure.net/ "lynx -source http://www.freezer-burn.org/bios/vdanen.gpg | gpg --import" {GnuPG: 1024D/FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD} msg03786/pgp0.pgp Description: PGP signature