[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IBM Thinkpad or a Toshiba?



>> Why not use the VESA FB driver and Xserver-fbdev.  Then you could just
>> have your machine run "fbset -a" on resume...
>
>because i didn't realise it was an option available to me.  are there any
>requirements that i have to meet to be able to run this?

Have modern hardware with VESA 2.0 video BIOS or have one of the supported
chipsets.  Run a recent 2.2.x kernel.

>just install xserver-fbdev?  i'm already running 2.2.12 how do i configure
>my kernel etc.  this would be really cool if it solves the problem.

Firstly compile kernel 2.2.12 with FB console support and VESA drivers.  Then
read /usr/src/linux/Documentation/fb/* to work out the right "vga=" line in
/etc/lilo.conf.  Then just try booting it.  After that is working install
xserver-fbdev package and use an XF86Config file like the one I've attached
(run "fbset -x" to get the numbers for modeline).

-- 
I'm in Utrecht.  I'd like to meet any Linux users in the area, or any other
part of the Netherlands.
Section "Files"
    RgbPath	"/usr/X11R6/lib/X11/rgb"
    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    ModulePath "/usr/X11R6/lib/modules"
    FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
EndSection

#Section "Module"
#    Load "xf86Jstk.so"
#EndSection

Section "ServerFlags"
#    NoTrapSignals
#    DontZap
#    DontZoom
#    DisableVidModeExtension
#    AllowNonLocalXvidtune
#    DisableModInDev
#    AllowNonLocalModInDev
EndSection

Section "Keyboard"
    Protocol	"Standard"
    AutoRepeat	500 5
    XkbDisable
    XkbKeymap   "xfree86(us)"
EndSection

Section "Pointer"
#    Protocol    "Microsoft"
#    Device      "/dev/ttyS0"
    Protocol    "PS/2"
    Device      "/dev/psaux"
    Emulate3Buttons
    Emulate3Timeout    50
EndSection

Section "Monitor"
    Identifier  "Generic Multisync"
    VendorName  "Unknown"
    ModelName   "Unknown"
    HorizSync   30-64
    VertRefresh 50-100

# 640x480 @ 60 Hz, 31.5 kHz hsync
Modeline "640x480"     25.175 640  664  760  800   480  491  493  525
# 800x600 @ 60 Hz, 37.8 kHz hsync
Modeline "800x600"     40     800  840  968 1056   600  601  605  628 +hsync +vsync
# 1024x768 @ 60 Hz, 48.4 kHz hsync
#Modeline "1024x768"    65    1024 1032 1176 1344   768  771  777  806 -hsync -vsync

EndSection

Section "Device"
    Identifier	"NeoMagic"
#    Chipset	"NM2160"
#    IOBase	0xfea00000
#    MemBase	0xfd000000
    VideoRam	2048
#    DacSpeed	90
    Option	"linear"
#    Option	"nolinear"
#    Option	"sw_cursor"
    Option	"hw_cursor"
#    Option	"no_accel"
    Option	"intern_disp"
#    Option	"extern_disp"
    Option	"mmio"
#    Option	"no_mmio"
#    Option	"lcd_center"
#    Option	"no_stretch"
EndSection

Section "Device"
    Identifier  "fbdev"
EndSection

Section "Screen"
    Driver      "svga"
    Device      "NeoMagic"
    Monitor     "Generic Multisync"
    Subsection "Display"
        Depth       16
        Modes       "800x600" "640x480"
#        Virtual     1182 887
#        Virtual     1024 768
    EndSubsection
EndSection

Section "Screen"
    Driver      "fbdev"
    Device      "fbdev"
    Monitor     "Generic Multisync"
    Subsection "Display"
        Depth       16
        Modes       "800x600" "640x480"
        Virtual     800 600
    EndSubsection
EndSection

Reply to: