Questions about the new powerbook ?

2005-05-26 Thread Mickael Royer
Hi, I recently bought a powerbook 12" and I have installed linux on it. For the moment, I use the kernel 2.6.12rc4. It works very well but I still have 2 problems :   -  The suspend to disk doesn't work when X is lauched. When I try, the system blocks. Else, it works very well when X is not la

Re: Questions about the new powerbook ?

2005-05-26 Thread Benjamin Herrenschmidt
On Thu, 2005-05-26 at 11:32 +0200, Mickael Royer wrote: > Hi, > > I recently bought a powerbook 12" and I have installed linux on it. > For the moment, I use the kernel 2.6.12rc4. It works very well but I > still have 2 problems : > - The suspend to disk doesn't work when X is lauched. When

Re: Questions about the new powerbook ?

2005-05-26 Thread Mickael Royer
  > When does it exactly locks ?   After unloaded modules and stop hotplug, I do       echo -n disk > /sys/power/state   And just after that, an awful image appears and I can do nothing. When I try the keyboard, nothing happen. The unique solution is to press the power button until the Powerbook

Re: Questions about the new powerbook ?

2005-05-26 Thread Benjamin Herrenschmidt
On Thu, 2005-05-26 at 11:54 +0200, Mickael Royer wrote: > > When does it exactly locks ? > > After unloaded modules and stop hotplug, I do > echo -n disk > /sys/power/state > And just after that, an awful image appears and I can do nothing. > When I try the keyboard, nothing happen. T

Re: Questions about the new powerbook ?

2005-05-26 Thread Mickael Royer
>if you log in your machine remotely while it's in X and do "chvt 1", does >this work ? Yes, it woks well >Can you switch to console in general when in X ? Yes Moreover, when Powerbook is blocked, I can ping the laptop but the ssh server doesn't work anymore. So I can not see what's happen on t

Re: Questions about the new powerbook ?

2005-05-27 Thread Benjamin Herrenschmidt
On Fri, 2005-05-27 at 08:55 +0200, Mickael Royer wrote: > >if you log in your machine remotely while it's in X and do "chvt 1", > does > >this work ? > > Yes, it woks well > > >Can you switch to console in general when in X ? Well... normally, the very first thing that happens when doing suspend

Re: Questions about the new powerbook ?

2005-05-27 Thread Mickael Royer
Thanks for your help ben. If I have the time, I test the patch this week-end. Mickael On 5/27/05, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: On Fri, 2005-05-27 at 08:55 +0200, Mickael Royer wrote:> >if you log in your machine remotely while it's in X and do "chvt 1",> does> >this work ?>>

Re: Questions about the new powerbook ?

2005-05-28 Thread Wolfram Quester
Hi Ben, hi Mickael, On Fri, May 27, 2005 at 08:55:19AM +0200, Mickael Royer wrote: > >if you log in your machine remotely while it's in X and do "chvt 1", does > >this work ? > > Yes, it woks well > > >Can you switch to console in general when in X ? > > Yes > > Moreover, when Powerbook is blo

Re: Questions about the new powerbook ?

2005-05-28 Thread Jesus Climent
On Thu, May 26, 2005 at 11:32:09AM +0200, Mickael Royer wrote: >Hi, > >I recently bought a powerbook 12" and I have installed linux on it. >For the moment, I use the kernel 2.6.12rc4. It works very well but I still >have 2 problems : > - The suspend to disk doesn't work w

Re: Questions about the new powerbook ?

2005-05-29 Thread Johannes Berg
On Thu, 2005-05-26 at 19:36 +1000, Benjamin Herrenschmidt wrote: > > - The trackpad doesn't work. Is it planned to write a driver > > for this trackpad in the kernel ? http://johannes.sipsolutions.net/PowerBook/touchpad > There are some experiments here or there, I don't know the current

Re: Questions about the new powerbook ?

2005-05-29 Thread Barry Hawkins
On Sun, May 29, 2005 at 10:05:39PM +0200, Johannes Berg spake thus: > On Thu, 2005-05-26 at 19:36 +1000, Benjamin Herrenschmidt wrote: > > > > - The trackpad doesn't work. Is it planned to write a driver > > > for this trackpad in the kernel ? > > http://johannes.sipsolutions.net/PowerBook

Re: Questions about the new powerbook ?

2005-05-30 Thread Mickael Royer
>Well... normally, the very first thing that happens when doing suspend >to disk is that it switches to console. If that doesn't happen, I really >don't know what's going on. Hi, This week end, I discovered that "chvt x" works fine with x between 1 and 7, but when I do "chvt x" with x more than 7,

Re: Questions about the new powerbook ?

2005-05-30 Thread Benjamin Herrenschmidt
On Mon, 2005-05-30 at 09:08 +0200, Mickael Royer wrote: > >Well... normally, the very first thing that happens when doing > suspend > >to disk is that it switches to console. If that doesn't happen, I > really > >don't know what's going on. > > Hi, > > This week end, I discovered that "chvt x" wo

Re: Questions about the new powerbook ?

2005-05-30 Thread Michael Schmitz
> > This week end, I discovered that "chvt x" works fine with x between 1 > > and 7, but when I do "chvt x" with x more than 7, the awful image > > appears and the Powerbook is blocked. > > Is it the reason of my problem with the suspend to disk ? > > Could be though I fail to see why... What vt d

Re: Questions about the new powerbook ?

2005-05-30 Thread Johannes Berg
On Sun, 2005-05-29 at 23:20 -0400, Barry Hawkins wrote: > I loaded Johannes' driver and played with it some today. It works, but > the tracking was a bit too dodgy for typical use. There may be some > configuration that I am not aware of which could cause the driver to be > usable. No, my dri

Re: Questions about the new powerbook ?

2005-05-30 Thread Barry Hawkins
On Mon, May 30, 2005 at 10:48:29AM +0200, Johannes Berg spake thus: > On Sun, 2005-05-29 at 23:20 -0400, Barry Hawkins wrote: > > I loaded Johannes' driver and played with it some today. It works, but > > the tracking was a bit too dodgy for typical use. There may be some > > configuration that