RE: [Linux-fbdev-devel] Re: Generic VESA framebuffer driver and Video card BOOT?
From: Pallipadi, Venkatesh <hidden>
Date: 2004-10-21 23:51:19
Also in:
lkml
-----Original Message----- From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Pavel Machek Sent: Thursday, October 21, 2004 4:23 PM To: Pallipadi, Venkatesh Cc: Kendall Bennett; linux-kernel@vger.kernel.org; linux-fbdev-devel@lists.sourceforge.net; stefandoesinger@gmx.at Subject: Re: [Linux-fbdev-devel] Re: Generic VESA framebuffer driver and Video card BOOT? Hi!quoted
quoted
quoted
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 emulatorwe can callquoted
it at different times during resume. The current realmode videopostquoted
quoted
quoted
doesActually 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 butnever returns.quoted
Both systems had Radeom 9000M cards, but one with olderversion of thequoted
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