Subject: Re: radeonfb, VTs and trackpad
To: Peter Bex <Peter.Bex@xs4all.nl>
From: Michael <macallan1888@gmail.com>
List: port-macppc
Date: 01/14/2007 19:00:09
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Jan 14, 2007, at 06:07, Peter Bex wrote:
> 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?
The function keys that control brightness, volume etc. in MacOS may act
as separate ADB device - you can force them to send normal keyboard
events by adding
option FORCE_FUNCTION_KEYS
to your kernel config.
> 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?
Please grab the latest src/sys/arch/macppc/dev/ams.c and amsvar.h from
- -current.
When the driver detects a trackpad it should set up a sysctl node like
machdep.ams0.tapping which defaults to 1 - set it to 0 and tapping the
pad shouldn't cause button events.
Works on my PowerBook, if it works for you as well I'll have it pulled
into 4.0
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRarECspnzkX8Yg2nAQLN3Qf6AjdHwwAr2+ZoMf1AigUhAJdiT9mTsAlC
59lzeweGFySEQRGvnETi72+1moAJgevoQyeh4MK4vLR2bDJiotuI2zHezcVtnZA1
VFb/ININH+q5FMSrUoiAcTzLdt/SGdBeo2DQhRyeVZSg81fR8OYd9KNTgM1axP56
QHw3fLMDm0vlyx1rCgna/fn37BejXFsZ5lTduqtMoRYW8PWZlJYp7Ys4W4Lbu94t
YHvRY6BzoFKUrKy/gsuAaRA4GSSattpQ3GCDrFMnVOGppKG9F/N45dpMwADW4Tsn
HQj9M/9jvhlfJwnOYlzrtL4HebCyuN5TVtD8/knvficfMZPvUIZisg==
=lk/5
-----END PGP SIGNATURE-----