9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Programming Trident 9385
@ 2004-03-24 13:28 Noah Evans
  2004-03-25  9:51 ` Anton Pavlovetsky
  0 siblings, 1 reply; 6+ messages in thread
From: Noah Evans @ 2004-03-24 13:28 UTC (permalink / raw)
  To: 9fans

I put the case statement into a patch in sources(mondef.cyberhack) if you want to try it out. 

Noah

----- Original Message -----
From: Anton Pavlovetsky <pavlovetsky@ztel.ru>
Date: Wednesday, March 24, 2004 5:07 am
Subject: [9fans] Programming Trident 9385

> In order to make my Trident 9385 work I add the following ID
> to the VGADB (where cyber938x controller sits):
> 
> 0xC7350-0xC7390="TVGA BIOS  Z6.1I (0.05)" # IBM Thinkpad 760XL
> 
> Now I have this message while booting:
> 
> aux/vga: unknown Cyber revision 0x34
> 
> I know I have to do something to help aux/vga to program my chip,
> but I don't know what. You see, my idea is to find an extra technical
> information about my card, its ramdac, clock values. I tried to find
> specification, but failed. From the other point of view, I could miss
> something in manuals - I am sorry if that is the case.
> I included plan9.ini, pci.txt and vgainfo.txt for your reference.
> 
> PLAN9.INI
> *nomp=1
> distname=plan9
> partition=new
> nobootprompt=local!/bzroot
> #console=0
> monitor=svga
> vgasize=800x600x8
> mouseport=ps2
> debug=1
> bootfile=fd0!dos!9pcflop.gz
> 
> PCI.TXT
> 0.0.0:	06.00.00 8086/1235   0
> 0.1.0:	06.01.00 8086/122e   0
> 0.2.0:	06.07.00 104c/ac12 255
> 0.2.1:	06.07.00 104c/ac12 255
> 0.3.0:	03.00.00 1023/9660  11 0:08000000 4194304
> 1:08400000 65536 2:08800000 4194304
> 
> VGAINFO.TXT
> main->snarf
> vga->snarf
> cyber938x->snarf
> vga->attr: 0xC7350-0xC7390=TVGA BIOS  Z6.1I (0.05)
> vga->dump
> vga misc             67
> vga feature          01
> vga sequencer        03 00 03 00 02
> vga crt              5F 4F 50 82 55 81 BF 1F - 00 4F 0D 0E 00 00 
> 05 50
>                     9C 8E 8F 28 1F 96 B9 A3 - FF
> vga graphics         00 00 00 00 00 10 0E 00 - FF
> vga attribute        00 01 02 03 04 05 14 07 - 38 39 3A 3B 3C 3D 
> 3E 3F
>                     0C 00 0F 08 00
> vga virtual         0 0
> vga panning         off
> vga vm a b            4194304        0
> vga vmz               1048576
> vga apz                     0
> vga linear                  1
> cyber938x->dump
> cyber938x Seq08      97 34 00 D3 F8 00 00 B0 - 00 00 00 00 00 00 
> 00 00
>                     00 00 00 00 00 00 00 00
> cyber938x Old Seq0C  F8 28 E8
> cyber938x pcr        00
> cyber938x Crt19      4A 00 00 00 00 00 43
> cyber938x Crt20      30 CF 00 C8 80 07 34 00 - 0C 8C 14 00 00 00 
> 00 5F
>                     00 00 00 00 00 00 00 00 - 10 00 00 21 00 00 
> 00 00
>                     20 00 20 00 FF 03 00 00 - FF FF FF 00 FF FF 
> FF 00
>                     00 FF 02 C0 03 00 00 FF - 00 00 00 00 00 00 
> 00 00
> cyber938x CrtCF      00
> cyber938x Gr09       00 00 00 00 00 00 14
> cyber938x Gr10       00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 
> 00 00
>                     05 90 16 88 D7 02 00 50 - 06 00 81 00 00 07 
> 00 A3
>                     81 00 00 30 00 00 00 00 - 00 00 00 00 00 00 
> 00 00
>                     00 00 D0 00 00 02 00 00 - 00 00 00 00 00 00 
> 00 00
>                     9F 99 B0 A0 00 00 00 00 - 00 00 53 13 A2 30 
> 14 00
> cyber938x mclk       00 00
> cyber938x vclk       00 00          57272720
> 
> cyber938x lcd size        800      600
> 
> vmf 0 vmdf 40000000 vf1 0 vbw 0
> cyber938x->options
> vga->init
> cyber938x->init
> sequencer->enter on
> sequencer->leave on
> unknown Cyber revision 0x34
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Programming Trident 9385
  2004-03-24 13:28 [9fans] Programming Trident 9385 Noah Evans
@ 2004-03-25  9:51 ` Anton Pavlovetsky
  0 siblings, 0 replies; 6+ messages in thread
From: Anton Pavlovetsky @ 2004-03-25  9:51 UTC (permalink / raw)
  To: 9fans

Noah, I appreciate your help and advice very much. Taking into account
that this is my first Plan 9 installation, I would like to clear the
point.
Am I right if I think that I have to:
1: Perform textonly installation using diskette.
2: Download the distribution. 
3: Edit the source (/sys/src/cmd/aux/vga/cyber*)
4: Recompile the driver I am interested in. ?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Programming Trident 9385
  2004-03-25 13:25 Noah Evans
@ 2004-03-29 13:42 ` Anton Pavlovetsky
  0 siblings, 0 replies; 6+ messages in thread
From: Anton Pavlovetsky @ 2004-03-29 13:42 UTC (permalink / raw)
  To: 9fans

While I was trying textonly install
Glenda asked me wether she able to make changes
in /rc/bin/inst/startppp, line 28: from "atdt" 
to "adtp". Also, we have error message while 
trying to download distribution as a part of 
textonly installation process:

unknown option s
usage: ppp [-cCdfPSu] [-b baud] [-k keyspec]
[-m mtu] [-p dev] [-s username]...

How can I help her, do you know, Noah?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Programming Trident 9385
@ 2004-03-25 13:25 Noah Evans
  2004-03-29 13:42 ` Anton Pavlovetsky
  0 siblings, 1 reply; 6+ messages in thread
From: Noah Evans @ 2004-03-25 13:25 UTC (permalink / raw)
  To: 9fans

I'm sure there's a better way, but I would do it by just changing step 3.

There's a place you can go to get all the pending Plan 9 patches.

You can get to it by going to:

http://www.cs.bell-labs.com/plan9dist/newaccount.html

once you get it, type:

9fs sources(this need authentication); cp /n/sources/patch/mondef.cyberhack/cyber938x.c /sys/src/cmd/aux/vga/ 

and recompile and you should be good to go.

Noah

----- Original Message -----
From: Anton Pavlovetsky <pavlovetsky@ztel.ru>
Date: Thursday, March 25, 2004 4:51 am
Subject: Re: [9fans] Programming Trident 9385

> Noah, I appreciate your help and advice very much. Taking into account
> that this is my first Plan 9 installation, I would like to clear the
> point.
> Am I right if I think that I have to:
> 1: Perform textonly installation using diskette.
> 2: Download the distribution. 
> 3: Edit the source (/sys/src/cmd/aux/vga/cyber*)
> 4: Recompile the driver I am interested in. ?
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9fans] Programming Trident 9385
@ 2004-03-24 12:04 Noah Evans
  0 siblings, 0 replies; 6+ messages in thread
From: Noah Evans @ 2004-03-24 12:04 UTC (permalink / raw)
  To: 9fans

Your driver isn't currently supported by the cyber938x driver. It's easy enough to fix in the source code.

just grep -n 9385 /sys/src/cmd/aux/vga/cyber* to find the case statement you need(IIRC they have 0x33, so just add it after that). And you'll be good to go.

Noah

----- Original Message -----
From: Anton Pavlovetsky <pavlovetsky@ztel.ru>
Date: Wednesday, March 24, 2004 5:07 am
Subject: [9fans] Programming Trident 9385

> In order to make my Trident 9385 work I add the following ID
> to the VGADB (where cyber938x controller sits):
> 
> 0xC7350-0xC7390="TVGA BIOS  Z6.1I (0.05)" # IBM Thinkpad 760XL
> 
> Now I have this message while booting:
> 
> aux/vga: unknown Cyber revision 0x34
> 
> I know I have to do something to help aux/vga to program my chip,
> but I don't know what. You see, my idea is to find an extra technical
> information about my card, its ramdac, clock values. I tried to find
> specification, but failed. From the other point of view, I could miss
> something in manuals - I am sorry if that is the case.
> I included plan9.ini, pci.txt and vgainfo.txt for your reference.
> 
> PLAN9.INI
> *nomp=1
> distname=plan9
> partition=new
> nobootprompt=local!/bzroot
> #console=0
> monitor=svga
> vgasize=800x600x8
> mouseport=ps2
> debug=1
> bootfile=fd0!dos!9pcflop.gz
> 
> PCI.TXT
> 0.0.0:	06.00.00 8086/1235   0
> 0.1.0:	06.01.00 8086/122e   0
> 0.2.0:	06.07.00 104c/ac12 255
> 0.2.1:	06.07.00 104c/ac12 255
> 0.3.0:	03.00.00 1023/9660  11 0:08000000 4194304
> 1:08400000 65536 2:08800000 4194304
> 
> VGAINFO.TXT
> main->snarf
> vga->snarf
> cyber938x->snarf
> vga->attr: 0xC7350-0xC7390=TVGA BIOS  Z6.1I (0.05)
> vga->dump
> vga misc             67
> vga feature          01
> vga sequencer        03 00 03 00 02
> vga crt              5F 4F 50 82 55 81 BF 1F - 00 4F 0D 0E 00 00 05 50
>                     9C 8E 8F 28 1F 96 B9 A3 - FF
> vga graphics         00 00 00 00 00 10 0E 00 - FF
> vga attribute        00 01 02 03 04 05 14 07 - 38 39 3A 3B 3C 3D 3E 3F
>                     0C 00 0F 08 00
> vga virtual         0 0
> vga panning         off
> vga vm a b            4194304        0
> vga vmz               1048576
> vga apz                     0
> vga linear                  1
> cyber938x->dump
> cyber938x Seq08      97 34 00 D3 F8 00 00 B0 - 00 00 00 00 00 00 00 00
>                     00 00 00 00 00 00 00 00
> cyber938x Old Seq0C  F8 28 E8
> cyber938x pcr        00
> cyber938x Crt19      4A 00 00 00 00 00 43
> cyber938x Crt20      30 CF 00 C8 80 07 34 00 - 0C 8C 14 00 00 00 00 5F
>                     00 00 00 00 00 00 00 00 - 10 00 00 21 00 00 00 00
>                     20 00 20 00 FF 03 00 00 - FF FF FF 00 FF FF FF 00
>                     00 FF 02 C0 03 00 00 FF - 00 00 00 00 00 00 00 00
> cyber938x CrtCF      00
> cyber938x Gr09       00 00 00 00 00 00 14
> cyber938x Gr10       00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
>                     05 90 16 88 D7 02 00 50 - 06 00 81 00 00 07 00 A3
>                     81 00 00 30 00 00 00 00 - 00 00 00 00 00 00 00 00
>                     00 00 D0 00 00 02 00 00 - 00 00 00 00 00 00 00 00
>                     9F 99 B0 A0 00 00 00 00 - 00 00 53 13 A2 30 14 00
> cyber938x mclk       00 00
> cyber938x vclk       00 00          57272720
> 
> cyber938x lcd size        800      600
> 
> vmf 0 vmdf 40000000 vf1 0 vbw 0
> cyber938x->options
> vga->init
> cyber938x->init
> sequencer->enter on
> sequencer->leave on
> unknown Cyber revision 0x34
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [9fans] Programming Trident 9385
@ 2004-03-24 10:07 Anton Pavlovetsky
  0 siblings, 0 replies; 6+ messages in thread
From: Anton Pavlovetsky @ 2004-03-24 10:07 UTC (permalink / raw)
  To: 9fans

In order to make my Trident 9385 work I add the following ID
to the VGADB (where cyber938x controller sits):

0xC7350-0xC7390="TVGA BIOS  Z6.1I (0.05)" # IBM Thinkpad 760XL

Now I have this message while booting:

aux/vga: unknown Cyber revision 0x34

I know I have to do something to help aux/vga to program my chip,
but I don't know what. You see, my idea is to find an extra technical
information about my card, its ramdac, clock values. I tried to find
specification, but failed. From the other point of view, I could miss
something in manuals - I am sorry if that is the case.
I included plan9.ini, pci.txt and vgainfo.txt for your reference.

PLAN9.INI
*nomp=1
distname=plan9
partition=new
nobootprompt=local!/bzroot
#console=0
monitor=svga
vgasize=800x600x8
mouseport=ps2
debug=1
bootfile=fd0!dos!9pcflop.gz

PCI.TXT
0.0.0:	06.00.00 8086/1235   0
0.1.0:	06.01.00 8086/122e   0
0.2.0:	06.07.00 104c/ac12 255
0.2.1:	06.07.00 104c/ac12 255
0.3.0:	03.00.00 1023/9660  11 0:08000000 4194304
1:08400000 65536 2:08800000 4194304

VGAINFO.TXT
main->snarf
vga->snarf
cyber938x->snarf
vga->attr: 0xC7350-0xC7390=TVGA BIOS  Z6.1I (0.05)
vga->dump
vga misc             67
vga feature          01
vga sequencer        03 00 03 00 02
vga crt              5F 4F 50 82 55 81 BF 1F - 00 4F 0D 0E 00 00 05 50
                     9C 8E 8F 28 1F 96 B9 A3 - FF
vga graphics         00 00 00 00 00 10 0E 00 - FF
vga attribute        00 01 02 03 04 05 14 07 - 38 39 3A 3B 3C 3D 3E 3F
                     0C 00 0F 08 00
vga virtual         0 0
vga panning         off
vga vm a b            4194304        0
vga vmz               1048576
vga apz                     0
vga linear                  1
cyber938x->dump
cyber938x Seq08      97 34 00 D3 F8 00 00 B0 - 00 00 00 00 00 00 00 00
                     00 00 00 00 00 00 00 00
cyber938x Old Seq0C  F8 28 E8
cyber938x pcr        00
cyber938x Crt19      4A 00 00 00 00 00 43
cyber938x Crt20      30 CF 00 C8 80 07 34 00 - 0C 8C 14 00 00 00 00 5F
                     00 00 00 00 00 00 00 00 - 10 00 00 21 00 00 00 00
                     20 00 20 00 FF 03 00 00 - FF FF FF 00 FF FF FF 00
                     00 FF 02 C0 03 00 00 FF - 00 00 00 00 00 00 00 00
cyber938x CrtCF      00
cyber938x Gr09       00 00 00 00 00 00 14
cyber938x Gr10       00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
                     05 90 16 88 D7 02 00 50 - 06 00 81 00 00 07 00 A3
                     81 00 00 30 00 00 00 00 - 00 00 00 00 00 00 00 00
                     00 00 D0 00 00 02 00 00 - 00 00 00 00 00 00 00 00
                     9F 99 B0 A0 00 00 00 00 - 00 00 53 13 A2 30 14 00
cyber938x mclk       00 00
cyber938x vclk       00 00          57272720

cyber938x lcd size        800      600

vmf 0 vmdf 40000000 vf1 0 vbw 0
cyber938x->options
vga->init
cyber938x->init
sequencer->enter on
sequencer->leave on
unknown Cyber revision 0x34


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-03-29 13:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-24 13:28 [9fans] Programming Trident 9385 Noah Evans
2004-03-25  9:51 ` Anton Pavlovetsky
  -- strict thread matches above, loose matches on Subject: below --
2004-03-25 13:25 Noah Evans
2004-03-29 13:42 ` Anton Pavlovetsky
2004-03-24 12:04 Noah Evans
2004-03-24 10:07 Anton Pavlovetsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).