how to set Xcursor theme in 4.4.0 RC 1

2003-12-17 Thread Jeff Chua
Setting Xcursor theme in ~/.Xdefaults Xcursor.theme: redglass doesn't
seem to work anymore.

What is the proper way to set mouse color?


Thanks,
Jeff
[ [EMAIL PROTECTED] ]

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


cvs hang at xc/workInProgress/xsm

2004-01-07 Thread Jeff Chua
I've been having trouble download XFree86 using cvs. It started happening
few days ago, and always hang at xc/workInProgress/xsm ...

...
cvs server: Updating xc/workInProgress/record/lib
cvs server: Updating xc/workInProgress/record/lib/Xtst
cvs server: Updating xc/workInProgress/record/programs
cvs server: Updating xc/workInProgress/record/programs/Xserver
cvs server: Updating xc/workInProgress/record/programs/Xserver/Xext
cvs server: Updating xc/workInProgress/xsm



Here're the commands I typed ...

export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs
cvs login
cvs checkout modules
cvs checkout xc


Thanks,
Jeff
[ [EMAIL PROTECTED] ]
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


i830 screen black after resume on 4.4

2004-04-09 Thread Jeff Chua
I'm getting black screen after power resume on version 4.4.99.2.
I can see the mouse, all window frames, but black contents.

No such problem with 4.3.0.

Tested on linux 2.4.26-rc2 and 2.6.5

I'm using apm to resume, and with 4.3.0, it works fine.

Thanks,
Jeff
[ [EMAIL PROTECTED] ]
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: i830 screen black after resume on 4.4

2004-04-11 Thread Jeff Chua
I've checked the CVS, and found that the i810 driver up to 4_3_99_9 works
after resume, but anything after 4_3_99_9 has the same problem of
displaying black screen after apm resume.

Is there anyone else having this problem? I'm running on IBM X30 ThinkPad.


Thanks,
Jeff

On Sat, 10 Apr 2004, Jeff Chua wrote:


 still doesn't work. But why _old_ version works better than new one?

 Usually newer version should works better, but in this case, it looks like
 going one step back ...


 Thanks,
 Jeff
 [ [EMAIL PROTECTED] ]

 On Fri, 9 Apr 2004, Alex Deucher wrote:

  --- Jeff Chua [EMAIL PROTECTED] wrote:
   I'm getting black screen after power resume on version 4.4.99.2.
   I can see the mouse, all window frames, but black contents.
  
   No such problem with 4.3.0.
  
   Tested on linux 2.4.26-rc2 and 2.6.5
  
   I'm using apm to resume, and with 4.3.0, it works fine.
 
  You might try changing the VT prior to suspending if you are not
  already.
 
  Alex
 
  
   Thanks,
   Jeff
   [ [EMAIL PROTECTED] ]
 
 
  __
  Do you Yahoo!?
  Yahoo! Small Business $15K Web Design Giveaway
  http://promotions.yahoo.com/design_giveaway/
  ___
  Devel mailing list
  [EMAIL PROTECTED]
  http://XFree86.Org/mailman/listinfo/devel
 

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: i830 screen black after resume on 4.4

2004-04-12 Thread Jeff Chua
On Mon, 12 Apr 2004, Alan Hourihane wrote:
 Have you tried adding
 Option VBERestore false

Tried, but still doesn't work.


On Sun, 11 Apr 2004, Alex Deucher wrote:
 Can you narrow down the exact change that caused the problem?

I looked into why 4_3_99_9 works, and anything after doesn't, and realized
that this portion of the code causes the problem.


--- i830_driver.c.org  Mon Apr 12 22:25:53 2004
+++ i830_driver.c Mon Apr 12 22:29:29 2004
@@ -2147,6 +2147,14 @@
vbeFree(pVbe);

 #if defined(XF86DRI)
+   /* Load the dri module if requested. */
+   if (xf86ReturnOptValBool(pI830-Options, OPTION_DRI, FALSE) 
+   !pI830-directRenderingDisabled) {
+  if (xf86LoadSubModule(pScrn, dri)) {
+xf86LoaderReqSymLists(I810driSymbols, I810drmSymbols, NULL);
+  }
+   }
+
if (!pI830-directRenderingDisabled) {
   if (!xf86LoadSubModule(pScrn, shadow)) {
 PreInitCleanup(pScrn);


It seems that loading the DRI causes the screen to go blank after resume.
If I don't suspend/resume, screen works fine.

Next, I tried disabling DRI ...

Option  DRI   off

and that fixes the problem. Screen restores correctly after resume.

I don't know how to fix the DRI to get it to restore the screen after
resume, but if someone is willing to provide guidance, I'll be more than
willing to help.

Thanks,
Jeff.


___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


cvs compile failed

2004-06-22 Thread Jeff Chua
Just downloaded the lastest cvs. Failed to compile.
itsy.c:78: warning: no previous prototype for `itsyCardInit'
itsy.c: In function `itsyCardInit':
itsy.c:87: `FB_LCD_PARAMS' undeclared (first use in this function)
itsy.c:87: (Each undeclared identifier is reported only once
itsy.c:87: for each function it appears in.)
itsy.c:92: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:95: warning: unsigned int format, pointer arg (arg 3)
itsy.c:81: warning: unused variable `pixels'
itsy.c: At top level:
itsy.c:108: warning: no previous prototype for `itsyScreenInit'
itsy.c: In function `itsyScreenInit':
itsy.c:111: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:112: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:113: structure has no member named `depth'
itsy.c:113: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:114: structure has no member named `bitsPerPixel'
itsy.c:114: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:115: structure has no member named `byteStride'
itsy.c:115: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:116: structure has no member named `pixelStride'
itsy.c:116: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:117: invalid use of undefined type `struct FbLcdParamsStruct'

Thanks,
Jeff
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: cvs compile failed

2004-06-27 Thread Jeff Chua
On Wed, 23 Jun 2004, David Dawes wrote:
On Wed, Jun 23, 2004 at 11:24:54AM +0100, Dr Andrew C Aitchison wrote:
I'll fix xfree86.cf to turn XItsyServer off by default.  I expect that
the tinyx/itsy ought to be removed.

Any chance of this happening soon? The latest CVS still fails.
In file included from ../../../../../exports/include/X11/Xos.h:164,
 from ../../../../../programs/Xserver/hw/tinyx/tinyx.h:74,
 from itsy.h:24,
 from itsy.c:70:
/usr/include/unistd.h: At top level:
/usr/include/unistd.h:966: warning: redundant redeclaration of `ctermid' 
in same scope
/usr/include/stdio.h:585: warning: previous declaration of `ctermid'
itsy.c:78: warning: no previous prototype for `itsyCardInit'
itsy.c: In function `itsyCardInit':
itsy.c:87: `FB_LCD_PARAMS' undeclared (first use in this function)
itsy.c:87: (Each undeclared identifier is reported only once
itsy.c:87: for each function it appears in.)
itsy.c:92: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:95: warning: unsigned int format, pointer arg (arg 3)
itsy.c:81: warning: unused variable `pixels'
itsy.c: At top level:
itsy.c:108: warning: no previous prototype for `itsyScreenInit'
itsy.c: In function `itsyScreenInit':
itsy.c:111: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:112: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:113: structure has no member named `depth'
itsy.c:113: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:114: structure has no member named `bitsPerPixel'
itsy.c:114: invalid use of undefined type `struct FbLcdParamsStruct'
itsy.c:115: structure has no member named `byteStride'
itsy.c:115: invalid use of undefined type `struct FbLcdParamsStruct'


Thanks,
Jeff
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: cvs compile failed

2004-06-28 Thread Jeff Chua
On Mon, 28 Jun 2004, Andrew C Aitchison wrote:
On Wed, 23 Jun 2004, David Dawes wrote:
Turn XItsyServer off by default (it doesn't build).
in xc/config/cf/xfree86.cf
You probably need to do a make World (or at least make Makefiles)
in the top level to get this change to take effect.

You're right. make World does the trick. Compiles ok now.
The only tweak I had to do is to disable TOSHIBA_SMM in
xc/programs/Xserver/hw/tinyx/vesa/vesa.c
// line 1479
#undef TOSHIBA_SMM
#if TOSHIBA_SMM
Without that, vesa.c will fail to compile.

Thanks,
Jeff
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


cvs compile failed: fbdev

2004-08-29 Thread Jeff Chua
latest cvs has this problem. Just downloaded today.
gcc -c -O2 -fno-strength-reduce -ansi -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wredundant-decls -Wnested-externs -Wundef 
-I../../../../../programs/Xserver/hw/tinyx 
-I../../../../../programs/Xserver/hw/tinyx/linux 
-I../../../../../exports/include/X11 -I../../../../../include/fonts 
-I../../../../../programs/Xserver/fb -I../../../../../programs/Xserver/mi 
-I../../../../../programs/Xserver/Xext 
-I../../../../../programs/Xserver/miext/shadow 
-I../../../../../programs/Xserver/miext/layer 
-I../../../../../programs/Xserver/include 
-I../../../../../programs/Xserver/os 
-I../../../../../include/extensions -I../../../../../exports/include/X11 
-I../../../../../programs/Xserver/render 
-I../../../../../programs/Xserver/randr -I.  -I../../../../.. 
-I../../../../../exports/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 
-DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV 
-DPANORAMIX  -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV 
-DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server 
-DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG 
-DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG   -DFUNCPROTO=15 
-DNARROWPROTO   -DXIPAQ   fbdev.c
In file included from /usr/include/linux/fb.h:5,
 from fbdev.h:28,
 from fbdev.c:70:
/usr/include/linux/list.h:700: warning: #warning don't include kernel 
headers in userspace
In file included from fbdev.h:28,
 from fbdev.c:70:
/usr/include/linux/fb.h:286: field `modelist' has incomplete type
In file included from fbdev.h:29,
 from fbdev.c:70:
/usr/include/unistd.h:966: warning: redundant redeclaration of `ctermid' 
in same scope
/usr/include/stdio.h:585: warning: previous declaration of `ctermid'
In file included from /usr/include/string.h:360,
 from ../../../../../exports/include/X11/Xos.h:93,
 from ../../../../../programs/Xserver/hw/tinyx/tinyx.h:74,
 from fbdev.h:31,
 from fbdev.c:70:
/usr/include/bits/string2.h: In function `__mempcpy_small':
/usr/include/bits/string2.h:250: warning: pointer of type `void *' used in 
arithmetic
/usr/include/bits/string2.h:254: warning: pointer of type `void *' used in 
arithmetic
/usr/include/bits/string2.h:258: warning: pointer of type `void *' used in 
arith
fbdev.c: In function `fbdevScreenInit':
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
fbdev.c:270: warning: pointer of type `void *' used in arithmetic
make[5]: *** [fbdev.o] Error 1
make[5]: Leaving directory 
`/v6/src2/xfree86/xc/programs/Xserver/hw/tinyx/fbdev'
make[4]: *** [hw/tinyx/fbdev] Error 2
make[4]: Leaving directory `/v6/src2/xfree86/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/v6/src2/xfree86/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/v6/src2/xfree86/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/v6/src2/xfree86/xc'
make: *** [World] Error 2

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: cvs compile failed: fbdev

2004-09-04 Thread Jeff Chua
On Fri, 3 Sep 2004, Marc Aurele La France wrote:
I don't know what the problem is, but it does seem that under 
/usr/include/linux, your fb.h and list.h are not what they should be.
They came straigt from linux-2.6.9rc1.
I realized that the cvs compiles fine with linux-2.4, but not the fbdev 
doesn't compile under 2.6.9rc1.

Jeff
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Re: GLX/DRI changes break make World

2004-12-20 Thread Jeff Chua
On Mon, 20 Dec 2004, Marc Aurele La France wrote:
On Mon, 20 Dec 2004, Andrew C Aitchison wrote:
The recent GLX/DRI changes break make World.
The first error is
`../../../../../../lib/GL/dri/glcontextmodes.o', needed by `gamma_dri.so'.

Are these from a fresh checkout?  Or a `cvs update` overlaid on top?  I don't 
see these on any of my fresh builds.
I encountered the same problem too. I use cvs -f checkout xc. Also tried 
with a new xc directory before running cvs checkout, and still having the 
same problem.

Jeff.
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


(no subject)

2005-01-13 Thread Jeff Chua
lastest CVS gives the following error when issuing startx ...
Symbol Xllalloc from module /usr/X11R6/lib/modules/fonts/libspeedo.a is 
unresolved!
Symbol Xllrealloc from module /usr/X11R6/lib/modules/fonts/libspeedo.a is 
unresolved!

This should not happen!
An unresolved function was called!
Fatal server error:
No problem a few days ago.
Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: (no subject) - Symbol Xllalloc ...unresolved!

2005-01-13 Thread Jeff Chua
On Thu, 13 Jan 2005, Marc Aurele La France wrote:
Symbol Xllalloc from module /usr/X11R6/lib/modules/fonts/libspeedo.a is 
unresolved!

That's an oversight on my part.  I've just committed a fix that adds these 
sybols to hw/xfree86/loader/dixsym.c.  Thanks for pointing out the problem.
Ok, the lastest CVS with your fix now solves the problem.
Thank you.
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: (no subject) - Symbol Xllalloc ...unresolved! (fwd)

2005-01-13 Thread Jeff Chua
On Thu, 13 Jan 2005, Marc Aurele La France wrote:
Symbol Xllalloc from module /usr/X11R6/lib/modules/fonts/libspeedo.a is 
unresolved!

That's an oversight on my part.  I've just committed a fix that adds these 
sybols to hw/xfree86/loader/dixsym.c.  Thanks for pointing out the problem.
Ok, the lastest CVS with your fix now solves the problem.
Thank you.
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


dixsym.c:353: `LogTypeToTxt' undeclared

2005-01-26 Thread Jeff Chua
dixsym.c:353: `LogTypeToTxt' undeclared here (not in a function)
dixsym.c:353: initializer element is not constant
dixsym.c:353: (near initialization for `dixLookupTab[198].offset')
make[5]: *** [dixsym.o] Error 1
make[5]: Leaving directory 
`/v6/src2/xfree86/xc/programs/Xserver/hw/xfree86/loader'

Any fix for this?
Thanks,
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[PATCH] fontmisc.h

2005-01-27 Thread Jeff Chua
The latest CVS can't compile bdfread.c
Attached is a patch to make it work on gcc version 2.95.3 20010315.
gcc -c -ansi -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls 
-Wnested-externs -Wundef  -I../../../include/fonts -I../include 
-I../../.. -I../../../exports/include   -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   -DBDFFORMAT 
-DPCFFORMAT -DSNFFORMAT  -O2 -fno-strength-reduce   bdfread.c -o 
unshared/bdfread.o
...
bdfread.c:482: parse error before `;'
bdfread.c:291: label `BAILOUT' used but not defined
bdfread.c: At top level:
bdfread.c:490: parse error before `-'
bdfread.c:491: warning: type defaults to `int' in declaration of `i'
bdfread.c:491: warning: data definition has no type or storage class
bdfread.c:492: parse error before `for'
bdfread.c:512: parse error before `-'
make[4]: *** [bdfread.o] Error 1
make[4]: Leaving directory `/v6/src2/xfree86/xc/lib/font/bitmap'

Thanks,
Jeff
--- xfree86/xc/lib/font/include/fontmisc.h.org  Fri Jan 28 14:07:38 2005
+++ xfree86/xc/lib/font/include/fontmisc.h  Fri Jan 28 14:07:41 2005
@@ -93,8 +93,7 @@
 #else
 #define xalloc(n) Xllalloc((unsigned long long)n)
 #define xrealloc(p,n) Xllrealloc((pointer)p, (unsigned long long)n)
-#define xcalloc(n,s)  Xllcalloc(((unsigned long long)n) *
- ((unsigned long long)s))
+#define xcalloc(n,s)  Xllcalloc(((unsigned long long)n) * ((unsigned long 
long)s))
 #endif
 #define xfree(p)  Xfree((pointer)p)
 #endif
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


mmapr.c compile problem

2005-04-04 Thread Jeff Chua
gcc -c -O2 -fno-strength-reduce -ansi -Wall -Wpointer-arith -Wundef
-I. -I../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../../programs/Xserver/include
-I../../../../../exports/include/X11 
-I../../../../../programs/Xserver/hw/xfree86/scanpci
-I../../../../../programs/Xserver/hw/xfree86/dummylib
-I../../../../../programs/Xserver/hw/xfree86/os-support/bus
-I../../../../.. -I../../../../../exports/include -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
-D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 
-DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV 
-DPANORAMIX  -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV 
-DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server 
-DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG 
-DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DNEED_STRLCAT 
-DFUNCPROTO=15 -DNARROWPROTO  mmapr.c
In file included from mmapr.c:55: /usr/include/linux/pci.h: warning: 6 trigraph(s) encountered
In file included from /usr/include/string.h:360,
  from mmapr.c:32:
/usr/include/bits/string2.h: In function `__mempcpy_small':
/usr/include/bits/string2.h:250: warning: pointer of type `void *' used in arithmetic
In file included from /usr/include/linux/pci.h:20,
  from mmapr.c:55:
/usr/include/linux/mod_devicetable.h: At top level:
/usr/include/linux/mod_devicetable.h:18: parse error before `__u32'
/usr/include/linux/mod_devicetable.h:18: warning: no semicolon at end of struct or union
/usr/include/linux/mod_devicetable.h:19: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:20: parse error before `class'
/usr/include/linux/mod_devicetable.h:20: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:21: parse error before `driver_data'
/usr/include/linux/mod_devicetable.h:21: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:31: parse error before `__u32'
/usr/include/linux/mod_devicetable.h:31: warning: no semicolon at end of struct or union
/usr/include/linux/mod_devicetable.h:32: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:33: parse error before `model_id'
/usr/include/linux/mod_devicetable.h:33: warning: data definition has no type or storage class
/usr/include/linux/mod_devicetable.h:34: parse error before `specifier_id'
/usr/include/linux/mod_devicetable.h:34: warning: data definition has no type or ...
make[5]: *** [mmapr.o] Error 1
make[5]: Leaving directory `/v6/src2/xfree86/xc/programs/Xserver/hw/xfree86/etc'
make[4]: *** [all] Error 2

I think the latest change doesn't go well with linux-2.6 header or 
gcc-2.95.3
CVS from March 30 doesn't have this problem.
Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: [PATCH] BRe: mmapr.c compile problem

2005-04-07 Thread Jeff Chua
On Thu, 7 Apr 2005, Marc Aurele La France wrote:
I've just committed a change to fix the typo you reported and #define 
LINUX_MOD_DEVICETABLE_H where apprpriate.
Just downloaded and verified that both mmapr.c and mmapw.c compiled ok.
I like your way of #define LINUX_MOD_DEVICETABLE_H.
Thanks,
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: Symbol i830PrintModes unresolved (fwd)

2005-05-24 Thread Jeff Chua

On Tue, 24 May 2005, Alan Hourihane wrote:


Fixed.



Confirmed lastest cvs to be working again.

Thanks,
Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


patch for linux-2.6.13-rc1

2005-07-01 Thread Jeff Chua

The latest linux kernel 2.6.13-rc1 modified joystick.h

The patch below is needed to compile using the new kernel.

Thanks,
Jeff.


--- xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c.org   
2005-07-01 13:50:04 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c   
2005-07-01 13:50:47 +0800
@@ -5,6 +5,8 @@
 #include string.h
 #include errno.h
 #define inline __inline__
+#define BITS_PER_LONG 32
+#define __s64 long
 #include linux/joystick.h

 #undef BUS_ISA

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


xf86InterpretEDID xf86DoEDID_Option symbols unresolved

2005-09-15 Thread Jeff Chua

The lastest CVS source can't start X11 after I do a fresh make World.

Here's the error ...

Symbol xf86InterpretEDID from module /usr/X11R6/lib/modules/libvbe.a is 
unresolved!
Symbol xf86DoEDID_Option from module /usr/X11R6/lib/modules/libvbe.a is 
unresolved!


When I roll back to CVS from August, it works without any problem.

This problem surfaces only after I do a make World from a clean CVS 
sources. I was doing daily CVS update followed by make and could get X11 
to start without any problem.



This one works ...
XFree86 Version 4.5.99.10
Release Date: 23 August 2005
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.13-mh1 i686 [ELF]

Something changes in the CVS after that ...

Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[PATCH] trident_video.c

2005-12-08 Thread Jeff Chua
The following patch is needed in order to compile trident_video.c with 
gcc-2.95.3 ...


Thanks,
Jeff

--- xfree86/xc/programs/Xserver/hw/xfree86/drivers/trident/trident_video.c.org  
2005-12-09 12:05:15 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/drivers/trident/trident_video.c  
2005-12-09 12:05:43 +0800
@@ -666,10 +666,11 @@
 OUTW(vgaIOBase + 4, ((width1)  0xff00)  | 0x91);
 OUTW(vgaIOBase + 4, ((offset)  0xff)  8 | 0x92);
 OUTW(vgaIOBase + 4, ((offset)  0xff00)| 0x93);
-if (pTrident-Chipset = CYBER9397)
+if (pTrident-Chipset = CYBER9397) {
OUTW(vgaIOBase + 4, ((offset)  0x0f)  8 | 0x94);
-else
+} else {
OUTW(vgaIOBase + 4, ((offset)  0x07)  8 | 0x94);
+}

 /* Horizontal Zoom */
 if (pTrident-videoFlags  VID_ZOOM_INV) {
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[PATCH] to comply using Linux-2.6.16-rc2

2006-02-05 Thread Jeff Chua
I make this patch in order to compile latest CVS source with 
Linux-2.6.16-rc2


XFree86 Version 4.5.99.20
Release Date: 23 January 2006
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.16-rc2 i686 [ELF]


I know it would be nice to do that change in input.h, but afraid 
it'll get shot down in lkml. Someone want to try? Please comment.



Thanks,
Jeff

--- xfree86/xc/programs/Xserver/hw/xfree86/input/acecad/acecad.c.org
2006-02-06 13:59:13 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/acecad/acecad.c
2006-02-04 18:32:19 +0800
@@ -32,7 +32,10 @@

 #ifdef LINUX_INPUT
 #include asm/types.h
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
 #include linux/input.h
+#undef BITS_PER_LONG
 #ifdef BUS_PCI
 #undef BUS_PCI
 #endif
--- xfree86/xc/programs/Xserver/hw/xfree86/input/wacom/xf86Wacom.c.org  
2006-02-06 13:59:29 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/wacom/xf86Wacom.c  
2006-02-04 18:43:34 +0800
@@ -49,7 +49,10 @@

 #ifdef LINUX_INPUT
 #include asm/types.h
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
 #include linux/input.h
+#undef BITS_PER_LONG

 /* 2.4.6 module support */
 #ifndef EV_MSC
--- xfree86/xc/programs/Xserver/hw/xfree86/input/aiptek/xf86Aiptek.h.org
2006-02-06 13:59:45 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/aiptek/xf86Aiptek.h
2006-02-04 18:45:52 +0800
@@ -42,6 +42,10 @@

 #ifdef LINUX_INPUT
 #   include asm/types.h
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
+#include linux/input.h
+#undef BITS_PER_LONG
 #   include linux/input.h
 #   ifndef EV_MSC
 #  define EV_MSC 0x04
--- xfree86/xc/programs/Xserver/hw/xfree86/input/eloinput/xf86EloInput.c.org
2006-02-06 13:59:56 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/eloinput/xf86EloInput.c
2006-02-04 18:46:26 +0800
@@ -38,7 +38,10 @@
  */

 #include asm/types.h
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
 #include linux/input.h
+#undef BITS_PER_LONG
 #undef BUS_PCI
 #undef BUS_ISA
 #ifndef EV_SYN
--- xfree86/xc/programs/Xserver/hw/dmx/input/usb-private.h.org  2006-02-06 
14:00:06 +0800
+++ xfree86/xc/programs/Xserver/hw/dmx/input/usb-private.h  2006-02-04 
18:47:06 +0800
@@ -45,7 +45,10 @@
 #include inputstr.h
 #include X11/Xos.h
 #include errno.h
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
 #include linux/input.h
+#undef BITS_PER_LONG
 #include usb-common.h

 /*  Support for force feedback was
--- xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c.org   
2006-02-06 14:00:15 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c   
2006-02-04 18:45:30 +0800
@@ -5,6 +5,10 @@
 #include string.h
 #include errno.h
 #define inline __inline__
+#define kernel_ulong_t unsigned long
+#define BITS_PER_LONG 32
+#include linux/input.h
+#undef BITS_PER_LONG
 #include linux/joystick.h

 #undef BUS_ISA
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


how to change mouse select behavior?

2006-03-07 Thread Jeff Chua
I noticed a few weeks ago with the CVS source, double-click on hte left 
mouse can select a whole word, then the feature disappeared.


Is there anyway to get the feature to work again?


Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-08 Thread Jeff Chua
It's xterm. I'm referring to double-clicking on 1233:03030-30303 and 
it'll select the whole 1233:03030-30303 instead of 1233



Thanks,
Jeff

On Tue, 7 Mar 2006, Thomas Dickey wrote:


On Wed, 8 Mar 2006, Jeff Chua wrote:

I noticed a few weeks ago with the CVS source, double-click on hte left 
mouse can select a whole word, then the feature disappeared.


which application?

I changed a resource value in xterm which affected triple click, but that
was in #208, while #209 is current.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-08 Thread Jeff Chua

On Wed, 8 Mar 2006, Thomas Dickey wrote:


You're reading it correctly.  I was pointing out that there is a better
solution than doing that.


So for now, how can I bring back that behaviour? What's the syntax for 
adding charClass to .Xdefaults?


Thanks you.

Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: how to change mouse select behavior?

2006-03-09 Thread Jeff Chua

On Thu, 9 Mar 2006, Thomas Dickey wrote:

So for now, how can I bring back that behaviour? What's the syntax for 
adding charClass to .Xdefaults?


*charClass: 33:48,35:48,37-38:48,43-47:48,58:48,61:48,63-64:48,126:48


Thank you so much. Now that I know it's in xterm, I looked up man 
xterm and got the syntax from there. Was wondering how to do just that 
for weeks and didn't have a clue what caused the change.


Jeff.
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


[PATCH] xf86sym.c

2006-06-29 Thread Jeff Chua

Latest CVS can't compile due to __unused undefined.

Here's a fix ...


--- xfree86/xc/programs/Xserver/hw/xfree86/loader/xf86sym.c 2006-06-29 
13:23:00 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/loader/xf86sym.c 2006-06-29 
09:58:16 +0800
@@ -289,7 +289,7 @@
  * For propolice/gcc stack protector.
  */
 extern long __guard[8];
-extern void __stack_smash_handler(char func[], int damaged  __unused);
+extern void __stack_smash_handler(char func[], int damaged);
 #pragma weak __guard
 #pragma weak __stack_smash_handler




Thanks,
Jeff
[ [EMAIL PROTECTED] ]
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


driver for i965?

2006-11-07 Thread Jeff Chua
When can we expect the Intel 965 gma3000 to be integrated in the current 
cvs?



Thanks,
Jeff
___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel


Re: ANN: xterm #230

2008-01-03 Thread Jeff Chua

On Mon, 31 Dec 2007, Thomas Dickey wrote:


   Patch #230 - 2007/12/31


Compiled and installed ok, but when I tried to compile another program ... 
basically with a lot of screen output, the new xterm will disappear and 
dmesg shows ...


segfault at 0001 eip 080743b4 esp bffe5a14 error 4

Reverted back to xterm-229 and problem goes away.

Both version compiled with gcc-4.2.2, and glibc-2.7, running with fvwm.

Thanks,
Jeff.

___
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel