• Xorg woes

    From Stefan Reinauer@21:1/5 to All on Thu Sep 3 00:30:01 2020
    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.

    <div dir="ltr">I&#39;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:<br><br>- There is no mouse pointer<br>- keys are &quot;off&quot;: 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.<br><br>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.<div><br></div><div>Can somebody share their working Amiga xorg.conf, please?<br><br>Section &quot;Device&quot;<br>  Identifier &quot;zz9000&quot;<br>  Driver &quot;fbdev&quot;<br>EndSection<br><br>#
    Section &quot;InputDevice&quot;<br>#         Identifier      &quot;Generic Keyboard&quot;<br># # Option &quot;Protocol&quot; &quot;Standard&quot;<br># # XkbDisable<br># # XkbKeymap &quot;amiga(usa1)&quot;<br>#         Driver          &
    quot;keyboard&quot;<br>#         Option          &quot;CoreKeyboard&quot;<br># #Option          &quot;XkbDisable&quot;<br>#         Option          &quot;CustomKeyCodes&quot;<br># <br>#         Option          &quot;
    XkbRules&quot;      &quot;xfree86&quot;<br>#         Option          &quot;XkbModel&quot;      &quot;amiga&quot;<br>#         Option          &quot;XkbLayout&quot;     &quot;usa1&quot;<br># EndSection<br># <br># Section &quot;
    InputDevice&quot;<br>#         Identifier  &quot;Generic Amiga Mouse&quot;<br>#         Driver      &quot;mouse&quot;<br># Option &quot;CorePointer&quot;<br># <br># Option &quot;Device&quot; &quot;/dev/input/mouse0&quot;<br># #Option &quot;
    Device&quot; &quot;/dev/input/by-path/platform-amiga-mouse-mouse&quot;<br># #Option &quot;Protocol&quot; &quot;BusMouse&quot;<br># #Option &quot;Emulate3Buttons&quot; &quot;true&quot;<br># #Option &quot;ZAxisMapping&quot; &quot;4 5&quot;<br># <br>#    
        #Option      &quot;Protocol&quot; &quot;auto&quot;<br>#         #Option      &quot;Device&quot; &quot;/dev/input/mice&quot;<br>#         #Option      &quot;ZAxisMapping&quot; &quot;4 5 6 7&quot;<br>#         #Option      &
    quot;MinSpeed&quot; &quot;2.00&quot;  # speed factor for low movement<br>#         #Option      &quot;MaxSpeed&quot; &quot;3.00&quot;  # maximum speed factor for fast movement<br>#         #Option      &quot;AccelFactor&quot; &quot;0.40&
    quot;    # acceleration factor for normal<br># EndSection<br><br>root@amiga:~# cat /var/log/Xorg.0.log<br>[   899.679]<br>X.Org X Server 1.20.8<br>X Protocol Version 11, Revision 0<br>[   899.687] Build Operating System: Linux 4.9.0-11-amd64 m68k
    Debian<br>[   899.701] Current Operating System: Linux amiga 5.7.0-3-m68k #1 Debian 5.7.17-1 (2020-08-23) m68k<br>[   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<br>[   899.724] Build Date: 31 March 2020  10:14:40AM<br>[   899.726] xorg-server 2:1.20.8-2 (<a href="https://www.debian.org/support">https://www.debian.org/support</a>)<br>[   899.750] Current version of pixman: 0.36.0<br>[   899.753] Before
    reporting problems, check <a href="http://wiki.x.org">http://wiki.x.org</a><br>to make sure that you have the latest version.<br>[   899.757] Markers: (--) probed, (**) from config file, (==) default setting,<br>(++) from command line, (!!) notice, (II)
    informational,<br>(WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br>[   899.833] (==) Log file: &quot;/var/log/Xorg.0.log&quot;, Time: Wed Sep  2 15:08:56 2020<br>[   899.921] (==) Using config directory: &quot;/etc/X11/xorg.conf.d&quot;
    <br>[   899.924] (==) Using system config directory &quot;/usr/share/X11/xorg.conf.d&quot;<br>[   900.108] (==) No Layout section.  Using the first Screen section.<br>[   900.126] (==) No screen section available. Using defaults.<br>[   900.156] (**)
    |--&gt;Screen &quot;Default Screen Section&quot; (0)<br>[   900.158] (**) |   |--&gt;Monitor &quot;&lt;default monitor&gt;&quot;<br>[   900.337] (==) No device specified for screen &quot;Default Screen Section&quot;.<br>Using the first device section
    listed.<br>[   900.340] (**) |   |--&gt;Device &quot;zz9000&quot;<br>[   900.343] (==) No monitor specified for screen &quot;Default Screen Section&quot;.<br>Using a default monitor configuration.<br>[   900.347] (==) Automatically adding devices<br>[
      900.350] (==) Automatically enabling devices<br>[   900.352] (==) Automatically adding GPU devices<br>[   900.356] (==) Max clients allowed: 256, resource mask: 0x1fffff<br>[   900.360] (WW) The directory &quot;/usr/share/fonts/X11/cyrillic&quot;
    does not exist.<br>[   900.363] Entry deleted from font path.<br>[   900.369] (==) FontPath set to:<br>/usr/share/fonts/X11/misc,<br>/usr/share/fonts/X11/100dpi/:unscaled,<br>/usr/share/fonts/X11/75dpi/:unscaled,<br>/usr/share/fonts/X11/Type1,<br>/usr/
    share/fonts/X11/100dpi,<br>/usr/share/fonts/X11/75dpi,<br>built-ins<br>[   900.372] (==) ModulePath set to &quot;/usr/lib/xorg/modules&quot;<br>[   900.374] (II) The server relies on udev to provide the list of input devices.<br>If no devices become
    available, reconfigure udev or disable AutoAddDevices.<br>[   900.376] (II) Loader magic: 0xd01f5468<br>[   900.379] (II) Module ABI versions:<br>[   900.382] X.Org ANSI C Emulation: 0.4<br>[   900.385] X.Org Video Driver: 24.1<br>[   900.387] X.Org
    XInput driver : 24.1<br>[   900.389] X.Org Server Extension : 10.0<br>[   900.482] (--) using VT number 2<br><br>[   900.485] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration<br>[  
    900.497] (II) no primary bus or device found<br>[   900.501] (II) LoadModule: &quot;glx&quot;<br>[   900.521] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so<br>[   900.747] (II) Module glx: vendor=&quot;X.Org Foundation&quot;<br>[   900.819]
    compiled for 1.20.8, module version = 1.0.0<br>[   900.823] ABI class: X.Org Server Extension, version 10.0<br>[   900.826] (II) LoadModule: &quot;fbdev&quot;<br>[   900.841] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so<br>[   900.858] (II)
    Module fbdev: vendor=&quot;X.Org Foundation&quot;<br>[   900.862] compiled for 1.20.0, module version = 0.5.0<br>[   900.865] Module class: X.Org Video Driver<br>[   900.867] ABI class: X.Org Video Driver, version 24.0<br>[   900.871] (II) FBDEV:
    driver for framebuffer: fbdev<br>[   901.105] (WW) Falling back to old probe method for fbdev<br>[   901.108] (II) Loading sub module &quot;fbdevhw&quot;<br>[   901.121] (II) LoadModule: &quot;fbdevhw&quot;<br>[   901.141] (II) Loading /usr/lib/xorg/
    modules/libfbdevhw.so<br>[   901.159] (II) Module fbdevhw: vendor=&quot;X.Org Foundation&quot;<br>[   901.162] compiled for 1.20.8, module version = 0.0.2<br>[   901.165] ABI class: X.Org Video Driver, version 24.1<br>[   901.172] (II) FBDEV(0):
    using default device<br>[   901.175] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support<br>[   901.183] (II) FBDEV(0): Creating default Display subsection in Screen section<br>&quot;Default Screen Section&quot; for depth/fbbpp 16/16<br>
    [   901.189] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16<br>[   901.193] (==) FBDEV(0): RGB weight 565<br>[   901.195] (==) FBDEV(0): Default visual is TrueColor<br>[   901.198] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)<br>[   901.
    218] (II) FBDEV(0): hardware: ZZ9000 (video memory: 5120kB)<br>[   901.231] (DB) xf86MergeOutputClassOptions unsupported bus type 0<br>[   901.235] (II) FBDEV(0): checking modes against framebuffer device...<br>[   901.237] (II) FBDEV(0): checking
    modes against monitor...<br>[   901.256] (II) FBDEV(0): Virtual size is 1280x720 (pitch 1280)<br>[   901.272] (**) FBDEV(0):  Built-in mode &quot;current&quot;: 74.5 MHz, 44.5 kHz, 59.7 Hz<br>[   901.275] (II) FBDEV(0): Modeline &quot;current&quot;x0.
    0   74.48  1280 1344 1480 1672  720 721 724 746 bcast -hsync -vsync -csync (44.5 kHz b)<br>[   901.278] (==) FBDEV(0): DPI set to (96, 96)<br>[   901.300] (II) Loading sub module &quot;fb&quot;<br>[   901.303] (II) LoadModule: &quot;fb&quot;<br>[  
    901.380] (II) Loading /usr/lib/xorg/modules/libfb.so<br>[   901.412] (II) Module fb: vendor=&quot;X.Org Foundation&quot;<br>[   901.414] compiled for 1.20.8, module version = 1.0.0<br>[   901.418] ABI class: X.Org ANSI C Emulation, version 0.4<br>[  
    901.440] (**) FBDEV(0): using shadow framebuffer<br>[   901.443] (II) Loading sub module &quot;shadow&quot;<br>[   901.445] (II) LoadModule: &quot;shadow&quot;<br>[   901.477] (II) Loading /usr/lib/xorg/modules/libshadow.so<br>[   901.516] (II)
    Module shadow: vendor=&quot;X.Org Foundation&quot;<br>[   901.521] compiled for 1.20.8, module version = 1.1.0<br>[   901.525] ABI class: X.Org ANSI C Emulation, version 0.4<br>[   901.555] (==) FBDEV(0): Backing store enabled<br>[   901.580] (==)
    FBDEV(0): DPMS enabled<br>[   901.597] (II) Initializing extension Generic Event Extension<br>[   901.647] (II) Initializing extension SHAPE<br>[   901.691] (II) Initializing extension MIT-SHM<br>[   901.742] (II) Initializing extension
    XInputExtension<br>[   901.796] (II) Initializing extension XTEST<br>[   901.841] (II) Initializing extension BIG-REQUESTS<br>[   901.892] (II) Initializing extension SYNC<br>[   901.944] (II) Initializing extension XKEYBOARD<br>[   901.991] (II)
    Initializing extension XC-MISC<br>[   902.042] (II) Initializing extension SECURITY<br>[   902.093] (II) Initializing extension XFIXES<br>[   902.145] (II) Initializing extension RENDER<br>[   902.198] (II) Initializing extension RANDR<br>[   902.
    280] (II) Initializing extension COMPOSITE<br>[   902.333] (II) Initializing extension DAMAGE<br>[   902.384] (II) Initializing extension MIT-SCREEN-SAVER<br>[   902.434] (II) Initializing extension DOUBLE-BUFFER<br>[   902.485] (II) Initializing
    extension RECORD<br>[   902.538] (II) Initializing extension DPMS<br>[   902.589] (II) Initializing extension Present<br>[   902.641] (II) Initializing extension DRI3<br>[   902.656] (II) Initializing extension X-Resource<br>[   902.707] (II)
    Initializing extension XVideo<br>[   902.751] (II) Initializing extension XVideo-MotionCompensation<br>[   902.765] (II) Initializing extension SELinux<br>[   902.790] (II) SELinux: Disabled on system<br>[   902.805] (II) Initializing extension GLX<
    [   902.853] (II) AIGLX: Screen 0 is not DRI2 capable<br>[   903.763] (II) IGLX: Loaded and initialized swrast<br>[   903.775] (II) GLX: Initialized DRISWRAST GL provider for screen 0<br>[   903.793] (II) Initializing extension XFree86-
    VidModeExtension<br>[   903.839] (II) Initializing extension XFree86-DGA<br>[   903.891] (II) Initializing extension XFree86-DRI<br>[   903.906] (II) Initializing extension DRI2<br>[   915.117] (II) config/udev: Adding input device amiga-keyboard (/
    dev/input/event0)<br>[   915.143] (**) amiga-keyboard: Applying InputClass &quot;libinput keyboard catchall&quot;<br>[   915.158] (II) LoadModule: &quot;libinput&quot;<br>[   915.203] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so<br>[  
    915.921] (II) Module libinput: vendor=&quot;X.Org Foundation&quot;<br>[   915.937] compiled for 1.20.8, module version = 0.30.0<br>[   915.962] Module class: X.Org XInput Driver<br>[   915.977] ABI class: X.Org XInput driver, version 24.1<br>[   915.
    993] (II) Using input driver &#39;libinput&#39; for &#39;amiga-keyboard&#39;<br>[   916.009] (**) amiga-keyboard: always reports core events<br>[   916.015] (**) Option &quot;Device&quot; &quot;/dev/input/event0&quot;<br>[   916.140] (**) Option &quot;
    _source&quot; &quot;server/udev&quot;<br>[   916.628] (II) event0  - amiga-keyboard: is tagged by udev as: Keyboard<br>[   916.655] (II) event0  - amiga-keyboard: device is a keyboard<br>[   916.694] (II) event0  - amiga-keyboard: device removed<br>
    [   916.723] (**) Option &quot;config_info&quot; &quot;udev:/sys/devices/platform/amiga-keyboard/input/input0/event0&quot;<br>[   916.745] (II) XINPUT: Adding extended input device &quot;amiga-keyboard&quot; (type: KEYBOARD, id 6)<br>[   916.748] (**)
    Option &quot;xkb_model&quot; &quot;amiga&quot;<br>[   916.764] (**) Option &quot;xkb_layout&quot; &quot;us&quot;<br>[   920.359] (II) event0  - amiga-keyboard: is tagged by udev as: Keyboard<br>[   920.386] (II) event0  - amiga-keyboard: device is a
    keyboard<br>[   920.511] (II) config/udev: Adding input device amiga-mouse (/dev/input/event1)<br>[   920.535] (**) amiga-mouse: Applying InputClass &quot;libinput pointer catchall&quot;<br>[   920.550] (II) Using input driver &#39;libinput&#39; for &#
    39;amiga-mouse&#39;<br>[   920.557] (**) amiga-mouse: always reports core events<br>[   920.560] (**) Option &quot;Device&quot; &quot;/dev/input/event1&quot;<br>[   920.582] (**) Option &quot;_source&quot; &quot;server/udev&quot;<br>[   920.741] (II)
    event1  - amiga-mouse: is tagged by udev as: Mouse<br>[   920.772] (II) event1  - amiga-mouse: device is a pointer<br>[   920.807] (II) event1  - amiga-mouse: device removed<br>[   920.835] (**) Option &quot;config_info&quot; &quot;udev:/sys/
    devices/platform/amiga-mouse/input/input1/event1&quot;<br>[   920.858] (II) XINPUT: Adding extended input device &quot;amiga-mouse&quot; (type: MOUSE, id 7)<br>[   920.908] (**) Option &quot;AccelerationScheme&quot; &quot;none&quot;<br>[   920.939] (**
    ) amiga-mouse: (accel) selected scheme none/0<br>[   920.948] (**) amiga-mouse: (accel) acceleration factor: 2.000<br>[   920.954] (**) amiga-mouse: (accel) acceleration threshold: 4<br>[   921.102] (II) event1  - amiga-mouse: is tagged by udev as:
    Mouse<br>[   921.132] (II) event1  - amiga-mouse: device is a pointer<br>[   921.238] (II) config/udev: Adding input device amiga-mouse (/dev/input/mouse0)<br>[   921.255] (II) No input driver specified, ignoring this device.<br>[   921.258] (II)
    This device may have been added with another device file.</div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Stefan Reinauer on Thu Sep 3 10:00:02 2020
    Hi Stefan!

    On 9/3/20 12:22 AM, Stefan Reinauer wrote:
    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:

    That's great. I didn't even know that X actually works :-).

    - There is no mouse pointer

    But does the mouse itself work, i.e. can you right-click the background to bring
    up a context menu?

    - 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.

    Sounds like a bug which translates the keycodes incorrectly with an offset.

    I assume that's easy to fix once we know whether it's a kernel or Xorg bug.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geert Uytterhoeven@21:1/5 to stefan.k.reinauer@gmail.com on Thu Sep 3 09:20:01 2020
    Hi Stefan,

    On Thu, Sep 3, 2020 at 12:23 AM Stefan Reinauer
    <stefan.k.reinauer@gmail.com> wrote:
    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?

    Sorry, no clue. Keyboard was broken with Xfbdev, too: https://lists.x.org/archives/xorg-devel/2013-March/035831.html

    Gr{oetje,eeting}s,

    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

    In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
    -- Linus Torvalds

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Geert Uytterhoeven@21:1/5 to glaubitz@physik.fu-berlin.de on Thu Sep 3 10:10:02 2020
    Hi Adrian,

    On Thu, Sep 3, 2020 at 9:53 AM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
    On 9/3/20 12:22 AM, Stefan Reinauer wrote:
    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:

    That's great. I didn't even know that X actually works :-).

    Chunky 16 bpp mode...

    Gr{oetje,eeting}s,

    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

    In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
    -- Linus Torvalds

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Reinauer@21:1/5 to glaubitz@physik.fu-berlin.de on Fri Sep 4 00:20:01 2020
    On Thu, Sep 3, 2020 at 12:53 AM John Paul Adrian Glaubitz < glaubitz@physik.fu-berlin.de> wrote:

    Hi Stefan!

    On 9/3/20 12:22 AM, Stefan Reinauer wrote:
    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:

    That's great. I didn't even know that X actually works :-).


    Yes, this is on my ZZ9000


    - There is no mouse pointer

    But does the mouse itself work, i.e. can you right-click the background to bring
    up a context menu?


    No, the device is not considered as pointer for some reason. It works in evtest.


    - 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.

    Sounds like a bug which translates the keycodes incorrectly with an offset.


    Pretty much. It seems there used to be the requirement to disable Xkb, but either the option was renamed or doesn't work anymore.


    I assume that's easy to fix once we know whether it's a kernel or Xorg bug.


    The keyboard works fine on the console. I assume somehow the mapping is
    wrong, but I didn't look at X11 sources in two decades, approximately.



    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 3, 2020 at 12:53 AM John Paul Adrian Glaubitz &lt;<a href="mailto:glaubitz@physik.fu-berlin.de">glaubitz@physik.fu-berlin.de</a>&gt; wrote:<
    </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Stefan!<br>

    On 9/3/20 12:22 AM, Stefan Reinauer wrote:<br>
    &gt; I&#39;ve been messing around with xorg.conf files for the last day or so,<br>
    &gt; trying to get X working on my Amiga 4000D. X comes up fine, but there are<br>
    &gt; two issues:<br>

    That&#39;s great. I didn&#39;t even know that X actually works :-).<br></blockquote><div><br></div><div>Yes, this is on my ZZ9000</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);
    padding-left:1ex">
    &gt; - There is no mouse pointer<br>

    But does the mouse itself work, i.e. can you right-click the background to bring<br>
    up a context menu?<br>
    <br></blockquote><div><br></div><div>No, the device is not considered as pointer for some reason. It works in evtest.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:
    1ex">
    &gt; - keys are &quot;off&quot;: qwert.. is alright, asdf... is off by two zxcv... is off<br>
    &gt; by 6 keys. This means when you push a you will see d on the screen.<br>

    Sounds like a bug which translates the keycodes incorrectly with an offset.<br> <br></blockquote><div><br></div><div>Pretty much. It seems there used to be the requirement to disable Xkb, but either the option was renamed or doesn&#39;t work anymore.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;
    border-left:1px solid rgb(204,204,204);padding-left:1ex">
    I assume that&#39;s easy to fix once we know whether it&#39;s a kernel or Xorg bug.<br></blockquote><div><br></div><div>The keyboard works fine on the console. I assume somehow the mapping is wrong, but I didn&#39;t look at X11 sources in two decades,
    approximately.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

    Adrian<br>

    -- <br>
     .&#39;&#39;`.  John Paul Adrian Glaubitz<br>
    : :&#39; :  Debian Developer - <a href="mailto:glaubitz@debian.org" target="_blank">glaubitz@debian.org</a><br>
    `. `&#39;   Freie Universitaet Berlin - <a href="mailto:glaubitz@physik.fu-berlin.de" target="_blank">glaubitz@physik.fu-berlin.de</a><br>
      `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913<br> </blockquote></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Schmitz@21:1/5 to All on Sun Sep 6 05:50:01 2020
    Stefan,

    maybe it's different for the latest Xorg versions, but all Linux systems
    I run (non-m68k) use InputClass 'evdev' when binding to the input event devices. I.e. loading /usr/lib/xorg/modules/input/evdev_drv.so, not libinput.drv ...

    Saying that - libinput does appear to work for your keyboard (of sorts)...

    I'm a little worried to see that your mouse is detected twice - once as
    input event device, another time as input mouse device. Maybe
    blacklisting the mouse device might help the input device binding to
    'survive'?

    Haven't looked at X sources in 20 years either, though.

    Cheers,

    Michael


    Am 03.09.2020 um 10:22 schrieb Stefan Reinauer:
    [ 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.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Brad Boyer@21:1/5 to Michael Schmitz on Sun Sep 6 07:40:01 2020
    On Sun, Sep 06, 2020 at 03:48:45PM +1200, Michael Schmitz wrote:
    maybe it's different for the latest Xorg versions, but all Linux systems I run (non-m68k) use InputClass 'evdev' when binding to the input event devices. I.e. loading /usr/lib/xorg/modules/input/evdev_drv.so, not libinput.drv ...

    Saying that - libinput does appear to work for your keyboard (of sorts)...

    Isn't it necessary to tell X that you have a PC model keyboard these
    days? I had thought the kernel was now reporting PC style keycodes on
    all keyboard types.

    Brad Boyer
    flar@allandria.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)