Page 115 of 142 FirstFirst ... 1565105113114115116117125 ... LastLast
Results 1,141 to 1,150 of 1415

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

  1. #1141
    Join Date
    Jul 2007
    Beans
    486
    Distro
    Ubuntu Development Release

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

    I'm sorry i didn't write that very well. According to the readme, you can adjust the sensitivity of the pen by evoking the "option topz string" syntax in your 70-wizardpen.conf file.

    Option "TopZ" "string"
    Specifies the minimum pressure threshold. When the pressure reaches over
    this level, the driver will:
    1. Send a left-click event
    2. Send pressure values greater than one (for graphical applications)

    This is VERY USEFUL if your pen tip gets "stuck" and continues to send
    non-zero values when you are not pressing it. Set this value ABOVE the
    stuck value. Find stuck value (if any) by executing `xinput test Tablet`

    Accepts values between 0 and 1024.

    Option "BottomZ" "string"
    Specifies the maximum pressure value. When the driver receives presure
    value higher than this value, it will a pressure value of 1024 - which
    translates to maximum pressure in graphics applications
    I tried the `xinput test Tablet` command and I got back

    unable to find device Tablet
    Here is the whole readme

    README - CONFIGURATION
    ======================
    Primary author: Felix Leong (seh_hui at yahoo.com)

    This document describes how to configure the Wizardpen driver.

    **TODO** Proofreading and formatting polish

    CONFIGURING THE DRIVER
    ----------------------
    ** RECOMMENDED CONFIGURATION STEPS FOR XORG 7.3 **

    To fully exploit HAL-based hotplugging provided in Xorg 7.3, the following
    steps should be observed:
    1. Connect your Wizardpen tablet
    2. ** IMPORTANT ** Find out the name of your tablet by executing
    `cat /proc/bus/input/devices | grep Name`
    3. Create a new file /etc/hal/fdi/policy/99-x11-wizardpen.fdi
    4. Edit the fdi file and paste the following template:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <deviceinfo version="0.2">
    <device>
    <!-- This MUST match with the name of your tablet obtained -->
    <!-- in Step 2 specified previously -->
    <match key="info.product" contains="NAME OF YOUR TABLET">
    <merge key="input.x11_driver" type="string">wizardpen</merge>
    <merge key="input.x11_options.SendCoreEvents" type="string">true</merge>

    <!-- Modify these configuration accordingly -->
    <!-- See CONFIGURATION OPTIONS section for the full-set of -->
    <!-- configurable options -->
    <merge key="input.x11_options.TopX" type="string">5619</merge>
    <merge key="input.x11_options.TopY" type="string">6554</merge>
    <merge key="input.x11_options.BottomX" type="string">29405</merge>
    <merge key="input.x11_options.BottomY" type="string">29671</merge>
    </match>
    </device>
    </deviceinfo>
    5. Restart your computer

    CONFIGURATION OPTIONS:
    ----------------------
    Note: The following tries to follow the same description convention used in
    Xorg.conf manpage

    Option "TopX" "string"
    Specifies the x-coordinate of the top-left corner of the tablet.
    This value can be obtained using the `wizardpen-calibrate` program
    included with the driver

    Option "TopY" "string"
    Specifies the y-coordinate of the top-left corner of the tablet.
    This value can be obtained using the `wizardpen-calibrate` program
    included with the driver

    Option "BottomX" "string"
    Specifies the x-coordinate of the bottom-right corner of the tablet.
    This value can be obtained using the `wizardpen-calibrate` program
    included with the driver

    Option "BottomY" "string"
    Specifies the y-coordinate of the bottom-right corner of the tablet.
    This value can be obtained using the `wizardpen-calibrate` program
    included with the driver

    Option "TopZ" "string"
    Specifies the minimum pressure threshold. When the pressure reaches over
    this level, the driver will:
    1. Send a left-click event
    2. Send pressure values greater than one (for graphical applications)

    This is VERY USEFUL if your pen tip gets "stuck" and continues to send
    non-zero values when you are not pressing it. Set this value ABOVE the
    stuck value. Find stuck value (if any) by executing `xinput test Tablet`

    Accepts values between 0 and 1024.

    Option "BottomZ" "string"
    Specifies the maximum pressure value. When the driver receives presure
    value higher than this value, it will a pressure value of 1024 - which
    translates to maximum pressure in graphics applications

    Option "Rotate90" "boolean"
    Rotate tablet 90 degrees clockwise. Accepted values are 0 and 1.

    Option "ScreenX" "width"
    Tells the driver the width of the screen. If you want to know what the
    driver thinks your screen dimesions are, execute `xinput list Tablet`.

    Option "ScreenY" "height"
    Tells the driver the height of the screen. If you want to know what the
    driver thinks your screen dimesions are, execute `xinput list Tablet`.

    Option "DebugLevel" "int"
    Generates event info into Xorg log file (Xorg.0.log). The only recognized
    values are 0 (no debug information) and 1 (verbose debug information)
    ** WARNING ** Don't switch the option on unless you need to as the
    debug information is very verbose.

    Option "MouseSpeed" "multiplier"
    (Relative Mode only?) The scaling factor multiplied by the relative mouse
    movement events to calculate absolute x/y movements. Defaults to "30" if
    not specified.

    Option "MouseAccel" "boolean"
    Turns mouse acceleration on or off. Accepted values are 0 and 1.

    Option "TPCButton" "on"|"off"
    Enables the stylus buttons as Tablet PC buttons, i.e., reports stylus
    button event only when its tip is pressed. This makes it easier to
    accurately right and middle click. Disabled by default.
    What it all means and how to code it in I lost.

    BTW Right now the tablet is useful, which is a major step forward and once again I thank you for your time. I feel with a little tweaking it will become quite useful.
    Last edited by Riffer; July 11th, 2010 at 11:24 PM.

  2. #1142
    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, that helps. Now we have several parameters to play with.

    But I need to know exactly what you mean by too sensitive. Try and describe it in more detail for me.

    Try using the ID number instead:
    Code:
    xinput test 10
    Last edited by Favux; July 12th, 2010 at 12:04 AM.

  3. #1143
    Join Date
    Jul 2007
    Beans
    486
    Distro
    Ubuntu Development Release

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

    If you're on the desktop or trying to use drop down menus, you can only do so by the slightest of touches. Now here's the weird part, if you're drawing in Gimp or Mypaint you have to press quite hard to get any nice dark lines. The pen buttons don't seem to work. The bottom button (right click) nothing happens and the top button (double left click) goes mental (use it to open a document or pic cause 3 or more instances).

    Hope that helps

    Your command "xinput test 10" did nothing, the cursor just sat there.

    And again hope that helps

  4. #1144
    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

    Alright let's see what:
    Code:
    Section "InputClass"
       Identifier "wizardpen"
       MatchIsTablet "on"
       MatchProduct "WALTOP"
       MatchDevicePath "/dev/input/event5"
       Driver "wizardpen"
    	Option		"TopX"		"775"
    	Option		"TopY"		"726"
    	Option		"BottomX"	"19237"
    	Option		"BottomY"	"11614"
    	Option 		"TopZ" 		"30"  # minimum pressure, default is 20
    	Option		"BottomZ"	"1023" # maximum pressure
    	Option		"TPCButton"	"on"  # default is "off"
    EndSection
    
    Section "InputClass"
       Identifier "wizardpen ignore mouse dev"
       MatchIsTablet "on"
       MatchProduct "WALTOP"
       MatchDevicePath "/dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-mouse"
       Driver ""
    EndSection
    does. It should help with sensitivity and maybe stylus buttons.

    For xinput test then try:
    Code:
    xinput test "WALTOP International Corp. Slim Tablet"

  5. #1145
    Join Date
    Jul 2007
    Beans
    486
    Distro
    Ubuntu Development Release

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

    xinput didn't work.

    I have a funny feeling that its not so much tweaking but learning how to use the stylus. I noticed on the desktop if I don't touch the pad but keep it off about 3 mm and only touch what I want, it works fine. So I think I'm going to play with it for a day or 2 and see.

    I thank you so much, you've been so helpful I was at my wit's end with this one.

  6. #1146
    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

    OK, and we can tweak it more if we need to. One thing I'd like you to check if you get the chance is if the generic:
    Code:
       MatchDevicePath "/dev/input/event*"
    in the first snippet now works, rather than having to match to event5.

  7. #1147
    Join Date
    Jul 2007
    Beans
    486
    Distro
    Ubuntu Development Release

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

    yep it works. The only thing that doesn't work are the pen buttons. The thing that confuses me is how it moves the mouse cursor around. You actually don't touch the pad except to input a choice. I wonder if that is correct? Hmmm

  8. #1148
    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.

    You should be able to have the pointer move around with the stylus on the tablet. The tpcbutton on should just mean the stylus buttons work with the stylus tip touching the tablet, off means they work with the tip a little off the tablet.

    Edit: Could you also check in the second snippet if:
    Code:
       MatchDevicePath "/dev/input/mouse*"
    works instead of:
    Code:
       MatchDevicePath "/dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-mouse"
    Last edited by Favux; July 12th, 2010 at 04:13 AM.

  9. #1149
    Join Date
    Jul 2007
    Beans
    486
    Distro
    Ubuntu Development Release

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

    Did as you suggested. It works as before so there wasn't any improvement. I commented out the "TPCButton" option, at least now I have functionality. Changing the "topz" option didn't do anything, I may play with the "bottomz" option. Right now it picks up the stylus about 20 mm above the pad. I think I'll open a bug report to the Wizardpen devs maybe they'll have some answers.

    But right now I'm going wow, I have a functioning graphics tablet. Thanks so much Favux.

  10. #1150
    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 Riffer,

    You're welcome.

    Here's what I have for the current version of the Waltop 70-wizardpen.conf:
    Code:
    Section "InputClass"
       Identifier "wizardpen"
       MatchIsTablet "on"
       MatchProduct "WALTOP"
       MatchDevicePath "/dev/input/event*"
       Driver "wizardpen"
    	Option		"TopX"		"775"
    	Option		"TopY"		"726"
    	Option		"BottomX"	"19237"
    	Option		"BottomY"	"11614"
    	Option 		"TopZ" 		"20"  # minimum pressure, default is 20
    	Option		"BottomZ"	"1023" # maximum pressure
    #	Option		"TPCButton"	"on"  # default is "off"
    EndSection
    
    Section "InputClass"
       Identifier "wizardpen ignore mouse dev"
       MatchIsTablet "on"
       MatchProduct "WALTOP"
       MatchDevicePath "/dev/input/mouse*"
       Option "Ignore" "yes"
    EndSection
    I'd appreciate it if you confirmed it for me. A link to your bug report would also be good.


    Edit (10-12-10) - Update the Waltop 70-wizardpen.conf:
    Code:
    Section "InputClass"
        Identifier "WizardPen class"
        MatchIsTablet "on"
        MatchProduct "WALTOP"
        MatchDevicePath "/dev/input/event*"
        Driver "wizardpen"
    EndSection
    
    Section "InputClass"
        Identifier "WizardPen ignore mouse dev class"
        MatchIsTablet "on"
        MatchProduct "WALTOP"
        MatchDevicePath "/dev/input/mouse*"
        Option "Ignore" "yes"
    EndSection
    In Lucid use:
    Code:
    gksudo gedit /usr/lib/X11/xorg.conf.d/70-wizardpen.conf
    In Maverick use:
    Code:
    gksudo gedit /usr/share/X11/xorg.conf.d/70-wizardpen.conf
    Last edited by Favux; October 13th, 2010 at 12:23 AM.

Page 115 of 142 FirstFirst ... 1565105113114115116117125 ... 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
  •