Opened 9 years ago

Closed 9 years ago

#6108 closed enhancement (fixed)

add more Wacom Bamboo devices

Reported by: amonpaike Owned by: stippi
Priority: normal Milestone: R1
Component: Drivers/Mouse/USB Version: R1/Development
Keywords: wacom bamboo Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

hello all, is possible to add more bamboo device to the this list? http://dev.haiku-os.org/attachment/ticket/3744/wacom_bamboo2.patch

i have a Wacom Bamboo 4x5 Pen (identical to wacom BambooFun 4x5 but without touch, only pen) my lsusb from linux : Bus 005 Device 002: ID 056a:00d4 Wacom Co., Ltd

this devices from the linux wacom drivers http://sourceforge.net/projects/linuxwacom/ .../src/wcmUSB.c

        { 0xD1, 2540, 2540, &usbBamboo     }, /* CTL-460 */
	{ 0xD4, 2540, 2540, &usbBamboo     }, /* CTH-461 */
	{ 0xD3, 2540, 2540, &usbBamboo     }, /* CTL-660 */
	{ 0xD2, 2540, 2540, &usbBamboo     }, /* CTL-461/S */
	{ 0xD0, 2540, 2540, &usbBamboo     }, /* Bamboo Touch */

Attachments (3)

wacom_bamboo.patch (2.4 KB ) - added by idefix 9 years ago.
Add support for the newest Wacom Bamboo devices.
wacom_bamboo2.patch (3.4 KB ) - added by idefix 9 years ago.
Add support for the newest Wacom Bamboo devices. Ignores the touch functionality.
wacom.zip (14.5 KB ) - added by idefix 9 years ago.
GCC2 build of the Wacom driver with support for the newest Bamboo tablets.

Download all attachments as: .zip

Change History (14)

comment:1 by mmlr, 9 years ago

Owner: changed from mmlr to stippi
Status: newassigned

comment:2 by idefix, 9 years ago

Sure, I can prepare a patch tomorrow. But it is possible that you will experience stalling problems.

in reply to:  2 ; comment:3 by amonpaike, 9 years ago

thanks, i can test it :)

until recently I had a Graphire 2 and works great with haiku. unfortunately fell and broke the pen :/

comment:4 by idefix, 9 years ago

The attached patch adds support for the five Bamboo devices.

Notice however that touch isn't implemented and using that functionality could have a strange effect on the mouse cursor. (This is because the linux driver uses the size of the received packet to differentiate between a touch-event and a stylus-event, which the Haiku driver currently can't do as it always receives packets with a size of MaxPacketSize.)

by idefix, 9 years ago

Attachment: wacom_bamboo.patch added

Add support for the newest Wacom Bamboo devices.

comment:5 by idefix, 9 years ago

Has a Patch: set

in reply to:  3 comment:7 by idefix, 9 years ago

After delving some more into the code of the Linux driver, it appears that it also uses MaxPacketSize to differentiate between the two events. The updated patch adds the same logic to the Haiku driver.

Replying to amonpaike:

thanks, i can test it :)

Could you try the prebuild driver?
Extract the zip to /boot/home/config/add-ons/input_server/devices/.

by idefix, 9 years ago

Attachment: wacom_bamboo2.patch added

Add support for the newest Wacom Bamboo devices. Ignores the touch functionality.

by idefix, 9 years ago

Attachment: wacom.zip added

GCC2 build of the Wacom driver with support for the newest Bamboo tablets.

comment:8 by amonpaike, 9 years ago

dont work

KERN: wacom: add_device() - wacom detected
KERN: wacom:  ... success!
KERN: wacom: device_added() - old device: 51
Last message repeated 1 time
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/input/wacom
KERN: bfs: bfs_open_dir:1594: Not a directory
KERN: runtime_loader: /boot/system/add-ons/input_server/devices/wacom: Could not resolve symbol '__ti18BInputServerDevice'
KERN: runtime_loader: /boot/system/add-ons/input_server/devices/wacom: Troubles relocating: Symbol not found
KERN: load addon /boot/system/add-ons/input_server/devices/wacom failed
KERN: ahci: AHCIPort::ScsiReadCapacity port 0
KERN: ahci: SectorSize 512, SectorCount 0x1d1c5970

my listusb

~> listusb
0000:0000 /dev/bus/usb/0/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0000:0000 /dev/bus/usb/1/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
056a:00d4 /dev/bus/usb/2/0 "Wacom Co.,Ltd." "CTL-460" ver. 0106
046d:c505 /dev/bus/usb/2/1 "Logitech" "USB Receiver" ver. 1721
0000:0000 /dev/bus/usb/2/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
045e:00e1 /dev/bus/usb/3/1 "" "" ver. 0007
0000:0000 /dev/bus/usb/3/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0b05:1712 /dev/bus/usb/4/0 "" "" ver. 1915
0000:0000 /dev/bus/usb/4/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
174f:5a35 /dev/bus/usb/5/1 "Sonix Technology Co., Ltd." "USB 2.0 Camera" ver. 0411
0000:0000 /dev/bus/usb/5/hub "HAIKU Inc." "EHCI RootHub" ver. 0200
0000:0000 /dev/bus/usb/6/hub "HAIKU Inc." "EHCI RootHub" ver. 0200

i have tested 2 wacom driver, your version gcc2 and from andrea's i assume is gcc4 (compilation) version http://www.haiku-os.it/?q=node/754., same results in syslog.

tested on haiku-nightly-hrev36995-x86gcc4hybrid-raw.tar.xz

comment:9 by amonpaike, 9 years ago

it workssssssssssss powerfulll :) i have overwriting the system whit a gcc2hybrid version and it workssssssss :D i make a stress test :)

comment:10 by amonpaike, 9 years ago

after 2 day of tests, my tablet bamboo (CTL-460) works very well , no one problem, no stalling problems :)

comment:11 by idefix, 9 years ago

That's great to hear, thanks for testing!

comment:12 by mmadia, 9 years ago

Resolution: fixed
Status: assignedclosed

Applied in hrev38615. Thanks!

Note: See TracTickets for help on using tickets.