From: Antonino A. D. <ad...@ho...> - 2004-11-12 20:55:16
|
On Saturday 13 November 2004 03:55, David Liontooth wrote: > Hi Tony, > > Thank you for the hints and suggestions. > > >>I'm also wondering if it's possible to tell the rivafb module to use > >>the right mode when loading -- at the moment it loads into 640x480 > >>and then I use fbset to change it to 1280x854. Here's the first > >>entry in my /etc/fb.modes: > > > >Currently, no. You have to add your modeline into the kernel's > >modeline table which is located in drivers/video/modedb.c (unless > >your mode is already present). > > I added these lines: > > { > /* 1280x854 @ 85 Hz, 47.58 kHz hsync */ > NULL, 85, 1280, 854, 11723, 240, 16, 31, 0, 256, 7, > FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT, FB_VMODE_NONINTERLACED > }, > > and these (shifting the numbers down): > > /* 18 1280x854-85 VESA */ > { NULL, 85, 1280, 854, 11723, 240, 16, 31, 0, 256, 7, > FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, > FB_VMODE_NONINTERLACED, FB_MODE_IS_VESA }, > > But got no effect. It's not critical. Not in there, in the first database, struct fb_videomode *modedb. Tony |