Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2019 20:26:05 +0200
From:      Mathias Picker <Mathias.Picker@virtual-earth.de>
To:        freebsd-questions <questions@freebsd.org>
Subject:   wacom touch and pen not automatically seen by X/devd
Message-ID:  <86mukjxlj6.fsf@virtual-earth.de>

next in thread | raw e-mail | index | archive | help
After installing wacom, webcamd and evdev devd should=20
automatically report the wacom touch and pen inputs to X, but it=20
isn't.

I can configure them manually, but since my machine disconnects=20
and reconnects the wacom devices when I close the lid, devd is=20
recreating them at different /dev/input/eventN and the config no=20
longer works.

So, if anyone could give me a hint how to get automatic=20
configuration to work that would be great!

This is on FreeBSD 12.0-STABLE r345717 GENERIC  amd64 with=20
xf86-input-wacom-0.36.1_4 and xf86-input-evdev-2.10.6_4 installed.
It's running on a new X1 Yoga.

devd is starting wacom:

Danton% sudo ps -ax|grep webcam
34864  -  I<s    0:00,25 /usr/local/sbin/webcamd -i 0 -d ugen0.3=20
-B -U webcamd -G webcamd
52178  -  I<s    0:00,25 /usr/local/sbin/webcamd -i 0 -d ugen0.5=20
-B -U webcamd -G webcamd
57318  -  I<s    0:00,24 /usr/local/sbin/webcamd -i 1 -d ugen0.5=20
-B -U webcamd -G webcamd

The input devices can be seen by evdev:
Danton% sudo evemu-describe=20
Available devices:
/dev/input/event0:      System keyboard multiplexer
/dev/input/event1:      System mouse
/dev/input/event2:      AT keyboard
/dev/input/event3:      Generic PS/2 mouse
/dev/input/event4:      Wacom Pen and multitouch sensor Finger
/dev/input/event5:      Wacom Pen and multitouch sensor Pen

User/group is pretty much like I expect them:

Danton% ls -l /dev/input=20
total 0
crw-------  1 root     wheel      0xd 21 Apr. 19:08 event0
crw-------  1 root     wheel     0x2a 21 Apr. 19:08 event1
crw-------  1 root     wheel     0x36 21 Apr. 19:08 event2
crw-------  1 root     wheel     0x3b 21 Apr. 19:08 event3
crw-rw----  1 webcamd  webcamd  0x286 21 Apr. 19:08 event4
crw-rw----  1 webcamd  webcamd  0x287 21 Apr. 19:08 event5


but devd is just not reporting wacom to X, only mouse and=20
keyboard:

[    50.187] (II) config/devd: probing input devices...
[    50.187] (II) config/devd: adding input device (null)=20
(/dev/kbdmux)
[    50.187] (**) kbdmux: Applying InputClass "keyboard"
...
[    50.187] (**) kbdmux: Applying InputClass "keyboard"
[    50.271] (II) config/devd: adding input device (null)=20
(/dev/sysmouse)
[    50.271] (II) LoadModule: "mouse"
...
[    50.325] (II) config/devd: adding input device Mouse=20
(/dev/psm0)
[    50.325] (II) Using input driver 'mouse' for 'Mouse'

and that's it.

Any ideas?

Thanks, Mathias

--=20
Mathias Picker=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
Gesch=C3=A4ftsf=C3=BChrer
Mathias.Picker@virtual-earth.de

virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH
http://www.virtual-earth.de/           HRB126870
support@virtual-earth.de               Westendstr. 142
089 / 1250 3943=20=20=20=20=20=20=20=20=20=20=20=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86mukjxlj6.fsf>