Page 12 of 142 FirstFirst ... 210111213142262112 ... LastLast
Results 111 to 120 of 1415

Thread: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

  1. #111
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    Thanks M42.

    Well this is pretty ridiculous. What's happened with rotation is that CW has become CCW and vice versa. So if you change your rotation script appropriately everything is fine!!! If you don't then when you rotate right or left the cursor moves 180 degrees inverted to your stylus.

    I don't think this was happening with rec's script and .fdi file. I think the cursor would move at a right angle to the stylus motion. Which is what you would expect with xsetwacom commands not having any effect. But at this point I can't swear to it. I think this happened after I removed rec's script. But as to why it happened I don't yet know.

    So I've learned rec's script actually takes you pretty far in Intrepid. You almost get things working. The important part is that with a custom .fdi and the script you can get stylus and touch, which is what was intended for Intrepid all along.

    Interesting quote from Matthew Garrett's blog 3-6-09:
    After a bit of back and forth with Peter, we came up with a straightforward way of dealing with the fact that the Wacom driver needs a logical input device per input type[1], but the X server only generates an input device per hal device. The simplest solution turned out to be a hal callout that generates additional hal devices on demand, which also means we can add information to the fdi files to only add the appropriate device types. Ought to land in rawhide in the near future, at which point tablets should be basically working out of the box. Except that xsetwacom gets device name -> type mapping by attempting to parse xorg.conf. Pass the suicide.
    http://www.advogato.org/person/mjg59...html?start=198 Apparently the problem was known at least a month before we encountered it. I think this is the same person who maintains the HP-WMI module. Which lookes like it might control the swivel hinge and two lower bezel buttons. But it turns out he has a TX2500. So...
    Last edited by Favux; April 21st, 2009 at 10:31 PM.

  2. #112
    Join Date
    Nov 2006
    Beans
    57

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    Hey Kory and Favux!

    i've been watching this thread for the past week and was so anxious to find a solution for the jaunty-wacom problem.. that's not the first time you've been helping me - without even knowing about it - so THANK YOU SO MUCH FOR YOUR EFFORT!! and don't you ever forget that you're helping hundreds of people with your experiments and tutorials!!

    anyway, i'm using a tx2520ej, and Kory's tutorial from the previous page works like a charm.
    as i understood, there are only two buttons to configure this time - the pen and the eraser. what i DO miss, is the ability to set a "third" button, just like i had when was using Intrepid (for example, the ability to use the pen's side-button as a left-mouse-click, or the ability to set 3 functions for my pen in Xournal - e.g. pen (point), eraser (side-button), select-rectangle (top-button) )

    any thoughts about what i need to do in order to configure a third button?

    and thanks a billion for what you've already done so far!

  3. #113
    Join Date
    Dec 2005
    Location
    in the woods
    Beans
    18
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    Hmmm, I've done the steps outlined by Gali, and now if the wacom is plugged in, X crashes repeatedly until I unplug it.

    I renamed the input-originating part as I should have. I have a graphire 4, cte-640. Could this be the problem?

    I've had it working with pressure and everything in 8.04 so it must be possible, lol!

    They mentioned on the community doc page about a gui tool planned for 9.04 but not getting it due to manpower. Is there a way to place a bounty on this project? It sucks having to boot windows every time I need to touch up a photo.

    Any help will be greatly appreciated. (and if you have a Second Life account, I'll give you all the free sculptures you can ask for (I'm Pumpkin Tripsa))

    Thank you thank you thank you in advance


    edit: Nevermind, lol. I just deleted the fdi stuff and did the old fashioned Xorg method. All's well. I'd still be interested in putting a bounty on a gui tool though.
    Last edited by PumpkinSonnema; April 19th, 2009 at 02:25 PM. Reason: ants in the pants led to a solution

  4. #114
    Join Date
    Dec 2005
    Location
    in the woods
    Beans
    18
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    OR, is there an easy way to undo what I've done here so I can try the Xorg method? I'm sorta clueless when it comes to the script magic you all do.


    Edit: nm, as per above. I can't figure out how to delete this post if possible.
    Last edited by PumpkinSonnema; April 19th, 2009 at 02:26 PM.

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

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    ************************************************** **************************
    NOTICE: If your tablet just starts act up, make sure that your module you compiled has not been replaced by an update. (I messed around for like 10 minutes before I realized what happened.) A good indication of this is if you get error 113 in dmesg about wacom.
    ************************************************** **************************


    Okay first to farmercyst:
    Yes, you will need to remove the information from xorg.conf.
    libhal1-dev needs to be installed (and probably purged for good measure.)
    And yes, only run all that stuff if my default fdi file does not work for you.

    Moving on...
    Chiko, just run wacomcpl and yo should be able to configure the buttons just fine.
    Just make sure in the tool buttons part that Side Switch Mode is set to Side Switch Only.

    PumpkinSonnema - I hate to tell you this, but you did all this work for nothing
    The tutorial is only for USB Tablet PCs...
    All you had to do was install wacom-tools and xserver-xorg-input-wacom and you would have been set. No editing of xorg.conf.
    Then you would just need to install rec's script and you would have been going perfect. No compiling or anything like that. Sorry

    Now finally about Favux and M42:
    First things first, you do have the wacom packages from Jaunty installed right? That's required for you to get more than one device out of an input (The eraser problem)
    Besides that, there are many reasons why it may not work like having different xserver versons (or xorg - whichever it is)
    and probably different versions of HAL.
    Also you do NEED the kernel module from 0.8.3-2 (as far as I know at least) but just the module. DO NOT run sudo make install, or it can mess stuff up.

    On rec's script - it does allow for xsetwacom commands on the fly... The problem is probably Intrepid.
    I think that's it for now.. Hope I didn't miss anything.
    Let me know if I did. Thanks,
    Kory

  6. #116
    Join Date
    Nov 2008
    Beans
    10

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    When I execute the "make" command, it gives me a ******** of errors.

    Making all in src
    make[1]: Entering directory `/home/school/Desktop/linuxwacom-0.8.2-2/src'
    Making all in .
    make[2]: Entering directory `/home/school/Desktop/linuxwacom-0.8.2-2/src'
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/home/school/Desktop/linuxwacom-0.8.2-2/src'
    Making all in wacomxi
    make[2]: Entering directory `/home/school/Desktop/linuxwacom-0.8.2-2/src/wacomxi'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/school/Desktop/linuxwacom-0.8.2-2/src/wacomxi'
    Making all in util
    make[2]: Entering directory `/home/school/Desktop/linuxwacom-0.8.2-2/src/util'
    if /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -pedantic -g -O2 -MT wacomcfg.lo -MD -MP -MF ".deps/wacomcfg.Tpo" -c -o wacomcfg.lo wacomcfg.c; \
    then mv -f ".deps/wacomcfg.Tpo" ".deps/wacomcfg.Plo"; else rm -f ".deps/wacomcfg.Tpo"; exit 1; fi
    gcc -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../../src/include -I../../src/include -Wall -pedantic -g -O2 -MT wacomcfg.lo -MD -MP -MF .deps/wacomcfg.Tpo -c wacomcfg.c -fPIC -DPIC -o .libs/wacomcfg.o
    In file included from wacomcfg.c:35:
    wacomcfg.h:26:22: error: X11/Xlib.h: No such file or directory
    wacomcfg.h:27:35: error: X11/extensions/XInput.h: No such file or directory
    wacomcfg.h:28:36: error: X11/extensions/XIproto.h: No such file or directory
    In file included from wacomcfg.c:35:
    wacomcfg.h:58: error: expected specifier-qualifier-list before 'Display'
    wacomcfg.h:62: warning: struct has no members
    wacomcfg.h:67: error: expected specifier-qualifier-list before 'XDevice'
    wacomcfg.h:75: error: expected ')' before '*' token
    In file included from wacomcfg.c:38:
    ../include/Xwacom.h:23:24: error: X11/keysym.h: No such file or directory
    wacomcfg.c: In function 'CfgError':
    wacomcfg.c:71: error: 'WACOMCONFIG' has no member named 'pfnError'
    wacomcfg.c:72: error: 'WACOMCONFIG' has no member named 'pfnError'
    wacomcfg.c: In function 'CfgGetDevs':
    wacomcfg.c:82: error: 'WACOMCONFIG' has no member named 'pDevs'
    wacomcfg.c:82: warning: implicit declaration of function 'XListInputDevices'
    wacomcfg.c:82: error: 'WACOMCONFIG' has no member named 'pDisp'
    wacomcfg.c:83: error: 'WACOMCONFIG' has no member named 'nDevCnt'
    wacomcfg.c:85: error: 'WACOMCONFIG' has no member named 'pDevs'
    wacomcfg.c: At top level:
    wacomcfg.c:95: error: expected ')' before '*' token
    wacomcfg.c: In function 'WacomConfigListDevices':
    wacomcfg.c:135: error: 'XDeviceInfo' undeclared (first use in this function)
    wacomcfg.c:135: error: (Each undeclared identifier is reported only once
    wacomcfg.c:135: error: for each function it appears in.)
    wacomcfg.c:135: error: 'info' undeclared (first use in this function)
    wacomcfg.c:139: warning: ISO C90 forbids mixed declarations and code
    wacomcfg.c:145: error: 'WACOMCONFIG' has no member named 'pDevs'
    wacomcfg.c:159: error: 'WACOMCONFIG' has no member named 'nDevCnt'
    wacomcfg.c:161: error: 'WACOMCONFIG' has no member named 'pDevs'
    wacomcfg.c:163: error: 'IsXExtensionDevice' undeclared (first use in this function)
    wacomcfg.c:185: error: 'WACOMCONFIG' has no member named 'nDevCnt'
    wacomcfg.c:187: error: 'WACOMCONFIG' has no member named 'pDevs'
    wacomcfg.c: In function 'WacomConfigOpenDevice':
    wacomcfg.c:293: error: 'XDevice' undeclared (first use in this function)
    wacomcfg.c:293: error: 'pDev' undeclared (first use in this function)
    wacomcfg.c:294: error: 'XDeviceInfo' undeclared (first use in this function)
    wacomcfg.c:294: error: 'pDevInfo' undeclared (first use in this function)
    wacomcfg.c:294: error: 'info' undeclared (first use in this function)
    wacomcfg.c:294: warning: left-hand operand of comma expression has no effect
    wacomcfg.c:300: error: 'WACOMCONFIG' has no member named 'pDevs'
    wacomcfg.c:304: error: 'WACOMCONFIG' has no member named 'nDevCnt'
    wacomcfg.c:306: error: 'WACOMCONFIG' has no member named 'pDevs'
    wacomcfg.c:319: warning: implicit declaration of function 'XOpenDevice'
    wacomcfg.c:319: error: 'WACOMCONFIG' has no member named 'pDisp'
    wacomcfg.c:331: error: 'WACOMDEVICE' has no member named 'pDev'
    wacomcfg.c: In function 'WacomConfigCloseDevice':
    wacomcfg.c:340: error: 'WACOMDEVICE' has no member named 'pDev'
    wacomcfg.c:341: warning: implicit declaration of function 'XFree'
    wacomcfg.c:341: error: 'WACOMDEVICE' has no member named 'pDev'
    wacomcfg.c: In function 'WacomConfigSetRawParam':
    wacomcfg.c:350: error: 'XDeviceResolutionControl' undeclared (first use in this function)
    wacomcfg.c:350: error: expected ';' before 'c'
    wacomcfg.c:351: error: 'XDeviceControl' undeclared (first use in this function)
    wacomcfg.c:351: error: 'dc' undeclared (first use in this function)
    wacomcfg.c:351: error: expected expression before ')' token
    wacomcfg.c:351: error: 'c' undeclared (first use in this function)
    wacomcfg.c:357: error: 'DEVICE_RESOLUTION' undeclared (first use in this function)
    wacomcfg.c:363: warning: implicit declaration of function 'XChangeDeviceControl'
    wacomcfg.c:363: error: 'WACOMCONFIG' has no member named 'pDisp'
    wacomcfg.c:363: error: 'WACOMDEVICE' has no member named 'pDev'
    wacomcfg.c:368: error: 'BadValue' undeclared (first use in this function)
    wacomcfg.c:368: error: 'BadRequest' undeclared (first use in this function)
    wacomcfg.c:377: error: 'WACOMCONFIG' has no member named 'pDisp'
    wacomcfg.c:377: error: 'WACOMDEVICE' has no member named 'pDev'
    wacomcfg.c:389: warning: implicit declaration of function 'XSetDeviceMode'
    wacomcfg.c:389: error: 'WACOMCONFIG' has no member named 'pDisp'
    wacomcfg.c:389: error: 'WACOMDEVICE' has no member named 'pDev'
    wacomcfg.c: In function 'WacomConfigGetRawParam':
    wacomcfg.c:397: error: 'XDeviceResolutionControl' undeclared (first use in this function)
    wacomcfg.c:397: error: expected ';' before 'c'
    wacomcfg.c:398: error: 'XDeviceResolutionState' undeclared (first use in this function)
    wacomcfg.c:398: error: 'ds' undeclared (first use in this function)
    wacomcfg.c:399: warning: ISO C90 forbids mixed declarations and code
    wacomcfg.c:405: error: 'c' undeclared (first use in this function)
    wacomcfg.c:405: error: 'DEVICE_RESOLUTION' undeclared (first use in this function)
    wacomcfg.c:411: error: 'WACOMCONFIG' has no member named 'pDisp'
    wacomcfg.c:411: error: 'WACOMDEVICE' has no member named 'pDev'
    wacomcfg.c:412: error: 'XDeviceControl' undeclared (first use in this function)
    wacomcfg.c:412: error: expected expression before ')' token
    wacomcfg.c:414: error: 'BadValue' undeclared (first use in this function)
    wacomcfg.c:414: error: 'BadRequest' undeclared (first use in this function)
    wacomcfg.c:420: error: expected expression before ')' token
    wacomcfg.c:435: error: 'WACOMCONFIG' has no member named 'pDisp'
    wacomcfg.c:436: error: 'WACOMDEVICE' has no member named 'pDev'
    wacomcfg.c:437: error: expected expression before ')' token
    wacomcfg.c:445: error: expected expression before ')' token
    wacomcfg.c:457: error: 'WACOMCONFIG' has no member named 'pDisp'
    wacomcfg.c:457: error: 'WACOMDEVICE' has no member named 'pDev'
    wacomcfg.c:458: error: expected expression before ')' token
    wacomcfg.c:460: warning: implicit declaration of function 'XFreeDeviceControl'
    wacomcfg.c:460: error: expected expression before ')' token
    make[2]: *** [wacomcfg.lo] Error 1
    make[2]: Leaving directory `/home/school/Desktop/linuxwacom-0.8.2-2/src/util'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/school/Desktop/linuxwacom-0.8.2-2/src'
    make: *** [all-recursive] Error 1

    And since I'm much of a newbie, I don't understand anything. Could someone please help me?

  7. #117
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    Hi Pkadjipag,

    Could you tell me which version of Ubuntu you are were attempting to install linuxwacom 0.8.2-2 in? Hardy, Intrepid, Jaunty?

    If you go back into the unpacked source code directory:
    Code:
    cd linuxwacom-0.8.2-2
    and repeat
    Code:
    ./configure --enable-wacom --prefix=/usr
    do you still get the same errors with "make"?

    PS: Could you box your error output? Use # at the top of the post text area. Two code tags will appear. Copy and paste the output between them and it will be boxed. If you don't see # then Go Advanced. Thanks.

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

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    It looks a whole lot like you didn't run
    Code:
    sudo apt-get install build-essential libx11-dev libxi-dev x11proto-input-dev xserver-xorg-dev tk8.4-dev tcl8.4-dev libncurses5-dev
    Kory
    Attached Files Attached Files
    Last edited by gali98; November 29th, 2009 at 01:35 AM.

  9. #119
    Join Date
    Feb 2008
    Beans
    8

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    I upgraded to Jaunty and then tried to get the wacom drivers working on my tx2000 series tablet. I used the same method I had used with 8.10

    tar xjvf linuxwacom-0.8.2.tar.bz2
    cd linuxwacom-0.8.2
    ./configure --enable-wacom --prefix=/usr/local/
    make
    sudo make install
    And had limited success.

    Then I found this discussion. How do I remove what I've done so that I can get this working the right way. As it stands now I have limited touch (the mouse only moves in the upper right 2sq*in) and the pen starts to register a stroke before it touches the screen.

    I tried "sudo make uninstall" from within the folder where I had done the initial install, but I'm not sure if that's all that's called for. Any suggestions?

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

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    The best way to get everything off is to run these two commands:
    Code:
    sudo apt-get install wacom-tools xserver-xorg-input-wacom
    sudo apt-get purge wacom-tools xserver-xorg-input-wacom
    Now cd into the linux-wacom folder. Then cd into the prebuilt folder.
    Run:
    Code:
    sudo ./uninstall
    This will remove pretty much everything except the kernel module, which I wouldn't worry too much about. To ever get anything working in Jaunty, you will have to recompile the module anyways.
    And actually from your description, that is what you will want to do. Compile the module and replace the current one (It doesn't work right for our tablets.)
    Have fun.
    Kory

Page 12 of 142 FirstFirst ... 210111213142262112 ... LastLast

Tags for this Thread

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
  •