Ping.

Can anyone confirm or deny whether or not the newer Thinkpad
tablets' styluses work as an input device?  I see that there is a
usbtablet(4) driver in xenocara, with people reporting success
using external tablets, so it would probably be a matter of
whether or not the newer Thinkpads still use a serial-based wacom
device as opposed to a USB-based one.

Since FreeBSD supports these serial based tablets with a kernel
module and the linuxwacom driver, I'm assuming that it's probably
going to require more than just a simple port to get this working.

Even http://cgit.freedesktop.org/~whot/xf86-input-wacom/ which was
created after X.org removed the X.org wacom input driver in favor of
just using the linuxwacom driver says it still needs a driver to
bridge the kernel<->userland parts.

-- 
Bryan

On 2014-04-21 16:26:36, Bryan Linton <b...@shoshoni.info> wrote:
> Hello list,
> 
> [dmesg attached below]
> 
> I recently purchased a Thinkpad X61 tablet (manufactured circa
> 2006) and have not been able to get the stylus to work with the
> screen in OpenBSD.  It worked fine with the Windows 7 install that
> came with it, so I know the hardware itself is fine.
> 
> From reading some old posts to misc@, I have used "config" to
> change the address and IRQ of com0 to 0x200 and IRQ 5, which has
> caused com0 to show up in the dmesg.
> 
> If I run "cu -l /dev/cua00" and write on the screen, I get output
> while I am writing that abruptly stops when I move the stylus
> away, so I think it's a matter of a driver issue between X11 and
> the hardware.
> 
> Unfortunately, emails from the time-period suggest running the
> linuxwacom driver, which doesn't compile due to Linuxisms in the
> code.  Even the older releases don't compile on a modern system.
> 
> Other posts have indicated that adding a "wacom" driver section to
> xorg.conf will work.  While there is a wacom(4) listed in
> xorg.conf(5), it is not installed on OpenBSD.  In fact, 
> "% cd /usr/xenocara; find . -iname "*wacom*" -print" returns
> nothing at all, and indeed none of the examples posted have worked
> or given any hint in Xorg.0.log that the tablet functionality is
> detected at all.
> 
> Is there any way to get the tablet functionality to work on
> OpenBSD?  Is it simply a matter of a missing wacom(4) driver?  Do
> any of the later Thinkpad tablets (some of which I've read use USB
> connections internally instead of serial connections) work any
> better?
> 
> I would really love to be able to use a stylus to write directly
> on the screen; writing complicated Japanese kanji with a mouse can
> become somewhat tedious after a while, so any help is greatly
> appreciated, even if it's only "There are no plans to support this
> on OpenBSD" so that I can start looking into another option (a PDA
> perhaps?).
> 
> Thank you.
> 
> -- 
> Bryan
> 
> 
> OpenBSD 5.5-current (GENERIC.MP) #43: Sat Apr 12 09:39:12 MDT 2014
>     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> cpu0: Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz ("GenuineIntel" 686-class) 
> 799 MHz
> cpu0: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
> real mem  = 3194179584 (3046MB)
> avail mem = 3129528320 (2984MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: AT/286+ BIOS, date 03/22/11, BIOS32 rev. 0 @ 0xfdc80, 
> SMBIOS rev. 2.4 @ 0xe0010 (63 entries)
> bios0: vendor LENOVO version "7SET39WW (1.25 )" date 03/22/2011
> bios0: LENOVO 7764CTO
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT 
> SSDT SSDT SSDT
> acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) IGBE(S4) EXP0(S4) EXP1(S4) 
> EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) 
> USB4(S3) EHC0(S3) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpiec0 at acpi0
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 199MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz ("GenuineIntel" 686-class) 
> 1.60 GHz
> cpu1: 
> FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
> ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 2, remapped to apid 1
> acpimcfg0 at acpi0 addr 0xf0000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (AGP_)
> acpiprt2 at acpi0: bus 2 (EXP0)
> acpiprt3 at acpi0: bus 3 (EXP1)
> acpiprt4 at acpi0: bus -1 (EXP2)
> acpiprt5 at acpi0: bus -1 (EXP3)
> acpiprt6 at acpi0: bus -1 (EXP4)
> acpiprt7 at acpi0: bus 5 (PCI1)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB4, EHC0, EHC1
> acpitz0 at acpi0: critical temperature is 127 degC
> acpitz1 at acpi0: critical temperature is 99 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> acpibat0 at acpi0: BAT0 model "42T4661" serial  1010 type LION oem "SANYO"
> acpibat1 at acpi0: BAT1 not present
> acpibat2 at acpi0: BAT2 not present
> acpiac0 at acpi0: AC unit offline
> acpithinkpad0 at acpi0
> acpidock0 at acpi0: GDCK not docked (0)
> bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1000 0xd1000/0x1000 
> 0xe0000/0x10000!
> cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1601, 1600, 1200, 800 MHz
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
> vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
> intagp0 at vga1
> agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
> inteldrm0 at vga1
> drm0 at inteldrm0
> inteldrm0: 1400x1050
> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
> em0 at pci0 dev 25 function 0 "Intel ICH8 IGP M AMT" rev 0x03: msi, address 
> 00:1d:72:8c:4a:fb
> uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 20
> uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 21
> ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 22
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: msi
> azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices 
> AD1984
> audio0 at azalia0
> ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 1 int 20
> pci1 at ppb0 bus 2
> ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 1 int 21
> pci2 at ppb1 bus 3
> iwn0 at pci2 dev 0 function 0 "Intel Wireless WiFi Link 4965" rev 0x61: msi, 
> MIMO 2T3R, MoW1, address 00:1d:e0:6d:84:a7
> uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: apic 1 int 16
> uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: apic 1 int 17
> ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: apic 1 int 19
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
> pci3 at ppb2 bus 5
> cbb0 at pci3 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 1 int 16
> "Ricoh 5C832 Firewire" rev 0x04 at pci3 dev 0 function 1 not configured
> sdhc0 at pci3 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 1 int 18
> sdmmc0 at sdhc0
> cardslot0 at cbb0 slot 0 flags 0
> cardbus0 at cardslot0: bus 6 device 0 cacheline 0x8, lattimer 0xb0
> pcmcia0 at cardslot0
> pcib0 at pci0 dev 31 function 0 "Intel 82801HEM LPC" rev 0x03
> pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA, channel 
> 0 configured to compatibility, channel 1 configured to compatibility
> pciide0: channel 0 disabled (no drives)
> pciide0: channel 1 ignored (disabled)
> ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: msi, AHCI 1.1
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, INTEL SSDSC2BW24, DC32> SCSI3 0/direct 
> fixed naa.55cd2e404b8ff5e1
> sd0: 228936MB, 512 bytes/sector, 468862128 sectors, thin
> ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: apic 1 int 23
> iic0 at ichiic0
> usb2 at uhci0: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb3 at uhci1: USB revision 1.0
> uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb4 at uhci2: USB revision 1.0
> uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb5 at uhci3: USB revision 1.0
> uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x200/8 irq 5: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> aps0 at isa0 port 0x1600/31
> npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> ugen0 at uhub2 port 1 "STMicroelectronics Biometric Coprocessor" rev 
> 1.00/0.01 addr 2
> uhidev0 at uhub4 port 2 configuration 1 interface 0 "Lenovo Lenovo Mini 
> Wireless Keyboard" rev 2.00/0.04 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 variable keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> uhidev1 at uhub4 port 2 configuration 1 interface 1 "Lenovo Lenovo Mini 
> Wireless Keyboard" rev 2.00/0.04 addr 2
> uhidev1: iclass 3/1, 5 report ids
> ums0 at uhidev1 reportid 1: 5 buttons, Z dir
> wsmouse1 at ums0 mux 0
> uhid0 at uhidev1 reportid 2: input=2, output=0, feature=0
> uhid1 at uhidev1 reportid 3: input=1, output=0, feature=0
> uhid2 at uhidev1 reportid 4: input=0, output=0, feature=7
> uhid3 at uhidev1 reportid 5: input=0, output=0, feature=7
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
> sd1: 196092MB, 512 bytes/sector, 401597808 sectors
> root on sd1a (ff21e228b6f2b91a.a) swap on sd1b dump on sd1b
> iwn0: radio is disabled by hardware switch
> uhub6 at uhub0 port 4 "Lenovo product 0x1000" rev 2.00/0.01 addr 2
> acpidock0: docked

Reply via email to