All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Vojta <vojta@ipex.cz>
To: "Tamás Nagy" <nagytam@rerecognition.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: SiS 630
Date: Wed, 11 Apr 2001 12:56:14 +0200	[thread overview]
Message-ID: <20010411125614.G2616@ipex.cz> (raw)
In-Reply-To: <20010411101513.A1804@ipex.cz> <!~!AAAAANmSpUBtkdARm8tERVNUAADECVUA@rerecognition.com>
In-Reply-To: <!~!AAAAANmSpUBtkdARm8tERVNUAADECVUA@rerecognition.com>; from nagytam@rerecognition.com on Wed, Apr 11, 2001 at 12:26:53PM +0200

[-- Attachment #1: Type: text/plain, Size: 2585 bytes --]

> It's nice; we have the same notebook... Yes, my real problem is X. Thank you
> for your detailed answer.
> 
> How could I configure frame-buffer support? Which dist+kernel+X version do
> you use?

Hi,
  so, now I used RH 6.2 with 2.4.3 kernel on my notebook. X is something
from CVS, don't know what exactly now, but I think it's something about
4.0.2-3, don't know, attaching XF86Config and sis_drv.o for you. So, you must
enable VESA frame buffer support in kernel

  Console drivers  --->
    [*] VGA text console
    [*] Video mode selection support
    ...
    Frame-buffer support  --->
      [*] Support for frame buffer devices (EXPERIMENTAL)
      ...
      [*]   VESA VGA graphics console
      ...
      [*]   Advanced low level driver options
      <*>     Monochrome support
      <*>     2 bpp packed pixels support
      <*>     4 bpp packed pixels support
      <*>     8 bpp packed pixels support
      <*>     16 bpp packed pixels support
      <*>     24 bpp packed pixels support
      <*>     32 bpp packed pixels support
      ...
      <*>     VGA characters/attributes support

  Now, you must configure lilo in /etc/lilo.conf, for instance I've got:

  image=/boot/bzImage-2.4.3-fb
          label=2.4.3-fb
          read-only
          vga=791
          root=/dev/hda3

  vga=791 is resolution and bpp for frame buffer. Other resolutions you
can find in /usr/src/linux/Documentation/fb/vesafb.txt. (there are hex
numbers in this file and I'm using decimal in lilo.conf). Now, you
can safely reboot your computer and you will have frame buffer support
and properly set LCD display.
  Now, you can use accelerated Xserver from XFree86 3.3.6, or XSiS_SVGA
(you can find it on www.sis.com.tw pages). It will work, but when you want
switching from console to X and back, you will fail. If you want switching
you must upgrade to 4.x release and use driver from attachment
(/usr/X11R6/lib/modules/drivers) - I attach my XF86Config for X 4.x too.
This driver sends me Rene Rebe <rene.rebe -- gmx.net>. I try to contact
SiS driver developers on internal development list, but no success, I try
to contact directly SiS, no answer too ;( So, if you want X, the best
solution is use X 4.x release with attached driver.

  Are there some one who is responsible for SiS support in kernel? This
support doesn't work too as in X ;((

  R.obot.V

P.S. Remember - frame buffer resolution (may bpp too) must be the same
as X resolution or you will fail again.

-- 
   _
  |-|  __      Robert Vojta <vojta@ipex.cz>          -= Oo.oO =-
  |=| [Ll]     IPEX, s.r.o.
  "^" ====`o

[-- Attachment #2: sis_drv.o.bz2 --]
[-- Type: application/x-bzip2, Size: 33056 bytes --]

[-- Attachment #3: XF86Config --]
[-- Type: text/plain, Size: 2525 bytes --]

Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath "/usr/share/fonts/ISO8859-2/misc"
	FontPath "/usr/share/fonts/ISO8859-2/100dpi"
	FontPath "/usr/share/fonts/ISO8859-2/75dpi"
	FontPath "/usr/share/fonts/ISO8859-2/Type1"
	FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
	FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
	FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
	FontPath "/usr/X11R6/lib/X11/fonts/misc"
	FontPath "/usr/X11R6/lib/X11/fonts/Type1"
	FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
	FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath "/usr/share/fonts/ISO8859-7/misc"
	FontPath "/usr/share/fonts/ISO8859-7/100dpi"
	FontPath "/usr/share/fonts/ISO8859-7/75dpi"
	FontPath "/usr/share/fonts/ISO8859-7/Type1"
	FontPath "/usr/share/fonts/ISO8859-9/misc"
	FontPath "/usr/share/fonts/ISO8859-9/100dpi"
	FontPath "/usr/share/fonts/ISO8859-9/75dpi"
	FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath "/usr/share/fonts/default/Type1"
	FontPath "/opt/applix/axfonts/all_bdf"
	FontPath "/opt/applix/axfonts/all_pcf"
EndSection

Section "Module"
	Load  "extmod"
	Load  "xie"
	Load  "pex5"
	Load  "glx"
	Load  "dri"
	Load  "GLcore"
	Load  "dbe"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option	"XkbLayout"	"czsk(us_cz_qwerty)"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option      "Protocol" "IMPS/2"
	Option      "Device" "/dev/mouse"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	VertRefresh  50-160
	HorizSync    30.0-93.0
EndSection

Section "Device"
	### Available Driver options are:-
        Option     "SWcursor"
        #Option     "HWcursor"
        #Option     "PciRetry"
        #Option     "rgbbits"
        #Option     "NoAccel"
        Option     "TurboQueue"
        #Option     "SetMClk"
        Option     "FastVram"
        Option     "ForceCRT2Type"
	Identifier  "Card0"
	Driver      "sis"
	VendorName  "SiS"
	BoardName   "630"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Depth     24
		Modes     "1024x768" "640x480"
	EndSubSection
EndSection

Section "DRI"
EndSection


  parent reply	other threads:[~2001-04-11 10:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-10 17:09 SiS 630 Torrey Hoffman
2001-04-11  8:15 ` Robert Vojta
     [not found]   ` <!~!AAAAANmSpUBtkdARm8tERVNUAADECVUA@rerecognition.com>
2001-04-11 10:56     ` Robert Vojta [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-19  6:23 SIS 630 Alexander Malysh
2001-04-10 16:35 SiS 630 Tamas Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010411125614.G2616@ipex.cz \
    --to=vojta@ipex.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nagytam@rerecognition.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.