RE: [Linux-fbdev-devel] Re: Generic VESA framebuffer driver and Video card BOOT?

From: Pallipadi, Venkatesh
Date: Thu Oct 21 2004 - 19:01:42 EST


>-----Original Message-----
>From: linux-kernel-owner@xxxxxxxxxxxxxxx
>[mailto:linux-kernel-owner@xxxxxxxxxxxxxxx] On Behalf Of Pavel Machek
>Sent: Thursday, October 21, 2004 4:23 PM
>To: Pallipadi, Venkatesh
>Cc: Kendall Bennett; linux-kernel@xxxxxxxxxxxxxxx;
>linux-fbdev-devel@xxxxxxxxxxxxxxxxxxxxx; stefandoesinger@xxxxxx
>Subject: Re: [Linux-fbdev-devel] Re: Generic VESA framebuffer
>driver and Video card BOOT?
>
>Hi!
>
>> >> I have done some experiments with this video post stuff.
>> >> I think this should be done using x86 emulator rather than doing
>> >> in real mode. The reason being, with an userlevel emulator
>> >we can call
>> >> it at different times during resume. The current real
>mode videopost
>> >> does
>> >
>> >Actually Ole Rohne has patch that allows you to call real mode any
>> >time you want.
>>
>> Yes. I tried Ole's patch. That helped on one of my laptops. But, on
>> the other one it doesn't work. It goes into real mode but
>never returns.
>> Both systems had Radeom 9000M cards, but one with older
>version of the
>> firmware (didn't work) and one with newer version.
>>
>> IIRC, even Stefan had similar problems with Ole's patch.
>
>It did not work for me, either, but I verified that it works as
>expected if I comment out actuall call of BIOS. So the problem is not
>with Ole's patch but with bios, and it may be the same if you emulate
>it...
>
>[Of course, it will not crash whole system when emulated, but system
>without video is not too good, either].

Even I thought so. But, with the emulator it doesn't hang. It brings
back my video. I double checked this using another vm86 emulator too.
No hang even there. I couldn't figure out why Ole's patch won't work
though. Right now I am using call_usermodehelper() to call the
emulator during resume and the video comes back just fine on this
system where Ole's patch didn't work.

Thanks,
Venki
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/