misc: add xrtrim() - right-trim a string

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
xfree86/linux: cleanup Makefile.am

Indent source filenames with one tab and sort them.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
xfree86/os: add xf86DMI stubs

Add stubs for DMI identifier initialization, cleanup, add and matching.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
xfree86/linux: implement xf86DMIInit

Read DMI identifiers from sysfs (/sys/devices/virtual/dmi/id).

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
xfree86: add MatchDMI support in InputClass sections

This adds support for MatchDMI entries in InputClass sections.

It can be used to match on DMI identifiers applied to the maschine. This
might be usefull when it's not sufficient or possible to match on device
tags or something similar.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>