[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
Wed Feb 24 06:49:43 UTC 2016


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

--- Comment #26 from FreeBSD at 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 can't
get the bamboo to work. Using HAL I can get the stylus/eraser to work but not
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=0 md=HOST spd=FULL (12Mbps)
pwr=ON (498mA)

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


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

% 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.

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


More information about the freebsd-x11 mailing list