Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33

Thread: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

  1. #11
    Join Date
    Dec 2009
    Beans
    13

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    Hi Favux,

    Thanks! The rotation works well after installing linuxwacom-0.8.5-8. Now the stylus is oriented correctly when the screen is rotated using the .sh script you suggested.
    I do have some problem:
    1. now i lost the touch / eraser. Only stylus is detected in 'xinput --list' and 'xsetwacom list'. I tried adding the WACf### in the .fdi file, but it didn't work. I followed the HOWTO only for those stuff related to Karmic, and tried the .fdi file for the serial tablet pc, and the generic one. I must've goofed somewhere along the way.
    2. I was using Gimp, and after rotating the screen mutliple times (i.e. > 360 degrees), the pointer on the screen still follows the stylus, but the Gimp brush is way misaligned. Maybe it's a Gimp issue -- I haven't tested it some more. After I restarted Gimp, the stylus/Gimp brush are aligned again, though (in any orientation).

    Thanks again, and happy holidays!
    M

  2. #12
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    Hi bungjamu,

    Great, rotation works for you too.

    Either the .fdi on this thread or the two .fdi's at the bottom of the linuxwacom thread should work. So my guess is you forgot in step 2):
    Code:
    sudo apt-get install libhal-dev
    and so hal-setup-wacom wasn't built. That means the info.callout in the .fdi's doesn't work so you can't append eraser and touch. Does this look/sound right/possible?

  3. #13
    Join Date
    Dec 2009
    Beans
    13

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    Hmm... still doesn't work. I tried retracing all the steps again including installing libhal-dev, and touch & eraser are still missing...

    Does the ./configure look OK?

    Code:
    $ ./configure --enable-wacom --prefix=/usr
    
    ***snipped***
    ----------------------------------------
      BUILD ENVIRONMENT:
           architecture - x86_64-linux-gnu
           linux kernel - yes 2.6.27
      module versioning - no 
          kernel source - yes /lib/modules/2.6.31-16-generic/build
         XFree86 source - no 
               Xorg SDK - yes /usr/include/xorg
              XSERVER64 - yes
               dlloader - yes
                   XLib - yes /usr/lib
             xf86config - no
                    TCL - yes /usr/include/tcl8.4
                     TK - yes /usr/include/tcl8.4
                ncurses - yes
    
      BUILD OPTIONS:
                wacom.o - yes
                wacdump - yes 
                 xidump - yes 
            libwacomcfg - yes
             libwacomxi - yes
              xsetwacom - yes
                  hid.o - no 
           wacom_drv.so - yes /usr/lib/xorg/modules/input 
            wacom_drv.o - no
      wacom*_drv quirks - hal IsXExtensionPointer key-events dixScreenOrigins
    ----------------------------------------
    In Step 2 in the HOWTO there's a mention to do the following to clear the previous version:

    Code:
    sudo apt-get install wacom-tools xserver-xorg-input-wacom
    
    sudo apt-get purge wacom-tools xserver-xorg-input-wacom
    Does that need to be re-installed too?
    Again, i tried using both the serial_tablet&tablet_PC and the generic .fdi's (this time without changing anything).

    Just in case, this is my 'xinput --list' output:

    Code:
    $ xinput --list
    "Virtual core pointer"    id=0    [XPointer]
        Num_buttons is 32
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 :
            Min_value is -1
            Max_value is -1
            Resolution is 0
        Axis 1 :
            Min_value is -1
            Max_value is -1
            Resolution is 0
    "Virtual core keyboard"    id=1    [XKeyboard]
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "ThinkPad Extra Buttons"    id=2    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "Sleep Button"    id=3    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "Power Button"    id=4    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "UVC Camera (17ef:480c)"    id=5    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "AT Translated Set 2 keyboard"    id=6    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "stylus"    id=7    [XExtensionKeyboard]
        Type is Wacom Stylus
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
        Num_buttons is 32
        Num_axes is 6
        Mode is Absolute
        Motion_buffer is 256
        Axis 0 :
            Min_value is 0
            Max_value is 26312
            Resolution is 2540
        Axis 1 :
            Min_value is 0
            Max_value is 16520
            Resolution is 2540
        Axis 2 :
            Min_value is 0
            Max_value is 255
            Resolution is 1
        Axis 3 :
            Min_value is -64
            Max_value is 63
            Resolution is 1
        Axis 4 :
            Min_value is -64
            Max_value is 63
            Resolution is 1
        Axis 5 :
            Min_value is 0
            Max_value is 1023
            Resolution is 1
    "Video Bus"    id=8    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
    "TPPS/2 IBM TrackPoint"    id=9    [XExtensionPointer]
        Type is MOUSE
        Num_buttons is 5
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 :
            Min_value is -1
            Max_value is -1
            Resolution is 1
        Axis 1 :
            Min_value is -1
            Max_value is -1
            Resolution is 1
    "Macintosh mouse button emulation"    id=10    [XExtensionPointer]
        Type is MOUSE
        Num_buttons is 5
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 :
            Min_value is -1
            Max_value is -1
            Resolution is 1
        Axis 1 :
            Min_value is -1
            Max_value is -1
            Resolution is 1
    And this is my current 10-linuxwacom.fdi:

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    
    <!-- Wacom Serial tablets and tablet pc's -->
    <deviceinfo version="0.2">
      <device>
        <match key="info.capabilities" contains="serial">
          <match key="@info.parent:pnp.id" contains_outof="WACf;FUJ02e5;FUJ02e7">
        <append key="info.capabilities" type="strlist">input</append>
        <merge key="input.x11_driver" type="string">wacom</merge>
        <merge key="input.x11_options.Type" type="string">stylus</merge>
        <merge key="input.x11_options.ForceDevice" type="string">ISDV4</merge>
        <merge key="input.device" type="copy_property">serial.device</merge>
          <append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
          <append key="wacom.types" type="strlist">eraser</append>
          <append key="wacom.types" type="strlist">cursor</append>
        <!-- Serial tablets with touch capabilities -->
            <match key="@info.parent:pnp.id" contains_outof="WACf008;WACf009;WACf010;WACf008A;WACf00B;WACf00C;WACf00D;WACf00E;FUJ02e7">
          <append key="wacom.types" type="strlist">touch</append>
        </match>
            <!-- Serial tablets that operate at higher baud rate -->
            <match key="@info.parent:pnp.id" contains_outof="WACf008">
              <merge key="input.x11_options.BaudRate" type="string">38400</merge>
            </match>
          </match>
        </match>
      </device>
      <!-- Wacom names "parser" -->
      <device>
        <match key="info.udi" contains_not="subdev_0">
        <match key="info.udi" contains_not="subdev_1">
        <match key="info.udi" contains_not="subdev_2">
          <match key="input.x11_options.Type" contains="stylus">
            <merge key="info.product" type="string">stylus</merge>
          </match>
          <match key="input.x11_options.Type" contains="eraser">
            <merge key="info.product" type="string">eraser</merge>
          </match>
          <match key="input.x11_options.Type" contains="cursor">
            <merge key="info.product" type="string">cursor</merge>
          </match>
          <match key="input.x11_options.Type" contains="touch">
            <merge key="info.product" type="string">touch</merge>
          </match>
        </match>
        </match>
        </match>
      </device>
    </deviceinfo>
    M

  4. #14
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    Hi bungjamu,

    Hmmm. The .fdi looks ok so if you see stylus you should see the rest.

    I'm not clear from what you said, did you do?:
    Code:
    sudo apt-get install wacom-tools xserver-xorg-input-wacom
    
    sudo apt-get purge wacom-tools xserver-xorg-input-wacom
    Also check in Synaptic Package Manager and see if xserver-xorg-input-all is installed.

    Depending on your answers I think we may need to look at your lshal:
    Code:
    lshal>bungjamu_lshal.txt
    and Xorg.0.log in /var/log/.

  5. #15
    Join Date
    Dec 2009
    Beans
    13

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    Hi, Favux,

    finally i got it to work. So, you're right, i didn't have xserver-xorg-input-all installed. Sure enough, not all of my wacom inputs were listed. And so i installed that, but it didn't work immediately after rebooting. I had to use the .fdi file you posted in this thread to get touch and eraser registered and working. For some reason, the serial&tablet_pc and generic .fdi files in the HOWTO didn't work well for me.

    And like you said, touch is still a bit quirky: the cursor is in place where the finger touches the screen, and jumps away in the opposite relative position where the finger was last (e.g. if i touch the bottom right of the screen, the cursor will be there. if i lift my finger off the screen from that position, the cursor jumps to the top left of the screen). i find it difficult to click using touch, although dragging windows and scrolling using two fingers seem to work fine. i tried calibrating the touch using:
    Code:
    wacomcpl
    At the end of the calibration, i got this warning message:
    Code:
    There was something unusual in your calibration step.  
    If you are pretty sure that you have clicked on the center of the pink crosshair, you are fine.  
    Otherwise, try it again.
    Also, touch is a bit sensitive. I'm typing this reply in tablet mode, and typed using onboard (the virtual keyboard). when i use finger, the letters will be typed twice.... so i'm tapping along using the stylus here..

    Other than that, everything else seems to work fine. Can't wait to start doodling in Gimp

    Thank you so much, again!
    M

    update: apparently, dragging windows by touch sometimes has the similar 'jumping around' issue with regular click/touch.
    Last edited by bungjamu; December 29th, 2009 at 12:49 AM.

  6. #16
    Join Date
    Dec 2009
    Beans
    13

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    Quote Originally Posted by Favux View Post

    I'm not clear from what you said, did you do?:
    Code:
    sudo apt-get install wacom-tools xserver-xorg-input-wacom
    
    sudo apt-get purge wacom-tools xserver-xorg-input-wacom
    Sorry, forgot to respond to your question. So, yeah, i did both commands in that order. i assumed the second line uninstalled both wacom-tools and xserver-xorg-input-wacom. That's why i asked if i should install them back after installing the linuxwacom driver since the whole thing didn't work before.

    Per your suggestion, i installed xserver-xorg-input-all, which also installed xserver-xorg-input-wacom through Synaptics. So now it's working, save for those quirks i mentioned in my last post.

    M

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

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    Hi bungjamu,

    Good!

    i didn't have xserver-xorg-input-all installed. Sure enough, not all of my wacom inputs were listed. And so i installed that, but it didn't work immediately after rebooting. I had to use the .fdi file you posted in this thread to get touch and eraser registered and working. For some reason, the serial&tablet_pc and generic .fdi files in the HOWTO didn't work well for me.
    Thanks again for looking at this. I confirms I need to update the HOW TO for Karmic. In Karmic there seems to be a new dependency with xserver-xorg-input-all. Apparently what happens is the purge line removes it, which in my opinion it shouldn't.

    Probably what is going on with the .fdi's is the new wacom.ko broke the old kernel module dependencies and the reboots rebuilt it. If you had done:
    Code:
    depmod -a
    to rebuild all of the module dependencies the other .fdi's would have worked, if not right away, sooner. I'd appreciate it if you tested one and see if it now works for you.

    And like you said, touch is still a bit quirky: the cursor is in place where the finger touches the screen, and jumps away in the opposite relative position where the finger was last (e.g. if i touch the bottom right of the screen, the cursor will be there. if i lift my finger off the screen from that position, the cursor jumps to the top left of the screen).
    Same as I am seeing.
    i find it difficult to click using touch
    I'll have to check that for me.
    Also, touch is a bit sensitive. I'm typing this reply in tablet mode, and typed using onboard (the virtual keyboard). when i use finger, the letters will be typed twice.... so i'm tapping along using the stylus here..
    Oops! I forgot to check that with my onscreen keyboard. I use CellWriter which does letter recognition. Try it, I think you'll like it better than OnBoard.

    That's the same warning message I get when trying to calibrate rotated.

    Ping's swamped right now and has backed off on his offer to straighted it out right away. I'm suppose to report the issue on the tracker and they'll get to it when they can. Hopefully not too long. So it's helpful that I have your experience too to use in writing the report. And you've given me a good excuse for procrastinating!

    Edit:
    Per your suggestion, i installed xserver-xorg-input-all, which also installed xserver-xorg-input-wacom through Synaptics. So now it's working, save for those quirks i mentioned in my last post.
    Glad you told me that. See that could be a problem. Will it cause version conflict? How did it manage that without knocking out the 0.8.5-8 that supports your X200t. The Package Manager somehow recognized the newer version? I'm back to not understanding what's going on and am stuck again. Darn.
    Last edited by Favux; December 29th, 2009 at 12:50 AM.

  8. #18
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    I wonder if this would serve in Karmic:
    Code:
    sudo apt-get install wacom-tools xserver-xorg-input-wacom
    
    sudo apt-get purge wacom-tools
    
    sudo apt-get remove xserver-xorg-input-wacom
    Would this clear up any of the problems you are seeing? And not remove xserver-xorg-input-all?

    Edit: Never mind. Remove results in it wanting to uninstall xserver-xorg-input-all also.
    Last edited by Favux; December 29th, 2009 at 06:03 AM.

  9. #19
    Join Date
    Dec 2009
    Beans
    13

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    Hi Favux,

    sorry I haven't been able to respond to your last post in a long time. It's been a very busy month. I'll have to check your suggested solutions sometime soon.

    Thanks so much for your help, again!

    M

  10. #20
    Join Date
    Jan 2010
    Beans
    1

    Re: Karmic: x200 tablet problem switching between tablet mode and back kills stylus

    Hi Favux, bungjamu,

    thanks to your efforts I am able to use the stylus in karmic on x200 tablet.

    However, i noticed that there is high latency when drawing with the stylus in gimp (e.g. a growing offset between the actual point I am poking at with the stylus and the line that is being drawn, this increases with the speed the stylus is moved).
    In order to fix this I also tried different baudrates which didnt change anything (currently iam back at 9600).
    Then i thought there might be a x11_options attribute which controls the latency or similar but couldnt find a fitting switch.

    In the end I installed setserial to set /dev/ttyS0 to low_latency, which works.

    Hence, i have added
    "setserial /dev/ttyS0 low_latency" to /etc/rc.local.
    Only drawback is a increased cpu load when using stylus.

    Regards..

Page 2 of 4 FirstFirst 1234 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
  •