Video Card Problem Hacked
If anyone cares (and judging by the amount of interest my last email stirred, up, no) I found that a quick hack to the open framebuffer code reactivates my video card in newer kernels. In drivers/video/offb.c, function offb_init_fb, the first 2 lines of code include a test of the video card's memory region to ensure exclusive access. This worked in the 2.4.2 Suse 7.1 kernel, but not in newer kernels like 2.4.14. My quick hack, change if (!request_mem_region(res_start, res_size, "offb")) return; to request_mem_region(res_start, res_size, "offb"); And it works now. Just thought I shouldn't keep this to myself. -- Joe Manojlovich manojlov@cse.psu.edu "And a thermostat on a home furnace... is that supposed to go to 5000 degrees, do you think?"
On Sat, Nov 10, Joseph Manojlovich wrote:
If anyone cares (and judging by the amount of interest my last email stirred, up, no) I found that a quick hack to the open framebuffer code reactivates my video card in newer kernels.
In drivers/video/offb.c, function offb_init_fb, the first 2 lines of code include a test of the video card's memory region to ensure exclusive access. This worked in the 2.4.2 Suse 7.1 kernel, but not in newer kernels like 2.4.14. My quick hack, change
if (!request_mem_region(res_start, res_size, "offb")) return;
to
request_mem_region(res_start, res_size, "offb");
And it works now. Just thought I shouldn't keep this to myself.
Can you try that one? ftp://ftp.suse.com/pub/suse/ppc/kernel/BETA/deflt/zImage.chrp-rs6k Gruss Olaf -- $ man clone BUGS Main feature not yet implemented...
participants (2)
-
Joseph Manojlovich
-
Olaf Hering