Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 2016 06:49:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-x11@FreeBSD.org
Subject:   [Bug 196678] x11-servers/xorg-server: make config/devd recognize /dev/input/eventX from multimedia/webcamd
Message-ID:  <bug-196678-8047-g1Skpb2Jog@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196678-8047@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196678-8047@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196678

--- Comment #26 from FreeBSD@ShaneWare.Biz ---
I have a bamboo touch and just tried this. The bamboo had stopped working a
while ago and I had left it disabled and not got around to looking at it.

After adding this patch to xorg-server and rebuilding with DEVD enabled I c=
an't
get the bamboo to work. Using HAL I can get the stylus/eraser to work but n=
ot
the touch. I haven't tried to do anything with the buttons. I have installed
libevdev libmtdev and xf86-input-evdev.

An older boot dmesg with the bamboo attached can be found at
http://shaneware.biz/freebsddebugdata/boot.dmesg

I am now running 10-STABLE built 19/2/2016

%  usbconfig -u 2 -a 6 dump_device_desc
ugen2.6: <CTH-470 Wacom Co.,Ltd.> at usbus2, cfg=3D0 md=3DHOST spd=3DFULL (=
12Mbps)
pwr=3DON (498mA)

  bLength =3D 0x0012=20
  bDescriptorType =3D 0x0001=20
  bcdUSB =3D 0x0200=20
  bDeviceClass =3D 0x0000  <Probed by interface class>
  bDeviceSubClass =3D 0x0000=20
  bDeviceProtocol =3D 0x0000=20
  bMaxPacketSize0 =3D 0x0020=20
  idVendor =3D 0x056a=20
  idProduct =3D 0x00de=20
  bcdDevice =3D 0x0100=20
  iManufacturer =3D 0x0001  <Wacom Co.,Ltd.>
  iProduct =3D 0x0002  <CTH-470>
  iSerialNumber =3D 0x0000  <no string>
  bNumConfigurations =3D 0x0001=20


%  xsetwacom list devices
usbhid pad                   id: 6   type: PAD=20=20=20=20=20=20=20
usbhid stylus                id: 7   type: STYLUS=20=20=20=20
usbhid eraser                id: 10  type: ERASER=20=20=20=20

% webcamd -l
Available device(s):
webcamd [-d ugen0.1] -N EHCI-root-HUB-Intel -S unknown -M 0
webcamd [-d ugen1.1] -N XHCI-root-HUB-0x1b21 -S unknown -M 0
webcamd [-d ugen2.1] -N EHCI-root-HUB-Intel -S unknown -M 1
webcamd [-d ugen0.2] -N product-0x0024-vendor-0x8087 -S unknown -M 0
webcamd [-d ugen2.2] -N product-0x0024-vendor-0x8087 -S unknown -M 1
webcamd [-d ugen2.3] -N USB-2-0-Hub-vendor-0x1a40 -S unknown -M 0
webcamd [-d ugen2.5] -N USB-Keyboard-vendor-0x05af -S unknown -M 0
webcamd [-d ugen2.6] -N CTH-470-Wacom-Co--Ltd -S unknown -M 0
webcamd [-d ugen2.4] -N USB-Optical-Mouse-Logitech -S unknown -M 0

% ls -la /dev/input/*
crw-rw----  1 webcamd  webcamd  0xd3 23 Feb 17:01 /dev/input/event0
crw-rw----  1 webcamd  webcamd  0xd9 23 Feb 17:01 /dev/input/event1
crw-rw----  1 webcamd  webcamd  0xda 23 Feb 17:01 /dev/input/event2
crw-rw----  1 webcamd  webcamd  0xdb 23 Feb 17:01 /dev/input/js0

by cat'ing each device I can say -
event0 is the stylus/eraser
event1 is the touch
event2 is the 4 buttons on the side
js0 also outputs (less than event2) when the buttons are pressed.

I will add some relevant log entries as an attachment, including the log
entries when using HAL.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196678-8047-g1Skpb2Jog>