Subject: Re: radeonfb, VTs and trackpad
To: Peter Bex <Peter.Bex@xs4all.nl>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 01/14/2007 14:59:36
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jan 14, 2007, at 06:07, Peter Bex wrote:

> I recently upgraded from to NetBSD 4 BETA2 on my 12" iBook G4 and 
> noticed
> a few things have changed, most for the better.  According to this
> http://mail-index.netbsd.org/port-macppc/2006/11/08/0001.html
> message from Michael Lorenz, the new console drivers should support
> virtual consoles.
>
> I've tried to add a few VTs, which works according to dmesg, but
> I can't switch to them.  Whenever I press Ctrl+Apple+F1..F4, the
> machine simply resets itself.  How does this work?

To switch VTs use Command-F[1-5]. If the function keys don't send 
proper scancodes but appear as abtn device ( to control volume, 
brightness etc. ) use Fn-Command-F[1-5]
This is a bug in the PMU code which tries to control display brightness 
on machines that can't do this via PMU ( like all Powerbooks that 
shipped with something newer than a G3, likely all iBooks ) - the PMU 
itself responds to invalid commands by powering down.
I'm in the middle of cleaning up this mess.

> Also, the trackpad now interprets a tap on it as a mouseclick.  I 
> really
> consider this a nuisance, as my hand occasionally touches the trackpad
> accidentally, or when I try to make very small movements with the 
> mouse,
> it sees it as a click.  I always switched this behaviour off in Mac OS
> and in older NetBSD versions, this behaviour wasn't there.  Is there a
> way to turn it off, currently?

I'll add one.

> The new radeonfb is quite fast on the console, but somehow it appears
> X is slower.  When I try to play a game that uses SDL, it's a lot
> slower with radeonfb than it was with a -current of a few months back,
> from before radeonfb.  Should I update my 4-BETA2 to -current?

Hmm, as far as X is concerned there is no difference between radeonfb 
and ofb - it shuts up the console, then mmap()s registers and 
framebuffer. Could you please mail me the XFree86.0.log for both cases?

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRaqLqMpnzkX8Yg2nAQLD4QgAkllLngRjR6aT2AumJXWDmlHTAKC9tiP7
varFimnnM1osUcFnyha06KRLPWSQczOIbXQKiRLGqDTI0MJCNOneVau1ClCtl8Sm
7ePP49VbGNmgqNZYmzeRZHFdc4TGnjYwp3510TMNpRHV5moHhGyHAsJ7aDcwiY97
54Pk40BC/LtRMx7L1TSRYcOcJml/6BNGkwzBGkFuiGd0JhDrGNalR3/XCsirPHNE
8Gu6sGUF4LrIQaxWqTO9/LbRsrU5pKUKTeYzmy59+6pTFUPPvxrJ55bKoWp5S1zc
N6zPap14c2PpABo4ytYLosJ5e9niFoySfp8ZuHu5xieq0DIBFxF8Ng==
=s6eW
-----END PGP SIGNATURE-----