Re: radeonfb i2c regression post-2.6.18.

2007-11-24 Thread Benjamin Herrenschmidt
> Very strange indeed. Another possibility is that there is a hardware > monitoring chip connected to one of the Radeon adapter's I2C buses, and > that holding the I2C lines prevents reading from it, so whatever is > responsible for controlling the temperature prefers to play it safe and > shuts e

Re: radeonfb i2c regression post-2.6.18.

2007-11-24 Thread Jean Delvare
On Sat, 24 Nov 2007 15:18:26 +0100, Michael Buesch wrote: > On Friday 23 November 2007 23:29:28 Jean Delvare wrote: > > Out of curiosity, what kind of crash was it? I admit that I can't see > > how the code could crash. > > It's not the code that crashes. It's the hardware that turns off the machi

Re: radeonfb i2c regression post-2.6.18.

2007-11-24 Thread Michael Buesch
On Friday 23 November 2007 23:29:28 Jean Delvare wrote: > On Fri, 23 Nov 2007 17:00:52 +0100, Michael Buesch wrote: > > This patch fixes my crash problem. > > Out of curiosity, what kind of crash was it? I admit that I can't see > how the code could crash. > It's not the code that crashes. It's

Re: radeonfb i2c regression post-2.6.18.

2007-11-24 Thread Jean Delvare
On Sat, 24 Nov 2007 12:11:04 +1100, Benjamin Herrenschmidt wrote: > > On Fri, 2007-11-23 at 23:29 +0100, Jean Delvare wrote: > > On Fri, 23 Nov 2007 17:00:52 +0100, Michael Buesch wrote: > > > This patch fixes my crash problem. > > > > Out of curiosity, what kind of crash was it? I admit that I c

Re: radeonfb i2c regression post-2.6.18.

2007-11-23 Thread Benjamin Herrenschmidt
On Fri, 2007-11-23 at 23:29 +0100, Jean Delvare wrote: > On Fri, 23 Nov 2007 17:00:52 +0100, Michael Buesch wrote: > > This patch fixes my crash problem. > > Out of curiosity, what kind of crash was it? I admit that I can't see > how the code could crash. Really sneaky... apparently, keeping the

Re: radeonfb i2c regression post-2.6.18.

2007-11-23 Thread Jean Delvare
On Fri, 23 Nov 2007 17:00:52 +0100, Michael Buesch wrote: > This patch fixes my crash problem. Out of curiosity, what kind of crash was it? I admit that I can't see how the code could crash. -- Jean Delvare - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: radeonfb i2c regression post-2.6.18.

2007-11-23 Thread Michael Buesch
On Monday 19 November 2007 00:16:06 Benjamin Herrenschmidt wrote: > (Also, Michel, can you check if it fixes your other problem with this > code ? ie. your "hot crash") > Forwarded Message > From: Jean Delvare <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: Benjamin Herrenschmi

Re: radeonfb i2c regression post-2.6.18.

2007-11-21 Thread Benjamin Herrenschmidt
On Wed, 2007-11-21 at 23:56 +, Roger Leigh wrote: > Fantastic, thanks! I've copied this to Debian bugs 433236 and 426124 > which were about this problem. > > BTW, the framebuffer penguin logo looked a little wierd (low number of > colours, odd colours), though on my powerpc it has always loo

Re: radeonfb i2c regression post-2.6.18.

2007-11-21 Thread Roger Leigh
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes: >> > Can you try the patch from Jean that I pasted below and let us know if >> > it helps ? It looks like the releasing of the i2c lines may have been >> > done backward. >> >> This patch fixes the problem. The monitor stays powered on during th

Re: radeonfb i2c regression post-2.6.18.

2007-11-21 Thread Michael Buesch
On Wednesday 21 November 2007 20:58:09 Benjamin Herrenschmidt wrote: > > > > Can you try the patch from Jean that I pasted below and let us know if > > > it helps ? It looks like the releasing of the i2c lines may have been > > > done backward. > > > > This patch fixes the problem. The monitor s

Re: radeonfb i2c regression post-2.6.18.

2007-11-21 Thread Benjamin Herrenschmidt
On Wed, 2007-11-21 at 21:13 +0100, Michael Buesch wrote: > On Wednesday 21 November 2007 20:58:09 Benjamin Herrenschmidt wrote: > > > > > > Can you try the patch from Jean that I pasted below and let us know if > > > > it helps ? It looks like the releasing of the i2c lines may have been > > > >

Re: radeonfb i2c regression post-2.6.18.

2007-11-21 Thread Benjamin Herrenschmidt
> > Can you try the patch from Jean that I pasted below and let us know if > > it helps ? It looks like the releasing of the i2c lines may have been > > done backward. > > This patch fixes the problem. The monitor stays powered on during the > switch to the framebuffer. Excellent ! That saves m

Re: radeonfb i2c regression post-2.6.18.

2007-11-21 Thread Roger Leigh
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes: > On Sun, 2007-11-18 at 21:58 +, Roger Leigh wrote: >> Hi folks, >> >> I'm using an Apple Cinema Display connected via DVI to an Apple Mac >> Mini with Radeon 9200 graphics. This used to work fine, but with >> kernels >= 2.6.19, the monitor p

Re: radeonfb i2c regression post-2.6.18.

2007-11-18 Thread Benjamin Herrenschmidt
On Sun, 2007-11-18 at 21:58 +, Roger Leigh wrote: > Hi folks, > > I'm using an Apple Cinema Display connected via DVI to an Apple Mac > Mini with Radeon 9200 graphics. This used to work fine, but with > kernels >= 2.6.19, the monitor powers off as soon as the framebuffer > is initialised, mak

radeonfb i2c regression post-2.6.18.

2007-11-18 Thread Roger Leigh
Hi folks, I'm using an Apple Cinema Display connected via DVI to an Apple Mac Mini with Radeon 9200 graphics. This used to work fine, but with kernels >= 2.6.19, the monitor powers off as soon as the framebuffer is initialised, making for a less than usable system. I've tested with 2.6.(19|2[012