site  contact  subhomenews

Xorg without xorg.conf

March 27, 2016 — BarryK
/etc/X11/xorg.conf has been deprecated for a long time, in favour of individual files in /usr/share/X11/xorg.conf.d/

Also, the drivers xf86-input-keyboard and xf86-input-mouse are deprecated, in favour of xf86-input-evdev.

The mainstream Puppy, up until recently, and Quirky, continues to use /etc/X11/xorg.conf, a somewhat skeleton version, in which Xorg will "fill in the blanks".
What xorg.conf does do, is disable automatic probing of input devices via udev, and hardcodes use of xf86-input-keyboard and xf86-input-mouse.
The Xorg synaptics driver is loaded for the touchpad, if it exists.

This arrangement has been quite satisfactory, so I have left it as-is. Until now -- booting my latest Quirky Xerus on my new E200HA laptop, the mouse works but not the keyboard.

So, I decided to update to using xf86-input-evdev, no xorg.conf, and use udev.

01micko has already been down this path, in December 2015:
http://murga-linux.com/puppy/viewtopic.php?t=101827

I did similar things to 01micko, modified /usr/bin/xwin so that it doe not create another xorg.conf, ran a special "udev trigger ..." in rc.sysinit, and I copied over the complete /usr/lib/udev into Quirky (Quirky only has a cutdown set of rules).

That last one is important, the auto detection of mouse and keyboard requires the full set of udev files.

Ok, mouse and keyboard work on my main "workhorse" laptop, but keyboard is still dead on my new laptop.

Grumble, grumble.

The thing is, people have reported their keyboard working, booting Ubuntu 14.x on a Asus E200HA laptop.

There may be something in the Ubuntu udev rules, that I need (I just used the same Slackware rules that 01micko has in his iso).

I can't boot Slacko64 on my new laptop, as it seems cannot enable lagacy-boot (CSM) in the UEFI-Setup.

Anyway, I think first I will compile the 4.5.x Linux kernel, to ensure have the absolute latest hardware support.

Comments

I am barking up the wrong tree. On my Asus E200HA, the keyboard is dead before X starts. That is, dead at the console.

Tags: linux