Discussion:
Wacom Intuos 4 on Haiku R1 Alpha 4.1
Adriano Araújo Duarte
2012-12-07 00:22:56 UTC
Permalink
Hi all!
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 have 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?

Regards,
Adriano
Adriano Araújo Duarte
2012-12-07 00:46:52 UTC
Permalink
Hi all!
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?

Regards,
Adriano
Stephan Aßmus
2012-12-07 08:24:17 UTC
Permalink
This post might be inappropriate. Click to display it.
François Revol
2012-12-07 08:30:34 UTC
Permalink
Post by Stephan Aßmus
Post by 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.
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. :-)
Instead of crossposting to 2 lists...
Post by Stephan Aßmus
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.
It seems your device is just not listed in the driver as supported:
http://cgit.haiku-os.org/haiku/tree/src/add-ons/input_server/devices/wacom/TabletDevice.cpp#n111
Post by Stephan Aßmus
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...
Unless the HID driver explicitly blacklists the wacom devices, removing
the wacom binary (moving it away) should get it picked up at least, no?

François.
Stephan Aßmus
2012-12-07 08:43:06 UTC
Permalink
Hi,
Post by François Revol
Post by Stephan Aßmus
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...
Unless the HID driver explicitly blacklists the wacom devices, removing
the wacom binary (moving it away) should get it picked up at least, no?
I think it does exactly that. I am also not sure how much tested the
support is. For example, for the driver to more usable, it should
implement a jitter filter, like the Wacom driver does. I am not aware
that such a thing had been done.

Best regards,
-Stephan

François Revol
2012-12-07 08:20:19 UTC
Permalink
Post by Adriano Araújo Duarte
Hi all!
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 have the Wacom driver, but the tablet don't work.
My computer is an Acer Aspire One D250-1080.
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
It seems your device is just not listed in the driver as supported:
http://cgit.haiku-os.org/haiku/tree/src/add-ons/input_server/devices/wacom/TabletDevice.cpp#n111

The driver sees a wacom device but doesn't know how to handle it so it
just bails out.

You'd need to add a case there for the calibration data and one for the
name.

François.
Loading...