Hi..

i  want to run Xigs tinyx server for CyberPro 5350 pci graphic cards. 

i have changed the igsstub.c of igs dirs. such as

while (LinuxFindPci(0x10ea, 0x5000, count , &attr) --> while (LinuxFindPci(0x10ea, 
0x5300, count, &attr)

But, when i run Xigs server, error occurred.

I think, after kdMapDevice of igs.c, all data of Cop5xxx structure are 0xffffffff, and 
no changed.

I don't understand which one is wrong. something is missng at igs codes ?

i added to iopl(3) at souce  to change permission. but, no works. I think all regster 
value of card is not changed... 

if you know the answer, please help.

Bye..



 Error log messages are follows( I add ErrorF() in code ).

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



InitOutput

kdInitOutput

InitCard

 /* /proc/bus/pci/devices read  */

line: 0000    80861a30    0    f8000008    00000000    00000000    00000000    
00000000    00000000    00000000    04000000    00000000    00000000    00000000    
00000000    00000000    00000000    

id != ven_dev

line: 0008    80861a31    0    00000000    00000000    00000000    00000000    
00000000    00000000    00000000    00000000    00000000    00000000    00000000    
00000000    00000000    00000000    

id != ven_dev

line: 00f0    8086244e    0    00000000    00000000    00000000    00000000    
00000000    00000000    00000000    00000000    00000000    00000000    00000000    
00000000    00000000    00000000    

id != ven_dev

line: 00f8    80862440    0    00000000    00000000    00000000    00000000    
00000000    00000000    00000000    00000000    00000000    00000000    00000000    
00000000    00000000    00000000    

id != ven_dev

line: 00f9    8086244b    0    00000000    00000000    00000000    00000000    
0000a801    00000000    00000000    00000000    00000000    00000000    00000000    
00000010    00000000    00000000    

id != ven_dev

line: 00fa    80862442    a    00000000    00000000    00000000    00000000    
0000a401    00000000    00000000    00000000    00000000    00000000    00000000    
00000020    00000000    00000000    usb-uhci

id != ven_dev

line: 00fc    80862444    9    00000000    00000000    00000000    00000000    
0000a001    00000000    00000000    00000000    00000000    00000000    00000000    
00000020    00000000    00000000    usb-uhci

id != ven_dev

line: 0248    10ea5300    5    f4000000    00000000    00000000    00000000    
00000000    00000000    f7ff0000    02000000    00000000    00000000    00000000    
00000000    00000000    00010000    

count:-1 

n: 6

in LinuxFindPci

attr.address[0]: 0xf4000000, io: 0, naddr: 1

before kdCardInfoLast

before kdScreenInfoAdd

before xalloc

before bzero

before for

before prev

before next

before card

before KdParse

igs card init 

size: 1240

defined linux, undefined __arm__, size: 7864320, addr: 0xf4000000

address: 0x4017c000

defined linux, undefined __arm__, size: 65536, addr: 0xf4800000

address: 0x40018000

defined linux, undefined __arm__, size: 540, addr: 0xf48bf000

address: 0x408fc000

defined linux, undefined __arm__, size: 65536, addr: 0xf48a0000

address: 0x408fd000

igs->cop->control: -1, format: -1, fg: 0xffffffff, dst_start: 0xffffffff,vga: 
0x40018000, framebuff: 0x4017c000, copData: 0x408fd000, size: 540, addr: 0xf4000000

before igsRedInit 

igsRegInit

igsScreen InitigsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeUsable

igsInitScreen

igsCursorInit

igsPreserve

igsSave

igs Enable

isgSetBlank

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsModeSupported

igsGetClock

igsInb

igsInb

igsInb

igsInb

             h_total: BIOS    255 X    125

       h_display_end: BIOS    255 X     99

        h_sync_start: BIOS    255 X    107

          h_sync_end: BIOS     31 X     26

       h_blank_start: BIOS    255 X     99

         h_blank_end: BIOS     63 X      0

              offset: BIOS   1023 X    100

           num_fetch: BIOS   1023 X    101

             v_total: BIOS   2047 X    664

       v_display_end: BIOS   2047 X    599

       v_blank_start: BIOS   2047 X    599

         v_blank_end: BIOS    127 X      8

     v_retrace_start: BIOS   2047 X    637

       v_retrace_end: BIOS     15 X      3

              vclk_m: BIOS   2047 X   1236

              vclk_n: BIOS    255 X    151

              vclk_p: BIOS      7 X      2

                vclk: BIOS  14043 X  50000

igsInb

igsInb

isgSetBlank

igsCursorEnable

igsUnloadCursor 

isgGetColor

igs Put Color

igsDrawEnable

/* igsdraw.h : #define _igsWaitLoop(cop, mask, value) { \

                                    int __loop = 1000000; \

                                    while (((cop)->control & (mask)) != (value)) { \

                                        if (--__loop <= 0) { \

                                            FatalError("Warning: igsWaitLoop 0x%x 0x%x 
failed\n", mask, value); \

                                        } \

                                    } \

                    }

*/

Fatal server error:

Warning: igsWaitLoop 0xffffffff 0x8200 0x0 failed                                      
                           

igs Put Color

igsCursorDisable

isgSetSync

isgSetBlank

igsReset

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to