Re: Test patch for sleep on Aluminium PowerBooks

2004-11-23 Thread Federico Gamio
On Tue, 2004-11-23 at 08:47 +1100, Benjamin Herrenschmidt wrote: I don't know if I am doing something wrong, but when I suspend to ram and resume, all the stuff works, but when I try to play any video (mplayer, vlc and xine) it shows like when you select an empty air channel in you TV,

Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 22 Nov 2004 at 18h11, Benjamin Herrenschmidt wrote: Hi Ben, Never saw this problem with other machines. - crashes sometimes later (often happens) Have you tried patch #4 ? I did now. The iBook still froze some time after resume, once when starting sylpheed-claws and once when

Re: TEST: Sleep suppport for iBook G4 Aluminium PowerBooks (ATI based)

2004-11-23 Thread Jack Malmostoso
Benjamin Herrenschmidt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... No, it's all normal. Ben. Mmm I'll check my .config with Pau's then, and see if there are any differences.

Re: TEST: Sleep patch #4

2004-11-23 Thread Guido Guenther
On Mon, Nov 22, 2004 at 06:36:02PM +, Sean Neakums wrote: Keith Conger [EMAIL PROTECTED] writes: Works great here also (15 1GHz PB). One issue which may be unrelated I have some sound issues. For instance one a sound is played it sounds fine but if a sound is played right after its

Re: TEST: Sleep patch #4

2004-11-23 Thread Michael Schmitz
http://gate.crashing.org/~benh/albook-ibookg4-sleep-4.diff Sorry for coming late to the party ... the current code works nicely on the 17 PB. On the first boot with that code, I had the PLL freak out (or so it looked like) but I couldn't reproduce that. Needless to say, the new PLL

Re: TEST: Sleep patch #4

2004-11-23 Thread Sean Neakums
Benjamin Herrenschmidt [EMAIL PROTECTED] writes: On Mon, 2004-11-22 at 18:36 +, Sean Neakums wrote: Keith Conger [EMAIL PROTECTED] writes: Works great here also (15 1GHz PB). One issue which may be unrelated I have some sound issues. For instance one a sound is played it sounds fine

Re: TEST: Sleep patch #4

2004-11-23 Thread Sean Neakums
Guido Guenther [EMAIL PROTECTED] writes: On Mon, Nov 22, 2004 at 06:36:02PM +, Sean Neakums wrote: Keith Conger [EMAIL PROTECTED] writes: Works great here also (15 1GHz PB). One issue which may be unrelated I have some sound issues. For instance one a sound is played it sounds fine

Re: howto ignore lid-opened?

2004-11-23 Thread Michael Schmitz
I'm familiar with the pmud -k -K flags for avoiding sleeping when the lid is closed (with potentially grave thermal consequences - I don't know), but I can't find their reciprocal - for avoiding waking when the lid is opened. There isn't any such option. I think some behavior may be

Re: howto ignore lid-opened?

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 09h11, Michael Schmitz wrote: Hi, I'm familiar with the pmud -k -K flags for avoiding sleeping when the lid is closed (with potentially grave thermal consequences - I don't know), but I can't find their reciprocal - for avoiding waking when the lid is opened. There

Re: TEST: Sleep patch #4, USB swap during sleep kills system

2004-11-23 Thread Julien PERVILLE
Hello Ben, and thanks again for your great sleep patch. I have been running at home without any problem for a few days now, but when going to work this morning, I found a good, reproducible kernel panic. System is an Ibook G4 12' 800Mhz running gentoo, kernel 2.6.9-r4 + your 4th sleep patch

Re: TEST: Sleep patch #4, USB swap during sleep kills system

2004-11-23 Thread Michael Clemens
Yes, I had exactly the same problem. Hello Ben, and thanks again for your great sleep patch. I have been running at home without any problem for a few days now, but when going to work this morning, I found a good, reproducible kernel panic. System is an Ibook G4 12' 800Mhz running gentoo,

Re: howto ignore lid-opened?

2004-11-23 Thread Michael Schmitz
I'm familiar with the pmud -k -K flags for avoiding sleeping when the lid is closed (with potentially grave thermal consequences - I don't know), but I can't find their reciprocal - for avoiding waking when the lid is opened. There isn't any such option. [EMAIL PROTECTED] ~]$

Re: TEST: Sleep patch #4, USB swap during sleep kills system

2004-11-23 Thread wrobell
On Tue, Nov 23, 2004 at 10:53:25AM +0100, Julien PERVILLE wrote: [...] I have been running at home without any problem for a few days now, but when going to work this morning, I found a good, reproducible kernel panic. [..] how to do it : * have USB mouse unplugged * sleep * plug USB

Re: TEST: Sleep patch #4

2004-11-23 Thread Jose A. Ortega Ruiz
Hi... surely i'm making some stupid mistake, but when i try to compile (via kernel-package) my patched kernel (obtained by applying the sleep patch to a kernel tree got from debian's kernel-source package), the compiler complains about a missing target (pmac_cache.o; there's no corresponding

Re: TEST: Sleep patch #4

2004-11-23 Thread Michael Clemens
The file is located in /usr/src/linux-2.6.9-sleep (or something like that). Just copy it into the right place... Am 23.11.2004 schrieb Jose A. Ortega Ruiz [EMAIL PROTECTED]: Hi... surely i'm making some stupid mistake, but when i try to compile (via kernel-package) my patched kernel (obtained

Re: TEST: Sleep patch #4

2004-11-23 Thread Michael Schmitz
It reads them from OF at boot. What do you mean by freak out ? the usual problem with those models where the display gets all fuzzy ? I'm not completely sure what's up, I tend to blame the panel power sequence nowadays ... Just got a garbled display when waking up from sleep. That seems to

Re: TEST: Sleep patch #4

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 12h11, Michael Clemens wrote: Hi, The file is located in /usr/src/linux-2.6.9-sleep (or something like that). Just copy it into the right place... Better, apply patches in linux' root (/usr/src/linux-2.6.9) with -p1 instead of -p0, that'll take care of it transparently.

Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 08h11, Colin Leroy wrote: Hi, I did now. The iBook still froze some time after resume, once when starting sylpheed-claws and once when starting firefox. Just a wild guess, could it be caused by pmac_cache.S ? I have a first gen ibook G4: processor : 0 cpu

Re: TEST: Sleep patch #4

2004-11-23 Thread Jesus Climent
On Mon, Nov 22, 2004 at 11:32:58AM +1100, Benjamin Herrenschmidt wrote: http://gate.crashing.org/~benh/albook-ibookg4-sleep-4.diff Testing the patch above. iBook G4 1GHz. The problem i found is after a long sleep, it woke up and suddenly it looked like without battery. Even it would not react

Re: the ibook G4 sleep test patch

2004-11-23 Thread Mannequin*
On Tue, 2004-11-23 at 13:51 +0100, Colin Leroy wrote: On 23 Nov 2004 at 08h11, Colin Leroy wrote: Hi, I did now. The iBook still froze some time after resume, once when starting sylpheed-claws and once when starting firefox. ... Could it be faulty memory or something like that?

Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 08h11, Mannequin* wrote: Hi, I did now. The iBook still froze some time after resume, once when starting sylpheed-claws and once when starting firefox. ... Could it be faulty memory or something like that? I hope not. It never happened before this patch :)

problems with cpu frequency governor

2004-11-23 Thread Martin Kuball
Hi! I'v just installed the Kernel 2.6.9 on my iBook 2.2. I compiled in the userspace and ondemand governor. Userspace is the default. I tried to change this by echoing ondemand into /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor But the setting does not change. It stays at userspace.

Re: TEST: Sleep patch #4

2004-11-23 Thread Jose A. Ortega Ruiz
thanks. that worked. i've tried the patch a little bit on a new ibook g4 12' and it's working so far. jao Michael Clemens [EMAIL PROTECTED] writes: The file is located in /usr/src/linux-2.6.9-sleep (or something like that). Just copy it into the right place... Am 23.11.2004 schrieb Jose

pbbuttonsd problem (Was: Re: TEST: Sleep patch #4)

2004-11-23 Thread Jesus Climent
On Tue, Nov 23, 2004 at 03:41:17PM +0100, Jesus Climent wrote: On Mon, Nov 22, 2004 at 11:32:58AM +1100, Benjamin Herrenschmidt wrote: http://gate.crashing.org/~benh/albook-ibookg4-sleep-4.diff Testing the patch above. iBook G4 1GHz. More findings: I have noticed that when setting the

Re: the ibook G4 sleep test patch

2004-11-23 Thread Arne Caspari
Mannequin* wrote: On Tue, 2004-11-23 at 13:51 +0100, Colin Leroy wrote: On 23 Nov 2004 at 08h11, Colin Leroy wrote: Hi, I did now. The iBook still froze some time after resume, once when starting sylpheed-claws and once when starting firefox. ... Could it be faulty

[seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 08h11, Colin Leroy wrote: Hi Ben! I did now. The iBook still froze some time after resume, once when starting sylpheed-claws and once when starting firefox. I had a brilliant idea ;-) and thought that my crashes that I was noticing happened when starting (relatively)

gdesklets uses 100 % of my cpu

2004-11-23 Thread Jaonary Rabarisoa
Hi all, I'd like to know if some of you managed to run gdesklets-daemon without any trouble in a ppc laptop with Debian/Sid. Here it works but also uses 100 % of the CPU. Then, the system get hot rapidly and becom very slow. :-( Best regards Jaonary

Re: gdesklets uses 100 % of my cpu

2004-11-23 Thread Michel Dänzer
On Tue, 2004-11-23 at 19:15 +0100, Jaonary Rabarisoa wrote: I'd like to know if some of you managed to run gdesklets-daemon without any trouble in a ppc laptop with Debian/Sid. Here it works but also uses 100 % of the CPU. Then, the system get hot rapidly and becom very slow. :-( I see the

Re: TEST: Sleep patch #4, USB swap during sleep kills system

2004-11-23 Thread Michel Dänzer
On Tue, 2004-11-23 at 10:53 +0100, Julien PERVILLE wrote: Hello Ben, and thanks again for your great sleep patch. I have been running at home without any problem for a few days now, but when going to work this morning, I found a good, reproducible kernel panic. System is an Ibook G4 12'

Re: [seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-23 Thread Pau Rul·lan Ferragut
On Tuesday 23 November 2004 19:06, Colin Leroy wrote: On 23 Nov 2004 at 08h11, Colin Leroy wrote: I had a brilliant idea ;-) and thought that my crashes that I was noticing happened when starting (relatively) heavyweight stuff like firefox. Then remembered I have powernowd to switch CPU

Re: gdesklets uses 100 % of my cpu

2004-11-23 Thread Domingo Fiesta Segura
On Tue, 23 Nov 2004 13:40:16 -0500 Michel Dänzer [EMAIL PROTECTED] wrote: I'd like to know if some of you managed to run gdesklets-daemon without any trouble in a ppc laptop with Debian/Sid. Here it works but also uses 100 % of the CPU. Then, the system get hot rapidly and becom very slow.

Re: TEST: Sleep suppport for iBook G4 Aluminium PowerBooks (ATI based)

2004-11-23 Thread clemens kurtenbach
Hi, 'echo ram /sys/power/state' also does nothing. Am I missing something? pmud or pbbuttonsd set to pmud replacement mode ... sorry, but what does this exactly mean ? By closing/opening the lid suspend-to-ram is working fine with debian sarge and a patched (#4) vanilla 2.6.9 kernel. But

Re: [seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-23 Thread Colin Leroy
On 23 Nov 2004 at 21h11, Pau Rul·lan Ferragut wrote: Hi, Give a chance to cpudyn Will do, thanks for the pointer. -- Colin Well, it just seemed wrong to cheat on an ethics test. -- Calvin

Re: TEST: Sleep patch #4

2004-11-23 Thread Sascha Herrmann
Benjamin Herrenschmidt wrote: first thank you for this nice work. Mostly it works great for me on my iBook G4 933 (first generation). I have still some problems with #4. When i unplug or plug in an USB-Mouse while in sleep the iBook crashes on resume. The sleep-led turns off, but the display

Re: TEST: Sleep patch #4

2004-11-23 Thread Benjamin Herrenschmidt
On Tue, 2004-11-23 at 08:27 +, Sean Neakums wrote: On resume this morning, though, the display was behaving oddly, both in X and on the console: it was sort of shimmering, split and repeated about 1/5 of the screen's width to the right in what looked like 8-pixel horizontal stripes.

Re: TEST: Sleep patch #4

2004-11-23 Thread Benjamin Herrenschmidt
Looking at radeon_base.c:radeon_screen_blank() (line 1045) we have: val = ~(LVDS_BL_MOD_EN); udelay(100); val = ~(LVDS_ON | LVDS_EN); OUTREG(LVDS_GEN_CNTL, val); Is there an

Re: TEST: Sleep patch #4

2004-11-23 Thread Benjamin Herrenschmidt
I have still some problems with #4. When i unplug or plug in an USB-Mouse while in sleep the iBook crashes on resume. The sleep-led turns off, but the display remains dark and i can't ping the iBook (with #2 one time after resume the display remained blank too, but the sound (xmms and

Re: [seems SOLVED] Re: the ibook G4 sleep test patch

2004-11-23 Thread Benjamin Herrenschmidt
On Tue, 2004-11-23 at 21:00 +0100, Pau Rul·lan Ferragut wrote: On Tuesday 23 November 2004 19:06, Colin Leroy wrote: On 23 Nov 2004 at 08h11, Colin Leroy wrote: I had a brilliant idea ;-) and thought that my crashes that I was noticing happened when starting (relatively) heavyweight

Re: TEST: Sleep suppport for iBook G4 Aluminium PowerBooks (ATI based)

2004-11-23 Thread Benjamin Herrenschmidt
On Tue, 2004-11-23 at 22:28 +0100, clemens kurtenbach wrote: Hi, 'echo ram /sys/power/state' also does nothing. Am I missing something? pmud or pbbuttonsd set to pmud replacement mode ... sorry, but what does this exactly mean ? By closing/opening the lid suspend-to-ram is working

Re: gdesklets uses 100 % of my cpu

2004-11-23 Thread Michel Dänzer
On Tue, 2004-11-23 at 21:32 +0100, Domingo Fiesta Segura wrote: On Tue, 23 Nov 2004 13:40:16 -0500 Michel Dnzer [EMAIL PROTECTED] wrote: I'd like to know if some of you managed to run gdesklets-daemon without any trouble in a ppc laptop with Debian/Sid. Here it works but also uses 100