Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane

From: Peter Hutterer <peter.hutterer-Pf4JEFdB4epeoWH0uzbU5w <at> public.gmane.org>
Subject: Re: [PATCH] Add an initial xorg.conf.d snippet for xserver 1.8
Newsgroups: gmane.linux.drivers.wacom.devel
Date: Thursday 15th April 2010 00:41:42 UTC (over 8 years ago)
On Thu, Apr 15, 2010 at 12:09:20AM +0930, Ron wrote:
> 
> Drop this in the fdi subdir for now, just to keep all the config
together.
> That dir can be renamed later, as the .fdi will eventually go away
anyhow.

please rename the directory to "conf" or something (that's what I did in
the
yet to be disclosed/finished synaptics patch). the fdi won't go away that
soon, since we'll be supporting 1.7 for quite some time.

> Signed-off-by: Ron Lee 
> ---
> 
> Hi,
> 
> I'll make my excuses for being busy, and try to catch up on loose ends
> sometime soon (:  but in the meantime, here's a patch I've included in
> the latest .deb snapshots that we probably want in the mainline for
> xserver 1.8 upport.
> 
> It can be cherry picked from:
> http://git.debian.org/?p=users/ron/xf86-input-wacom.git;a=commit;h=7fd6dce0b0d8ee5f9a7ede59fe34d77758866821
> 
> And is complemented by this change to the udev rules:
> http://git.debian.org/?p=users/ron/xf86-input-wacom.git;a=commitdiff;h=fb8f24d942d4f3296ac9f7cdd7306d8255cc76ab;hp=1bde608c8913886493f8ea6b66bb0b6a877cf68a
> 
> Cheers!
> Ron
> 
> 
>  fdi/10-wacom.conf |   22 ++++++++++++++++++++++
>  fdi/Makefile.am   |    3 +++
>  2 files changed, 25 insertions(+), 0 deletions(-)
>  create mode 100644 fdi/10-wacom.conf
> 
> diff --git a/fdi/10-wacom.conf b/fdi/10-wacom.conf
> new file mode 100644
> index 0000000..d5423fc
> --- /dev/null
> +++ b/fdi/10-wacom.conf
> @@ -0,0 +1,22 @@
> +Section "InputClass"
> +	Identifier "Wacom class"
> +	MatchProduct "Wacom|WALTOP|WACOM"
> +	MatchDevicePath "/dev/input/event*"
> +	Driver "wacom"
> +EndSection
> +
> +Section "InputClass"
> +	Identifier "Wacom serial class"
> +	MatchProduct "Serial Wacom Tablet"
> +	Driver "wacom"
> +	Option "ForceDevice" "ISDV4"
> +EndSection
> +
> +# N-Trig Duosense Electromagnetic Digitizer
> +Section "InputClass"
> +	Identifier "Wacom N-Trig class"
> +	MatchProduct "HID 1b96:0001"
> +	MatchDevicePath "/dev/input/event*"
> +	Driver "wacom"
> +EndSection
> +
> diff --git a/fdi/Makefile.am b/fdi/Makefile.am
> index 677d2bc..d6bbbdb 100644
> --- a/fdi/Makefile.am
> +++ b/fdi/Makefile.am
> @@ -1,2 +1,5 @@
>  fdidir = $(datadir)/hal/fdi/policy/20thirdparty
>  dist_fdi_DATA = wacom.fdi
> +
> +xorgconfdir = $(libdir)/X11/xorg.conf.d
> +dist_xorgconf_DATA = 10-wacom.conf
> -- 
> 1.7.0.3

can we install fdi/xorg.conf.d stuff based on the detected server version?
xorg.conf.d shouldn't be hardcoded either. there are some changes coming
and
server 1.8.1 will expose the right directories in the pkg-config file too,
so it's better to use that then.

finally, please rename to 20-wacom.conf. upstream opinion is that 00-*
should be reserved in case the user wants to prepend configuration, hence
the evdev file has 10-evdev.conf. 10-wacom sorts after that but I'd prefer
it to be more obvious with 20-wacom.conf.

Cheers,
  Peter

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
 
CD: 15ms