Menu

Suse 11.3 Intuos 4 8x13 - X11 Problem

mikepm
2011-01-22
2013-04-05
  • mikepm

    mikepm - 2011-01-22

    Hi favux,

    Spoke too soon! Problem is still there, but I can be a bit more specific
    about it now. Apologies for the long post, but I'm trying to give you
    any info that may be of help.

    I have access to the full range of the tablet when I initially install the
    drivers WITHOUT XORG.CONF ENTRIES - though  . As soon as I add the xorg.conf entries
    for stylus, eraser and pad, and restart the Xserver I no longer have access
    to the full width of tablet in X direction.

    I am using a Wacom Intuos4 8x13 (large) usb tablet

    On OpenSuse 11.3 my version of Xserver is X.Org X Server 1.8.0

    The video controller I'm using is the Nvidia proprietary driver
    01:00.0 VGA compatible controller: nVidia Corporation Device 0dc4 (rev a1)

    I've checked the NVidia gui and TWinview is definitely off, also confirmed
    in the Xorg.0.log file

    I install

    linuxwacom-0.8.8-10
    xf86-input-wacom-0.10.10+ using Git

    At this stage I have no entries in Xorg.conf for the tablet, and can access the whole tablet in the x and y directions.

    Running more /proc/bus/input/devices I get (for the tablet)

    I: Bus=0003 Vendor=056a Product=00ba Version=0104
    N: Name="Wacom Intuos4 8x13"
    P: Phys=
    S: Sysfs=/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/input/input7
    U: Uniq=
    H: Handlers=mouse1 event6
    B: EV=1f
    B: KEY=1cff 0 1f01ff 0 0 0 0 0 0 0 0
    B: REL=100
    B: ABS=100 f000167
    B: MSC=1

    My root/dev/input folder contains shortcuts for
      tablet-intuos4-8x13
      wacom

    Should I be using the tablet-intuos4-8x13 entry in some way?

    Looking at the Xorg.0.log I get the following for the tablet

    (II) config/udev: Adding input device Wacom Intuos4 8x13 (/dev/input/event6)
    (**) Wacom Intuos4 8x13: Applying InputClass "evdev tablet catchall"
    (**) Wacom Intuos4 8x13: always reports core events
    (**) Wacom Intuos4 8x13: Device: "/dev/input/event6"
    (II) Wacom Intuos4 8x13: Found 13 mouse buttons
    (II) Wacom Intuos4 8x13: Found scroll wheel(s)
    (II) Wacom Intuos4 8x13: Found relative axes
    (II) Wacom Intuos4 8x13: Found absolute axes
    (II) Wacom Intuos4 8x13: Found x and y absolute axes
    (II) Wacom Intuos4 8x13: Found absolute tablet.
    (II) Wacom Intuos4 8x13: Configuring as tablet
    (**) Wacom Intuos4 8x13: YAxisMapping: buttons 4 and 5
    (**) Wacom Intuos4 8x13: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "Wacom Intuos4 8x13" (type: TABLET)
    (WW) Wacom Intuos4 8x13: touchpads, tablets and touchscreens ignore relative axes.
    (II) Wacom Intuos4 8x13: initialized for absolute axes.
    (II) config/udev: Adding input device Wacom Intuos4 8x13 (/dev/input/mouse1)
    (EE) No input driver/identifier specified (ignoring)

    So at this stage things seem to be ok, except I cannot configure the tablet
    manually to do eg Rotate Half on the pad. Is there a way to configure it without the need to
    add entries to Xorg.conf, or is it essential to make those entries?

    I now add the stylus, eraser and pad entries to Xorg.conf, so it now reads

    Section "ServerLayout"
        Identifier     "Layout0"
        Screen         "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "stylus"    "SendCoreEvents"
        InputDevice    "eraser"    "SendCoreEvents"
        InputDevice    "pad"  
        Option         "Xinerama" "0"
    EndSection

    Section "Files"
    EndSection

    Section "InputDevice"

        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection

    Section "InputDevice"

        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection

    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "HP x22LED"
        HorizSync       24.0 - 83.0
        VertRefresh     50.0 - 75.0
        Option         "DPMS"
    EndSection

    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTS 450"
    EndSection

    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "metamodes" "1280x720 +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection

    Section "InputDevice"
      Driver        "wacom"
      Identifier    "stylus"
      Option        "Device"        "/dev/input/wacom"    # USB ONLY
      Option        "Type"          "stylus"
      Option        "USB"           "on"                  # USB ONLY
    EndSection

    Section "InputDevice"
      Driver        "wacom"
      Identifier    "eraser"
      Option        "Device"        "/dev/input/wacom"    # USB ONLY
      Option        "Type"          "eraser"
      Option        "USB"           "on"                  # USB ONLY
    EndSection

    Section "InputDevice"
      Driver        "wacom"
      Identifier    "pad"
      Option        "Device"        "/dev/input/wacom"    # USB ONLY
      Option        "Type"          "pad"
      Option        "USB"           "on"                  # USB ONLY
    EndSection

    When I restart and look at the Xorg.0.log I get

    3135.587] (II) LoadModule: "wacom"
    (II) Loading /usr/lib/xorg/modules/input/wacom_drv.so
    (II) Module wacom: vendor="X.Org Foundation"
    compiled for 1.8.0, module version = 0.10.10
    Module class: X.Org XInput Driver

    and a bit further down.

    (**) Option "SendCoreEvents"
    (**) stylus: always reports core events
    (**) Option "Device" "/dev/input/wacom"
    (-) stylus: using pressure threshold of 27 for button 1
    (-) stylus: Wacom USB Intuos4 tablet maxX=65024 maxY=40640 maxZ=2047 resX=200000 resY=200000  tilt=enabled
    (II) XINPUT: Adding extended input device "stylus" (type: STYLUS)
    (-) stylus: top X=0 top Y=0 bottom X=65024 bottom Y=40640 resol X=200000 resol Y=200000
    (**) Option "SendCoreEvents"
    (**) eraser: always reports core events
    (**) Option "Device" "/dev/input/wacom"
    (-) eraser: Wacom USB Intuos4 tablet maxX=65024 maxY=40640 maxZ=2047 resX=200000 resY=200000  tilt=enabled
    (II) XINPUT: Adding extended input device "eraser" (type: ERASER)
    (-) eraser: top X=0 top Y=0 bottom X=65024 bottom Y=40640 resol X=200000 resol Y=200000
    (**) pad: always reports core events
    (**) Option "Device" "/dev/input/wacom"
    (-) pad: Wacom USB Intuos4 tablet maxX=65024 maxY=40640 maxZ=2047 resX=200000 resY=200000  tilt=enabled
    (II) XINPUT: Adding extended input device "pad" (type: PAD)

    and a bit further
    (II) config/udev: Adding input device Wacom Intuos4 8x13 (/dev/input/event6)
    (**) Wacom Intuos4 8x13: Applying InputClass "evdev tablet catchall"
    (**) Wacom Intuos4 8x13: always reports core events
    (**) Wacom Intuos4 8x13: Device: "/dev/input/event6"
    (II) Wacom Intuos4 8x13: Found 13 mouse buttons
    (II) Wacom Intuos4 8x13: Found scroll wheel(s)
    (II) Wacom Intuos4 8x13: Found relative axes
    (II) Wacom Intuos4 8x13: Found absolute axes
    (II) Wacom Intuos4 8x13: Found x and y absolute axes
    (II) Wacom Intuos4 8x13: Found absolute tablet.
    (II) Wacom Intuos4 8x13: Configuring as tablet
    (**) Wacom Intuos4 8x13: YAxisMapping: buttons 4 and 5
    (**) Wacom Intuos4 8x13: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    (II) XINPUT: Adding extended input device "Wacom Intuos4 8x13" (type: TABLET)
    (WW) Wacom Intuos4 8x13: touchpads, tablets and touchscreens ignore relative axes.
    (II) Wacom Intuos4 8x13: initialized for absolute axes.
    (II) config/udev: Adding input device Wacom Intuos4 8x13 (/dev/input/mouse1)
    (EE) No input driver/identifier specified (ignoring)

    At this point I no longer have access to the full width of tablet in X direction.
    Apart from that it seems to work. I can use it in Gimp and the full pressure
    sensitivity is there.

    Running xsetwacom the following values are set
    "TopX" "0" "TopY" "0" "BottomX" "65024" "BottomY" "40640"

    I notice RandR is also loaded, but I've never done anything with it settings.

    ONE CURIOUS THING. When I run "rmmod wacom" I get the message
      Tablet Wacom PenPartner removed

    I would have expected the message to refer to the intuos 4. Is it somehow not
    recognizing the tablet properly through the wacom driver in X11?

    The xorg.conf.d folder has a file 20-wacom.conf with the following:
    Section "InputClass"
    Identifier "Wacom Tablet"
    MatchVendor "Wacom|WALTOP|WACOM"
    Driver "wacom"
    EndSection

    Section "InputClass"
    Identifier "Wacom Tablet 2"
    MatchProduct "WACf|FUJ02e5|FUJ02e7"
    Driver "wacom"
    Option "ForceDevice" "ISDV4"
    EndSection

    Section "InputClass"
    # N-Trig Duosense Electromagnetic Digitizer
    Identifier "N-Trig Tablet"
    MatchProduct "HID 1b96:0001"
    Driver "wacom"
    EndSection

    Section "InputClass"
        Identifier "Wacom serial class"
        MatchProduct "Serial Wacom Tablet"
        Driver "wacom"
        Option "ForceDevice" "ISDV4"
    EndSection

    Does that look right to you?

    Any help you can offer would be much appreciated.

    Thanks

    Mike 

     
  • Favux

    Favux - 2011-01-23

    Hi mike,

    First we have to address why your Xorg.0.log says that your Intuos4 is not on the Wacom drivers.  That's what:

    (**) Wacom Intuos4 8x13: Applying InputClass "evdev tablet catchall"

    is telling you.  It should be followed by another line looking something like:

    (**) Wacom Intuos4 8x13: Applying InputClass "Wacom Tablet"

    Since you have Xserver 1.8 you do not need to use xorg.conf.  While you can do so you will not be able to hot plug your tablet using it.  The configuration file you are "suppose" to use is the 20-wacom.conf in xorg.conf.d presumably at /usr/share/X11/xorg.conf.d.  You should use one or the other, not both.  The following is the usb snippet:

    Section "InputClass"
        Identifier "Wacom Tablet"
        MatchVendor "Wacom|WALTOP|WACOM"
        Driver "wacom"
    EndSection
    

    for your tablet.  You can add Options for your tablet below the Driver line or use xsetwacom commands in a script.

    Since you are using the latest linuxwacom 0.8.8-10 wacom.ko and the xf86-input-wacom X driver 0.10.10+ I'm not sure what's wrong.  So let's first start by commenting out or removing the Wacom entries in xorg.conf.  And after a reboot check the Xorg.0.log and let's look at the output of:

    dmesg | grep [Ww]acom
    &
    lsmod | grep wacom
    
     
  • mikepm

    mikepm - 2011-01-24

    Hi favux,

    Thanks for your reply.

    I've deleted the wacom lines from the xorg.conf file.

    I've checked the 20-wacom.conf file and it contains the lines you quoted. The file is in the /etc/x11/xorg.conf.d folder.
    I don't have a /usr/share/x11/xorg.conf.d folder.

    Rebooting I get

    [    19.573] (II) config/udev: Adding input device Wacom Intuos4 8x13 (/dev/input/event6)
    [    19.573] (**) Wacom Intuos4 8x13: Applying InputClass "evdev tablet catchall"
    [    19.573] (**) Wacom Intuos4 8x13: always reports core events
    [    19.573] (**) Wacom Intuos4 8x13: Device: "/dev/input/event6"
    [    19.577] (II) Wacom Intuos4 8x13: Found 13 mouse buttons
    [    19.577] (II) Wacom Intuos4 8x13: Found scroll wheel(s)
    [    19.577] (II) Wacom Intuos4 8x13: Found relative axes
    [    19.577] (II) Wacom Intuos4 8x13: Found absolute axes
    [    19.577] (II) Wacom Intuos4 8x13: Found x and y absolute axes
    [    19.577] (II) Wacom Intuos4 8x13: Found absolute tablet.
    [    19.577] (II) Wacom Intuos4 8x13: Configuring as tablet
    [    19.577] (**) Wacom Intuos4 8x13: YAxisMapping: buttons 4 and 5
    [    19.577] (**) Wacom Intuos4 8x13: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [    19.577] (II) XINPUT: Adding extended input device "Wacom Intuos4 8x13" (type: TABLET)
    [    19.577] (WW) Wacom Intuos4 8x13: touchpads, tablets and touchscreens ignore relative axes.
    [    19.577] (II) Wacom Intuos4 8x13: initialized for absolute axes.
    [    19.577] (II) config/udev: Adding input device Wacom Intuos4 8x13 (/dev/input/mouse1)
    [    19.577] (EE) No input driver/identifier specified (ignoring)
    

    When I run the two commands you gave me (dmesg | grep acom & lsmod | grep wacom) I get the following

    mm-1878c79a718e:/home/mike # dmesg | grep [Ww]acom
    [    5.251213] input: Wacom Intuos4 8x13 as /devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/input/input6
    [    5.264170] wacom: v1.52-pc-0.3:USB Wacom tablet driver
    mm-1878c79a718e:/home/mike # lsmod | grep wacom
    wacom                  31229  0 
    mm-1878c79a718e:/home/mike #
    

    I have a file in /etc/udev/rules.d called 60-wacom.rules
    It contains the following

    # udev rules for wacom tablets.
    # These rules were compiled for the Debian GNU/Linux distribution,
    # but others may, and indeed are encouraged to, use them also.
    #
    # Should you do so, PLEASE CO-ORDINATE ANY CHANGES OR ADDITIONS
    # of new devices with Ron  so that we can try
    # to present users with a standard set of device nodes
    # which they can rely on across the board.
    KERNEL!="event[0-9]*", GOTO="wacom_end"
    # Port specific link for users of multiple tablets of the same type.
    # The ID_PATH variable is set by the "path_id" script in an earlier rule file.
    ATTRS{idVendor}=="056a", ENV{ID_PATH}=="?*", SYMLINK="input/by-path/$env{ID_PATH}-wacom"
    # Multiple interface support for stylus and touch devices.
    DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="00", ENV{WACOM_TYPE}="stylus"
    DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="01", ENV{WACOM_TYPE}="touch"
    # Type-named links for multiple tablets.  If you want to use multiple
    # tablets of the _same_ type, you will probably need to use the links
    # from /dev/input/by-path to identify which is plugged into what usb
    # port.  For different tablet types though, just pick your links from
    # the list below.
    #
    # We override SYMLINK for tabletpc devices because the by-path link
    # is not required with such devices, there will only ever be one.
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0000", SYMLINK+="input/tablet-penpartner"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0003", SYMLINK+="input/tablet-cintiq_partner"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0010", SYMLINK+="input/tablet-graphire"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0011", SYMLINK+="input/tablet-graphire2-4x5"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0012", SYMLINK+="input/tablet-graphire2-5x7"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0013", SYMLINK+="input/tablet-graphire3"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0014", SYMLINK+="input/tablet-graphire3-6x8"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0015", SYMLINK+="input/tablet-graphire4-4x5"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0016", SYMLINK+="input/tablet-graphire4-6x8"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0017", SYMLINK+="input/tablet-bamboofun-4x5"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0018", SYMLINK+="input/tablet-bamboofun-6x8"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0019", SYMLINK+="input/tablet-bamboo1-medium"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0020", SYMLINK+="input/tablet-intuos-4x5"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0021", SYMLINK+="input/tablet-intuos-6x8"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0022", SYMLINK+="input/tablet-intuos-9x12"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0023", SYMLINK+="input/tablet-intuos-12x12"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0024", SYMLINK+="input/tablet-intuos-12x18"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0030", SYMLINK+="input/tablet-pl400"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0031", SYMLINK+="input/tablet-pl500"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0032", SYMLINK+="input/tablet-pl600"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0033", SYMLINK+="input/tablet-pl600sx"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0034", SYMLINK+="input/tablet-pl550"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0035", SYMLINK+="input/tablet-pl800"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0037", SYMLINK+="input/tablet-pl700"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0038", SYMLINK+="input/tablet-pl510"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0039", SYMLINK+="input/tablet-dtu710"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="003f", SYMLINK+="input/tablet-cintiq21ux"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0041", SYMLINK+="input/tablet-intuos2-4x5"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0042", SYMLINK+="input/tablet-intuos2-6x8"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0043", SYMLINK+="input/tablet-intuos2-9x12"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0044", SYMLINK+="input/tablet-intuos2-12x12"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0045", SYMLINK+="input/tablet-intuos2-12x18"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0047", SYMLINK+="input/tablet-intuos2-6x8a"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0060", SYMLINK+="input/tablet-volito"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0061", SYMLINK+="input/tablet-penstation2"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0062", SYMLINK+="input/tablet-volito2-4x5"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0063", SYMLINK+="input/tablet-volito2-2x3"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0064", SYMLINK+="input/tablet-penpartner2"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0065", SYMLINK+="input/tablet-bamboo"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0069", SYMLINK+="input/tablet-bamboo1"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0081", SYMLINK+="input/tablet-graphire_bt-6x8"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0090", SYMLINK="input/tablet-tpc90"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0093", SYMLINK="input/tablet-tpc93-$env{WACOM_TYPE}"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="009a", SYMLINK="input/tablet-tpc9a-$env{WACOM_TYPE}"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b0", SYMLINK+="input/tablet-intuos3-4x5"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b1", SYMLINK+="input/tablet-intuos3-6x8"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b2", SYMLINK+="input/tablet-intuos3-9x12"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b3", SYMLINK+="input/tablet-intuos3-12x12"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b4", SYMLINK+="input/tablet-intuos3-12x19"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b5", SYMLINK+="input/tablet-intuos3-6x11"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b7", SYMLINK+="input/tablet-intuos3-4x6"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b8", SYMLINK+="input/tablet-intuos4-4x6"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b9", SYMLINK+="input/tablet-intuos4-6x9"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00ba", SYMLINK+="input/tablet-intuos4-8x13"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00bb", SYMLINK+="input/tablet-intuos4-12x19"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c0", SYMLINK+="input/tablet-dtf521"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c4", SYMLINK+="input/tablet-dtf720"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c5", SYMLINK+="input/tablet-cintiq20wsx"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c6", SYMLINK+="input/tablet-cintiq12wx"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c7", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/tablet-dtu1931"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00d0", SYMLINK="input/tablet-bamboo2fg-$env{WACOM_TYPE}"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00d1", SYMLINK="input/tablet-bamboo2fg-4x5-$env{WACOM_TYPE}"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00d2", SYMLINK="input/tablet-bamboo-craft-$env{WACOM_TYPE}"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00d3", SYMLINK="input/tablet-bamboo2fg-6x8-$env{WACOM_TYPE}"
    ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00d4", SYMLINK="input/tablet-bamboo-4x5-$env{WACOM_TYPE}"
    
    # Convenience links for the common case of a single tablet.  We could do just this:
    #ATTRS{idVendor}=="056a", SYMLINK+="input/wacom-$env{WACOM_TYPE}"
    # but for legacy reasons, we keep the input/wacom link as the generic stylus device.
    ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/wacom"
    ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}=="touch", SYMLINK+="input/wacom-touch"
    # Check and repossess the device if a module other than the wacom one
    # is already bound to it.
    ATTRS{idVendor}=="056a", ACTION=="add", RUN+="check_driver wacom $devpath $env{ID_BUS}"
    LABEL="wacom_end"
    

    Does this throw any light on things?

    Mike

     
  • Favux

    Favux - 2011-01-25

    Still not getting the tablet on the Wacom drivers apparently.  I'm assuming the stylus, etc. don't work right.  Since you have a wacom.conf with the correct match lines the problem would then seem to be either with your wacom.ko or your install of the X driver (wacom_wac.so) from xf86-input-wacom.

    The 60-wacom.rules you show has your tablet in it, the 00ba, so I'd think the wacom.ko does too.  I'm not sure when your model was added however.  You could check the properties of the wacom.ko in your kernels modules directory and make sure it has the same date you compiled it and that there isn't a duplicate wacom.ko around.  The wacom.rules only matters if you are using the symlink in the xorg.conf.

    But the likely problem is with xf86-input-wacom.  Any problems when compiling it and installing?  Errors?  Do you have a 64-bit install of openSUSE?

     
  • mikepm

    mikepm - 2011-01-26

    Hi favux,

    Thanks for your reply. Again apologies for the long post, but maybe you will spot something I am missing.

    I'm using the 32 bit version of Open Suse 11.3

    I don't have a wacom_wac.so file anywhere on my system (should I?) but I do have

    wacom.fdi     in /usr/share/hal/fdi/policy/20thirdparty
    wacom fdi     in /usr/local/share/hal/fdi/policy/20thirdparty 
    wacom.ko      in /lib/modules/2.6.34.7-07-desktop/kernel/drivers/input/tablet
    hid-wacom.ko  in /lib/modules/2.6.34.7-07-desktop/kernel/drivers/hid
    wacom_drv.la  in /usr/lib/xorg/modules/input
    wacom_drv.so  in /usr/lib/xorg/modules/input
    

    I've gone back to the start and reinstalled the files again.

    Installing the xf86-input-wacom using the git version both wacom_drv.la and wacom_drv.so
    are installed with the right timestamp. The output from the run is

    Initialized empty Git repository in /usr/src/xf86-input-wacom/.git/
    remote: Counting objects: 9140, done.
    remote: Compressing objects: 100% (3764/3764), done.
    remote: Total 9140 (delta 7159), reused 6750 (delta 5363)
    Receiving objects: 100% (9140/9140), 2.44 MiB | 147 KiB/s, done.
    Resolving deltas: 100% (7159/7159), done.
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal 
    autoreconf: configure.ac: tracing
    autoreconf: running: libtoolize --copy
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    autoreconf: running: /usr/bin/autoconf
    autoreconf: running: /usr/bin/autoheader
    autoreconf: running: automake --add-missing --copy --no-force
    configure.ac:40: installing `./config.guess'
    configure.ac:40: installing `./config.sub'
    configure.ac:34: installing `./install-sh'
    configure.ac:34: installing `./missing'
    src/Makefile.am: installing `./depcomp'
    autoreconf: Leaving directory `.'
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking build system type... i686-suse-linux-gnu
    checking host system type... i686-suse-linux-gnu
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
    checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for gcc option to accept ISO C99... -std=gnu99
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for rint in -lm... yes
    checking for XORG... yes
    checking for X11... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating conf/Makefile
    config.status: creating src/Makefile
    config.status: creating man/Makefile
    config.status: creating include/Makefile
    config.status: creating tools/Makefile
    config.status: creating xorg-wacom.pc
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    make  all-recursive
    make[1]: Entering directory `/usr/src/xf86-input-wacom'
    Making all in conf
    make[2]: Entering directory `/usr/src/xf86-input-wacom/conf'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/conf'
    Making all in src
    make[2]: Entering directory `/usr/src/xf86-input-wacom/src'
      CC     xf86Wacom.lo
      CC     wcmCommon.lo
      CC     wcmConfig.lo
      CC     wcmISDV4.lo
    wcmISDV4.c: In function isdv4ProbeKeys:
    wcmISDV4.c:910:2: warning: format not a string literal, argument types not checked
    wcmISDV4.c:928:4: warning: format not a string literal, argument types not checked
      CC     wcmFilter.lo
      CC     wcmUSB.lo
      CC     wcmXCommand.lo
      CC     wcmValidateDevice.lo
      CC     wcmTouchFilter.lo
      CCLD   wacom_drv.la
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/src'
    Making all in man
    make[2]: Entering directory `/usr/src/xf86-input-wacom/man'
      GEN    wacom.4
      GEN    xsetwacom.1
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/man'
    Making all in include
    make[2]: Entering directory `/usr/src/xf86-input-wacom/include'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/include'
    Making all in tools
    make[2]: Entering directory `/usr/src/xf86-input-wacom/tools'
      CC     xsetwacom.o
      CCLD   xsetwacom
      CC     isdv4-serial-debugger.o
      CCLD   isdv4-serial-debugger
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/tools'
    make[2]: Entering directory `/usr/src/xf86-input-wacom'
    make[2]: Leaving directory `/usr/src/xf86-input-wacom'
    make[1]: Leaving directory `/usr/src/xf86-input-wacom'
    Making install in conf
    make[1]: Entering directory `/usr/src/xf86-input-wacom/conf'
    make[2]: Entering directory `/usr/src/xf86-input-wacom/conf'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "" || /bin/mkdir -p ""
    test -z "/usr/share/hal/fdi/policy/20thirdparty" || /bin/mkdir -p "/usr/share/hal/fdi/policy/20thirdparty"
     /usr/bin/install -c -m 644 wacom.fdi '/usr/share/hal/fdi/policy/20thirdparty'
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/conf'
    make[1]: Leaving directory `/usr/src/xf86-input-wacom/conf'
    Making install in src
    make[1]: Entering directory `/usr/src/xf86-input-wacom/src'
    make[2]: Entering directory `/usr/src/xf86-input-wacom/src'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/usr/lib/xorg/modules/input" || /bin/mkdir -p "/usr/lib/xorg/modules/input"
     /bin/sh ../libtool   --mode=install /usr/bin/install -c   wacom_drv.la '/usr/lib/xorg/modules/input'
    libtool: install: /usr/bin/install -c .libs/wacom_drv.so /usr/lib/xorg/modules/input/wacom_drv.so
    libtool: install: /usr/bin/install -c .libs/wacom_drv.lai /usr/lib/xorg/modules/input/wacom_drv.la
    libtool: finish: PATH="/home/mike/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/sbin" ldconfig -n /usr/lib/xorg/modules/input
    ----------------------------------------------------------------------
    Libraries have been installed in:
       /usr/lib/xorg/modules/input
    If you ever happen to want to link against installed libraries
    in a given directory, LIBDIR, you must either use libtool, and
    specify the full pathname of the library, or use the `-LLIBDIR'
    flag during linking and do at least one of the following:
       - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
         during execution
       - add LIBDIR to the `LD_RUN_PATH' environment variable
         during linking
       - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
       - have your system administrator add LIBDIR to `/etc/ld.so.conf'
    See any operating system documentation about shared libraries for
    more information, such as the ld(1) and ld.so(8) manual pages.
    ----------------------------------------------------------------------
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/src'
    make[1]: Leaving directory `/usr/src/xf86-input-wacom/src'
    Making install in man
    make[1]: Entering directory `/usr/src/xf86-input-wacom/man'
    make[2]: Entering directory `/usr/src/xf86-input-wacom/man'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/usr/share/man/man4" || /bin/mkdir -p "/usr/share/man/man4"
     /usr/bin/install -c -m 644 wacom.4 '/usr/share/man/man4'
    test -z "/usr/share/man/man1" || /bin/mkdir -p "/usr/share/man/man1"
     /usr/bin/install -c -m 644 xsetwacom.1 '/usr/share/man/man1'
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/man'
    make[1]: Leaving directory `/usr/src/xf86-input-wacom/man'
    Making install in include
    make[1]: Entering directory `/usr/src/xf86-input-wacom/include'
    make[2]: Entering directory `/usr/src/xf86-input-wacom/include'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/usr/include/xorg" || /bin/mkdir -p "/usr/include/xorg"
     /usr/bin/install -c -m 644 Xwacom.h wacom-properties.h isdv4.h '/usr/include/xorg'
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/include'
    make[1]: Leaving directory `/usr/src/xf86-input-wacom/include'
    Making install in tools
    make[1]: Entering directory `/usr/src/xf86-input-wacom/tools'
    make[2]: Entering directory `/usr/src/xf86-input-wacom/tools'
    test -z "/usr/bin" || /bin/mkdir -p "/usr/bin"
      /bin/sh ../libtool   --mode=install /usr/bin/install -c xsetwacom isdv4-serial-debugger '/usr/bin'
    libtool: install: /usr/bin/install -c xsetwacom /usr/bin/xsetwacom
    libtool: install: /usr/bin/install -c isdv4-serial-debugger /usr/bin/isdv4-serial-debugger
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/usr/src/xf86-input-wacom/tools'
    make[1]: Leaving directory `/usr/src/xf86-input-wacom/tools'
    make[1]: Entering directory `/usr/src/xf86-input-wacom'
    make[2]: Entering directory `/usr/src/xf86-input-wacom'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/usr/lib/pkgconfig"
     /usr/bin/install -c -m 644 xorg-wacom.pc '/usr/lib/pkgconfig'
    make[2]: Leaving directory `/usr/src/xf86-input-wacom'
    make[1]: Leaving directory `/usr/src/xf86-input-wacom'
    

    I extracted the linuxwacom-0.8.8-10.tar.bz2 package to /usr/src/linuxwacom-0.8.8-10

    I then changed to this folder and ran

     ./configure --enable-wacom --prefix=/usr
    

    The results were as follows.

     # ./configure --enable-wacom --prefix=/usr
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables... 
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for gawk... (cached) gawk
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
    checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
    checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    checking how to recognize dependent libraries... pass_all
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for xlf... no
    checking for f77... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for xlf90... no
    checking for f90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... no
    checking for g95... no
    checking for xlf95... no
    checking for f95... no
    checking for fort... no
    checking for ifort... no
    checking for ifc... no
    checking for efc... no
    checking for pgf95... no
    checking for lf95... no
    checking for ftn... no
    checking whether we are using the GNU Fortran 77 compiler... no
    checking whether  accepts -g... no
    checking the maximum length of command line arguments... 1572864
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for objdir... .libs
    checking for ar... ar
    checking for ranlib... ranlib
    checking for strip... strip
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating libtool
    appending configuration tag "CXX" to libtool
    checking for ld used by g++... /usr/i586-suse-linux/bin/ld
    checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC
    checking if g++ PIC flag -fPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    (cached) (cached) checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for HAL... no
    checking for arch type... i586-suse-linux
    checking for kernel type... Linux
    checking for linux-based kernel... yes
    checking for kernel source/headers... /lib/modules/2.6.34.7-0.7-desktop/build
    checking kernel version... 2.6.34.7-0.7-desktop
    checking for kernel module support... yes
    checking for Xlib... yes
    checking for XSERVER... yes
    checking for xserver libc-wrapper header-files... no
    checking if scaling tablet to screen size is needed... no
    checking if Xorg server is version 1.4 or later... yes
    checking if Xorg is 7.3 or earlier... no
    checking if Xorg server is version 1.5.2 or later... yes
    checking if Xorg server is version 1.6 or later... yes
    checking if Xorg server is version 1.7 or later... yes
    checking if Xorg SDK defined IsXExtensionPointer... yes
    checking if Xorg SDK defines dixScreenOrigins... yes
    checking XInput extension version... >= 2.0
    checking for lib xf86config... found, /usr/include/xorg
    checking for X... libraries , headers 
    checking for gethostbyname... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for IceConnectionNumber in -lICE... yes
    checking for tclsh... /usr/bin/tclsh
    checking for tcl version... 8.5
    checking for tcl header files... found, /usr/include
    checking for tk header files... found, /usr/include
    checking ncurses.h usability... yes
    checking ncurses.h presence... yes
    checking for ncurses.h... yes
    checking if libwacomcfg should/can be built... yes
    checking if libwacomxi should/can be built... yes
    checking if wacdump should/can be built... yes
    checking if xidump should/can be built... yes
    checking if xsetwacom should be built... yes
    checking if wacomxrrd should be built... checking X11/extensions/Xrandr.h usability... yes
    checking X11/extensions/Xrandr.h presence... yes
    checking for X11/extensions/Xrandr.h... yes
    yes
    checking for Wacom X driver module path... /usr/lib/xorg/modules/input
    checking for dynamic driver loading support... yes
    checking if wacom_drv.{o,so} should be compiled... yes
    checking if gcc accepts -fno-merge-constants... yes
    checking if gcc accepts -fno-stack-protector... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating mkxincludes
    config.status: creating src/Makefile
    config.status: creating src/util/Makefile
    config.status: creating src/xdrv/Makefile
    config.status: creating src/2.6.16/Makefile
    config.status: creating src/2.6.18/Makefile
    config.status: creating src/2.6.24/Makefile
    config.status: creating src/2.6.30/Makefile
    config.status: creating src/wacomxi/Makefile
    config.status: creating src/wacomxi/wacomcpl
    config.status: creating src/include/xdrv-config.h
    config.status: creating src/include/kernel-config.h
    config.status: creating src/include/util-config.h
    config.status: executing depfiles commands
    ----------------------------------------
      BUILD ENVIRONMENT:
           architecture - i586-suse-linux
           linux kernel - yes 2.6.30
          kernel source - yes /lib/modules/2.6.34.7-0.7-desktop/build
         XFree86 source - no 
               Xorg SDK - yes /usr/include/xorg
              XSERVER64 - no
               dlloader - yes
                   XLib - yes /usr/lib
             xf86config - yes
                    TCL - yes /usr/include
                     TK - yes /usr/include
                ncurses - yes
      BUILD OPTIONS:
                wacom.o - yes
                wacdump - no 
                 xidump - no 
            libwacomcfg - no
             libwacomxi - no
              xsetwacom - no
              wacomxrrd - no
                  hid.o - no 
           wacom_drv.so - no /usr/lib/xorg/modules/input 
            wacom_drv.o - no
      wacom*_drv quirks - IsXExtensionPointer key-events dixScreenOrigins
    ----------------------------------------
        Building linuxwacom drivers for 2.6 kernel.
    ***Note: Drivers not enabled as modules in your kernel config but requested through configure are NOT built
    make -C /lib/modules/2.6.34.7-0.7-desktop/build M=/usr/src/linuxwacom-0.8.8-10/src/2.6.30
    make[1]: Entering directory `/usr/src/linux-2.6.34.7-0.7-obj/i386/desktop'
    make -C ../../../linux-2.6.34.7-0.7 O=/usr/src/linux-2.6.34.7-0.7-obj/i386/desktop/. 
      LD      /usr/src/linuxwacom-0.8.8-10/src/2.6.30/built-in.o
      CC [M]  /usr/src/linuxwacom-0.8.8-10/src/2.6.30/wacom_wac.o
      CC [M]  /usr/src/linuxwacom-0.8.8-10/src/2.6.30/wacom_sys.o
      LD [M]  /usr/src/linuxwacom-0.8.8-10/src/2.6.30/wacom.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /usr/src/linuxwacom-0.8.8-10/src/2.6.30/wacom.mod.o
      LD [M]  /usr/src/linuxwacom-0.8.8-10/src/2.6.30/wacom.ko
    make[1]: Leaving directory `/usr/src/linux-2.6.34.7-0.7-obj/i386/desktop'
    Your wacom.ko is available under 
        /usr/src/linuxwacom-0.8.8-10/src/2.6.30
    NOTE: the X driver in this package only supports Xorg servers older than 1.7.
              You are running a newer version. 
    Please build the X driver from xf86-input-wacom.
    The kernel driver provided in this package is independent of 
    the X server version
    

    I ran make and got the following. This didn't seem to do anything to the
    wacom.ko file produced by the configure command. Output as follows

    # make
    Making all in src
    make[1]: Entering directory `/usr/src/linuxwacom-0.8.8-10/src'
    Making all in 2.6.30
    make[2]: Entering directory `/usr/src/linuxwacom-0.8.8-10/src/2.6.30'
        Building linuxwacom drivers for 2.6 kernel.
    ***Note: Drivers not enabled as modules in your kernel config but requested through configure are NOT built
    make -C /lib/modules/2.6.34.7-0.7-desktop/build M=/usr/src/linuxwacom-0.8.8-10/src/2.6.30
    make[3]: Entering directory `/usr/src/linux-2.6.34.7-0.7-obj/i386/desktop'
    make -C ../../../linux-2.6.34.7-0.7 O=/usr/src/linux-2.6.34.7-0.7-obj/i386/desktop/. 
      Building modules, stage 2.
      MODPOST 1 modules
    make[3]: Leaving directory `/usr/src/linux-2.6.34.7-0.7-obj/i386/desktop'
    make[2]: Leaving directory `/usr/src/linuxwacom-0.8.8-10/src/2.6.30'
    make[2]: Entering directory `/usr/src/linuxwacom-0.8.8-10/src'
    rm -f wacom.4x.gz xsetwacom.4x.gz
    gzip -9c < ./wacom.4x > wacom.4x.gz
    gzip -9c < ./xsetwacom.4x > xsetwacom.4x.gz
    make[2]: Leaving directory `/usr/src/linuxwacom-0.8.8-10/src'
    make[1]: Leaving directory `/usr/src/linuxwacom-0.8.8-10/src'
    make[1]: Entering directory `/usr/src/linuxwacom-0.8.8-10'
    make[1]: Nothing to be done for `all-am'.
    make[1]: Leaving directory `/usr/src/linuxwacom-0.8.8-10'
    

    I copied the wacom.ko file to

    /lib/modules/2/6/34/7-07-desktop/kernel/drivers/input/tablet

    I don't have a /lib/modules/2/6/34/7-07-desktop/kernel/drivers/usb/input folder.

    I noice that when I run more /proc/bus/input/devices there is something against the
    Phys= line for my usb keyboard, but nothing for the usb tablet.

    I: Bus=0003 Vendor=045e Product=0750 Version=0111
    N: Name="Microsoft Wired Keyboard 600"
    P: Phys=usb-0000:00:1d.2-2/input0
    S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0/input/input1
    U: Uniq=
    H: Handlers=kbd event1 
    B: EV=120013
    B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
    B: MSC=10
    B: LED=7
    I: Bus=0003 Vendor=056a Product=00ba Version=0104
    N: Name="Wacom Intuos4 8x13"
    P: Phys=
    S: Sysfs=/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/input/input7
    U: Uniq=
    H: Handlers=mouse1 event5 
    B: EV=1f
    B: KEY=1cff 0 1f01ff 0 0 0 0 0 0 0 0
    B: REL=100
    B: ABS=100 f000167
    B: MSC=1
    

    Does any of this help at all?

    Mike

     
  • Favux

    Favux - 2011-01-27

    Hi Mike,

    The wacom_wac.c is in the linuxwacom-0.8.8-10 /src/2.6.30/ directory.  It's part of the code to make the wacom.ko.

    The compile and install of xf86-input-wacom-010.10+ seemed to go OK with no problems with autogen.sh, make, or sudo make install.

    The configure of linuxwacom-0.8.8-10 went well with the wacom.ko made, since it says:

    BUILD OPTIONS:
         wacom.o - yes

    You do not need to do make.  I'm concerned about where you copied the wacom.ko to though.  Where is it suppose to go in openSUSE?  In Ubuntu it would be:
        sudo cp ./2.6.30/wacom.ko /lib/modules/`uname -r`/kernel/drivers/input/tablet/wacom.ko

    Where did:  /lib/modules/2/6/34/7-07-desktop/kernel/drivers/input/tablet  come from?  Since it found the kernel headers at:  /lib/modules/2.6.34.7-0.7-desktop/build  Wouldn't it be at somewhere like:  /lib/modules/2.6.34.7-0.7-desktop/kernel/drivers/input/tablet/wacom.ko?

    Anyway when you find it copy the compilied wacom.ko over the default wacom.ko and do a:
        sudo depmod -a
    to rebuild all of the module dependencies and then reboot.

     
  • mikepm

    mikepm - 2011-01-28

    Hi favux,

    Sorry for the confusion in my previous post. The

    /lib/modules/2/6/34/7-07-desktop/kernel/drivers/input/tablet
    

    was a typo. I meant.

    /lib/modules/2.6.34.7-07-desktop/kernel/drivers/input/tablet
    

    I've run the depmod -a command and rebooted. Device still not recognized.

    I've had a look at the original wacom_wac.c file that would have been used by the original 11.3 kernel compile. This clearly has my Intuos4 8x13 tablet mentioned in the list of devices, so it should have been recognized without the need to run with the latest files as above. This seems to suggest that there may be a problem somewhere in my install of Open Suse 11.3 - though it was a pretty routine install. I am deeply puzzled. I think the linux wacom files are fine - it's something else.

    Mike

     
  • Favux

    Favux - 2011-01-29

    I'm stumped.  It seems like it should be working.  You appear to have the usb driver, X driver, and correct configuration file.

     
  • mikepm

    mikepm - 2011-02-02

    Hi favux,

    I've noticed that there are pre-release versions of Suse 11.4 available to try. I downloaded it and the tablet works fine without the need to do any driver updates! As the final release of 11.4 is due early March 2011 I'll wait until this is available, as it seems insoluble on 11.3. Thank you very much though for all your help over the past couple of weeks in trying to find a solution. With your help I've learned a lot about the driver update process and I'm sure this will be useful in future.

    Thank you.

    Mike

    Mike

     

Log in to post a comment.