Hello Stuart !

Thanks for your answer.

> I haven't tried it recently, but it might be worth having a play with
> the config from http://permalink.gmane.org/gmane.os.openbsd.misc/185297
> and see if you get anywhere.

As I can remember, I tried to connect the tablet on a 5.7 installation and
it reports as device only /dev/uhid0. At the moment, I have no machine to
try again a 5.7 so, I tried a -current #1417 which reports in dmesg the
following devices (if a full dmesg is needed, let me know but it is very
long).

Part of dmesg :

uhidev2 at uhub2 port 1 configuration 1 interface 0 "Microsoft
Microsoft\M-. Comfort Mouse 4500" rev 2.00/0.83 addr 8
uhidev2: iclass 3/1, 28 report ids
ums0 at uhidev2 reportid 16: 5 buttons, Z dir
wsmouse0 at ums0 mux 0
uhid1 at uhidev2 reportid 18: input=0, output=0, feature=1
uhid2 at uhidev2 reportid 19: input=1, output=0, feature=0
uhid3 at uhidev2 reportid 22: input=4, output=0, feature=0
uhid4 at uhidev2 reportid 23: input=0, output=0, feature=1
uhid5 at uhidev2 reportid 24: input=0, output=0, feature=1
uhid6 at uhidev2 reportid 28: input=1, output=0, feature=0
uhidev3 at uhub0 port 3 configuration 1 interface 0 "Wacom Co.,Ltd. Intuos
PTS" rev 2.00/1.00 addr 9
uhidev3: iclass 3/0, 192 report ids
uhid7 at uhidev3 reportid 2: input=9, output=0, feature=1
uhid8 at uhidev3 reportid 3: input=0, output=0, feature=1
uhid9 at uhidev3 reportid 4: input=0, output=0, feature=1
uhid10 at uhidev3 reportid 5: input=0, output=0, feature=1
uhid11 at uhidev3 reportid 7: input=0, output=0, feature=9
uhid12 at uhidev3 reportid 16: input=0, output=0, feature=2
uhid13 at uhidev3 reportid 17: input=0, output=0, feature=16
uhid14 at uhidev3 reportid 19: input=0, output=0, feature=1
uhid15 at uhidev3 reportid 20: input=0, output=0, feature=31
uhid16 at uhidev3 reportid 32: input=0, output=0, feature=5
uhid17 at uhidev3 reportid 33: input=0, output=0, feature=1
uhid18 at uhidev3 reportid 34: input=0, output=0, feature=1
uhid19 at uhidev3 reportid 35: input=0, output=0, feature=14
uhid20 at uhidev3 reportid 36: input=0, output=0, feature=31
uhid21 at uhidev3 reportid 37: input=0, output=0, feature=4
uhid22 at uhidev3 reportid 48: input=0, output=0, feature=2
uhid23 at uhidev3 reportid 49: input=0, output=0, feature=255
uhid24 at uhidev3 reportid 50: input=0, output=0, feature=255
uhid25 at uhidev3 reportid 51: input=0, output=0, feature=1
uhid26 at uhidev3 reportid 192: input=9, output=0, feature=0
uhidev4 at uhub0 port 3 configuration 1 interface 1 "Wacom Co.,Ltd. Intuos
PTS" rev 2.00/1.00 addr 9
uhidev4: iclass 3/0, 3 report ids
uhid27 at uhidev4 reportid 2: input=63, output=0, feature=0
uhid28 at uhidev4 reportid 3: input=63, output=0, feature=0
uhidev5 at uhub0 port 3 configuration 1 interface 2 "Wacom Co.,Ltd. Intuos
PTS" rev 2.00/1.00 addr 9
uhidev5: iclass 3/1, 1 report id
ums1 at uhidev5 reportid 1: 5 buttons
wsmouse1 at ums1 mux 0

If I unplugged it, not all devices are detached but, enough to verify,
that it is the tablet (I hope). There is a second block for the real
mouse, which is identified as Microsoft something mouse.

The xorg.conf :

Generated using X and changed the driver as suggested in a blogpost about
UEFI only machines - otherwise X doesn't work on this machine. I used the
device from your link, to see what will happen.

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "w_stylus" "SendCoreEvents"
        InputDevice    "w_eraser" "SendCoreEvents"
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail" "True"
        Option "DontZap" "True"
EndSection

Section "Files"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/OTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "wsmouse"
        Option      "Device" "/dev/wsmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
        Identifier "w_stylus"
        Driver "usbtablet"
        Option "Type" "stylus"
        Option "Device" "/dev/uhid0"
        Option "Mode" "Absolute"
        Option "Threshold" "10"
EndSection

Section "InputDevice"
        Identifier "w_eraser"
        Driver "usbtablet"
        Option "Type" "eraser"
        Option "Device" "/dev/uhid0"
        Option "Mode" "Absolute"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "Backlight"                 # <str>
        #Option     "DRI"                       # <str>
        #Option     "Present"                   # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "VideoKey"                  # <i>
        #Option     "Tiling"                    # [<bool>]
        #Option     "LinearFramebuffer"         # [<bool>]
        #Option     "VSync"                     # [<bool>]
        #Option     "PageFlip"                  # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        #Option     "TripleBuffer"              # [<bool>]
        #Option     "XvPreferOverlay"           # [<bool>]
        #Option     "HotPlug"                   # [<bool>]
        #Option     "ReprobeOutputs"            # [<bool>]
        #Option     "DeleteUnusedDP12Displays"  # [<bool>]
        #Option     "XvMC"                      # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "VirtualHeads"              # <i>
        #Option     "TearFree"                  # [<bool>]
        #Option     "PerCrtcPixmaps"            # [<bool>]
        #Option     "FallbackDebug"             # [<bool>]
        #Option     "DebugFlushBatches"         # [<bool>]
        #Option     "DebugFlushCaches"          # [<bool>]
        #Option     "DebugWait"                 # [<bool>]
        #Option     "BufferCache"               # [<bool>]
        Identifier  "Card0"
        Driver      "wsfb"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Xorg.log :

[   100.255] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
        (Operation not permitted)
        Check that you have set 'machdep.allowaperture=1'
        in /etc/sysctl.conf and reboot your machine
        refer to xf86(4) for details
[   100.255]    linear framebuffer access unavailable
[   100.269] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility
mode (version 3.32)
[   100.278] _XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777
[   100.287]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[   100.287] X Protocol Version 11, Revision 0
[   100.287] Build Operating System: OpenBSD 5.8 amd64
[   100.287] Current Operating System: OpenBSD shuttle.nawi.is 5.8
GENERIC.MP#1417 amd64
[   100.287] Build Date: 04 October 2015  12:15:27AM
[   100.287]
[   100.288] Current version of pixman: 0.32.8
[   100.288]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   100.288] Markers: (--) probed, (**) from config file, (==) default
setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   100.288] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 11
14:23:34 2015
[   100.291] (==) Using config file: "/etc/X11/xorg.conf"
[   100.291] (==) Using system config directory
"/usr/X11R6/share/X11/xorg.conf.d"
[   100.297] (==) ServerLayout "X.org Configured"
[   100.297] (**) |-->Screen "Screen0" (0)
[   100.297] (**) |   |-->Monitor "Monitor0"
[   100.298] (**) |   |-->Device "Card0"
[   100.299] (**) |-->Input Device "Keyboard0"
[   100.299] (**) |-->Input Device "w_stylus"
[   100.299] (**) |-->Input Device "w_eraser"
[   100.299] (**) Option "DontZap" "True"
[   100.299] (**) Option "AllowMouseOpenFail" "True"
[   100.299] (==) Disabling SIGIO handlers for input devices
[   100.299] (==) Automatically adding devices
[   100.299] (==) Automatically enabling devices
[   100.299] (==) Not automatically adding GPU devices
[   100.317] (**) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/,
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
[   100.317] (**) ModulePath set to "/usr/X11R6/lib/modules"
[   100.317] (II) The server relies on wscons to provide the list of input
devices.
        If no devices become available, reconfigure wscons or disable
AutoAddDevices.
[   100.317] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse'
or 'vmmouse' will be disabled.
[   100.317] (WW) Disabling Keyboard0
[   100.318] (II) Loader magic: 0x1f3e3ae31de0
[   100.318] (II) Module ABI versions:
[   100.318]    X.Org ANSI C Emulation: 0.4
[   100.318]    X.Org Video Driver: 19.0
[   100.318]    X.Org XInput driver : 21.0
[   100.318]    X.Org Server Extension : 9.0
[   100.319] (--) PCI:*(0:0:2:0) 8086:0f31:1297:4019 rev 14, Mem @
0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x0000f080/8
[   100.320] (II) "glx" will be loaded. This was enabled by default and
also specified in the config file.
[   100.320] (II) LoadModule: "glx"
[   100.324] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[   100.381] (II) Module glx: vendor="X.Org Foundation"
[   100.381]    compiled for 1.17.2, module version = 1.0.0
[   100.381]    ABI class: X.Org Server Extension, version 9.0
[   100.381] (==) AIGLX enabled
[   100.381] (II) LoadModule: "wsfb"
[   100.382] (II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.so
[   100.384] (II) Module wsfb: vendor="X.Org Foundation"
[   100.384]    compiled for 1.17.2, module version = 0.4.1
[   100.384]    ABI class: X.Org Video Driver, version 19.0
[   100.384] (II) LoadModule: "usbtablet"
[   100.388] (II) Loading /usr/X11R6/lib/modules/input/usbtablet_drv.so
[   100.390] (II) Module usbtablet: vendor="X.Org Foundation"
[   100.390]    compiled for 1.17.2, module version = 1.1.0
[   100.390]    Module class: X.Org XInput Driver
[   100.390]    ABI class: X.Org XInput driver, version 21.0
[   100.390] (II) USB Tablet driver
[   100.390] (II) wsfb: driver for wsdisplay framebuffer: wsfb
[   100.390] (WW) Falling back to old probe method for wsfb
[   100.391] (II) wsfb(0): using default device
[   100.391] (==) wsfb(0): Depth 24, (--) framebuffer bpp 32
[   100.391] (==) wsfb(0): RGB weight 888
[   100.391] (==) wsfb(0): Default visual is TrueColor
[   100.391] (==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0)
[   100.391] (II) wsfb(0): Vidmem: 8100k
[   100.392] (==) wsfb(0): DPI set to (96, 96)
[   100.392] (**) wsfb(0): Using "Shadow Framebuffer"
[   100.392] (II) Loading sub module "shadow"
[   100.392] (II) LoadModule: "shadow"
[   100.394] (II) Loading /usr/X11R6/lib/modules/libshadow.so
[   100.395] (II) Module shadow: vendor="X.Org Foundation"
[   100.395]    compiled for 1.17.2, module version = 1.1.0
[   100.395]    ABI class: X.Org ANSI C Emulation, version 0.4
[   100.395] (II) Loading sub module "fb"
[   100.395] (II) LoadModule: "fb"
[   100.397] (II) Loading /usr/X11R6/lib/modules/libfb.so
[   100.401] (II) Module fb: vendor="X.Org Foundation"
[   100.401]    compiled for 1.17.2, module version = 1.0.0
[   100.401]    ABI class: X.Org ANSI C Emulation, version 0.4
[   100.401] (--) Depth 24 pixmap format is 32 bpp
[   100.408] (==) wsfb(0): Backing store enabled
[   100.414] (==) RandR enabled
[   100.450] (II) AIGLX: Screen 0 is not DRI2 capable
[   100.450] (EE) AIGLX: reverting to software rendering
[   100.502] (II) AIGLX: Loaded and initialized swrast
[   100.502] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   100.965] (II) Using input driver 'usbtablet' for 'w_stylus'
[   100.965] (**) Option "SendCoreEvents"
[   100.965] (**) w_stylus: always reports core events
[   100.965] (**) Stylus: always reports core events
[   100.965] (**) Stylus device is /dev/uhid0
[   100.965] (**) Stylus is in absolute mode
[   100.965] (==) Stylus: threshold = 5
[   100.965] (==) Stylus: suppress = 2
[   100.965] (II) XINPUT: Adding extended input device "Stylus" (type:
TABLET, id 6)
[   100.966] (**) Option "Device" "/dev/uhid0"
[   100.966] (EE) /dev/uhid0 has no X, Y, or In_Range report
[   100.969] (EE) Couldn't init device "Stylus"
[   100.969] (II) UnloadModule: "usbtablet"
[   100.969] (II) Using input driver 'usbtablet' for 'w_eraser'
[   100.969] (**) Option "SendCoreEvents"
[   100.969] (**) w_eraser: always reports core events
[   100.969] (**) Eraser: always reports core events
[   100.969] (**) Eraser device is /dev/uhid0
[   100.969] (**) Eraser is in absolute mode
[   100.969] (==) Eraser: threshold = 5
[   100.969] (==) Eraser: suppress = 2
[   100.969] (II) XINPUT: Adding extended input device "Eraser" (type:
TABLET, id 6)
[   100.969] (**) Option "Device" "/dev/uhid0"
[   100.970] (EE) /dev/uhid0 has no X, Y, or In_Range report
[   100.972] (EE) Couldn't init device "Eraser"
[   100.972] (II) UnloadModule: "usbtablet"
[   100.972] (II) config/wscons: checking input device /dev/wskbd
[   100.972] (II) wskbd: using layout de
[   100.972] (II) LoadModule: "kbd"
[   100.974] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[   100.976] (II) Module kbd: vendor="X.Org Foundation"
[   100.976]    compiled for 1.17.2, module version = 1.8.0
[   100.976]    Module class: X.Org XInput Driver
[   100.976]    ABI class: X.Org XInput driver, version 21.0
[   100.976] (II) Using input driver 'kbd' for '/dev/wskbd'
[   100.976] (**) /dev/wskbd: always reports core events
[   100.976] (**) /dev/wskbd: always reports core events
[   100.976] (**) Option "Protocol" "standard"
[   100.976] (**) Option "XkbRules" "base"
[   100.976] (**) Option "XkbModel" "pc105"
[   100.976] (**) Option "XkbLayout" "de"
[   100.976] (II) XINPUT: Adding extended input device "/dev/wskbd" (type:
KEYBOARD, id 6)
[   101.049] (II) config/wscons: checking input device /dev/wsmouse
[   101.049] (II) LoadModule: "ws"
[   101.050] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[   101.052] (II) Module ws: vendor="X.Org Foundation"
[   101.052]    compiled for 1.17.2, module version = 1.3.0
[   101.052]    Module class: X.Org XInput Driver
[   101.052]    ABI class: X.Org XInput driver, version 21.0
[   101.052] (II) Using input driver 'ws' for '/dev/wsmouse'
[   101.052] (**) /dev/wsmouse: always reports core events
[   101.052] (II) ws: /dev/wsmouse: debuglevel 0
[   101.052] (**) Option "Device" "/dev/wsmouse"
[   101.052] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[   101.052] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[   101.052] (**) ws: /dev/wsmouse: associated screen: 0
[   101.053] (II) ws: /dev/wsmouse: minimum x position: 0
[   101.053] (II) ws: /dev/wsmouse: maximum x position: 1919
[   101.053] (II) ws: /dev/wsmouse: minimum y position: 0
[   101.053] (II) ws: /dev/wsmouse: maximum y position: 1079
[   101.053] (==) ws: /dev/wsmouse: Buttons: 7
[   101.056] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[   101.056] (II) XINPUT: Adding extended input device "/dev/wsmouse"
(type: MOUSE, id 7)
[   101.057] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[   101.057] (**) /dev/wsmouse: (accel) acceleration profile 0
[   101.057] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[   101.057] (**) /dev/wsmouse: (accel) acceleration threshold: 4

Thanks for your ideas.

Regards,


Christoph

Reply via email to