Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-29 Thread Benjamin Herrenschmidt
> > No, the 2 things above are GPIOs (general purpose IO pins), that > > apparently are used as interrupts. > > Can you point me to any documentation on these GPIOs? I must admit that > I've never heard of the term. There isn't really any documentation. GPIO is a generic term for general purpos

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-29 Thread Johannes Berg
Hi, > > I do not know any details, but under MacOS X someone managed to write > > a fancy program which stabilises a window (i.e. the window does not Yeah I have seen that as well. > It's possible that the Apple driver just puts the sensor values in the > IO Registery in which case the app just

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-29 Thread Benjamin Herrenschmidt
On Tue, 2005-03-29 at 09:57 +0100, Jochen Voss wrote: > Hello Johannes, > > On Tue, Mar 29, 2005 at 07:30:12AM +0200, Johannes Berg wrote: > > Jochen: You might want to add to your page that so far we don't know how > > the acceleration sensor can be queried, it is reportedly I2C but I know > > no

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-29 Thread Jochen Voss
Hello Johannes, On Tue, Mar 29, 2005 at 07:30:12AM +0200, Johannes Berg wrote: > Jochen: You might want to add to your page that so far we don't know how > the acceleration sensor can be queried, it is reportedly I2C but I know > nothing else. Yes, now the the machine runs at full speed I may add

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Benjamin Herrenschmidt
On Tue, 2005-03-29 at 07:30 +0200, Johannes Berg wrote: > On Mon, 2005-03-28 at 17:22 -0500, Marc Heckmann wrote: > > > works like a charm. Scaling down to 750 Mhz also works. thanks a bunch. > > Cool, thanks Ben. I'll be applying to mine as soon as it compiles for > the first time (and runs). Th

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Johannes Berg
On Mon, 2005-03-28 at 17:22 -0500, Marc Heckmann wrote: > works like a charm. Scaling down to 750 Mhz also works. thanks a bunch. Cool, thanks Ben. I'll be applying to mine as soon as it compiles for the first time (and runs). Then I'll send a preliminary driver for the touchpad, I think I can do

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Jochen Voss
Hi Ben, On Tue, Mar 29, 2005 at 08:45:20AM +1000, Benjamin Herrenschmidt wrote: > Have you actually tried the patch ? The previous was just using "reg" > property for the gpio offset, which is wrong, it should add 0x50 to it, > which is what read_gpio() does... Sorry, I probably suffered from hall

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Benjamin Herrenschmidt
On Mon, 2005-03-28 at 13:32 +0100, Jochen Voss wrote: > diff -ur linux-2.6.11.4.orig/arch/ppc/kernel/misc.S > linux-2.6.11/arch/ppc/kernel/misc.S > --- linux-2.6.11.4.orig/arch/ppc/kernel/misc.S 2005-03-02 > 07:38:26.0 + > +++ linux-2.6.11/arch/ppc/kernel/misc.S 2005-03-

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Marc Heckmann
On Mon, Mar 28, 2005 at 06:28:05PM +1000, Benjamin Herrenschmidt wrote: > On Mon, 2005-03-28 at 18:23 +1000, Benjamin Herrenschmidt wrote: > > On Mon, 2005-03-28 at 02:20 -0500, Marc Heckmann wrote: > > > > > > Is there any other patch that I can help test? > > > > Ah, I missed Jochen comments. C

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Jochen Voss
Hi Ben, On Mon, Mar 28, 2005 at 06:28:05PM +1000, Benjamin Herrenschmidt wrote: > Hrm... Indeed, the code looks bogus. Try replacing: > > reg = (u32 *)get_property(volt_gpio_np, "reg", NULL); > voltage_gpio = *reg; > > With > > if (volt_gpio_np) > voltage_gpio =

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Benjamin Herrenschmidt
On Mon, 2005-03-28 at 18:23 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2005-03-28 at 02:20 -0500, Marc Heckmann wrote: > > Hi, > > > > I just wanted to confirm that on a PowerBook5,6 (post feb. 15"), the > > cpu speed patch from the thread: > > > > http://lists.debian.org/debian-powerpc/2005/

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Benjamin Herrenschmidt
On Mon, 2005-03-28 at 02:20 -0500, Marc Heckmann wrote: > Hi, > > I just wanted to confirm that on a PowerBook5,6 (post feb. 15"), the > cpu speed patch from the thread: > > http://lists.debian.org/debian-powerpc/2005/03/msg00554.html > > does not work work. It crashes the machine after "openpi