Rotate Question

2010-05-31
2013-05-08
  • Nobody/Anonymous

    I installed the packages from Lucid from the PPA, and the tablet now rotates, but the direction of the stylus input does not. Is there a way I can fix that?

    Also (off-topic, but I figure the people here might know), how do you get the built-in bluetooth on a T4010 to work in Lucid?

    Thanks all!

     
  • Robert Gerlach

    Robert Gerlach - 2010-06-07

    The rotate-wacom.sh script doesn't work with different xinput versions. I'm working on this issue.

    Bluetooth: not tested yet, lucid does not work on my machine (continuous freezes with X).

    Regards

     
  • Anonymous - 2010-06-17

    Hi, I'm using ubuntu lucid along with Fujitsu T2020 and encounter the same problem since the output of xinput has changed.
    How about working with "xsetwacom -list?"
    It prints as follows with device names and types at the end of each line:

    #> xsetwacom --list
    #> Serial Wacom Tablet eraser ERASER    
    #> Serial Wacom Tablet STYLUS
    

    Besides, the xsetwacom and rotate param seem not to accept a number as the argument so that I rewrite the rotate-wacom.sh which woks fine so far in the following:

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    #!/bin/sh
    export LANG=C
    find_stylus () {
      tokens="`$xsetwacom --list | grep STYLUS | wc -w`"
      dev="`$xsetwacom --list | grep STYLUS | cut -d " " -f1-$((tokens-1))`"
      echo $dev
    }
    test "$ACTION" = "rotated" || exit 0
    xsetwacom="`which xsetwacom`" || exit 0
    xinput="`which xinput`" || exit 0
    case "$ORIENTATION" in
      n*) rotate=NONE ;;
      r*) rotate=CW ;;
      l*) rotate=CCW ;;
      i*) rotate=HALF ;;
      *)  exit 1 ;;
    esac
    stylus="`find_stylus`"
    if [ "$stylus" ]; then
      $xsetwacom set "$stylus" rotate "$rotate"
      #$xsetwacom set "$stylus" xyDefault
    else
      echo "Wacom Stylus not found." >&2
    fi
    exit 0
    

    BTW, the xyDefault param is not accepted by xsetwacom but the result is still good.

    Regards

     
  • Robert Gerlach

    Robert Gerlach - 2010-06-17

    Thanks,

    but xsetwacom is deprecated and doesn't work on some distributions. That's the reason for the change to xinput.

      Robert

     
  • Nobody/Anonymous

    (This is OP)

    Well, I'm tired of Lucid (VESA crashes and I cannot get xinput to rotate on command and bluetooth just. won't. work.). I'm trying Debian, and then I'll just jump on the gentoo bandwagon if that doesn't work (I really like apt).

    Again, Khnz, I really appreciate the driver!

     
  • Robert Gerlach

    Robert Gerlach - 2010-06-28

    Currently I use Lucid with Xorg, Mesa, libdrm and Xorg-Intel-Driver from Maverick. Not perfect, but works most of the time.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks