#27 Support for usb tabletpc

Next_Release
closed
Ping Cheng
None
5
2008-10-29
2006-11-09
J. I. Burgos Gil
No

New models of tabletpc use the usb bus to conect the
wacom tablet. An example of such model is the asus
R1F model.

The current wacom driver (Nov. 2006) does not support
this models of tabletpc.

Please could you add support for usb tabletpc to the
wacom driver.

J. I. Burgos

Discussion

<< < 1 .. 4 5 6 (Page 6 of 6)
  • Logged In: NO

    I am having the same problem with fedora 9 x86-64 kernel 2.6.25
    When I looked for a wacom.ko, it is not even created in the src.
    There isnt any file called wacom.ko in the src 2.6.25 folder and I dont
    have any error while patching, enabling wacom and making install.

    I tried depmod -e and modprobe wacom and got FATAL: Error inserting wacom (...../tablet/wacom.ko): Unknown symbol in
    module, or unknown parameter.

    There is a problem with kernel 2.6.25.

    Thanks,

     
  • Logged In: YES
    user_id=2137491
    Originator: NO

    Regarding splatt325's issue ... you are trying to build against an unconfigured kernel source tree. Try the following:

    rsync -avP /usr/src/linux-obj/x86_64/default/ /usr/src/linux

    Note: replace x86_64 with your arch -- also, you may have to replace linux with <linux-ver..>

    I have an ASUS R1E and system is openSuSE11. I am getting the following error (apparently I need the whole source not just the libs and headers ...)(while in:
    Making all in xdrv
    make[2]: Entering directory `/home/pfreeman/Desktop/linuxwacom-0.8.0-3/src/xdrv'
    gcc -g -O2 -D__amd64__ -I/usr/include -fPIC -pipe -std=c99 \ -pedantic -Wall -Wpointer-arith -fno-merge-constants \ -fno-stack-protector -I. -I../include -I/usr/include/xorg \ -D_XSERVER64 -I/usr/include/xorg -I/usr/include/pixman-1 \ -o xf86Wacom.o -c ./xf86Wacom.c
    ):

    In file included from ./xf86Wacom.c:79:
    ./xf86Wacom.h:26:25: error: xf86Version.h: No such file or directory
    ./xf86Wacom.h:61:18: error: misc.h: No such file or directory
    ./xf86Wacom.h:62:18: error: xf86.h: No such file or directory
    ./xf86Wacom.h:65:19: error: xisb.h: No such file or directory
    ./xf86Wacom.h:74:25: error: xf86_OSproc.h: No such file or directory
    ./xf86Wacom.h:75:24: error: xf86Xinput.h: No such file or directory
    ./xf86Wacom.h:76:78: error: exevents.h: No such file or directory
    ./xf86Wacom.h:78:23: error: mipointer.h: No such file or directory
    ./xf86Wacom.h:81:24: error: xf86Module.h: No such file or directory
    <snip>

     
  • Logged In: YES
    user_id=2137491
    Originator: NO

    Further comment ... it seems I was mistaken about needing other source files ... I have all of them. I tried the development version of the driver source, and still had a problem: see below (still in the src/xdrv part)
    Making all in xdrv
    make[2]: Entering directory `/home/pfreeman/Desktop/linuxwacom/src/xdrv'
    gcc -MM -g -O2 -D__amd64__ -I/usr/include -I../include -I/usr/include/xorg ./xf86Wacom.c ./wcmSerial.c ./wcmUSB.c ./wcmISDV4.c ./wcmXCommand.c ./wcmCommon.c ./wcmCompat.c ./wcmConfig.c ./wcmFilter.c > .depend
    ./xf86Wacom.c:587:41: error: missing binary operator before token "("
    ./xf86Wacom.c:660:41: error: missing binary operator before token "("
    ./wcmCommon.c:79:41: error: missing binary operator before token "("
    ./wcmCommon.c:94:41: error: missing binary operator before token "("
    ./wcmCommon.c:514:41: error: missing binary operator before token "("
    ./wcmCommon.c:534:41: error: missing binary operator before token "("
    ./wcmCommon.c:626:41: error: missing binary operator before token "("
    ./wcmCommon.c:644:41: error: missing binary operator before token "("
    ./wcmCommon.c:741:41: error: missing binary operator before token "("
    ./wcmCommon.c:768:41: error: missing binary operator before token "("
    ./wcmCommon.c:1458:41: error: missing binary operator before token "("
    ./wcmConfig.c:88:41: error: missing binary operator before token "("
    make[2]: *** No rule to make target `.depend', needed by `wacom_drv.so'. Stop.
    make[2]: Leaving directory `/home/pfreeman/Desktop/linuxwacom/src/xdrv'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/pfreeman/Desktop/linuxwacom/src'
    make: *** [all-recursive] Error 1

    The referent lines all have a preprocessor command : #if defined WCM_XFREE86 || GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0

     
  • starbuck70
    starbuck70
    2008-07-10

    Logged In: YES
    user_id=1877295
    Originator: NO

    I also have the ASUS R1F and im also interested in the support for usb tabletpc. Please add the support to your driver as soon as possible.

     
  • Logged In: NO

    Do you know if this driver works with kernel 2.6.25?

     
  • LikwidCirkel
    LikwidCirkel
    2008-07-13

    Logged In: YES
    user_id=1685914
    Originator: NO

    I have an ASUS R1F too, and some experience developing device drivers. I've looked at the problem briefly, but I just don't have the time. I also have the feeling that PingC could do it in a tenth of the time as I could.

    I will totally help test, and even donate $100 or more to the developer or to an organization of their choice, to get it done.

    This is probably the only thing keeping me with a Windows dual boot. It's unfortunate because the R1F is a great machine other than this problem.

     
  • Logged In: NO

    HP TX2500Z Ubuntu x86-84.
    Patch.ok
    ./configure --enable-wacom ok
    make and sudo make install both ok
    sudo cp src/2.6.24/wacom.ko /lib/modules/2.6.24-16-generic/kernel/drivers/input/tablet/wacom.ko
    sudo depmod -e ok
    sudo modprobe wacom ok
    Edited xorg.conf add all required lines.
    Rebooted but nothing happens, stylus and touchscreen do not react at all.

    lsusb

    Bus 007 Device 002: ID 04f2:b103 Chicony Electronics Co., Ltd
    Bus 007 Device 001: ID 0000:0000
    Bus 006 Device 002: ID 0bda:0158 Realtek Semiconductor Corp.
    Bus 006 Device 001: ID 0000:0000
    Bus 005 Device 002: ID 056a:0093 Wacom Co., Ltd
    Bus 005 Device 001: ID 0000:0000
    Bus 004 Device 001: ID 0000:0000
    Bus 003 Device 001: ID 0000:0000
    Bus 002 Device 001: ID 0000:0000
    Bus 001 Device 001: ID 0000:0000

    dmesg

    [ 0.000000] input: Wacom ISDv4 USB as /devices/pci0000:00/0000:00:14.5/usb5/5-2/5-2:1.0/input/input3
    [ 0.000000] input: Wacom ISDv4 USB as /devices/pci0000:00/0000:00:14.5/usb5/5-2/5-2:1.1/input/input4

    [ 0.000000] usbcore: registered new interface driver wacom
    [ 0.000000] /home/user1/Desktop/linuxwacom-0.7.9-11/src/2.6.24/wacom_sys.c: v1.46-pc0.2:USB Wacom Graphire and Wacom Intuos tablet driver

    cat /var/log/messages

    [ 0.000000] input: Wacom ISDv4 USB as /devices/pci0000:00/0000:00:14.5/usb5/5-2/5-2:1.0/input/input3
    [ 0.000000] input: Wacom ISDv4 USB as /devices/pci0000:00/0000:00:14.5/usb5/5-2/5-2:1.1/input/input4
    [ 0.000000] usbcore: registered new interface driver wacom
    [ 0.000000] /home/user1/Desktop/linuxwacom-0.7.9-11/src/2.6.24/wacom_sys.c: v1.46-pc0.2:USB Wacom Graphire and Wacom Intuos tablet driver

    xidump -l

    Virtual core keyboard keyboard
    Virtual core pointer disabled
    Generic Keyboard unknown
    Configured Mouse unknown
    TabletPCStylus3 unknown
    TabletPCStylus2 unknown
    TabletPCStylus unknown
    Synaptics Touchpad unknown

    If you need more details, let me know.
    Thanks in advance to all of you.

     
  • Jeremy Ray
    Jeremy Ray
    2008-07-15

    Logged In: YES
    user_id=2148308
    Originator: NO

    Thanks to Zappacky and everyone who worked on this script! It works like a dream! Finally I can switch to Linux.

    A couple notes on my install (Asus R1e, 64 bit Ubuntu 8.04)

    - I partially followed Kshepherd1's instructions, and Chiii!!!'s instructions on Tablet PC Review -

    http://forum.tabletpcreview.com/showpost.php?p=107134&postcount=24

    After running ./configure --enable-wacom and make I tested the results per Kshepherd1's instructions, the results appeared to indicate an error on my part. I got a result from /sbin/insmod ./wacom.ko
    and my tail /var/log/messages looked nothing like Kshepherd1's. No Wacom information was to be found, most of it was "mark."

    But I continued with the install and everything came out fine. Go figure.

    I also used Chiii!!!'s values for top and bottom xy instead of Kshepherd1's. My pointer and stylus tip are lining up fine. I haven't tried Kshepherd1's, probably it works fine too, I'm just throwing this out FWIW.

    Setting up shell scripts for screen and tablet rotation is easy as can be. Copy these into your home directory, chmod 755, and use ./thefilenameyougiveit to execute.

    #!/bin/bash
    #
    # 'rotate-normal' - Rotates to Laptop Mode
    #
    xrandr -o 0
    xsetwacom set cursor Rotate NONE
    xsetwacom set stylus mode absolute

    #!/bin/bash
    #
    # 'rotate-tablet' - Inverts screen
    #
    xrandr -o 2
    xsetwacom set cursor Rotate half
    xsetwacom set stylus mode absolute

    #!/bin/bash
    #
    # 'rotate-tablet' - Rotates to Tablet Mode
    #
    xrandr -o 1
    xsetwacom set cursor Rotate CCW
    xsetwacom set stylus mode absolute

    #!/bin/bash
    #
    # 'rotate-tablet' - Rotates to Tablet Mode
    #
    xrandr -o 3
    xsetwacom set cursor Rotate CW
    xsetwacom set stylus mode absolute

    Each of those should be a seperate file.

    Scripts taken from this thread -

    http://ubuntuforums.org/showthread.php?t=726410&highlight=tablet+pc+rotate+screen

    @ most recent nobody - my guess is your failure happened at ./configure --enable-wacom. Scroll up through the stuff it prints out, after you run the command, and look for any suspicious "no's." If you see it looking for something and not finding it, you've missed a dependency.

     
  • Logged In: NO

    Thanks a lot for everyone who have worked on this script. It works very well on my tx2100er laptop except one problem: it seems to miss mouse release events when touching the screen with the finger. For example, when touching the desktop, it shows selection rectangle starting at the point of previous touch and ending at the point of current touch - just like I was dragged the mouse between these two points. I also can't change active window using the finger, etc.

    However the output of xidump looks good:
    vova@quark:~$ xidump -u raw TabletPCTouch
    2.39506407: Proximity In
    2.39520607: Button: 1 DOWN
    2.39522507: Motion: x=+21826 y= +4495 p= 255 tx= +0 ty= +0 w= +0 ID: 0 Serial: 0
    2.50665707: Motion: x=+21829 y= +4451 p= 255 tx= +0 ty= +0 w= +0 ID: 0 Serial: 0
    2.54735107: Button: 1 UP
    2.54740107: Proximity Out
    4.56319307: Proximity In
    4.56323907: Button: 1 DOWN
    4.56325707: Motion: x=+12378 y=+12427 p= 255 tx= +0 ty= +0 w= +0 ID: 0 Serial: 0
    4.69878907: Motion: x=+12352 y=+12383 p= 255 tx= +0 ty= +0 w= +0 ID: 0 Serial: 0
    4.73939807: Button: 1 UP
    4.73944707: Proximity Out

    Output of xev also shows one ButtonPress, one or two MotionNotify and one ButtonRelease events which is very stranbe. Probably I need to tweak something in xorg.conf ? Here is the relevant section of it:

    Section "InputDevice"
    Identifier "TabletPCTouch"
    Driver "wacom"
    Option "ForceDevice" "ISDV4"
    Option "Type" "stylus"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/input/wacom"
    Option "TopX" "1429"
    Option "TopY" "1150"
    Option "BottomX" "25300"
    Option "BottomY" "15300"
    EndSection

    Has anyone experienced similar behaviour ? Any ideas ?

     
  • Logged In: NO

    BTW if anyone is having cursor misalignment with the stylus in portrait mode, make sure you have wacom tools installed -

    sudo apt-get install wacom-tools

     
  • Hi.
    I got a HP tx2550eg and the 0.8.1-4 version seems to find the tablet, but for some reason it's not working it seems.

    dmesg output:
    input: Wacom ISDv4 93 as /class/input/input4
    input: Wacom ISDv4 93 as /class/input/input5
    usbcore: registered new interface driver wacom
    wacom: v1.49:USB Wacom Graphire and Wacom Intuos tablet driver

    wacdump or xidump show me nothing (even xidump with raw mode)

    here the releavant xorg.conf sections(not adding serverlayout, but all are SendCoreEvents):

    # wacom pen device
    Section "InputDevice"
    Driver "wacom"
    Identifier "stylus"
    Option "type" "stylus"
    Option "device" "/dev/input/event4"
    Option "USB" "on"
    Option "ForceDevice" "ISDV4"
    Option "SendCoreEvents" "True"
    # Make the stylus button a right-click
    Option "Button2" "3"
    # Calibration for the touch screen. Yours may vary.
    # Option "TopX" "0"
    # Option "TopY" "0"
    # Option "BottomX" "26365"
    # Option "BottomY" "16488"
    EndSection

    Section "InputDevice"
    Driver "wacom"
    Identifier "eraser"
    Option "type" "eraser"
    Option "device" "/dev/input/event5"
    Option "USB" "on"
    Option "SendCoreEvents" "true"
    Option "ForceDevice" "ISDV4"
    # Calibration for the touch screen. Yours may vary.
    # Option "TopX" "0"
    # Option "TopY" "0"
    # Option "BottomX" "26365"
    # Option "BottomY" "16488"
    EndSection

    # Wacom touchscreen
    Section "InputDevice"
    Driver "wacom"
    Identifier "touch"
    Option "type" "touch"
    Option "device" "/dev/input/event5"
    Option "USB" "on"
    Option "ForceDevice" "ISDV4"
    Option "SendCoreEvents" "true"
    # Calibration for the touch screen. Yours may vary.
    # Option "TopX" "0"
    # Option "TopY" "0"
    # Option "BottomX" "26365"
    # Option "BottomY" "16488"
    EndSection

    hp_tablet ~ # lsusb -v -s7:3

    Bus 007 Device 003: ID 056a:0093 Wacom Co., Ltd
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 1.10
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 8
    idVendor 0x056a Wacom Co., Ltd
    idProduct 0x0093
    bcdDevice 4.03
    iManufacturer 1 Tablet
    iProduct 2 ISD-V4
    iSerial 0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 59
    bNumInterfaces 2
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass 1 Boot Interface Subclass
    bInterfaceProtocol 2 Mouse
    iInterface 0
    HID Device Descriptor:
    bLength 9
    bDescriptorType 33
    bcdHID 1.10
    bCountryCode 0 Not supported
    bNumDescriptors 1
    bDescriptorType 34 Report
    wDescriptorLength 143
    Report Descriptors:
    ** UNAVAILABLE **
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0008 1x 8 bytes
    bInterval 7
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 3 Human Interface Device
    bInterfaceSubClass 0 No Subclass
    bInterfaceProtocol 0 None
    iInterface 0
    HID Device Descriptor:
    bLength 9
    bDescriptorType 33
    bcdHID 1.10
    bCountryCode 0 Not supported
    bNumDescriptors 1
    bDescriptorType 34 Report
    wDescriptorLength 59
    Report Descriptors:
    ** UNAVAILABLE **
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x82 EP 2 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0008 1x 8 bytes
    bInterval 8
    Device Status: 0x0001
    Self Powered

    Would appreciate any help / hints.
    P.S.: i did try to swap event4/5 for touchscreen/stylus .. no change also tried without the USB on option ..

     
  • I found my touchscreen and pen to be 'working' with kernel 2.6.27 rc2 and xorg-server 1.5.1 (xorg 7.4) but NOT 2.6.26-gentoo-r7 and xorg-server-1.4.2(xorg 7.3).

    The problem is calibration mostly now I think but something weird is going on I think ... I have to use /dev/input/mice for my primary pointer (touchpad) for the touchscreen and stylus to be working .. still investigating but something is weird about this.
    On another note the wacom driver now seems to crash when closing X (trying to release the device I think)

    Please let me know if there's any way I can help fixing this.

     
  • This last post by 'nobody' was me btw.

     
  • ok another update.

    wacom_drv.so crashes the X server and makes system unresponsive on xorg-server 1.5.1 .. downgraded to 1.4.2 again (Also for ati-drivers ;)) .
    touchscreen basically works again like before so the upgrade from 2.6.26-gentoo-r7 to 2.6.27-rc7 did the trick for me of fixing the input device issues..

    should I get it to work i'll paste my config here too.

     
  • I put up my config on my blog + some other links for my specific tablet pc as all seems to be working now (except wine games like WoW and Guild wars ;))

    https://www.lordvan.com/drupal/node/55

     
  • Ping Cheng
    Ping Cheng
    2008-10-29

    • milestone: --> Next_Release
    • status: open --> closed
     
  • Ping Cheng
    Ping Cheng
    2008-10-29

    Fully supported by 0.8.1-6. Will be in stable release, 0.8.2 soon.

     
  • I have tried stable release 0.8.2 on USB Tablet PC TX2500. It wont work.
    The one that works is the stable release 0.8.0.3.

     
  • jkl

     
<< < 1 .. 4 5 6 (Page 6 of 6)