[Bug 196678] x11-servers/xorg-server: make config/devd recognize /dev/input/eventX from multimedia/webcamd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 25 16:26:39 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678

--- Comment #31 from FreeBSD at ShaneWare.Biz ---
(In reply to Hans Petter Selasky from comment #28)
I am using the most recent config/devd.c patch dated 2016-02-07

(In reply to rozhuk.im from comment #29)
xf86-input-wacom actually installs wacom.conf.sample into
/usr/local/etc/X11/xorg.conf.d which uses InputDevice sections that I didn't
get working.

--

I made some progress today, I am now using DEVD with the wacom driver to get
some of the bamboo working. The trick seemed to be setting Driver and Type with
MatchXXX settings good enough that only one section matches a device.

I now have the following in xorg.conf.d/wacom.conf -

Section "InputClass"
    # wacom pen as a stylus
    Identifier "wacom stylus"
    MatchUSBID "056a:*"
    MatchProduct "Pen"
    Driver "wacom"
    Option "type" "stylus"
    Option "Mode" "Relative"
    Option "Threshold" "20"
EndSection

Section "InputClass"
    # the touchpad function
    Identifier "wacom touch"
    MatchUSBID "056a:*"
    MatchProduct "Finger"
    Driver "wacom"
    Option "type" "touch"
    Option "Mode" "Relative"
    Option "Ignore" "true"
EndSection

Section "InputClass"
    # the buttons on the side
    Identifier "wacom pad"
    MatchUSBID "056a:*"
    MatchProduct "Pad"
    Driver "wacom"
    Option "Ignore" "true"
EndSection

The stylus works, the touchpad works mostly. I can set the pen type to stylus
or eraser but I can only get one working at a time.

For now I am setting ignore for touch and pad so I just have a working stylus.

Issues:-

stylus and eraser don't enable simultaneously. man wacom leads to dependent
devices needing to be configured using MatchDriver "wacom" and Option "Device"
"path", I have not got this to work.

touchpad is intermittent, I particularly see multitouch events occasionally
hang the touchpad for some time.

When enabled, pressing the buttons causes input devices to break. This includes
the mouse as well as wacom functions. I see the pad appear as a pointer device
but thought it was meant to be a keyboard so that various actions can be
assigned to each as a keyboard shortcut. The pad is also responsible for
creating /dev/input/js0 (as well as event2) which xorg identifies as a
joystick.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list