Results 1 to 10 of 10

Thread: tx2000 pressure sensitivity

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Beans
    19

    tx2000 pressure sensitivity

    Hi all, I've spent countless nights reading the crap out of the tx2000 threads. (my problem is explained after some details)

    I've got a tx2110us:
    64 X2 TL 62 2.10GHz
    Wacom Digitizer Tablet Screen
    3GB Ram
    250GB Hdd
    nVidia 6150 Go 256MB
    Vista 64bit/Ubuntu 8.04

    Here's what i've gotten to work:
    Wifi - ndiswrapper
    Bluetooth - out of the box
    Video - Proprietary drivers
    Wacom Digitizer Tablet Screen - linuxwacom 0.8.0-3 (no patch)
    Sound - Intel drivers
    Suspend/Hibernate (threads on here explain how to)
    Screen Rotate hack using the Quickplay button

    I haven't been able to configure the touch portion of the screen, don't really use that feature a lot because it doesn't work so well, the pen calibration is perfect upon install.

    Here is my xorg.conf:
    PHP Code:
        # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg

    # added
    Section "InputDevice"
            
    Driver          "wacom"
            
    Identifier      "TabletPCStylus"
            
    Option          "Device"        "/dev/input/by-id/usb-Tablet_ISD-V4-event-mouse"
            
    Option          "Type"          "stylus"
        
    Option        "ForceDevice"    "ISDV4"        # Tablet PC ONLY
            
    Option          "USB"           "on"
    EndSection
    Section 
    "InputDevice"
            
    Driver          "wacom"
            
    Identifier      "TabletPCStylus2"
            
    Option          "Device"        "/dev/input/by-id/usb-Tablet_ISD-V4-event-mouse"
            
    Option          "Type"          "eraser"
        
    Option        "ForceDevice"    "ISDV4"        # Tablet PC ONLY
            
    Option          "USB"           "on"
    EndSection
    Section 
    "InputDevice"
            
    Driver          "wacom"
            
    Identifier      "TabletPCStylus3"
            
    Option          "Device"        "/dev/input/by-id/usb-Tablet_ISD-V4-event-mouse"
            
    Option          "Type"          "cursor"
        
    Option        "ForceDevice"    "ISDV4"        # Tablet PC ONLY
            
    Option          "USB"           "on"
    EndSection
    Section 
    "InputDevice"
        
    Driver        "wacom"
        
    Identifier    "pad"
        
    Option        "Device"    "/dev/input/by-id/usb-Tablet_ISD-V4-event-mouse"
        
    Option        "Type"        "pad"
        
    Option        "USB"        "on"
    EndSection
    # end added

    Section "InputDevice"
        
    Identifier    "Generic Keyboard"
        
    Driver        "kbd"
        
    Option        "XkbRules"    "xorg"
        
    Option        "XkbModel"    "pc105"
        
    Option        "XkbLayout"    "us"
    EndSection

    Section 
    "InputDevice"
        
    Identifier    "Configured Mouse"
        
    Driver        "mouse"
        
    Option        "CorePointer"
    EndSection

    Section 
    "InputDevice"
        
    Identifier    "Synaptics Touchpad"
        
    Driver        "synaptics"
        
    Option        "SendCoreEvents"    "true"
        
    Option        "Device"    "/dev/psaux"
        
    Option        "Protocol"    "auto-dev"
        
    Option        "HorizEdgeScroll"    "0"
    EndSection

    Section 
    "Device"
        
    Identifier    "Configured Video Device"
        
    Driver        "nvidia"
        
    Option        "NoLogo"    "True"
        
    Option        "RandRRotation"    "on"
    EndSection

    Section 
    "Monitor"
        
    Identifier    "Configured Monitor"
    EndSection

    Section 
    "Screen"
        
    Identifier    "Default Screen"
        
    Monitor        "Configured Monitor"
        
    Device        "Configured Video Device"
        
    Defaultdepth    24
    EndSection

    Section 
    "ServerLayout"
        
    Identifier    "Default Layout"
        
    screen "Default Screen"
        
    Inputdevice    "Synaptics Touchpad"        
        
    Inputdevice     "TabletPCStylus"        "SendCoreEvents"
        
    Inputdevice     "TabletPCStylus2"       "SendCoreEvents"
        
    Inputdevice     "TabletPCStylus3"       "SendCoreEvents"
        
    Inputdevice     "pad"
    EndSection
    Section 
    "Module"
        
    Load        "glx"
    EndSection 
    My issue is that when I'm using the pen, it hovers great, I can click on icons/buttons fine, however when I'm using gimp the pressure sensitivity seems to be backwards or something. If I press real hard no drawing occurs, if I press lightly the pressure works unless I press to hard.


    I haven't applied any patches to the linuxwacom libraries, does this patch resolve this issue, does anyone know what the patch is for?

    I've only read about the patch being applied to the 7 series of the linuxwacom libraries, not the 8 series.

    The 7 series of the linuxwacom libraries didn't work on my tablet for some reason when following the instructions of some of the threads on here.

    I've tried to use /dev/input/wacom in my xorg.conf but upon restart I get no tablet functionality working at all. Most likely because i'm using 8 series linuxwacom libraries but I thought I would at least make mention of this.

    If some kind person could help me come up with a solution to my issue then I can finally get rid of windows vista completely and just use wine/qemu to run visual studio and some other various apps as i'm a software engineer.

    Thanks,
    Brian

  2. #2
    Join Date
    Jul 2008
    Beans
    19

    Re: tx2000 pressure sensitivity

    bumpity, bump.. bump...

  3. #3
    Join Date
    Jul 2008
    Beans
    19

    Re: tx2000 pressure sensitivity

    Ok some new developments, the pressure sensitivity isn't reversed, it's actually just whenever I press harder at a certain point the pen quits working, any ideas now anyone?

    Please someone say something out there, (in regards to helping with a solution)

  4. #4
    Join Date
    Jul 2008
    Beans
    19

    Re: tx2000 pressure sensitivity

    okay I've solved my own issue.

  5. #5
    Join Date
    Jul 2008
    Beans
    2

    Re: tx2000 pressure sensitivity

    hi, can you share how you solve the issue?
    thanks in advance.

  6. #6
    Join Date
    Jul 2007
    Beans
    864
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: tx2000 pressure sensitivity

    I have written a short tutorial on how to get the stylus and touchscreen working with a new version of linuxwacom made for Usb tablets.
    This way you don't have to apply patches....
    go here to see
    http://ubuntuforums.org/showthread.p...47#post5469447
    Kory

  7. #7
    Join Date
    Jul 2008
    Beans
    19

    Re: tx2000 pressure sensitivity

    Quote Originally Posted by kdaddy View Post
    hi, can you share how you solve the issue?
    thanks in advance.
    Kdaddy, hope you get this, the guys solution above me isn't good as it's using the latest linuxwacom drivers, which aren't great for our laptops as the pressure sensitivity isn't correct as the guy above describes.

    The key is the patch for the linuxwacom drivers, patches aren't scarey, they are their because they hold special attention to our laptops.

    Run all of this in order and you'll have a working tablet with full pressure sensitivity the way it's supposed to work.

    I don't take credit for these instructions I found them on a finnish ubuntu forum page, don't remember the exact link. (If anyone knows let me know so I can give proper credit where it's due).

    > sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev cpp-3.4 f2c fort77 g77 tcl tcl-dev tclx8.4 tclx8.4-dev tk tk-dev input-utils xserver-xorg-input-wacom xserver-xorg-input-evdev gawk mawk

    > wget http://internap.dl.sourceforge.net/s...7.9-11.tar.bz2

    > wget -O usbtx2000z.patch http://linuxwacom.pastebin.com/paste...p?dl=f3d5b9e73

    > tar xjvf linuxwacom-0.7.9-11.tar.bz2
    > cd ~/linuxwacom-0.7.9-11
    > patch -p1 < ../usbtx2000z.patch

    > ./configure --enable-wacom

    > make
    > sudo make install
    > sudo rmmod wacom

    > ls src/
    * make sure a src folder exists for your kernel version
    * example is uname -r returns 2.6.24-19-generic then use src/2.6.24 for the below cp command
    * if a src folder for your kernel version doesn't exist try one, probably one that's for an older kernel not a newer one.

    > sudo cp src/2.6.24/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko
    > sudo depmod -e
    > sudo modprobe wacom
    > sudo rm /usr/local/bin/xsetwacom

    You'll want to restart your tablet after this and everything should be in working order but not calibrated. I would suggest using my xorg.conf file as reference for your tablet as we have the same setup. I am using the glx drivers so add that to your xorg.conf only if your using glx drivers. (From nvidia) Use the xorg.conf from this post as the one above isn't correct anymore.

    Code:
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    # added
    # end added
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	Option		"AddARGBGLXVisuals"	"True"
    	Defaultdepth	24
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    	Driver		"nvidia"
    	#Option		"NoLogo"	"True"
    	Option		"RandRRotation"	"on"
    EndSection
    
    Section "InputDevice"
    	Driver		"wacom"
    	Identifier	"TabletPCStylus"
    	Option		"Device"	"/dev/input/by-id/usb-Tablet_ISD-V4-event-mouse"
    	Option		"Type"	"stylus"
    	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
    	Option		"Button2"	"3"
    	#Option		"USB"	"on"
    	Option		"TopX" "225"
    	Option		"TopY" "122"
    	Option		"BottomX"	"26365"
    	Option		"BottomY"	"16488"
    EndSection
    
    Section "InputDevice"
    	Driver		"wacom"
    	Identifier	"TabletPCStylus2"
    	#Option		"Device"	"/dev/input/by-id/usb-Tablet_ISD-V4-event-mouse"
    	Option		"Device"	"/dev/input/wacom"
    	#Option		"Type"	"eraser"
    	Option		"Type"	"stylus"
    	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
    	#Option		"USB"	"on"
    	Option		"TopX" "01409"
    	Option		"TopY" "01150"
    	Option		"BottomX"	"25300"
    	Option		"BottomY"	"15300"
    EndSection
    
    Section "InputDevice"
    	Driver		"wacom"
    	Identifier	"TabletPCStylus3"
    	Option		"Device"	"/dev/input/by-id/usb-Tablet_ISD-V4-event-mouse"
    	#Option		"Type"	"cursor"
    	Option		"Type"	"eraser"
    	Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
    	#Option		"USB"	"on"
    EndSection
    
    Section "InputDevice"
    	Driver		"wacom"
    	Identifier	"pad"
    	Option		"Device"	"/dev/input/by-id/usb-Tablet_ISD-V4-event-mouse"
    	Option		"Type"	"pad"
    	Option		"USB"	"on"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"us"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Synaptics Touchpad"
    	Driver		"synaptics"
    	Option		"SendCoreEvents"	"true"
    	Option		"Device"	"/dev/psaux"
    	Option		"Protocol"	"auto-dev"
    	Option		"HorizEdgeScroll"	"0"
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
      screen "Default Screen"
    	Inputdevice	"Synaptics Touchpad"
    	Inputdevice	"TabletPCStylus"	"SendCoreEvents"
    	Inputdevice	"TabletPCStylus2"	"SendCoreEvents"
    	Inputdevice	"TabletPCStylus3"	"SendCoreEvents"
    	Inputdevice	"pad"
    EndSection
    
    Section "Module"
    	Load		"glx"
    	Load		"wacom"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Extensions"
    	Option		"Composite"	"Enable"
    EndSection
    I've found that sometimes the site that has the patch file is down so here is the code that you can copy & paste into a file on your pc and save as the patch file name usbtx2000z.patch

    Code:
    diff -uNr vanilla/src/2.6.19/wacom.h mine/src/2.6.19/wacom.h
    
    --- vanilla/src/2.6.19/wacom.h	2008-04-11 18:11:30.000000000 -0400
    
    +++ mine/src/2.6.19/wacom.h	2008-04-18 07:21:55.000000000 -0400
    
    @@ -125,6 +125,7 @@
    
     extern void input_dev_i(struct input_dev *input_dev, struct wacom_wac *wacom_wac);
    
     extern void input_dev_pl(struct input_dev *input_dev, struct wacom_wac *wacom_wac);
    
     extern void input_dev_pt(struct input_dev *input_dev, struct wacom_wac *wacom_wac);
    
    +extern void input_dev_tpc(struct input_dev *input_dev, struct wacom_wac *wacom_wac);
    
     extern __u16 wacom_le16_to_cpu(unsigned char *data);
    
     extern __u16 wacom_be16_to_cpu(unsigned char *data);
    
     extern struct wacom_features * get_wacom_feature(const struct usb_device_id *id);
    
    diff -uNr vanilla/src/2.6.19/wacom_wac.c mine/src/2.6.19/wacom_wac.c
    
    --- vanilla/src/2.6.19/wacom_wac.c	2008-04-11 18:11:30.000000000 -0400
    
    +++ mine/src/2.6.19/wacom_wac.c	2008-04-18 11:10:48.000000000 -0400
    
    @@ -535,6 +535,92 @@
    
     	return 1;
    
     }
    
     
    
    +int wacom_tpc_irq (struct wacom_wac *wacom_wac, void *wcombo)
    
    +{
    
    +	static int stylus_inrange;
    
    +	char *data = wacom_wac->data;
    
    +	struct wacom_combo *combo = wcombo;
    
    +	struct urb *urb = combo->urb;
    
    +	if (urb->actual_length == 5) { /* Finger */
    
    +		int absx = ((data[2] << 8) & 0xff00) + (data[1] & 0xff);
    
    +		int absy = ((data[4] << 8) & 0xff00) + (data[3] & 0xff);
    
    +		
    
    +		if (stylus_inrange) {
    
    +			if (wacom_wac->tool[1]) {
    
    +				return 0;
    
    +			} else {
    
    +				wacom_report_key (wcombo, BTN_TOOL_PEN, 0);
    
    +				wacom_report_key (wcombo, BTN_TOUCH, 0);
    
    +				wacom_report_abs (wcombo, ABS_PRESSURE, 0);
    
    +				wacom_wac->tool[1] = 1;	
    
    +				goto end;
    
    +			}
    
    +		}
    
    +		wacom_wac->tool[1] = 0;
    
    +
    
    +		absx = (absx * wacom_wac->features->x_max) / 4096;
    
    +		absy = (absy * wacom_wac->features->y_max) / 4096;
    
    +		wacom_report_key (wcombo, ABS_MISC, STYLUS_DEVICE_ID);
    
    +		wacom_report_key (wcombo, BTN_TOOL_PEN, data[0] & 0x1);
    
    +		wacom_report_key (wcombo, BTN_TOUCH, data[0] & 0x1);
    
    +		wacom_report_abs (wcombo, ABS_X, absx);
    
    +		wacom_report_abs (wcombo, ABS_Y, absy);
    
    +		if (data[0] & 0x1)
    
    +			wacom_report_abs (wcombo, ABS_PRESSURE, 255);
    
    +		else
    
    +			wacom_report_abs (wcombo, ABS_PRESSURE, 0);
    
    +	} else { /* Stylus */
    
    +		int absx = ((data[3] << 8) & 0xff00) + (data[2] & 0xff);
    
    +		int absy = ((data[5] << 8) & 0xff00) + (data[4] & 0xff);
    
    +		int absp = ((data[7] << 8) & 0x0100) + (data[6] & 0xff);
    
    +		int oldtool = wacom_wac->tool[0];
    
    +		stylus_inrange = data[1] & 0x20;
    
    +
    
    +		if (data[1] == 0) { /* Out of range */
    
    +			wacom_wac->tool[0] = 0;
    
    +			wacom_report_key (wcombo, BTN_TOOL_RUBBER, 0);
    
    +			wacom_report_key (wcombo, BTN_TOOL_PEN, 0);
    
    +			wacom_report_key (wcombo, BTN_TOUCH, 0);
    
    +			wacom_report_key (wcombo, BTN_STYLUS, 0);
    
    +			wacom_report_key (wcombo, BTN_STYLUS2, 0);
    
    +			goto end;
    
    +		} else if (data[1] & 0x8) { /* Eraser */
    
    +			wacom_wac->tool[0] = BTN_TOOL_RUBBER;
    
    +
    
    +			if (oldtool == BTN_TOOL_PEN) {
    
    +				wacom_report_key (wcombo, BTN_TOOL_PEN, 0);
    
    +				wacom_report_key (wcombo, BTN_TOUCH, 0);
    
    +				wacom_report_key (wcombo, BTN_STYLUS, 0);
    
    +				wacom_report_key (wcombo, BTN_STYLUS2, 0);
    
    +				goto end;
    
    +			}
    
    +			wacom_report_key (wcombo, BTN_TOOL_RUBBER, data[1] & 0x20);
    
    +			wacom_report_key (wcombo, BTN_TOUCH, (data[1] & 0x4));
    
    +			wacom_report_abs (wcombo, ABS_MISC, STYLUS_DEVICE_ID);
    
    +		} else { /* Pen */
    
    +			wacom_wac->tool[0] = BTN_TOOL_PEN;
    
    +
    
    +			if (oldtool == BTN_TOOL_RUBBER) {
    
    +				wacom_report_key (wcombo, BTN_TOOL_RUBBER, 0);
    
    +				wacom_report_key (wcombo, BTN_TOUCH, 0);
    
    +				goto end;
    
    +			}
    
    +			wacom_report_key (wcombo, BTN_TOOL_PEN, data[1] & 0x20);
    
    +			wacom_report_key (wcombo, BTN_TOUCH, (data[1] & 0x1));
    
    +			wacom_report_abs (wcombo, ABS_MISC, STYLUS_DEVICE_ID);
    
    +		}
    
    +		
    
    +		wacom_report_key (wcombo, BTN_STYLUS, data[1] & 0x2);
    
    +		wacom_report_key (wcombo, BTN_STYLUS2, data[1] & 0x10);
    
    +		wacom_report_abs (wcombo, ABS_X, absx);
    
    +		wacom_report_abs (wcombo, ABS_Y, absy);
    
    +		wacom_report_abs (wcombo, ABS_PRESSURE, absp);
    
    +	}
    
    +end:
    
    +	wacom_input_sync(wcombo);
    
    +	return 0;
    
    +}
    
    +
    
     int wacom_wac_irq(struct wacom_wac *wacom_wac, void *wcombo)
    
     {
    
     	switch (wacom_wac->features->type) {
    
    @@ -560,6 +646,9 @@
    
     		case WACOM_BEE:
    
     			return (wacom_intuos_irq(wacom_wac, wcombo));
    
     			break;
    
    +		case TABLETPC:
    
    +			return (wacom_tpc_irq(wacom_wac, wcombo));
    
    +			break;
    
     		default:
    
     			return 0;
    
     	}
    
    @@ -596,6 +685,9 @@
    
     		case PENPARTNER:
    
     			input_dev_pt(input_dev, wacom_wac);
    
     			break;
    
    +		case TABLETPC:
    
    +			input_dev_tpc(input_dev, wacom_wac);
    
    +			break;
    
     	}
    
     	return;
    
     }
    
    @@ -651,6 +743,8 @@
    
     	{ "Wacom Cintiq 20WSX",  10, 86680, 54180, 1023, 63, WACOM_BEE },
    
     	{ "Wacom Cintiq 12WX",   10, 53020, 33440, 1023, 63, WACOM_BEE },
    
     	{ "Wacom Intuos2 6x8",   10, 20320, 16240, 1023, 31, INTUOS },
    
    +	{ "Wacom ISDv4 USB",      8, 26202, 16325,  255,  0, TABLETPC },
    
    +	{ "Wacom ISDv4 USB",      8, 26202, 16325,  255,  0, TABLETPC },
    
     	{ }
    
     };
    
     
    
    @@ -705,6 +799,8 @@
    
     	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0xC5) },
    
     	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0xC6) },
    
     	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x47) },
    
    +	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x90) },
    
    +	{ USB_DEVICE(USB_VENDOR_ID_WACOM, 0x93) },
    
     	{ }
    
     };
    
     
    
    diff -uNr vanilla/src/2.6.22/wacom_wac.h mine/src/2.6.22/wacom_wac.h
    
    --- vanilla/src/2.6.22/wacom_wac.h	2008-04-11 18:11:30.000000000 -0400
    
    +++ mine/src/2.6.22/wacom_wac.h	2008-04-18 07:21:55.000000000 -0400
    
    @@ -27,6 +27,7 @@
    
     	CINTIQ,
    
     	WACOM_BEE,
    
     	WACOM_MO,
    
    +	TABLETPC,
    
     	MAX_TYPE
    
     };
    
     
    
    diff -uNr vanilla/src/2.6.24/wacom_sys.c mine/src/2.6.24/wacom_sys.c
    
    --- vanilla/src/2.6.24/wacom_sys.c	2008-04-11 18:11:30.000000000 -0400
    
    +++ mine/src/2.6.24/wacom_sys.c	2008-04-18 07:21:55.000000000 -0400
    
    @@ -219,6 +219,12 @@
    
     	input_dev->keybit[BIT_WORD(BTN_DIGI)] |= BIT_MASK(BTN_TOOL_RUBBER);
    
     }
    
     
    
    +void
    
    +input_dev_tpc (struct input_dev *input_dev, struct wacom_wac *wacom_wac)
    
    +{
    
    +	input_dev->keybit[BIT_WORD(BTN_DIGI)] |= BIT_MASK(BTN_TOOL_RUBBER);
    
    +}
    
    +
    
     static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *id)
    
     {
    
     	struct usb_device *dev = interface_to_usbdev(intf);
    
    @@ -286,12 +292,17 @@
    
     		goto fail3;
    
     
    
     	/* Ask the tablet to report tablet data. Repeat until it succeeds */
    
    -	do {
    
    -		rep_data[0] = rep_data[1] = 2;
    
    -		if(usb_set_report(intf, 3, 2, rep_data, 2) >= 0)
    
    -			error = usb_get_report(intf, 3, 2, rep_data, 2);
    
    -	} while ((error <= 0 || rep_data[1] != 2) && limit++ < 5);
    
    -
    
    +	if (wacom_wac->features->type == TABLETPC) { /* USB ISDv4 (TabletPC) doesn't support SetReport */
    
    +		usb_get_report(intf, 3, 2, rep_data, 2);
    
    +		if (rep_data[0] != 2 || rep_data[1] != 0)
    
    +			info("Got bad report from TabletPC, may not work properly");
    
    +	} else {
    
    +		do {
    
    +			rep_data[0] = rep_data[1] = 2;
    
    +			if(usb_set_report(intf, 3, 2, rep_data, 2) >= 0)
    
    +				error = usb_get_report(intf, 3, 2, rep_data, 2);
    
    +		} while ((error <= 0 || rep_data[1] != 2) && limit++ < 5);
    
    +	}
    
     	usb_set_intfdata(intf, wacom);
    
     	return 0;
    I can't verify that this will work (copying the above patch code into a file from the browser window but try this only as a last resort, I have a web server that I can host files on if need be.

    Hope this helps,
    Brian
    Last edited by xyexz; July 28th, 2008 at 03:18 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •