[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wacom tablet on OpenBSD 2.8




First, if anyone has a working Wacom tablet on OpenBSD (any release) would
you please send me your XInput config in your XF86Config?  Thanks.

Now on to my delima.  I have a Wacom tablet that worked under OpenBSD 2.7
just fine.  Now that I have upgraded to 2.8 I can't seem to get it working
(like an idiot I had an older XF86Config without the working tablet config
saved).  I put all the correct items into the XF86Config to get it working
and X tries to start it, but I can't get it to talk.  

I am trying to use my first serial port and under windows2k it works fine
on the same port (COM1).  Now, maybe I am using the wrong device, and if so
kindly point to me and laugh out loud so that I can recognize my mistake. 

Here is the section from my XF86Config that defines the wacom device(s).
Maybe my Port is wrong, but I tried a lot of different devices to no avail:

------------%< snip %<----------------------%< snip %<------------

Section "Module"
  # Wacom Device Driver
  Load "xf86Wacom.so"
EndSection

Section "XInput"
  # Settings for Wacom pen
  SubSection "WacomStylus"                 # type of input device
    Port "/dev/cua00"                      # serial port
    DeviceName "Pen"                       # name, unique, choosen freely
    Baudrate 9600                          # only for intuos
    Mode Absolute                          # map tablet area to screen
    AlwaysCore                            
    HistorySize 200                        # buffer size for motion events
    DebugLevel  6                         # how noisy to be
  EndSubsection
  # Settings for Wacom pen
  SubSection "WacomEraser"                 # type of input device
    Port "/dev/cua00"                      # serial port
    DeviceName "Eraser"                       # name, unique, choosen freely
    Baudrate 9600                          # only for intuos
    Mode Absolute                          # map tablet area to screen
    AlwaysCore                            
    HistorySize 200                        # buffer size for motion events
    DebugLevel  6                         # how noisy to be
  EndSubsection
  # Settings for Wacom pen
  SubSection "WacomCursor"                 # type of input device
    Port "/dev/cua00"                      # serial port
    DeviceName "Mouse"                       # name, unique, choosen freely
    Baudrate 9600                          # only for intuos
    Mode Absolute                          # map tablet area to screen
    AlwaysCore                            
    HistorySize 200                        # buffer size for motion events
    DebugLevel  6                         # how noisy to be
  EndSubsection
EndSection

------------%< snip %<----------------------%< snip %<------------

And here are the messages X is spitting back (abbreviated to just the Wacom
stuff):

------------%< snip %<----------------------%< snip %<------------

...
(--) no ModulePath specified using default: /usr/X11R6/lib/modules
(**) module xf86Wacom.so successfully loaded from /usr/X11R6/lib/modules
(**) Wacom port is /dev/cua00
(**) Wacom X device name is Pen
(**) Wacom baud rate of 9600
(**) Wacom device always stays core pointer
(**) Wacom Motion history size is 200
(**) Wacom debug level sets to 6
xf86WcmConfig name=/dev/cua00
xf86WcmConfig
xf86WcmConfig wacom port share between ERASER and Pen
(**) Wacom X device name is Eraser
(**) Wacom baud rate of 9600
(**) Wacom device always stays core pointer
(**) Wacom Motion history size is 200
(**) Wacom debug level sets to 6
xf86WcmConfig name=/dev/cua00
xf86WcmConfig
xf86WcmConfig wacom port share between CURSOR and Pen
(**) Wacom X device name is Mouse
(**) Wacom baud rate of 9600
(**) Wacom device always stays core pointer
(**) Wacom Motion history size is 200
(**) Wacom debug level sets to 6
xf86WcmConfig name=/dev/cua00
...
(**) Adding extended device "SWITCH" (type: Switch)
(**) Adding extended device "Pen" (type: Wacom Stylus)
(**) Adding extended device "Eraser" (type: Wacom Eraser)
(**) Adding extended device "Mouse" (type: Wacom Cursor)
BEGIN xf86WcmProc dev=0x33e404 priv=0x3170c0 type=cursor flags=10 what=0
xf86WcmProc pWcm=0x33e404 what=INIT
xf86WcmControlProc
opening /dev/cua00
initializing tablet
reading model
Wacom unable to read first byte of request '~#' answer after 3 tries
Threshold=30000
New threshold=-80
END   xf86WcmProc Success what=0 dev=0x33e404 priv=0x3170c0
BEGIN xf86WcmProc dev=0x33e338 priv=0x317064 type=eraser flags=12 what=0
xf86WcmProc pWcm=0x33e338 what=INIT
xf86WcmControlProc
Threshold=-80
New threshold=-80
END   xf86WcmProc Success what=0 dev=0x33e338 priv=0x317064
BEGIN xf86WcmProc dev=0x33e26c priv=0x317008 type=stylus flags=9 what=0
xf86WcmProc pWcm=0x33e26c what=INIT
xf86WcmControlProc
Threshold=-80
New threshold=-80
END   xf86WcmProc Success what=0 dev=0x33e26c priv=0x317008
BEGIN xf86WcmProc dev=0x33e404 priv=0x3170c0 type=cursor flags=10 what=1
xf86WcmProc pWcm=0x33e404 what=ON
opening /dev/cua00
initializing tablet
reading model
Wacom unable to read first byte of request '~#' answer after 3 tries
Threshold=-80
New threshold=-80
BEGIN xf86WcmProc dev=0x33e338 priv=0x317064 type=eraser flags=12 what=1
xf86WcmProc pWcm=0x33e338 what=ON
Threshold=-80
New threshold=-80
BEGIN xf86WcmProc dev=0x33e26c priv=0x317008 type=stylus flags=9 what=1
xf86WcmProc pWcm=0x33e26c what=ON
Threshold=-80
New threshold=-80

------------%< snip %<----------------------%< snip %<------------

So it looks like X isn't talking to the port correctly (permissions, wrong
port what?)

Here is my dmesg so you can see what devices I do have configured, maybe I
am missing some conflict here:


------------%< snip %<----------------------%< snip %<------------

OpenBSD 2.8 (SMUDGE) #1: Thu Jan  4 11:47:27 EST 2001
    root@smudge:/usr/src/sys/arch/i386/compile/SMUDGE
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 601 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem  = 167292928 (163372K)
avail mem = 151810048 (148252K)
using 2067 buffers containing 8466432 bytes (8268K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(bb) BIOS, date 05/02/00, BIOS32 rev. 0 @ 0xfb300
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 found at 0xf0000[0xb780]
pcibios0: PCI IRQ Routing Table rev. 1.0 found at 0xfdee0, size 176 bytes (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371SB (Triton II) PCI-ISA" rev 0x00)
pcibios0: PCI Exclusive IRQs: 5 10 11
pcibios0: PCI bus #1 is the last bus
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03
pci1 at ppb0 bus 1
"Nvidia Riva TNT2" rev 0x11 at pci1 dev 0 function 0 not configured
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE (PIIX4)" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM BIGFOOT TS6.4A>
wd0: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd0: 16-sector PIO, LBA, 6121MB, 13266 cyl, 15 head, 63 sec, 12536370 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
wd1 at pciide0 channel 1 drive 0: <WDC AC38400B>
wd1: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd1: 16-sector PIO, LBA, 8063MB, 16383 cyl, 16 head, 63 sec, 16514064 sectors
pciide0: channel 1 interrupting at irq 15
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB (PIIX4)" rev 0x01: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Intel 82371AB Power Management (PIIX4)" rev 0x02 at pci0 dev 7 function 3 not configured
ncr0 at pci0 dev 11 function 0 "Symbios Logic 53c875" rev 0x26: ultra wide scsi, irq 11
scsibus0 at ncr0: 16 targets
cd0 at scsibus0 targ 1 lun 0: <TOSHIBA, DVD-ROM SD-M1201, 1R08> SCSI2 5/cdrom removable
probe(ncr0:1:1): 20.0 MB/s (50 ns, offset 16)
cd1 at scsibus0 targ 4 lun 0: <YAMAHA, CRW6416S, 1.0b> SCSI2 5/cdrom removable
probe(ncr0:4:1): 10.0 MB/s (100 ns, offset 15)
fxp0 at pci0 dev 13 function 0 "Intel 82557" rev 0x05: irq 10, address 00:90:27:16:6d:3d
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
"Sigma Designs DVDmagic-PRO" rev 0x02 at pci0 dev 17 function 0 not configured
"Triones Technologies HPT366/370 EIDE" rev 0x01 at pci0 dev 19 function 0 not configured
"Triones Technologies HPT366/370 EIDE" rev 0x01 at pci0 dev 19 function 1 not configured
isa0 at pcib0
isadma0 at isa0
sb0 at isa0 port 0x220/24 irq 7 drq 1 drq2 5: dsp v4.11
midi0 at sb0: <SB MIDI UART>
audio0 at sb0
opl0 at sb0: model OPL3
midi at opl0 not configured
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4: polled
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
vt0 at isa0 port 0x60/16 irq 1: vga 80 col, color, 8 scr, mf2-kbd
pms0 at vt0 irq 12
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c840 netmask cc40 ttymask dc42
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
wd0: no disk label
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd1a
rootdev=0x10 rrootdev=0x310 rawdev=0x312

------------%< snip %<----------------------%< snip %<------------

Thanks.

-- 
dan weeks - propellerhead - http://danimal.org

"The fact that no one understands 
 you doesn't mean you're an artist." - unknown