[haiku] Re: Wacom Intuos 4 on Haiku R1 Alpha 4.1

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Fri, 07 Dec 2012 09:24:17 +0100

Am 07.12.2012 01:46, schrieb Adriano Araújo Duarte:
I have a graphic tablet Wacom Intuos 4 (PTK440) and I'd love so much to see it 
working on Haiku.
My Haiku R1 Alpha 4.1 installation has the Wacom driver, but the tablet don't 
work.
My computer is an Acer Aspire One D250-1080.
These are the listusb and syslog messages:

listusb
0000:0000 /dev/bus/usb/0/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
056a:00b8 /dev/bus/usb/1/0 "Wacom Co., Ltd" "Intuos4 4x6" ver. 0104
0000:0000 /dev/bus/usb/1/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0000:0000 /dev/bus/usb/2/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0000:0000 /dev/bus/usb/3/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0c45:62c0 /dev/bus/usb/4/1 "Microdia" "Sonix USB 2.0 Camera" ver. 0100
0000:0000 /dev/bus/usb/4/hub "HAIKU Inc." "EHCI RootHub" ver. 0200

open /var/log/syslog
(...)
KERN: usb hub 22: port 2: new device connected
KERN: usb ehci -1: fullspeed device connected, giving up port ownership
KERN: usb hub 7: port 0: new device connected
KERN: usb hub 22: port 2: device removed
KERN: wacom: add_device() - wacom detected
KERN: wacom: ... success!
KERN: wacom: device_open() open: 2

Can anybody help me?

Will I need to open a ticket on dev.haiku-os.org?

Creating a ticket is always the best idea in such situations. After checking none already exists, of course. :-)

I am the author of (most of the code of) the Wacom driver. The driver is split into two parts. The first part is a kernel USB driver. That one just looks for USB devices from the Wacom vendor and takes ownership. It puts these devices into tablet mode with a special control command.

The second part of the driver is an input_server addon that connects to the kernel driver. The problem here is that the support for specific Wacom devices is built into the input_server addon and that it doesnt actually support your Wacom device version.

I think there was some work done to make the general HID driver support tablets, in a much more generic way than the Wacom driver does. I dont know how much effort it would be to disable the Wacom driver from taking ownership of the device and make the HID driver claim responsibility instead. Maybe that would already be enough to make it work...

Best regards,
-Stephan



Other related posts: