xf86PostMotionEvent caused server aborting

antilife bamboo9527 at gmail.com
Thu Dec 27 07:38:16 PST 2007


----- Original Message ----- 
From: "Peter Hutterer" <mailinglists at who-t.net>
To: "antilife" <bamboo9527 at gmail.com>
Cc: <xorg at lists.freedesktop.org>
Sent: Wednesday, December 26, 2007 11:59 AM
Subject: Re: xf86PostMotionEvent caused server aborting


> antilife wrote:
>> //////////////////////////////////////////
>> but xf86PostButtonEvent can not work, it caused server aborting:
>> /////////////////////////////////////////
>> if ( (priv->zzzOldX != x) || (priv->zzzOldY != y)) {
>>     xf86PostMotionEvent(device, 1, 0, 3, x, y, pressure);
>> }
>> /////////////////////////////////////////
>> anybody who can help me? many thanks!!!!!!!!
> 
> Please attach or paste your Xorg.0.log file, otherwise it's mostly
> guesswork.
> What server version do you use?
> 
> Cheers,
>  Peter
Thanks for your reply.Below is my Xorg.0.log:
X Window System Version 6.8.2                                                   
Release Date: 9 February 2005                                                   
X Protocol Version 11, Revision 0, Release 6.8.2                                
Build Operating System: Linux 2.6.17-1.2174_FC5smp i686 [ELF]                   
Current Operating System: Linux (none) 2.6.16.14 #333 Thu Jun 28 16:36:08 HKT 2l
Build Date: 25 September 2006                                                   
        Before reporting problems, check http://wiki.X.Org                      
        to make sure that you have the latest version.                          
Module Loader present                                                           
Markers: (--) probed, (**) from config file, (==) default setting,              
        (++) from command line, (!!) notice, (II) informational,                
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.           
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  1 00:00:08 2000            
(==) Using config file: "/etc/X11/xorg.conf"                                    
(==) ServerLayout "Simple Layout"                                               
(**) |-->Screen "Builtin Default fbdev Screen 0" (0)                            
(**) |   |-->Monitor "<default monitor>"                                        
(**) |   |-->Device "Builtin Default fbdev Device 0"                            
(WW) No monitor specified for screen "Builtin Default fbdev Screen 0".          
        Using a default monitor configuration.                                  
(**) |-->Input Device "Mouse0"                                                  
(**) |-->Input Device "Keyboard0"                                               
(**) Option "XkbRules" "xorg"                                                   
(**) XKB: rules: "xorg"                                                         
(**) Option "XkbModel" "pc105"                                                  
(**) XKB: model: "pc105"                                                        
(**) Option "XkbLayout" "us"                                                    
(**) XKB: layout: "us"                                                          
(==) Keyboard: CustomKeycode disabled                                           
(**) |-->Input Device "stylus"                                                  
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/"                           
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"                                    
(**) ModulePath set to "/usr/X11R6/lib/modules"                                 
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)                
(II) Module ABI versions:                                                       
        X.Org ANSI C Emulation: 0.2                                             
        X.Org Video Driver: 0.7                                                 
        X.Org XInput driver : 0.4                                               
        X.Org Server Extension : 0.2                                            
        X.Org Font Renderer : 0.4                                               
(II) Loader running on linux                                                    
(II) LoadModule: "bitmap"                                                       
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a                           
(II) Module bitmap: vendor="X.Org Foundation"                                   
        compiled for 6.8.2, module version = 1.0.0                              
        Module class: X.Org Font Renderer                                       
        ABI class: X.Org Font Renderer, version 0.4                             
(II) Loading font Bitmap                                                        
(II) LoadModule: "pcidata"                                                      
(II) Loading /usr/X11R6/lib/modules/libpcidata.a                                
(II) Module pcidata: vendor="X.Org Foundation"                                  
        compiled for 6.8.2, module version = 1.0.0                              
        ABI class: X.Org Video Driver, version 0.7                              
(--) using VT number 2                                                          
                                                                                
(II) Addressable bus resource ranges are                                        
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]                     
        [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]                 
(II) OS-reported resource ranges:                                               
        [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]                     
        [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]                     
        [2] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]                     
        [3] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]                     
(II) OS-reported resource ranges after removing overlaps with PCI:              
        [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]                     
        [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]                     
        [2] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]                     
        [3] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]                     
(II) All system resource ranges:                                                
        [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]                     
        [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]                     
        [2] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]                     
        [3] -1  0       0x00000000 - 0x00000000 (0x1) IX[B]                     
(II) LoadModule: "hanwang"                                                      
(II) Loading /usr/X11R6/lib/modules/input/hanwang_drv.o                         
(II) Module hanwang: vendor="X.Org Foundation"                                  
        compiled for 6.8.2, module version = 1.0.0                              
        Module class: X.Org XInput Driver                                       
        ABI class: X.Org XInput driver, version 0.4                             
(II) LoadModule: "shadowfb"                                                     
(II) Loading /usr/X11R6/lib/modules/libshadowfb.a                               
(II) Module shadowfb: vendor="X.Org Foundation"                                 
        compiled for 6.8.2, module version = 1.0.0                              
        ABI class: X.Org ANSI C Emulation, version 0.2                          
(II) LoadModule: "fbdev"                                                        
(II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o                         
(II) Module fbdev: vendor="X.Org Foundation"                                    
        compiled for 6.8.2, module version = 0.1.0                              
        ABI class: X.Org Video Driver, version 0.7                              
(II) LoadModule: "void"                                                         
(II) Loading /usr/X11R6/lib/modules/input/void_drv.o                            
(II) Module void: vendor="X.Org Foundation"                                     
        compiled for 6.8.2, module version = 1.0.0                              
        Module class: X.Org XInput Driver                                       
        ABI class: X.Org XInput driver, version 0.4                             
(II) LoadModule: "keyboard"                                                     
(II) Loading /usr/X11R6/lib/modules/input/keyboard_drv.o                        
(II) Module keyboard: vendor="X.Org Foundation"                                 
        compiled for 6.8.2, module version = 1.0.0                              
        Module class: X.Org XInput Driver                                       
        ABI class: X.Org XInput driver, version 0.4                             
(II) LoadModule: "hanwang"                                                      
(II) Reloading /usr/X11R6/lib/modules/input/hanwang_drv.o                       
(II) FBDEV: driver for framebuffer: fbdev                                       
(II) Loading sub module "fbdevhw"                                               
(II) LoadModule: "fbdevhw"                                                      
(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a                          
(II) Module fbdevhw: vendor="X.Org Foundation"                                  
        compiled for 6.8.2, module version = 0.0.2                              
        ABI class: X.Org Video Driver, version 0.7                              
(II) FBDEV(0): using /dev/fbdir/0                                               
(II) Running in FRAMEBUFFER Mode                                                
(**) FBDEV(0): Depth 16, (--) framebuffer bpp 16                                
(==) FBDEV(0): RGB weight 565                                                   
(==) FBDEV(0): Default visual is TrueColor                                      
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)                           
(II) FBDEV(0): Hardware: IMX (vidmem: 210k)                                     
(**) FBDEV(0): Option "ShadowFB" "true"                                         
(**) FBDEV(0): Option "Rotate" "CW"                                             
(**) FBDEV(0): Option "fbdev" "/dev/fbdir/0"                                    
(**) FBDEV(0): Rotating screen clockwise                                        
(II) FBDEV(0): Checking Modes against framebuffer device...                     
(II) FBDEV(0):  mode "640x480" ok                                               
(II) FBDEV(0): Checking Modes against monitor...                                
(--) FBDEV(0): Virtual size is 640x480 (pitch 640)                              
(**) FBDEV(0):  Default mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz
(II) FBDEV(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsc
(==) FBDEV(0): DPI set to (75, 75)                                              
(II) Loading sub module "fb"                                                    
(II) LoadModule: "fb"                                                           
(II) Loading /usr/X11R6/lib/modules/libfb.a                                     
(II) Module fb: vendor="X.Org Foundation"                                       
        compiled for 6.8.2, module version = 1.0.0                              
        ABI class: X.Org ANSI C Emulation, version 0.2                          
(**) FBDEV(0): Using "Shadow Framebuffer"                                       
(II) Loading sub module "shadow"                                                
(II) LoadModule: "shadow"                                                       
(II) Loading /usr/X11R6/lib/modules/libshadow.a                                 
(II) Module shadow: vendor="X.Org Foundation"                                   
        compiled for 6.8.2, module version = 1.0.0                              
        ABI class: X.Org ANSI C Emulation, version 0.2                          
(EE) FBDEV(0): FBIOPAN_DISPLAY: Invalid argument                                
(II) FBDEV(0): Rotated display, disabling DGA                                   
(II) FBDEV(0): Enabling Driver rotation, disabling RandR                        
(==) FBDEV(0): Backing store disabled                                           
(--) RandR disabled                                                             
(II) Initializing built-in extension MIT-SHM                                    
(II) Initializing built-in extension XInputExtension                            
(II) Initializing built-in extension XTEST                                      
(II) Initializing built-in extension XKEYBOARD                                  
(II) Initializing built-in extension XC-APPGROUP                                
(II) Initializing built-in extension SECURITY                                   
(II) Initializing built-in extension XINERAMA                                   
(II) Initializing built-in extension XFIXES                                     
(II) Initializing built-in extension XFree86-Bigfont                            
(II) Initializing built-in extension RENDER                                     
(II) Initializing built-in extension RANDR                                      
(II) Initializing built-in extension COMPOSITE                                  
(II) Initializing built-in extension DAMAGE                                     
(II) Initializing built-in extension XEVIE                                      
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy    
(**) Option "CorePointer"                                                       
(**) Mouse0: Core Pointer                                                       
(**) Option "CoreKeyboard"                                                      
(**) Keyboard0: Core Keyboard                                                   
(**) Option "Protocol" "standard"                                               
(**) Keyboard0: Protocol: standard                                              
(**) Option "AutoRepeat" "500 30"                                               
(**) Keyboard0: XkbRules: "xorg"                                                
(**) Option "XkbModel" "pc105"                                                  
(**) Keyboard0: XkbModel: "pc105"                                               
(**) Option "XkbLayout" "us"                                                    
(**) Keyboard0: XkbLayout: "us"                                                 
(**) Option "CustomKeycodes" "off"                                              
(**) Keyboard0: CustomKeycodes disabled                                         
(**) Option "SendCoreEvents"                                                    
(**) stylus: always reports core events                                         
(**) stylus serial device is /dev/ttySMX1                                       
(II) XINPUT: Adding extended input device "stylus" (type: HANWANG)              
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)          
(II) XINPUT: Adding extended input device "Mouse0" (type: Void)                 
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap                   
(**) Option "Device" "/dev/ttySMX1"                                             
(**) Option "BaudRate" "19200"                                                  
(**) Option "StopBits" "1"                                                      
(**) Option "DataBits" "8"                                                      
(**) Option "Parity" "None"                                                     
(**) Option "Vmin" "1"                                                          
(**) Option "Vtime" "10"                                                        
(**) Option "FlowControl" "Xoff"                                                
                                                                                
   *** If unresolved symbols were reported above, they might not                
   *** be the reason for the server aborting.                                   
                                                                                
Fatal server error:                                                             
Caught signal 11.  Server aborting                                              
                                                                                
                                                                                
Please consult the The X.Org Foundation support                                 
         at http://wiki.X.Org                                                   
 for help.                                                                      
Please also check the log file at "/var/log/Xorg.0.log" for additional informat.
  


More information about the xorg mailing list