Page 1 of 6 123 ... LastLast
Results 1 to 10 of 53

Thread: Tablet PC eraser and Screen rotation on Jaunty

  1. #1
    Join Date
    Mar 2009
    Location
    Leicester, UK
    Beans
    7
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Tablet PC eraser and Screen rotation on Jaunty

    Hello,
    I have a Fujitsu Siemens T4220 tablet PC, which I had configured as per the guide at https://help.ubuntu.com/community/T4220 under Hardy and Intrepid.

    Upon upgrading to Jaunty, the tablet eraser no longer works in Xournal or the GIMP. It just acts as the normal pen rather than working as a separate tool.

    Also, the screen rotation script from that page no longer rotates the pen input, it just rotates the screen.

    I suspect this is due to the changes the Jaunty update made to xorg.conf;
    all of the previous lines I added have been commented out. However, when I tried removing the commenting, X would not start correctly, hanging on a black screen with a corrupted circle timer cursor in the center.


    How can I get back to the previous tablet functionality I had under Intrepid?

    Thanks
    Joel

  2. #2
    Join Date
    Feb 2009
    Beans
    16

    Re: Tablet PC eraser and Screen rotation on Jaunty

    I have a similar situation. I'm using a Fujitsu t4010 tablet(so slightly different). I installed Jaunty from scratch on a partition I left spare. I tried the stylus working by installing wacom tools, set serial and adding the right lines to xorg.conf. This crashed the computer on restart in the same manner as you described above. Black screen, corrupted circle timer in the center and some weird green fuzzy lines all around.

    I'm currently mucking around with it to see what is causing this.

    here is my xorg.conf from jaunty when it works.

    Code:
    Section "Device"
    	Identifier	"Configured Video Device"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    EndSection
    
    
    Section "Module"
    	Load		"wacom"
    EndSection
    here is my xorg from intrepid which works (90% of the time anyway), but causes jaunty to crash

    Code:
    Section "Device"
    	Identifier	"Configured Video Device"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    EndSection
    
    
    Section "Module"
    	Load		"wacom"
    EndSection
    
    # These lines should go after the detected mouse and touchpad
    Section "InputDevice"
            Driver          "wacom"
            Identifier      "cursor"
            Option          "Device"        "/dev/ttyS0"
            Option          "ForceDevice"   "ISDV4"
            Option          "Type"          "cursor"
            Option          "Mode"          "absolute"
            Option          "Speed"         "3.0"
            Option          "Threshold"     "2"
    #       Option          "DebugLevel"    "10"
    #       Option          "MaxX"          "24576"
    #       Option          "MaxY"          "18432"
    EndSection
    Section "InputDevice"
            Driver          "wacom"
            Identifier      "stylus"
            Option          "Device"        "/dev/ttyS0"
    	Option          "ForceDevice"   "ISDV4"
            Option          "Type"          "stylus"
            Option          "Mode"          "absolute"
    	Option		"button2"	"3"
    #       Option          "Tilt"          "on"
    #       Option          "TiltInvert"    "on"
            Option          "Threshold"     "2"
    #       Option          "DebugLevel"    "10"
    EndSection
    Section "InputDevice"
            Driver          "wacom"
            Identifier      "eraser"
            Option          "Device"        "/dev/ttyS0"
    	Option          "ForceDevice"   "ISDV4"
            Option          "Type"          "eraser"
            Option          "Mode"          "absolute"
    	Option		"Button1"	"2"
    #       Option          "Tilt"          "on"
    #       Option          "TiltInvert"    "on"
            Option          "Threshold"     "2"
    #       Option          "DebugLevel"    "10"
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
    	Screen		"Default Screen"
    	InputDevice	"cursor"		"SendCoreEvents"
    	InputDevice	"stylus"		"SendCoreEvents"
    	InputDevice	"eraser"		"SendCoreEvents"
    EndSection
    I haven't tried screen rotation or buttons yet.

  3. #3
    Join Date
    Jul 2007
    Location
    Upstate NY
    Beans
    17
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Tablet PC eraser and Screen rotation on Jaunty

    Same issue here as original Post. I have a Panasonic Toughbook CF-19. I think its great that Ubuntu start using HAL but my guess is this is a work in progress. As it stands now we have no way of calibrating the Pen or adjusting the buttons. I would recommend a Utility not unlike the Windows Intel Display utility that handles screen rotation, add in a Cal of Stylus, and Stylus Button options. My guess in Screen Rotation is restarting the Mouse when in portait would be a workaround and yes is an additional step. Everything else works.

    SIN

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

    Re: Tablet PC eraser and Screen rotation on Jaunty

    Hi aussiedwarf and everyone,

    We, I mean rec, found the problem out a while ago. See this thread: http://ubuntuforums.org/showthread.php?t=1122952 There are two scripts by rec there. The first shows the problem and the second fixes it. He posted it to Timo Aaltonen's launchpad feedback site here: https://bugs.launchpad.net/ubuntu/+s...ls/+bug/355340 (near the bottom). If you go here: http://ubuntuforums.org/showthread.php?t=1038949 And look at Jaunty users near the top it explains the problem. The link takes you to gali98's HOW TO on post 104 here: http://ubuntuforums.org/showthread.p...038949&page=11 Since it looks like all of you have serial tablets I doubt you need to do the part about compiling the 0.8.3-2 wacom.ko kernel driver. You could probably just implement the script if you want to experiment. It should get xsetwacom working again and thus wacomcpl

    It's possible Timo already patched xorg-xserver to fix things, at least if that's what the changelog here means: https://launchpad.net/~tjaalton/+archive/ppa Of course no telling when and if this update will come through.

    I hope this is helpful.

    Oh to add eraser and button2 3 (eraser in Xournal) to the .fdi do:
    Code:
    	  <merge key="input.x11_driver" type="string">wacom</merge>
    	  <merge key="input.x11_options.Type" type="string">stylus</merge>
              <append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
              <append key="wacom.types" type="strlist">eraser</append>
            <merge key="input.x11_options.Button2" type="string">3</merge>
    Except they are all suppose to be lined up.
    Last edited by Favux; April 25th, 2009 at 04:30 PM.

  5. #5
    Join Date
    Mar 2009
    Location
    Leicester, UK
    Beans
    7
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Tablet PC eraser and Screen rotation on Jaunty

    Quote Originally Posted by Favux View Post
    I hope this is helpful.
    Indeed, thanks. Although that's a hell of a lot of reading to go through.

    I think what it boils down to is:
    use xinput to find the true names of your stylus, then
    xsetwacom set "PnP Device (yourdevicename)" rotate cw

    That works for me, at least. Now I've got to figure out how to script it properly to rotate both together in progressive steps of 90deg, like the old script.

    Quote Originally Posted by Favux View Post
    Oh to add eraser and button2 3 (eraser in Xournal) to the .fdi do:
    Code:
    	  <merge key="input.x11_driver" type="string">wacom</merge>
    	  <merge key="input.x11_options.Type" type="string">stylus</merge>
              <append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
              <append key="wacom.types" type="strlist">eraser</append>
            <merge key="input.x11_options.Button2" type="string">3</merge>
    Except they are all suppose to be lined up.
    So, where do I put this?
    Is it into /usr/share/hal/fdi/policy/20thirdparty/10-wacom.fdi ?
    And if so, where in that file should it go?

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

    Re: Tablet PC eraser and Screen rotation on Jaunty

    Hi joehardflec,

    You are right, sorry about the info dump. I just didn't want to point you to rec's script without some background.

    That's why rec's script is so convienent. You don't have to go around renaming things. Then when they fix things and wacom stops working all you should need to do is remove rec's script.

    Since you have a Fujitsu Siemens T4220 tablet PC, I'm assuming it is a serial Wacom tablet pc, correct? If you don't want to put in a custom .fdi then it would go in this part of Timo's 10-wacom.fdi:
    Code:
        <match key="info.capabilities" contains="serial">
          <match key="@info.parent:pnp.id" contains_outof="WACf001;WACf002;WACf003;WACf004;WACf005;WACf006;WACf007;WACf008;WACf009;WACf00a;WACf00b;WACf00c;FUJ02e5">
            <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>
            <match key="@info.parent:pnp.id" contains_outof="WACf008;WACf009">
              <!-- Serial tablets with touch capabilities -->
              <append key="wacom.types" type="strlist">touch</append>
            </match>
          </match>
        </match>
    Just remember to change to the appropriate names.

  7. #7
    Join Date
    Nov 2004
    Beans
    90

    Re: Tablet PC eraser and Screen rotation on Jaunty

    heya,

    I'm using a Fujitsu T4215 (similar model) on the release version of Kubuntu 9.04.

    The stylus didn't work at first - I could have sworn it did work for a little bit, just randomly before, until my system seemed to lock-up (Kubuntu seems strangely buggy on me, no idea why...although it always has seemed a bit funny...*sigh*).

    Should the stylus at least work right out of the box, or is there something I can check? (I was using the 9.04 alpha before, followed those steps in post 104, seemed to work for a while, then broke...).

    My xorg.conf is empty, except for a section enabling UXA (yeah, buggy, I know).

    Checking my Xorg.0.log, I have:

    Code:
    (II) intel(0): Setting screen physical size to 270 x 203
    (II) config/hal: Adding input device PnP Device (FUJ02e5)
    (II) LoadModule: "wacom"
    (II) Loading /usr/lib/xorg/modules/input//wacom_drv.so
    (II) Module wacom: vendor="X.Org Foundation"
            compiled for 1.6.0, module version = 1.0.0
            Module class: X.Org XInput Driver
            ABI class: X.Org XInput driver, version 4.0
    (II) Wacom driver level: 47-0.8.2-1 $
    (**) PnP Device (FUJ02e5): always reports core events
    (**) PnP Device (FUJ02e5) device is /dev/ttyS0
    (**) PnP Device (FUJ02e5) (PnP Device (FUJ02e5)) is not a pad
    (**) PnP Device (FUJ02e5) is in absolute mode
    (**) PnP Device (FUJ02e5): forcing TabletPC ISD V4 protocol
    (**) WACOM: suppress value is 2
    (**) /dev/ttyS0: Tablet PC buttons are on
    (**) Option "BaudRate" "9600"
    (**) PnP Device (FUJ02e5): serial speed 9600
    (II) XINPUT: Adding extended input device "PnP Device (FUJ02e5)" (type: Wacom Stylus)
    (**) Option "Device" "/dev/ttyS0"
    (**) Option "StopBits" "1"
    (**) Option "DataBits" "8"
    (**) Option "Parity" "None"
    (**) Option "Vmin" "1"
    (**) Option "Vtime" "10"
    (**) Option "FlowControl" "Xoff"
    usbDetect: can not ioctl version
    Wacom ISDV4 control data (0) error in * query
    (II) UnloadModule: "wacom"
    (EE) config/hal: NewInputDeviceRequest failed (1)
    (II) config/hal: Adding input device PnP Device (FUJ02e5) eraser
    (**) PnP Device (FUJ02e5) eraser: always reports core events
    (**) PnP Device (FUJ02e5) eraser device is /dev/ttyS0
    (**) PnP Device (FUJ02e5) eraser (PnP Device (FUJ02e5) eraser) is not a pad
    (**) PnP Device (FUJ02e5) eraser is in absolute mode
    (**) PnP Device (FUJ02e5) eraser: forcing TabletPC ISD V4 protocol
    (**) WACOM: suppress value is 2
    (**) /dev/ttyS0: Tablet PC buttons are on
    (**) Option "BaudRate" "9600"
    (**) PnP Device (FUJ02e5) eraser: serial speed 9600
    (II) XINPUT: Adding extended input device "PnP Device (FUJ02e5) eraser" (type: Wacom Eraser)
    (**) Option "Device" "/dev/ttyS0"
    (**) Option "StopBits" "1"
    (**) Option "DataBits" "8"
    (**) Option "Parity" "None"
    (**) Option "Vmin" "1"
    (**) Option "Vtime" "10"
    (**) Option "FlowControl" "Xoff"
    usbDetect: can not ioctl version
    Wacom ISDV4 control data (0) error in * query
    (II) UnloadModule: "wacom"
    (EE) config/hal: NewInputDeviceRequest failed (1)
    (II) config/hal: Adding input device Fujitsu FUJ02B1
    (II) LoadModule: "evdev"
    (II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
    (II) Module evdev: vendor="X.Org Foundation"
            compiled for 1.6.0, module version = 2.1.1
            Module class: X.Org XInput Driver
            ABI class: X.Org XInput driver, version 4.0
    (**) Fujitsu FUJ02B1: always reports core events
    (**) Fujitsu FUJ02B1: Device: "/dev/input/event6"
    (II) Fujitsu FUJ02B1: Found keys
    (II) Fujitsu FUJ02B1: Configuring as keyboard
    (II) XINPUT: Adding extended input device "Fujitsu FUJ02B1" (type: KEYBOARD)
    (**) Option "xkb_rules" "evdev"
    (**) Fujitsu FUJ02B1: xkb_rules: "evdev"
    (**) Option "xkb_model" "pc105"
    (**) Fujitsu FUJ02B1: xkb_model: "pc105"
    (**) Option "xkb_layout" "us"
    (**) Fujitsu FUJ02B1: xkb_layout: "us"
    (II) config/hal: Adding input device AT Translated Set 2 keyboard
    (**) AT Translated Set 2 keyboard: always reports core events
    (**) AT Translated Set 2 keyboard: Device: "/dev/input/event4"
    (II) AT Translated Set 2 keyboard: Found keys
    (II) AT Translated Set 2 keyboard: Configuring as keyboard
    Does that seem like it should work?

    Cheers,
    Victor

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

    Re: Tablet PC eraser and Screen rotation on Jaunty

    Hi victorhooi,

    Do you know if the Fujitsu T4215 and similar models use a Wacom digitizer? I know some need the f-pit driver. In the subsection of the 10-wacom.fdi is this line:
    Code:
     <match key="@info.parent:pnp.id" contains_outof="WACf001;WACf002;WACf003;WACf004;WACf005;WACf006;WACf007;WACf008;WACf009;WACf00a;WACf00b;WACf00c;FUJ02e5">
    It ends with "FUJ02e5" which is apparently how HAL identifies your tablet. It is failing twice with:
    Code:
    usbDetect: can not ioctl version
    Wacom ISDV4 control data (0) error in * query
    (II) UnloadModule: "wacom"
    (EE) config/hal: NewInputDeviceRequest failed (1)
    So the Wacom module fails and then evdev apparently goes on to grab your keyboard as Fujitsu FUJ02B1.

    So it may be a problem with linuxwacom or maybe with the .fdi. Maybe if we simplify the .fdi? What does your tablet have? No touch? A stylus. Does it have an eraser? Does it have buttons? How many?

  9. #9
    Join Date
    Nov 2004
    Beans
    90

    Re: Tablet PC eraser and Screen rotation on Jaunty

    heya,

    Favux: Thanks for the awesomely quick reply.

    Yeah, I'm pretty sure it's a Wacom digitiser.

    The tablet is a Fujitsu T4215, it doesn't have touch, only an active digitiser, it has an eraser button on the back, and two button near the front (used as right-click and an eraser under Windows).

    Any commands you want me to paste the output from?

    Cheers,
    Victor

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

    Re: Tablet PC eraser and Screen rotation on Jaunty

    Hi victorhooi,

    Why don't we start off with going into Synaptics and telling it to reinstall the 0.8.2-2 linuxwacom. The xserver-xorg-input-wacom and wacom tools. See if that does anything.

Page 1 of 6 123 ... 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
  •