List Info

Thread: Console drivers




Console drivers
user name
2006-11-11 00:25:49
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Nov 10, 2006, at 17:03, Marco Trillo wrote:

> On 11/10/06, Marco Trillo <marcotrillogmail.com> wrote:
>> then the screen went black and the eMac froze  (I
suppose, since the
>
> Well, after doing more tests, actually it did not froze
(just the
> screen went black), but I did not give it enough time
to initialize
> the keyboard 
>
>> after the boot command (in case it has any relation
with this, this
>> time the boot  command was not the first command
entered on the OF
>> prompt).
>
> Hmm... it has relation: when I type the "boot
cd:,ofwboot.xcf" command
> as the first command in the OF session, the framebuffer
inits with
> green-on-white letters but then it goes black. But when
I first type
> other OF commands, the framebuffer does not start and
the screen goes
> black just after typing the boot command.

This is odd.
The initial green-on-white stuff doesn't come from radeonfb
- it 
doesn't kick in until this:
radeonfb0 at pci0 dev 16 function 0: ATI Technologies Radeon
9200 5962
Then it should switch to some halfway sane resolution in
32bit colour 
and continue ( I didn't write this driver - it doesn't work
very well 
in 8bit and 32bit is fast enough so it runs in 32bit )
Apparently whatever it picks isn't something your display
likes and I 
see no output regarding monitor identification via DDC2.
So, initial diagnosis - monitor going black when radeonfb
attaches is 
no freeze, just out of sync. If the eMac is anything like
the G3 iMacs 
then the monitor is picky about its horizontal frequency -
did you have 
to use HorizSync to something fixed or a very narrow range
in 
XF86Config? Radeonfb apparently tries to do 1024x768 in
60Hz.
I have no idea what could cause it to go black immediately.
What you can do is - please have a look at
sys/dev/pci/radeonfb.c
there's a line like this:
#define	RADEON_DEFAULT_MODE	"1024x768x60"
the mode name must be something found in
sys/dev/videomode/videomode.c
pick something that you know works and see if you can get
the console 
working like that.

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

iQEVAwUBRVUYjcpnzkX8Yg2nAQLofwf/QQ/XbU2g/3a3W4dReUP1XuzB8m2+
gGMX
XorvajmzoGJJCAJlcrjwMmHJ3QXuBKoid+aN7VttJfXxhrSby+mOZ7DKxL0/
Enet
bdgtlp26clMnZ6gLxKBN2cS52ftqBPTfzUn0+xvGBESaDoNV7suwNd+iLoEP
qFC/
iZmk3tp3DgvXndJGvnqjPQjeJU1222sI/1k1LVgeiybU2lYmGNLtm5EOpCpp
7Auf
3vZd0FlNDlNP+/jEJ4JwTrIQI+TcvEnsQY/pgr1tunR8efQiqC/dIFaNAFAA
b2zQ
9GjFcMVG3d6e3XHHQpf5nsV0fEsCSPcBMT1RheaNnrDMpigwAFq45w==
=fTqW
-----END PGP SIGNATURE-----

[1]

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