List Info

Thread: Problem with Xorg and maybe wscons too?




Problem with Xorg and maybe wscons too?
user name
2006-10-20 15:23:02
Hi,

I have a similar eMac (1.25 GHz model but also with an ATI
Radeon 7200
card) and works just fine with NetBSD-3 and XFree86.

I don`t know about special tweaks with Xorg; but why don't
you just
use the in-base XFree86 server?

Anyway I see these apparent flaws on your xorg.conf (at
least if it
was XFree86):

 -> The XkbModel you should use is "pc105" (or
something similar)
since it's a USB keyboard. The "macintosh" model
will get you
incorrect keycodes and I think it's only used for old
ADB-based
keyboards.

-> Try to use the wscons "wskbd" driver with
device /dev/wskbd . This
should work fine with X on non-root accounts.

-> You need to activate the iBookHacks within the Device
definition
(Option "iBookHacks"). Otherwise the eMac will
crash when exiting X in
NetBSD-3 (or, at the best, get no console back -- which as a
side
effect turns the screen off of the eMac).
Of course these hacks are provided with the in-base XFree86
server.

     -Marco
Problem with Xorg and maybe wscons too?
user name
2006-10-20 18:11:05
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Oct 20, 2006, at 11:23, Marco Trillo wrote:

> -> You need to activate the iBookHacks within the
Device definition
> (Option "iBookHacks"). Otherwise the eMac
will crash when exiting X in
> NetBSD-3 (or, at the best, get no console back -- which
as a side
> effect turns the screen off of the eMac).
> Of course these hacks are provided with the in-base
XFree86 server.

That's actually a bug in many XFree86 and X.org drivers -
they're 
notoriously bad at cleaning up after themselves, apparently
everyone 
expects the vgahw module to re-initialize VGA text mode on
exit which 
really doesn't make any sense on a Mac ( or a Sun and many
other 
machines for that matter )
One workaround is to have in-kernel framebuffer drivers
which can 
re-initialize whatever mode was used by the console when X
exits - we 
have several in -current, they only need to be properly
integrated with 
the rest of the wscons framework.

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

iQEVAwUBRTkROcpnzkX8Yg2nAQKdBwgApBpgPcs2/KddzKhM2+2KBBS5g4c+
wu5F
swzNy+qyD9H0BA5RtRc7NyOTzVo0E18EWHNucKpNo+/trtcUN+omG3Goxoe6
XvKY
hMo+PN7UJ7aqH+Q7/hStoJ0qkYaKspReMvnoWdmMRjravQ93AHS1qiVQcRAb
0BmC
GqQFl72k9Bol8TFNKXhpFJa1ZFpG/xaU1hsTtcasOZXsYOLT7eIoR0DRt+9+
mCtF
m7mWoZfhMwh3+Ld8jkZ0sVtkUm+cvqNzL4I6qCszyOydsP5G5T3xTL4ZP0j5
5JRw
4KZblNXZ0hZK5+uBGZHBcgpCAZaz7aZzZiQOktBxSrORrshzh3vW7Q==
=VY5g
-----END PGP SIGNATURE-----

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )