[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Xorg woes



I've been messing around with xorg.conf files for the last day or so, trying to get X working on my Amiga 4000D. X comes up fine, but there are two issues:

- There is no mouse pointer
- keys are "off": qwert.. is alright, asdf... is off by two zxcv... is off by 6 keys. This means when you push a you will see d on the screen.

I found various ancient explanations on setting XkbDisable etc. but none of them seem to make a difference. So all seems equal to when I just have the Display section in my xorg.conf.

Can somebody share their working Amiga xorg.conf, please?

Section "Device"
  Identifier "zz9000"
  Driver "fbdev"
EndSection

# Section "InputDevice"
#         Identifier      "Generic Keyboard"
# # Option "Protocol" "Standard"
# # XkbDisable
# # XkbKeymap "amiga(usa1)"
#         Driver          "keyboard"
#         Option          "CoreKeyboard"
# #Option          "XkbDisable"
#         Option          "CustomKeyCodes"
#
#         Option          "XkbRules"      "xfree86"
#         Option          "XkbModel"      "amiga"
#         Option          "XkbLayout"     "usa1"
# EndSection
#
# Section "InputDevice"
#         Identifier  "Generic Amiga Mouse"
#         Driver      "mouse"
# Option "CorePointer"
#
# Option "Device" "/dev/input/mouse0"
# #Option "Device" "/dev/input/by-path/platform-amiga-mouse-mouse"
# #Option "Protocol" "BusMouse"
# #Option "Emulate3Buttons" "true"
# #Option "ZAxisMapping" "4 5"
#
#         #Option      "Protocol" "auto"
#         #Option      "Device" "/dev/input/mice"
#         #Option      "ZAxisMapping" "4 5 6 7"
#         #Option      "MinSpeed" "2.00"  # speed factor for low movement
#         #Option      "MaxSpeed" "3.00"  # maximum speed factor for fast movement
#         #Option      "AccelFactor" "0.40"    # acceleration factor for normal
# EndSection

root@amiga:~# cat /var/log/Xorg.0.log
[   899.679]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[   899.687] Build Operating System: Linux 4.9.0-11-amd64 m68k Debian
[   899.701] Current Operating System: Linux amiga 5.7.0-3-m68k #1 Debian 5.7.17-1 (2020-08-23) m68k
[   899.706] Kernel command line: root=/dev/sda3 amifb=disable video=amifb:off modprobe.blacklist=gayle,amiflop BOOT_IMAGE=vmlinux-5.7.0-3-m68k
[   899.724] Build Date: 31 March 2020  10:14:40AM
[   899.726] xorg-server 2:1.20.8-2 (https://www.debian.org/support)
[   899.750] Current version of pixman: 0.36.0
[   899.753] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   899.757] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   899.833] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep  2 15:08:56 2020
[   899.921] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   899.924] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   900.108] (==) No Layout section.  Using the first Screen section.
[   900.126] (==) No screen section available. Using defaults.
[   900.156] (**) |-->Screen "Default Screen Section" (0)
[   900.158] (**) |   |-->Monitor "<default monitor>"
[   900.337] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[   900.340] (**) |   |-->Device "zz9000"
[   900.343] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[   900.347] (==) Automatically adding devices
[   900.350] (==) Automatically enabling devices
[   900.352] (==) Automatically adding GPU devices
[   900.356] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   900.360] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   900.363] Entry deleted from font path.
[   900.369] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[   900.372] (==) ModulePath set to "/usr/lib/xorg/modules"
[   900.374] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[   900.376] (II) Loader magic: 0xd01f5468
[   900.379] (II) Module ABI versions:
[   900.382] X.Org ANSI C Emulation: 0.4
[   900.385] X.Org Video Driver: 24.1
[   900.387] X.Org XInput driver : 24.1
[   900.389] X.Org Server Extension : 10.0
[   900.482] (--) using VT number 2

[   900.485] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   900.497] (II) no primary bus or device found
[   900.501] (II) LoadModule: "glx"
[   900.521] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   900.747] (II) Module glx: vendor="X.Org Foundation"
[   900.819] compiled for 1.20.8, module version = 1.0.0
[   900.823] ABI class: X.Org Server Extension, version 10.0
[   900.826] (II) LoadModule: "fbdev"
[   900.841] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   900.858] (II) Module fbdev: vendor="X.Org Foundation"
[   900.862] compiled for 1.20.0, module version = 0.5.0
[   900.865] Module class: X.Org Video Driver
[   900.867] ABI class: X.Org Video Driver, version 24.0
[   900.871] (II) FBDEV: driver for framebuffer: fbdev
[   901.105] (WW) Falling back to old probe method for fbdev
[   901.108] (II) Loading sub module "fbdevhw"
[   901.121] (II) LoadModule: "fbdevhw"
[   901.141] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   901.159] (II) Module fbdevhw: vendor="X.Org Foundation"
[   901.162] compiled for 1.20.8, module version = 0.0.2
[   901.165] ABI class: X.Org Video Driver, version 24.1
[   901.172] (II) FBDEV(0): using default device
[   901.175] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   901.183] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 16/16
[   901.189] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[   901.193] (==) FBDEV(0): RGB weight 565
[   901.195] (==) FBDEV(0): Default visual is TrueColor
[   901.198] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[   901.218] (II) FBDEV(0): hardware: ZZ9000 (video memory: 5120kB)
[   901.231] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[   901.235] (II) FBDEV(0): checking modes against framebuffer device...
[   901.237] (II) FBDEV(0): checking modes against monitor...
[   901.256] (II) FBDEV(0): Virtual size is 1280x720 (pitch 1280)
[   901.272] (**) FBDEV(0):  Built-in mode "current": 74.5 MHz, 44.5 kHz, 59.7 Hz
[   901.275] (II) FBDEV(0): Modeline "current"x0.0   74.48  1280 1344 1480 1672  720 721 724 746 bcast -hsync -vsync -csync (44.5 kHz b)
[   901.278] (==) FBDEV(0): DPI set to (96, 96)
[   901.300] (II) Loading sub module "fb"
[   901.303] (II) LoadModule: "fb"
[   901.380] (II) Loading /usr/lib/xorg/modules/libfb.so
[   901.412] (II) Module fb: vendor="X.Org Foundation"
[   901.414] compiled for 1.20.8, module version = 1.0.0
[   901.418] ABI class: X.Org ANSI C Emulation, version 0.4
[   901.440] (**) FBDEV(0): using shadow framebuffer
[   901.443] (II) Loading sub module "shadow"
[   901.445] (II) LoadModule: "shadow"
[   901.477] (II) Loading /usr/lib/xorg/modules/libshadow.so
[   901.516] (II) Module shadow: vendor="X.Org Foundation"
[   901.521] compiled for 1.20.8, module version = 1.1.0
[   901.525] ABI class: X.Org ANSI C Emulation, version 0.4
[   901.555] (==) FBDEV(0): Backing store enabled
[   901.580] (==) FBDEV(0): DPMS enabled
[   901.597] (II) Initializing extension Generic Event Extension
[   901.647] (II) Initializing extension SHAPE
[   901.691] (II) Initializing extension MIT-SHM
[   901.742] (II) Initializing extension XInputExtension
[   901.796] (II) Initializing extension XTEST
[   901.841] (II) Initializing extension BIG-REQUESTS
[   901.892] (II) Initializing extension SYNC
[   901.944] (II) Initializing extension XKEYBOARD
[   901.991] (II) Initializing extension XC-MISC
[   902.042] (II) Initializing extension SECURITY
[   902.093] (II) Initializing extension XFIXES
[   902.145] (II) Initializing extension RENDER
[   902.198] (II) Initializing extension RANDR
[   902.280] (II) Initializing extension COMPOSITE
[   902.333] (II) Initializing extension DAMAGE
[   902.384] (II) Initializing extension MIT-SCREEN-SAVER
[   902.434] (II) Initializing extension DOUBLE-BUFFER
[   902.485] (II) Initializing extension RECORD
[   902.538] (II) Initializing extension DPMS
[   902.589] (II) Initializing extension Present
[   902.641] (II) Initializing extension DRI3
[   902.656] (II) Initializing extension X-Resource
[   902.707] (II) Initializing extension XVideo
[   902.751] (II) Initializing extension XVideo-MotionCompensation
[   902.765] (II) Initializing extension SELinux
[   902.790] (II) SELinux: Disabled on system
[   902.805] (II) Initializing extension GLX
[   902.853] (II) AIGLX: Screen 0 is not DRI2 capable
[   903.763] (II) IGLX: Loaded and initialized swrast
[   903.775] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   903.793] (II) Initializing extension XFree86-VidModeExtension
[   903.839] (II) Initializing extension XFree86-DGA
[   903.891] (II) Initializing extension XFree86-DRI
[   903.906] (II) Initializing extension DRI2
[   915.117] (II) config/udev: Adding input device amiga-keyboard (/dev/input/event0)
[   915.143] (**) amiga-keyboard: Applying InputClass "libinput keyboard catchall"
[   915.158] (II) LoadModule: "libinput"
[   915.203] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   915.921] (II) Module libinput: vendor="X.Org Foundation"
[   915.937] compiled for 1.20.8, module version = 0.30.0
[   915.962] Module class: X.Org XInput Driver
[   915.977] ABI class: X.Org XInput driver, version 24.1
[   915.993] (II) Using input driver 'libinput' for 'amiga-keyboard'
[   916.009] (**) amiga-keyboard: always reports core events
[   916.015] (**) Option "Device" "/dev/input/event0"
[   916.140] (**) Option "_source" "server/udev"
[   916.628] (II) event0  - amiga-keyboard: is tagged by udev as: Keyboard
[   916.655] (II) event0  - amiga-keyboard: device is a keyboard
[   916.694] (II) event0  - amiga-keyboard: device removed
[   916.723] (**) Option "config_info" "udev:/sys/devices/platform/amiga-keyboard/input/input0/event0"
[   916.745] (II) XINPUT: Adding extended input device "amiga-keyboard" (type: KEYBOARD, id 6)
[   916.748] (**) Option "xkb_model" "amiga"
[   916.764] (**) Option "xkb_layout" "us"
[   920.359] (II) event0  - amiga-keyboard: is tagged by udev as: Keyboard
[   920.386] (II) event0  - amiga-keyboard: device is a keyboard
[   920.511] (II) config/udev: Adding input device amiga-mouse (/dev/input/event1)
[   920.535] (**) amiga-mouse: Applying InputClass "libinput pointer catchall"
[   920.550] (II) Using input driver 'libinput' for 'amiga-mouse'
[   920.557] (**) amiga-mouse: always reports core events
[   920.560] (**) Option "Device" "/dev/input/event1"
[   920.582] (**) Option "_source" "server/udev"
[   920.741] (II) event1  - amiga-mouse: is tagged by udev as: Mouse
[   920.772] (II) event1  - amiga-mouse: device is a pointer
[   920.807] (II) event1  - amiga-mouse: device removed
[   920.835] (**) Option "config_info" "udev:/sys/devices/platform/amiga-mouse/input/input1/event1"
[   920.858] (II) XINPUT: Adding extended input device "amiga-mouse" (type: MOUSE, id 7)
[   920.908] (**) Option "AccelerationScheme" "none"
[   920.939] (**) amiga-mouse: (accel) selected scheme none/0
[   920.948] (**) amiga-mouse: (accel) acceleration factor: 2.000
[   920.954] (**) amiga-mouse: (accel) acceleration threshold: 4
[   921.102] (II) event1  - amiga-mouse: is tagged by udev as: Mouse
[   921.132] (II) event1  - amiga-mouse: device is a pointer
[   921.238] (II) config/udev: Adding input device amiga-mouse (/dev/input/mouse0)
[   921.255] (II) No input driver specified, ignoring this device.
[   921.258] (II) This device may have been added with another device file.

Reply to: