[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.8.1-kernel on Powerbook G4?



On Tue, Aug 24, 2004 at 05:49:22PM +0200, Michael Schmitz wrote:
> > > Or so goes the theory :-) That's what I did with 2.6.8, sure. 2.6.7 I
> > > cannot build to save my life (unknown opcode dssall; that seems to ring a
> > > bell and I'll search the archives). The 'ignore right mouse button
> >
> > Sure, it is the binutils bug. Later version of 2.6.7 have this fixed,
> 
> kernel-source-2.6.7-4 doesn't, apparently. What did you use to build the
> 2.6.7-powerpc installer image?

2.6.7-5 has the fix, and is used in the d-i daily build, and is also now in
sarge. d-i rc1 has only 2.6.7-3. Because of time constraints and the rc1
freeze deadline.

> > > events from crazy trackpad' patch isn't in the default kernel, and without
> > > it the system is messed up to the point it gets useless.
> >
> > So, please help us in getting a kernel as good as possible, and submit those
> > patches for inclusion. Not sure they will be accepted though, as i (and more
> > importantly, Christoph) have not looked at it yet.
> 
> Please - it's a one-line patch that can definitely be applied since there
> wasn't ever any Apple with more than one mouse button, much less with a
> trackpad sporting multiple buttons. Did I forget to mention there wasn't
> any use of ADB outside of Apple hardware?
> 
> --- drivers/macintosh/adbhid.c.orig	2004-03-10 23:41:43.000000000 +0100
> +++ drivers/macintosh/adbhid.c		2004-03-10 23:41:34.000000000 +0100
> @@ -327,7 +327,7 @@
>  	input_report_key(&adbhid[id]->input, BTN_LEFT,   !((data[1] >> 7) & 1));
>  	input_report_key(&adbhid[id]->input, BTN_MIDDLE, !((data[2] >> 7) & 1));
> 
> -	if (nb >= 4)
> +	if (nb >= 4 && adbhid[id]->mouse_kind != ADBMOUSE_TRACKPAD)
>  		input_report_key(&adbhid[id]->input, BTN_RIGHT,  !((data[3] >> 7) & 1));
> 
>  	input_report_rel(&adbhid[id]->input, REL_X,
> 
> Kudos to Alex Clausen for this (and Alex, I don't think there's rocket
> science involved, just crappy hardware).

Ah, the right thing is a bugreport against the kernel package.

> > > 2.6.8 and unstable xfree86 apparently hates the Radeon 9600 - the system
> > > freezes quite often when panning horizontally in the browser window. Not
> > > to mention screen flicker in the console (though 2.6.7 also had that).
> >
> > does disabling the dri solve the issue ? I ask because i had another case
> > where apparently it tried to launch the dri/drm on such a card, which
> > naturally doesn't work.
> 
> Good point. Disabling dri doesn't make it worse but I'll have to watch it
> for a while yet. I'll keep you posted.

Ok.

Friendly,

Sven Luther



Reply to: