Problems with X..

Michael G. Jung mikej at confluenttech.com
Tue Mar 8 23:20:14 GMT 2005


	-----Original Message----- 
	From: Dejan Lesjak [mailto:dejan.lesjak at ijs.si] 
	Sent: Tue 3/8/2005 5:43 PM 
	To: Michael G. Jung 
	Cc: freebsd-sparc64 at freebsd.org; mmuthmann at gmx.net 
	Subject: Re: Problems with X..
	
	

	On Tuesday 08 of March 2005 13:15, Michael G. Jung wrote:
	> Patched as desrived below this seems to have fixed my problems with X on
	> Sparc Ultra 2.
	>
	> I tested the keyboard in xterm and KWord.  While I only spend a few minutes
	> with it this morning, all the alphanumeric keys + keypad seemed to work
	> fine A-Z, a-z 0-1 !@#$%^% etc... PgUp/PgDown keys worked, the keypad worked
	> numerically and shifted and F1 brought up KHelp...
	>
	> Thanks for all your efforts!
	>
	> Here is my version info.  X was compiled with your single patch
	> patch-kbd_sparc_2.c.
	
	So, just to make sure, the only extra patch (apart from ones already in
	xorg-server/files dir) you used is patch-kbd_sparc_2.c? 

	  Yes, removed port with pkg_delete - rm -r /usr/ports/x11-servers/xorg-server 

	   - cvsup - put path-kbd_sparc_2.c in files directory - make - make install - X -config /root/xorg.conf

	And the last row (Z-?or equivalent in non-us layouts) works properly?  Works fine but 

	  US - before this patch the keyboard mapping were incorrect - did not work

	Could you post InputDevice section for kbd driver in xorg.conf (or XF86Config) if there is one, or the
	entire X log please.

	

	Here is the entire log --- sorry if confusion about US / non-US

	X Window System Version 6.8.1
	Release Date: 17 September 2004
	X Protocol Version 11, Revision 0, Release 6.8.1
	Build Operating System: FreeBSD 6.0 sparc64 [ELF]
	Current Operating System: FreeBSD dual2.mikej.com 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Sat Feb  5 12:03:53 EST 2005     root at dual2.mikej.com:/usr/obj/usr/src/sys/DUAL2-2 sparc64
	Build Date: 08 March 2005
	        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: Tue Mar  8 18:10:13 2005
	(++) Using config file: "xorg.conf.new"
	(==) ServerLayout "X.org Configured"
	(**) |-->Screen "Screen0" (0)
	(**) |   |-->Monitor "Monitor0"
	(**) |   |-->Device "Card0"
	(**) |-->Input Device "Mouse0"
	(**) |-->Input Device "Keyboard0"
	(**) Option "XkbRules" "xorg"
	(**) XKB: rules: "xorg"
	(**) Option "XkbModel" "pc104"
	(**) XKB: model: "pc104"
	(**) Option "XkbLayout" "us"
	(**) XKB: layout: "us"
	(==) Keyboard: CustomKeycode disabled
	(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/CID/".
	        Entry deleted from font path.
	        (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/CID/").
	(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
	(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
	(**) ModulePath set to "/usr/X11R6/lib/modules"
	(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 freebsd
	(II) LoadModule: "bitmap"
	(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
	(II) Module bitmap: vendor="X.Org Foundation"
	        compiled for 6.8.1, 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.1, module version = 1.0.0
	        ABI class: X.Org Video Driver, version 0.7
	(--) Using syscons driver with X support (version 8589934658.0)
	(--) using VT number 9
	
	(--) SBUS:(0xf0066974) Sun FFB 75MHz Creator 3D at /SUNW,ffb at 1e,0
	(II) Addressable bus resource ranges are
	        [0] -1  0       0x00000000 - 0xffffffff (0x100000000) MX[B]
	        [1] -1  0       0x00000000 - 0xffffffff (0x100000000) 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       0x000c0000 - 0x000effff (0x30000) MX[B]
	        [3] -1  0       0xffffffff - 0xffffffff (0x1) IX[B]
	        [4] -1  0       0x00000000 - 0x000000ff (0x100) 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       0x000c0000 - 0x000effff (0x30000) MX[B]
	        [3] -1  0       0xffffffff - 0xffffffff (0x1) IX[B]
	        [4] -1  0       0x00000000 - 0x000000ff (0x100) 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       0x000c0000 - 0x000effff (0x30000) MX[B]
	        [3] -1  0       0xffffffff - 0xffffffff (0x1) IX[B]
	        [4] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
	(II) LoadModule: "dbe"
	(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
	(II) Module dbe: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        Module class: X.Org Server Extension
	        ABI class: X.Org Server Extension, version 0.2
	(II) Loading extension DOUBLE-BUFFER
	(II) LoadModule: "dri"
	(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
	(II) Module dri: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org Server Extension, version 0.2
	(II) Loading sub module "drm"
	(II) LoadModule: "drm"
	(II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.a
	(II) Module drm: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org Server Extension, version 0.2
	(II) Loading extension XFree86-DRI
	(II) LoadModule: "extmod"
	(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
	(II) Module extmod: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        Module class: X.Org Server Extension
	        ABI class: X.Org Server Extension, version 0.2
	(II) Loading extension SHAPE
	(II) Loading extension MIT-SUNDRY-NONSTANDARD
	(II) Loading extension BIG-REQUESTS
	(II) Loading extension SYNC
	(II) Loading extension MIT-SCREEN-SAVER
	(II) Loading extension XC-MISC
	(II) Loading extension XFree86-VidModeExtension
	(II) Loading extension XFree86-Misc
	(II) Loading extension XFree86-DGA
	(II) Loading extension DPMS
	(II) Loading extension TOG-CUP
	(II) Loading extension Extended-Visual-Information
	(II) Loading extension XVideo
	(II) Loading extension XVideo-MotionCompensation
	(II) Loading extension X-Resource
	(II) LoadModule: "glx"
	(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
	(II) Module glx: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org Server Extension, version 0.2
	(II) Loading sub module "GLcore"
	(II) LoadModule: "GLcore"
	(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
	(II) Module GLcore: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org Server Extension, version 0.2
	(II) Loading extension GLX
	(II) LoadModule: "record"
	(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
	(II) Module record: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.13.0
	        Module class: X.Org Server Extension
	        ABI class: X.Org Server Extension, version 0.2
	(II) Loading extension RECORD
	(II) LoadModule: "xtrap"
	(II) Loading /usr/X11R6/lib/modules/extensions/libxtrap.a
	(II) Module xtrap: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        Module class: X.Org Server Extension
	        ABI class: X.Org Server Extension, version 0.2
	(II) Loading extension DEC-XTRAP
	(II) LoadModule: "freetype"
	(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so
	(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	        compiled for 6.8.1, module version = 2.1.0
	        Module class: X.Org Font Renderer
	        ABI class: X.Org Font Renderer, version 0.4
	(II) Loading font FreeType
	(II) LoadModule: "type1"
	(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
	(II) Module type1: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.2
	        Module class: X.Org Font Renderer
	        ABI class: X.Org Font Renderer, version 0.4
	(II) Loading font Type1
	(II) Loading font CID
	(II) LoadModule: "sunffb"
	(II) Loading /usr/X11R6/lib/modules/drivers/sunffb_drv.o
	(II) Module sunffb: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        Module class: X.Org Video Driver
	        ABI class: X.Org Video Driver, version 0.7
	(II) LoadModule: "mouse"
	(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
	(II) Module mouse: vendor="X.Org Foundation"
	        compiled for 6.8.1, 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.1, module version = 1.0.0
	        Module class: X.Org XInput Driver
	        ABI class: X.Org XInput driver, version 0.4
	(II) SUNFFB: driver for Creator, Creator 3D and Elite 3D
	(II) resource ranges after probing:
	        [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
	        [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
	        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
	        [3] -1  0       0xffffffff - 0xffffffff (0x1) IX[B]
	        [4] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
	(==) SUNFFB(0): RGB weight 888
	(==) SUNFFB(0): Default visual is TrueColor
	(==) SUNFFB(0): Using gamma correction (1.0, 1.0, 1.0)
	(==) SUNFFB(0): Using HW cursor
	(II) Loading sub module "xf8_32wid"
	(II) LoadModule: "xf8_32wid"
	(II) Loading /usr/X11R6/lib/modules/libxf8_32wid.a
	(II) Module xf8_32wid: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org ANSI C Emulation, version 0.2
	(II) Loading sub module "mfb"
	(II) LoadModule: "mfb"
	(II) Loading /usr/X11R6/lib/modules/libmfb.a
	(II) Module mfb: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org ANSI C Emulation, version 0.2
	(II) Loading sub module "cfb"
	(II) LoadModule: "cfb"
	(II) Loading /usr/X11R6/lib/modules/libcfb.a
	(II) Module cfb: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org ANSI C Emulation, version 0.2
	(II) Loading sub module "mfb"
	(II) LoadModule: "mfb"
	(II) Reloading /usr/X11R6/lib/modules/libmfb.a
	(II) Loading sub module "cfb16"
	(II) LoadModule: "cfb16"
	(II) Loading /usr/X11R6/lib/modules/libcfb16.a
	(II) Module cfb16: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org ANSI C Emulation, version 0.2
	(II) Loading sub module "cfb"
	(II) LoadModule: "cfb"
	(II) Reloading /usr/X11R6/lib/modules/libcfb.a
	(II) Loading sub module "mfb"
	(II) LoadModule: "mfb"
	(II) Reloading /usr/X11R6/lib/modules/libmfb.a
	(II) Loading sub module "cfb24"
	(II) LoadModule: "cfb24"
	(II) Loading /usr/X11R6/lib/modules/libcfb24.a
	(II) Module cfb24: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org ANSI C Emulation, version 0.2
	(II) Loading sub module "cfb"
	(II) LoadModule: "cfb"
	(II) Reloading /usr/X11R6/lib/modules/libcfb.a
	(II) Loading sub module "mfb"
	(II) LoadModule: "mfb"
	(II) Reloading /usr/X11R6/lib/modules/libmfb.a
	(II) Loading sub module "cfb32"
	(II) LoadModule: "cfb32"
	(II) Loading /usr/X11R6/lib/modules/libcfb32.a
	(II) Module cfb32: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 1.0.0
	        ABI class: X.Org ANSI C Emulation, version 0.2
	(II) Loading sub module "cfb"
	(II) LoadModule: "cfb"
	(II) Reloading /usr/X11R6/lib/modules/libcfb.a
	(II) Loading sub module "mfb"
	(II) LoadModule: "mfb"
	(II) Reloading /usr/X11R6/lib/modules/libmfb.a
	(II) Loading sub module "cfb32"
	(II) LoadModule: "cfb32"
	(II) Reloading /usr/X11R6/lib/modules/libcfb32.a
	(II) Loading sub module "cfb"
	(II) LoadModule: "cfb"
	(II) Reloading /usr/X11R6/lib/modules/libcfb.a
	(II) Loading sub module "mfb"
	(II) LoadModule: "mfb"
	(II) Reloading /usr/X11R6/lib/modules/libmfb.a
	(II) Loading sub module "cfb"
	(II) LoadModule: "cfb"
	(II) Reloading /usr/X11R6/lib/modules/libcfb.a
	(II) Loading sub module "mfb"
	(II) LoadModule: "mfb"
	(II) Reloading /usr/X11R6/lib/modules/libmfb.a
	(II) Loading sub module "ramdac"
	(II) LoadModule: "ramdac"
	(II) Loading /usr/X11R6/lib/modules/libramdac.a
	(II) Module ramdac: vendor="X.Org Foundation"
	        compiled for 6.8.1, module version = 0.1.0
	        ABI class: X.Org Video Driver, version 0.7
	(II) Loading sub module "dbe"
	(II) LoadModule: "dbe"
	(II) Reloading /usr/X11R6/lib/modules/extensions/libdbe.a
	(II) Loading extension DOUBLE-BUFFER
	(==) SUNFFB(0): DPI set to (75, 75)
	(--) Depth 24 pixmap format is 32 bpp
	(II) do I need RAC?  No, I don't.
	(II) resource ranges after preInit:
	        [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
	        [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
	        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
	        [3] -1  0       0xffffffff - 0xffffffff (0x1) IX[B]
	        [4] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
	(II) /dev/fb0: Detected FFB1-SpeedSort, Z-buffer, Double-buffered.
	(II) /dev/fb0: BT9068 (PAC1) ramdac detected (with normal cursor control)
	(II) /dev/fb0: Detected Creator/Creator3D
	drmOpenDevice: node name is /dev/dri/card0
	drmOpenDevice: open result is -1, (No such file or directory)
	drmOpenDevice: open result is -1, (No such file or directory)
	drmOpenDevice: Open failed
	drmOpenDevice: node name is /dev/dri/card0
	drmOpenDevice: open result is -1, (No such file or directory)
	drmOpenDevice: open result is -1, (No such file or directory)
	drmOpenDevice: Open failed
	[drm] failed to load kernel module "ffb"
	(II) SUNFFB(0): [drm] drmOpen failed
	(EE) SUNFFB(0): [dri] DRIScreenInit failed.  Disabling DRI.
	(II) /dev/fb0: DRM setup failed
	(==) SUNFFB(0): Backing store disabled
	(==) SUNFFB(0): Silken mouse enabled
	(II) /dev/fb0: Using acceleration
	(II) /dev/fb0: DGA support initialized.
	(==) RandR enabled
	(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
	(II) /dev/fb0: Setting up double-buffer acceleration.
	No matching visual for __GLcontextMode with visual class = 3 (32772), nplanes = 24
	No matching visual for __GLcontextMode with visual class = 1 (32774), nplanes = 24
	No matching visual for __GLcontextMode with visual class = 0 (32775), nplanes = 24
	(**) Option "Protocol" "microsoft"
	(**) Mouse0: Device: "/dev/cuau1"
	(**) Mouse0: Protocol: "microsoft"
	(**) Option "CorePointer"
	(**) Mouse0: Core Pointer
	(**) Option "Device" "/dev/cuau1"
	(**) Option "BaudRate" "1200"
	(**) Option "StopBits" "1"
	(**) Option "DataBits" "7"
	(**) Option "Parity" "None"
	(**) Option "Vmin" "1"
	(**) Option "Vtime" "0"
	(**) Option "FlowControl" "None"
	(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
	(==) Mouse0: Buttons: 3
	(**) Mouse0: BaudRate: 1200
	(**) Option "CoreKeyboard"
	(**) Keyboard0: Core Keyboard
	(**) Option "Protocol" "standard"
	(**) Keyboard0: Protocol: standard
	(**) Option "AutoRepeat" "500 30"
	(**) Keyboard0: XkbRules: "xorg"
	(**) Option "XkbModel" "pc104"
	(**) Keyboard0: XkbModel: "pc104"
	(**) Option "XkbLayout" "us"
	(**) Keyboard0: XkbLayout: "us"
	(**) Option "CustomKeycodes" "off"
	(**) Keyboard0: CustomKeycodes disabled
	(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
	(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
	

	 --mikej
	



More information about the freebsd-sparc64 mailing list