Subject: semi-working X11 patches for cats
To: None <port-cats@netbsd.org>
From: Chris Gilbert <chris@paradox.demon.co.uk>
List: port-cats
Date: 07/24/2002 19:38:44
--=-rCfvyktgS57F225Kk7S6
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Hi,
I've recently been fidling with patches to get X working on cats. I've
attached my current diff against current X. You'll need to add
USE_XF86_4=YES
to your mk.conf.
Note that some of the patch is rather icky in places, but it almost
works. I've not figured out why the keyboard doesn't work yet, or why
there's screen corruption, I'm wondering about the SA having a writeback
cache has some bearing on the screen corruption. I'm also not sure
about the console defines I'm using, if one of them is confusing the
build.
Note that if anyone does try it they'll need remote access to kill the X
server. Basically I wanted to show progress, and allow others to have a
fiddle 8)
Note that you need a recent xsrc with 1.6.x or 1.6 -current for the
/dev/pci interfaces (you may need to run MAKEDEV pci0 in /dev
Chris
--=-rCfvyktgS57F225Kk7S6
Content-Disposition: attachment; filename=xsrc.cats.diff.gz
Content-Type: application/x-gzip; name=xsrc.cats.diff.gz
Content-Transfer-Encoding: base64
H4sICCDwPj0AA3hzcmMuY2F0cy5kaWZmAN1be3PiyBH/Gz7F3N5VDhawJF7GbDYJBtlLAoZCeNeX
bEqRxWArCxKRhNfO3eWzp3tG7wcYfJV1ha312PPo6Z75dU93zzA0F/SxSx6XNqXCoy7olrk07gR9
KQzX2hd6oi+L71/+Kc76ClkaK9olgv7g2JblCo+OrQs75q0+FG3q2gZ9MMw7YkPhGJZJpJN2cWEs
l6S2JbUNqdlQQQJea7XaLlkKdVGsC6IkSGek3uhKZ916p4AUK5XKM8adCvUmkTpdCYbWi3/6E6lJ
Z6fVNqlgIYkEam76k/GY/HBzAbQ6bVjYbNFIkXxPCFnQpWFS0rPXjXrP1u8Nl+ru1qa8dQt7sySq
qmGzqmIlNUH2YuV7Yix5m665DjRVItT6UBUjVokSCwdwWiSk9aA98lkCUh+1x3y2ePfhHgC5683q
20AIZ84FEf5rJoHEKkmE751wwh5RQEnNbqvRrTcKPvWdoIqMjsKqxWD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