ET4000/W32p

ET4000/W32p

Post by urbani marin » Wed, 25 Oct 1995 04:00:00



I have ET4000/W32p Chrontel 8398 PCI video card.I have Fall 95 yggdrasil
linux ELF format, the card doesn't works. The mouse leaves the track on the
screen with XF86_W32,
XF86_SVGA not work.
Is there anyone  to be able to help me ?
Thank you Marino.
 
 
 

ET4000/W32p

Post by Joel Squi » Wed, 25 Oct 1995 04:00:00


urbani> I have ET4000/W32p Chrontel 8398 PCI video card.I have Fall 95
urbani> yggdrasil linux ELF format, the card doesn't works. The mouse
urbani> leaves the track on the screen with XF86_W32, XF86_SVGA not
urbani> work.  Is there anyone to be able to help me ?  Thank you
urbani> Marino.

Try this...


Subject: ET4000 W32I/P USERS READ THIS(DYNAMITE SERIES VGAs)
Newsgroups: comp.os.linux.hardware,comp.os.linu.x
Date: 12 Aug 1995 04:06:41 GMT
Organization: Technical University of Brno, Czech Republic
Path: boulder!bloom-beacon.mit.edu!news.moneng.mei.com!uwm.edu!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!aci.cvut.cz!rhino.cis.vutbr.cz!newshelp
Lines: 54


NNTP-Posting-Host: slip4.ms.mff.cuni.cz
Mime-Version: 1.0
Content-Type: multipart/mixed;  boundary="-------------------------------187056081720033960532083884200"
X-Mailer: Mozilla 1.1N (X11; I; Linux 1.2.11 i486)
X-URL: file:/usr/src/vgaset/vgamoje2.c

Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

Ok,
the dust problem isn't in config file, it's in one VGA's bit.
the program attached should fix the problem.
name it shit.c, compile with gcc,setuid root and execute from within X(shell or
menu),refresh the screen.Ok.

Hercules Dynamite power VL 2 MB rev a understands this.

enjoy, mail

Content-Transfer-Encoding: 7bit
Content-Type: text/plain

#include <termios.h>
#define INLINE inline

static INLINE void
outb (short port, char val)
{
  ioperm(port, 1, 1);
  __asm__ volatile ("out%B0 %0,%1" : :"a" (val), "d" (port));

Quote:}

static INLINE unsigned char
inb (short port)
{
  unsigned int ret;
  ioperm(port, 1, 1);
  __asm__ volatile ("in%B0 %1,%0" : "=a" (ret) : "d" (port));
  return ret;

Quote:}

void ORreg (int address,short int index, char hodnota)
{
  outb (address, index);                                    /* set the register number */
  outb (address+1,hodnota | inb(address+1));

Quote:}

void main (int argc, char *argv [])
{
             ORreg (0x3d4,0x34,0x40);

Quote:}

--

                      .oO finger for PGP key Oo.