On 4/15/16, Ulf Brosziewski <[email protected]> wrote: > Hi, are you sure that you have used the latest sources? Your > description of the errors suggests that pms still produces > "W-mode" values (which map a contact count of three to the > W-value 1, two to 0, and one to something in the range of 4 > to 15). Could you check the version of pms.c? The new version > of the synaptics driver expects plain contact counts in W.
You are absolutely correct. The checked out revision of the pms.c source in my tree is 1.69, but I suspect the mistake was in juggling of the "Keyboard resume (zzz) diff"[0]. Sorry for wasting your time. I owe you a beverage of your choice! Thank you for your attention and correction of my mistake! --patrick [0] http://marc.info/?t=146035668600001&r=1&w=2 boring details: applied patch to pckb.c w/ pms.c -r1.69, noticed broken touchpad, reverted to pms.c -r1.68, but when I re-reverted to pms.c -r1.69, I think the .o had newer timestamp, therefore not recompiling pms.c -r1.69. My mistake. > On 04/15/2016 01:18 AM, patrick keshishian wrote: >> Hi haven't had a chance to grab a new snapshot yet, but did >> rebuild kernel, userland and xenocara. >> >> The issue is still there, but playing more with the touchpad, it >> seems that the touchpad (or the modified driver) now requires >> three (3) fingers on the touchpad for moving the pointer around. >> >> So the regression is: >> * Can't move pointer around with single finger. >> * Can't single or two- finger tap/click on the touchpad. >> * Can't two-finger scroll (neither horizontal nor vertical). >> >> Still intend to update to a new snapshot (not sure when). >> >> Might be configuration issue, but I haven't picked up on any >> new relevant settings: >> >> $ synclient >> Parameter settings: >> LeftEdge = 1780 >> RightEdge = 5576 >> TopEdge = 1687 >> BottomEdge = 5123 >> FingerLow = 25 >> FingerHigh = 30 >> MaxTapTime = 180 >> MaxTapMove = 261 >> MaxDoubleTapTime = 100 >> SingleTapTimeout = 180 >> ClickTime = 100 >> EmulateMidButtonTime = 75 >> EmulateTwoFingerMinZ = 282 >> EmulateTwoFingerMinW = 7 >> VertScrollDelta = 119 >> HorizScrollDelta = 119 >> VertEdgeScroll = 0 >> HorizEdgeScroll = 0 >> CornerCoasting = 0 >> VertTwoFingerScroll = 1 >> HorizTwoFingerScroll = 1 >> MinSpeed = 1 >> MaxSpeed = 1.75 >> AccelFactor = 0.0336078 >> TouchpadOff = 0 >> LockedDrags = 0 >> LockedDragTimeout = 5000 >> RTCornerButton = 0 >> RBCornerButton = 0 >> LTCornerButton = 0 >> LBCornerButton = 0 >> TapButton1 = 1 >> TapButton2 = 3 >> TapButton3 = 2 >> ClickFinger1 = 1 >> ClickFinger2 = 0 >> ClickFinger3 = 0 >> CircularScrolling = 0 >> CircScrollDelta = 0.1 >> CircScrollTrigger = 0 >> CircularPad = 0 >> PalmDetect = 0 >> PalmMinWidth = 10 >> PalmMinZ = 200 >> CoastingSpeed = 20 >> CoastingFriction = 50 >> PressureMotionMinZ = 30 >> PressureMotionMaxZ = 160 >> PressureMotionMinFactor = 1 >> PressureMotionMaxFactor = 1 >> GrabEventDevice = 0 >> TapAndDragGesture = 1 >> AreaLeftEdge = 0 >> AreaRightEdge = 0 >> AreaTopEdge = 0 >> AreaBottomEdge = 0 >> HorizHysteresis = 29 >> VertHysteresis = 29 >> ClickPad = 0 >> >> >> --patrick >> >> >> On 4/11/16, patrick keshishian <[email protected]> wrote: >>> Ignore this for now. >>> >>> this may be (probably is) due to the fact X driver is out of sync with >>> the kernel. i'll report back after I build a new set of X, or better >>> yet, >>> try a new snapshot. >>> >>> --patrick >>> >>> On 4/11/16, patrick keshishian <[email protected]> wrote: >>>>> Synopsis: regression with -r1.69 pms0 w/Synaptics touchpad lenovo >>>>> x120e >>>>> Category: kernel pms driver >>>>> Environment: >>>> System : OpenBSD 5.9 >>>> Details : OpenBSD 5.9-current (GENERIC.MP) #3: Mon Apr 11 14:16:42 >>>> PDT >>>> 2016 >>>> >>>> sidster@local:/usr/build/src/sys/arch/amd64/compile/GENERIC.MP >>>> >>>> Architecture: OpenBSD.amd64 >>>> Machine : amd64 >>>>> Description: >>>> With revision 1.69 of pms.c the touchpad no longer is capable >>>> of moving the mouse pointer (at least in X). Physical buttons >>>> (left + right) seem to work. However, double clicking the touchpad >>>> acts as middle button, pasting copy buffer into an xterm as an >>>> example. >>>> >>>>> How-To-Repeat: >>>> Compile kernel with pms.c revision 1.69 and reboot. >>>>> Fix: >>>> The diff -r1.68 -r1.69 is quite large and beyond my pay-grade. >>>> Reverting to -r1.68 is a work-around for me. >>>> >>>> dmesg: >>>> OpenBSD 5.9-current (GENERIC.MP) #3: Mon Apr 11 14:16:42 PDT 2016 >>>> sidster@local:/usr/build/src/sys/arch/amd64/compile/GENERIC.MP >>>> real mem = 3850960896 (3672MB) >>>> avail mem = 3730014208 (3557MB) >>>> mpath0 at root >>>> scsibus0 at mpath0: 256 targets >>>> mainbus0 at root >>>> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf9ba0 (60 entries) >>>> bios0: vendor LENOVO version "8FET32WW (1.16 )" date 11/03/2011 >>>> bios0: LENOVO 06112EU >>>> acpi0 at bios0: rev 2 >>>> acpi0: sleep states S0 S3 S4 S5 >>>> acpi0: tables DSDT FACP SLIC HPET APIC MCFG UEFI UEFI SSDT SSDT UEFI >>>> acpi0: wakeup devices PB4_(S4) PB5_(S4) PB6_(S4) PB7_(S4) OHC1(S3) >>>> OHC2(S3) EHC2(S3) OHC3(S3) EHC3(S3) OHC4(S3) SBAZ(S4) GEC_(S4) >>>> P2P_(S5) SPB0(S4) SPB1(S4) SPB2(S4) [...] >>>> acpitimer0 at acpi0: 3579545 Hz, 32 bits >>>> acpihpet0 at acpi0: 14318180 Hz >>>> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat >>>> cpu0 at mainbus0: apid 0 (boot processor) >>>> cpu0: AMD E-350 Processor, 13093.27 MHz >>>> cpu0: >>>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC >>>> cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB >>>> 64b/line 16-way L2 cache >>>> cpu0: 8 4MB entries fully associative >>>> cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully >>>> associative >>>> cpu0: smt 0, core 0, package 0 >>>> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges >>>> cpu0: apic clock running at 199MHz >>>> cpu0: mwait min=64, max=64, IBE >>>> cpu1 at mainbus0: apid 1 (application processor) >>>> cpu1: AMD E-350 Processor, 1596.60 MHz >>>> cpu1: >>>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC >>>> cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB >>>> 64b/line 16-way L2 cache >>>> cpu1: 8 4MB entries fully associative >>>> cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully >>>> associative >>>> cpu1: smt 0, core 1, package 0 >>>> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins >>>> ioapic0: misconfigured as apic 0, remapped to apid 2 >>>> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-31 >>>> acpiprt0 at acpi0: bus 0 (PCI0) >>>> acpiprt1 at acpi0: bus -1 (PB4_) >>>> acpiprt2 at acpi0: bus -1 (PB5_) >>>> acpiprt3 at acpi0: bus 1 (PB6_) >>>> acpiprt4 at acpi0: bus -1 (PB7_) >>>> acpiprt5 at acpi0: bus 2 (P2P_) >>>> acpiprt6 at acpi0: bus 3 (SPB0) >>>> acpiprt7 at acpi0: bus 4 (SPB1) >>>> acpiprt8 at acpi0: bus -1 (SPB2) >>>> acpiprt9 at acpi0: bus -1 (SPB3) >>>> acpiec0 at acpi0 >>>> acpicpu0 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS >>>> acpicpu1 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS >>>> acpitz0 at acpi0: critical temperature is 92 degC >>>> acpibtn0 at acpi0: PWRB >>>> acpibtn1 at acpi0: SLPB >>>> "PNP0303" at acpi0 not configured >>>> "LEN0017" at acpi0 not configured >>>> "PNP0C09" at acpi0 not configured >>>> acpithinkpad0 at acpi0 >>>> acpiac0 at acpi0: AC unit online >>>> acpibat0 at acpi0: BAT1 model "42T4785" serial 3355 type LION oem >>>> "SANYO" >>>> acpibtn2 at acpi0: LID_ >>>> "PNP0C14" at acpi0 not configured >>>> "PNP0C14" at acpi0 not configured >>>> acpivideo0 at acpi0: VGA_ >>>> acpivideo1 at acpi0: VGA_ >>>> cpu0: 13093 MHz: speeds: 1600 1280 800 MHz >>>> pci0 at mainbus0 bus 0 >>>> pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00 >>>> radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6310" rev 0x00 >>>> drm0 at radeondrm0 >>>> radeondrm0: msi >>>> azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6310 HD Audio" rev >>>> 0x00: >>>> msi >>>> azalia0: no supported codecs >>>> ppb0 at pci0 dev 6 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi >>>> pci1 at ppb0 bus 1 >>>> 1:0:0: mem address conflict 0xfffe0000/0x20000 >>>> re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D >>>> (0x2800), msi, address e8:9a:8f:66:06:38 >>>> rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 2 >>>> ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int >>>> 19, AHCI 1.2 >>>> ahci0: port 0: 3.0Gb/s >>>> scsibus1 at ahci0: 32 targets >>>> sd0 at scsibus1 targ 0 lun 0: <ATA, TOSHIBA MK2555GS, FG00> SCSI3 >>>> 0/direct fixed naa.50000391c6887a53 >>>> sd0: 238475MB, 512 bytes/sector, 488397168 sectors >>>> ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int >>>> 18, version 1.0, legacy support >>>> ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int >>>> 17 >>>> usb0 at ehci0: USB revision 2.0 >>>> uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 >>>> ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int >>>> 18, version 1.0, legacy support >>>> ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int >>>> 17 >>>> usb1 at ehci1: USB revision 2.0 >>>> uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 >>>> piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling >>>> iic0 at piixpm0 >>>> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM >>>> spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600 SO-DIMM >>>> azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 2 >>>> int >>>> 16 >>>> azalia1: codecs: Conexant/0x5066 >>>> audio0 at azalia1 >>>> pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 >>>> ppb1 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 >>>> pci2 at ppb1 bus 2 >>>> ppb2 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00 >>>> pci3 at ppb2 bus 3 >>>> ppb3 at pci0 dev 21 function 1 "ATI SB800 PCIE" rev 0x00: msi >>>> pci4 at ppb3 bus 4 >>>> rtwn0 at pci4 dev 0 function 0 "Realtek 8188CE" rev 0x01: msi >>>> rtwn0: MAC/BB RTL8188CE, RF 6052 1T1R, address d0:df:9a:1a:85:c1 >>>> pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43 >>>> pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00 >>>> pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00 >>>> km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00 >>>> pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00 >>>> pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00 >>>> pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00 >>>> pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00 >>>> usb2 at ohci0: USB revision 1.0 >>>> uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1 >>>> usb3 at ohci1: USB revision 1.0 >>>> uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 >>>> isa0 at pcib0 >>>> isadma0 at isa0 >>>> pckbc0 at isa0 port 0x60/5 irq 1 irq 12 >>>> pckbd0 at pckbc0 (kbd slot) >>>> wskbd0 at pckbd0: console keyboard >>>> pms0 at pckbc0 (aux slot) >>>> wsmouse0 at pms0 mux 0 >>>> wsmouse1 at pms0 mux 0 >>>> pms0: Synaptics touchpad, firmware 7.5 >>>> pcppi0 at isa0 port 0x61 >>>> spkr0 at pcppi0 >>>> umass0 at uhub1 port 2 configuration 1 interface 0 "Generic >>>> USB2.0-CRW" rev 2.00/58.88 addr 2 >>>> umass0: using SCSI over Bulk-Only >>>> scsibus2 at umass0: 2 targets, initiator 0 >>>> sd1 at scsibus2 targ 1 lun 0: <Generic-, Multi-Card, 1.00> SCSI0 >>>> 0/direct removable serial.0bda0158114173400000 >>>> uvideo0 at uhub1 port 5 configuration 1 interface 0 "Image Processor >>>> Integrated Camera" rev 2.00/0.29 addr 3 >>>> video0 at uvideo0 >>>> uhidev0 at uhub2 port 2 configuration 1 interface 0 "Microsoft >>>> Microsoft 3-Button Mouse with IntelliEye(TM)" rev 1.10/3.00 addr 2 >>>> uhidev0: iclass 3/1 >>>> ums0 at uhidev0: 3 buttons, Z dir >>>> wsmouse2 at ums0 mux 0 >>>> vscsi0 at root >>>> scsibus3 at vscsi0: 256 targets >>>> softraid0 at root >>>> scsibus4 at softraid0: 256 targets >>>> root on sd0a (327c43bb666f37a4.a) swap on sd0b dump on sd0b >>>> radeondrm0: 1366x768 >>>> wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using >>>> wskbd0 >>>> wsdisplay0: screen 1-5 added (std, vt100 emulation) >>>> >>>> usbdevs: >>>> Controller /dev/usb0: >>>> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), >>>> ATI(0x1002), rev 1.00 >>>> port 1 powered >>>> port 2 powered >>>> port 3 powered >>>> port 4 powered >>>> port 5 powered >>>> Controller /dev/usb1: >>>> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), >>>> ATI(0x1002), rev 1.00 >>>> port 1 powered >>>> port 2 addr 2: high speed, power 500 mA, config 1, >>>> USB2.0-CRW(0x0158), Generic(0x0bda), rev 58.88, iSerialNumber >>>> 20071114173400000 >>>> port 3 powered >>>> port 4 powered >>>> port 5 addr 3: high speed, power 500 mA, config 1, Integrated >>>> Camera(0x01a6), Image Processor(0x5986), rev 0.29, iSerialNumber >>>> Integrated Camera >>>> Controller /dev/usb2: >>>> addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), >>>> ATI(0x1002), rev 1.00 >>>> port 1 powered >>>> port 2 addr 2: low speed, power 100 mA, config 1, Microsoft 3-Button >>>> Mouse with IntelliEye(TM)(0x0053), Microsoft(0x045e), rev 3.00 >>>> port 3 powered >>>> port 4 powered >>>> port 5 powered >>>> Controller /dev/usb3: >>>> addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), >>>> ATI(0x1002), rev 1.00 >>>> port 1 powered >>>> port 2 powered >>>> port 3 powered >>>> port 4 powered >>>> port 5 powered >>>> >>> >> >> > >
