Hi,
First off, sorry for the noise caused. I'm a bit rusty with using OpenBSD on
laptops
and recompiling. It's been a couple of years of not doing it anymore.
I noticed I recompiled the single processor kernel. I fixed that in
the meantime and thought I would still report on the touchpad results.
So the touchpad is almost pretty usable. If I move it just quick as normal it
seems
to move quite responsive and quick. It's when I slow down the movement to click
at something it starts to act a bit weird. It keeps on moving even when I
stopped
moving my fingers on the touchpad. Like I mentioned earlier touch click and
normal
click work.
Hope the info is of any us for somebody. I'll search some more on tweaking the
touchpad
for now. See if I can get it good somehow.
Thanks for the help and again sorry for any noise caused.
# wsconsctl | grep mouse
wsconsctl: Use explicit arg to view keyboard.map.
mouse.type=usb
mouse.rawmode=1
mouse.scale=0,0,0,0,0,0,0
mouse1.type=ps2
mouse2.type=usb
# sysctl hw
hw.machine=amd64
hw.model=AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
hw.ncpu=8
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0:cfa379aacd19cf3f
hw.diskcount=1
hw.sensors.acpibat0.volt0=7.50 VDC (voltage)
hw.sensors.acpibat0.volt1=8.53 VDC (current voltage)
hw.sensors.acpibat0.power0=0.00 W (rate)
hw.sensors.acpibat0.watthour0=29.66 Wh (last full capacity)
hw.sensors.acpibat0.watthour1=2.96 Wh (warning capacity)
hw.sensors.acpibat0.watthour2=0.89 Wh (low capacity)
hw.sensors.acpibat0.watthour3=28.74 Wh (remaining capacity), OK
hw.sensors.acpibat0.watthour4=30.00 Wh (design capacity)
hw.sensors.acpibat0.raw0=0 (battery idle), OK
hw.sensors.acpibat0.raw1=0 (discharge cycles)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibtn0.indicator0=On (lid open)
hw.cpuspeed=1600
hw.setperf=0
hw.vendor=LENOVO
hw.product=81B1
hw.version=Lenovo V330-14ARR
hw.serialno=MP1G8JSJ
hw.uuid=554f8527-b431-e911-8bb6-9829a66f84b4
hw.physmem=6322868224
hw.usermem=6322855936
hw.ncpufound=8
hw.allowpowerdown=1
hw.perfpolicy=auto
hw.smt=0
hw.ncpuonline=4
OpenBSD 6.5-current (CUSTOM.MP) #0: Fri Jun 14 20:30:24 CEST 2019
[email protected]:/sys/arch/amd64/compile/CUSTOM.MP
real mem = 6322868224 (6029MB)
avail mem = 6121119744 (5837MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.1 @ 0x4c44d000 (50 entries)
bios0: vendor LENOVO version "3ECN35WW(V3.02)" date 11/24/2018
bios0: LENOVO 81B1
acpi0 at bios0: ACPI 5.0Undefined scope: \\_SB_.PCI0.GPP2.BCM5
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI MSDM SSDT ASF! BOOT HPET APIC MCFG SLIC WSMT SSDT
CRAT CDIT UEFI VFCT SSDT IVRS SSDT SSDT SSDT SSDT SSDT SSDT FPDT BGRT
acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4)
GPP6(S4) XHC0(S3) XHC1(S3) GP18(S4) PWRB(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 Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.62 MHz, 17-11-00
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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 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 24MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.23 MHz, 17-11-00
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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.23 MHz, 17-11-00
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.22 MHz, 17-11-00
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu3: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu3: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu3: smt 1, core 1, package 0
cpu4 at mainbus0: apid 4 (application processor)
cpu4: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.23 MHz, 17-11-00
cpu4:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu4: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu4: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu4: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu4: smt 0, core 2, package 0
cpu5 at mainbus0: apid 5 (application processor)
cpu5: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.23 MHz, 17-11-00
cpu5:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu5: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu5: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu5: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu5: smt 1, core 2, package 0
cpu6 at mainbus0: apid 6 (application processor)
cpu6: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.23 MHz, 17-11-00
cpu6:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu6: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu6: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu6: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu6: smt 0, core 3, package 0
cpu7 at mainbus0: apid 7 (application processor)
cpu7: AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.23 MHz, 17-11-00
cpu7:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu7: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 64b/line
8-way L2 cache, 4MB 64b/line 16-way L3 cache
cpu7: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu7: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu7: smt 1, core 3, package 0
ioapic0 at mainbus0: apid 33 pa 0xfec00000, version 21, 24 pins, can't remap
ioapic1 at mainbus0: apid 34 pa 0xfec01000, version 21, 32 pins, can't remap
acpimcfg0 at acpi0
acpimcfg0: addr 0xf8000000, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (GPP0)
acpiprt2 at acpi0: bus -1 (GPP1)
acpiprt3 at acpi0: bus -1 (GPP2)
acpiprt4 at acpi0: bus -1 (GPP3)
acpiprt5 at acpi0: bus -1 (GPP4)
acpiprt6 at acpi0: bus 1 (GPP5)
acpiprt7 at acpi0: bus 2 (GPP6)
acpiprt8 at acpi0: bus 3 (GP17)
acpiprt9 at acpi0: bus 4 (GP18)
acpiec0 at acpi0
acpicpu0 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu1 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu2 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu3 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu4 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu5 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu6 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpicpu7 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
acpipwrres0 at acpi0: P0ST, resource for SATA
acpipwrres1 at acpi0: P3ST, resource for SATA
acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
acpicmos0 at acpi0
"VPC2004" at acpi0 not configured
acpibat0 at acpi0: BAT1 model "3549487633295421772" serial 10821 type Li-Ion
oem "3549453542849793363"
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PWRB
"AMDI0030" at acpi0 not configured
dwiic0 at acpi0 I2CD addr 0xfedc5000/0x1000
iic0 at dwiic0
ihidev0 at iic0 addr 0x2c (polling), vendor 0x6cb product 0x8252, SYNA2B3F
ihidev0: 15 report ids
ims0 at ihidev0 reportid 1: 2 buttons
wsmouse0 at ims0 mux 0
hid at ihidev0 reportid 9 not configured
hid at ihidev0 reportid 10 not configured
hid at ihidev0 reportid 11 not configured
hid at ihidev0 reportid 12 not configured
hid at ihidev0 reportid 15 not configured
acpivideo0 at acpi0: VGA_
acpivideo1 at acpi0: VGA_
acpivideo2 at acpi0: VGA_
cpu0: 1996 MHz: speeds: 2000 1700 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 17h/1xh Root Complex" rev 0x00
"AMD AMD64 17h/1xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
pchb1 at pci0 dev 1 function 0 "AMD AMD64 17h PCIE" rev 0x00
ppb0 at pci0 dev 1 function 6 "AMD AMD64 17h/1xh PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H (0x5400),
msi, address 98:29:a6:6f:84:b4
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
ppb1 at pci0 dev 1 function 7 "AMD AMD64 17h/1xh PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
vendor "Atheros", unknown product 0x0042 (class network subclass miscellaneous,
rev 0x31) at pci2 dev 0 function 0 not configured
pchb2 at pci0 dev 8 function 0 "AMD AMD64 17h PCIE" rev 0x00
ppb2 at pci0 dev 8 function 1 "AMD AMD64 17h/1xh PCIE" rev 0x00
pci3 at ppb2 bus 3
"ATI Radeon Vega" rev 0xc4 at pci3 dev 0 function 0 not configured
azalia0 at pci3 dev 0 function 1 "ATI Radeon Vega HD Audio" rev 0x00: msi
azalia0: no supported codecs
ccp0 at pci3 dev 0 function 2 "AMD AMD64 17h/1xh Crypto" rev 0x00
xhci0 at pci3 dev 0 function 3 "AMD AMD64 17h/1xh xHCI" rev 0x00: msi, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00
addr 1
xhci1 at pci3 dev 0 function 4 "AMD AMD64 17h/1xh xHCI" rev 0x00: msi, xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00
addr 1
azalia1 at pci3 dev 0 function 6 "AMD AMD64 17h/1xh HD Audio" rev 0x00: apic 34
int 30
azalia1: codecs: Conexant/0x510f
audio0 at azalia1
ppb3 at pci0 dev 8 function 2 "AMD AMD64 17h/1xh PCIE" rev 0x00
pci4 at ppb3 bus 4
ahci0 at pci4 dev 0 function 0 "AMD FCH AHCI" rev 0x61: msi, AHCI 1.3.1
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, SAMSUNG MZ7LN256, MVT0> SCSI3 0/direct
fixed naa.5002538d42f7e15f
sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
"AMD FCH SMBus" rev 0x61 at pci0 dev 20 function 0 not configured
pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51
pchb3 at pci0 dev 24 function 0 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
pchb4 at pci0 dev 24 function 1 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
pchb5 at pci0 dev 24 function 2 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
pchb6 at pci0 dev 24 function 3 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
pchb7 at pci0 dev 24 function 4 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
pchb8 at pci0 dev 24 function 5 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
pchb9 at pci0 dev 24 function 6 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
pchb10 at pci0 dev 24 function 7 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
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)
wsmouse1 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: SVM/RVI
efifb0 at mainbus0: 1920x1080, 32bpp
wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
uvideo0 at uhub0 port 1 configuration 1 interface 0 "Chicony Electronics
Co.,Ltd. Integrated Camera" rev 2.01/0.27 addr 2
video0 at uvideo0
urtwn0 at uhub0 port 3 configuration 1 interface 0 "Realtek 802.11n NIC" rev
2.00/0.00 addr 3
urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address 50:3e:aa:e2:00:00
uhidev0 at uhub0 port 4 configuration 1 interface 0 "Primax Electronics DELL
Laser Mouse" rev 2.00/7.17 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z dir
wsmouse2 at ums0 mux 0
uhub2 at uhub1 port 2 configuration 1 interface 0 "Genesys Logic USB2.0 Hub"
rev 2.00/88.32 addr 2
ugen0 at uhub2 port 2 "Atheros Communications product 0xe500" rev 2.01/0.01
addr 3
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (cfa379aacd19cf3f.a) swap on sd0b dump on sd0b
wsmouse2 detached
ums0 detached
uhidev0 detached
uhidev0 at uhub0 port 4 configuration 1 interface 0 "Primax Electronics DELL
Laser Mouse" rev 2.00/7.17 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z dir
wsmouse2 at ums0 mux 0
wsmouse2 detached
ums0 detached
uhidev0 detached
uhidev0 at uhub0 port 4 configuration 1 interface 0 "Primax Electronics DELL
Laser Mouse" rev 2.00/7.17 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z dir
wsmouse2 at ums0 mux 0
> On 14 Jun 2019, at 08:31, Tristan <[email protected]> wrote:
>
>
>
>> On 14 Jun 2019, at 02:38, Tristan <[email protected]> wrote:
>>
>>
>>
>>> On Jun 14, 2019, at 12:00 AM, Tristan <[email protected]> wrote:
>>>
>>>
>>>
>>>> On 13 Jun 2019, at 23:47, Bryan Steele <[email protected]> wrote:
>>>>
>>>> On Thu, Jun 13, 2019 at 11:38:24PM +0200, Tristan wrote:
>>>>>
>>>>>
>>>>>> On 13 Jun 2019, at 22:34, Tristan <[email protected]> wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> On 13 Jun 2019, at 22:25, Bryan Steele <[email protected]> wrote:
>>>>>>>
>>>>>>> On Thu, Jun 13, 2019 at 08:39:48PM +0200, Tristan wrote:
>>>>>>>> Hi there,
>>>>>>>>
>>>>>>>> I got a new lenovo v330-14 it has an AMD Ryzen 5 2500U and Radeon RX
>>>>>>>> Vega 8
>>>>>>>> and so was looking forward to using OpenBSD on this one. I'm currently
>>>>>>>> running a
>>>>>>>> snapshot I grabbed today. To get the screen working I had to set
>>>>>>>> machdep.allowaperture=2
>>>>>>>> unfortunately, but it works now and great as well. Video seems smooth.
>>>>>>>> Audio works as well
>>>>>>>
>>>>>>> You should avoid doing that -- see recent mailing lists post from Mark
>>>>>>> Kettenis.
>>>>>>>
>>>>>>> https://marc.info/?l=openbsd-misc&m=156029398905090&w=2
>>>>>>>
>>>>>>> For Vega graphics you need to recompile your kernel with the amdgpu
>>>>>>> driver lines uncommented, alternatively reinstall in UEFI mode to get
>>>>>>> the
>>>>>>> efifb(4) driver instead. This is probably better as amdgpu support is
>>>>>>> still a WIP.
>>>>>>>
>> This worked really good. Now using efifb without the machdep setting. So
>> thanks for that pointer for sure.
>>>>>>
>>>>>> OK yes, I remember seeing something about it. Will give that a try. Much
>>>>>> better then opening up :)
>>>>>>
>>>>>>
>>>>>>>> but the touchpad is not working at all. Wireless card does not work
>>>>>>>> either, but using the
>>>>>>>> ethernet port on it for now until I get an USB dongle for it.
>>>>>>>>
>>>>>>>> wsconsctl | grep mouse gives me only:
>>>>>>>> mouse.type=ps2
>>>>>>>>
>>>>>>>> In the dmesg output I can see only:
>>>>>>>> wsmouse0 at pms0 mux 0
>>>>>>>
>>>>>>> Indeed, there's no pms(4) compatible touchpad on your machine. :-(
>>>>>>>
>>>>>>>> "AMDI0010" at acpi0 not configured
>>>>>>>> "SYNA2B3F" at acpi0 not configured
>>>>>>>
>>>>>>> And instead requires a driver to attach to the I2C HID controler. AMD's
>>>>>>> implementation seems to be somewhat compatible with dwiic(4) written by
>>>>>>> jcs@, however interrupts are not working-- hangs the machine. It does
>>>>>>> work if polling mode is forced.
>>>>>>>
>>>>>>> This diff made the touchscreen and touchpad work be detected and mostly
>>>>>>> work on my Huawei MateBook D (AMD), however with the touchpad it seems
>>>>>>> to be break Tap-To-Drag. I don't know if this is a side effect of the
>>>>>>> drivers polling, unlike the pms(4) support-- which is working on that
>>>>>>> machine. We have no way to prefer one driver over other, which is why
>>>>>>> I haven't sent this diff yet.
>>>>>>>
>>>>>>> Let me know if it works at all for you.
>>>>>>
>>>>>> Much appreciated, will try this and report the outcome
>>>>>
>>>>> Applying this patch gives me the following:
>>>>>
>>>>> Hmm... Looks like a unified diff to me...
>>>>> The text leading up to this was:
>>>>> --------------------------
>>>>> |Index: dwiic_acpi.c
>>>>> |===================================================================
>>>>> |RCS file: /cvs/src/sys/dev/acpi/dwiic_acpi.c,v
>>>>> |retrieving revision 1.8
>>>>> |diff -u -p -u -r1.8 dwiic_acpi.c
>>>>> |--- sys/dev/acpi/dwiic_acpi.c 1 Jul 2018 11:37:11 -0000 1.8
>>>>> |+++ sys/dev/acpi/dwiic_acpi.c 5 Jun 2019 00:25:29 -0000
>>>>> --------------------------
>>>>> Patching file dwiic_acpi.c using Plan A...
>>>>> patch: **** malformed patch at line 9: };
>>>>
>>>> Your mail client may have mangled it-- can you try grabbing it
>>>> from marc.info? If not, I'll send a direct link.
>>>>
>>>> https://marc.info/?l=openbsd-misc&m=156045760827816&q=raw
>>>>
>>>
>>> Yes sorry about that false report :) my mistake.
>>>
>>> Applied and recompiling at the moment. Will report back soon.
>>>
>> This patch gave some life to my touchpad. Unfortunately its more like a slow
>> stuttering zombie :)
>> But yes it has some movement now, but just slow and then jumping forward.
>> The touchpad touch click works as well.
>> Cannot provide any output at the moment, but will send over the dmesg and
>> wsconctl output tomorrow. In case you want to see if there are any other
>> things we could try:
>>
>> Thanks again for the help.
>>
>
> Find the output of wsconsctl | grep mouse
> wsconsctl: Use explicit arg to view keyboard.map.
> mouse.type=usb
> mouse.rawmode=1
> mouse.scale=0,0,0,0,0,0,0
> mouse1.type=ps2
>
> And my dmesg
>
> OpenBSD 6.5-current (CUSTOM) #0: Fri Jun 14 01:44:08 CEST 2019
>
> [email protected]:/sys/arch/amd64/compile/CUSTOM
> real mem = 6322868224 (6029MB)
> avail mem = 6121222144 (5837MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.1 @ 0x4c44d000 (50 entries)
> bios0: vendor LENOVO version "3ECN35WW(V3.02)" date 11/24/2018
> bios0: LENOVO 81B1
> acpi0 at bios0: ACPI 5.0Undefined scope: \\_SB_.PCI0.GPP2.BCM5
>
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP UEFI MSDM SSDT ASF! BOOT HPET APIC MCFG SLIC WSMT
> SSDT CRAT CDIT UEFI VFCT SSDT IVRS SSDT SSDT SSDT SSDT SSDT SSDT FPDT BGRT
> acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP2(S4) GPP3(S4) GPP4(S4) GPP5(S4)
> GPP6(S4) XHC0(S3) XHC1(S3) GP18(S4) PWRB(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 Ryzen 5 2500U with Radeon Vega Mobile Gfx, 1996.61 MHz, 17-11-00
> 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,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,RDSEED,ADX,SMAP,CLFLUSHOPT,SHA,IBPB,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu0: 64KB 64b/line 4-way I-cache, 32KB 64b/line 8-way D-cache, 512KB
> 64b/line 8-way L2 cache, 4MB 64b/line 16-way L3 cache
> cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully associative
> cpu0: DTLB 64 4KB entries fully associative, 64 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 24MHz
> cpu0: mwait min=64, max=64, C-substates=1.1, IBE
> cpu at mainbus0: not configured
> cpu at mainbus0: not configured
> cpu at mainbus0: not configured
> cpu at mainbus0: not configured
> cpu at mainbus0: not configured
> cpu at mainbus0: not configured
> cpu at mainbus0: not configured
> ioapic0 at mainbus0: apid 33 pa 0xfec00000, version 21, 24 pins, can't remap
> ioapic1 at mainbus0: apid 34 pa 0xfec01000, version 21, 32 pins, can't remap
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xf8000000, bus 0-63
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (GPP0)
> acpiprt2 at acpi0: bus -1 (GPP1)
> acpiprt3 at acpi0: bus -1 (GPP2)
> acpiprt4 at acpi0: bus -1 (GPP3)
> acpiprt5 at acpi0: bus -1 (GPP4)
> acpiprt6 at acpi0: bus 1 (GPP5)
> acpiprt7 at acpi0: bus 2 (GPP6)
> acpiprt8 at acpi0: bus 3 (GP17)
> acpiprt9 at acpi0: bus 4 (GP18)
> acpiec0 at acpi0
> acpicpu0 at acpi0: C2(0@400 io@0x414), C1(0@1 mwait), PSS
> acpipwrres0 at acpi0: P0ST, resource for SATA
> acpipwrres1 at acpi0: P3ST, resource for SATA
> acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000
> acpicmos0 at acpi0
> "VPC2004" at acpi0 not configured
> acpibat0 at acpi0: BAT1 model "3549487633295421772" serial 10821 type Li-Ion
> oem "3549453542849793363"
> acpibat1 at acpi0: BAT2 not present
> acpiac0 at acpi0: AC unit online
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: PWRB
> "AMDI0030" at acpi0 not configured
> dwiic0 at acpi0 I2CD addr 0xfedc5000/0x1000
> iic0 at dwiic0
> ihidev0 at iic0 addr 0x2c (polling), vendor 0x6cb product 0x8252, SYNA2B3F
> ihidev0: 15 report ids
> ims0 at ihidev0 reportid 1: 2 buttons
> wsmouse0 at ims0 mux 0
> hid at ihidev0 reportid 9 not configured
> hid at ihidev0 reportid 10 not configured
> hid at ihidev0 reportid 11 not configured
> hid at ihidev0 reportid 12 not configured
> hid at ihidev0 reportid 15 not configured
> acpivideo0 at acpi0: VGA_
> acpivideo1 at acpi0: VGA_
> acpivideo2 at acpi0: VGA_
> cpu0: 1996 MHz: speeds: 2000 1700 1600 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "AMD AMD64 17h/1xh Root Complex" rev 0x00
> "AMD AMD64 17h/1xh IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured
> pchb1 at pci0 dev 1 function 0 "AMD AMD64 17h PCIE" rev 0x00
> ppb0 at pci0 dev 1 function 6 "AMD AMD64 17h/1xh PCIE" rev 0x00: msi
> pci1 at ppb0 bus 1
> re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x15: RTL8168H/8111H
> (0x5400), msi, address 98:29:a6:6f:84:b4
> rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
> ppb1 at pci0 dev 1 function 7 "AMD AMD64 17h/1xh PCIE" rev 0x00: msi
> pci2 at ppb1 bus 2
> vendor "Atheros", unknown product 0x0042 (class network subclass
> miscellaneous, rev 0x31) at pci2 dev 0 function 0 not configured
> pchb2 at pci0 dev 8 function 0 "AMD AMD64 17h PCIE" rev 0x00
> ppb2 at pci0 dev 8 function 1 "AMD AMD64 17h/1xh PCIE" rev 0x00
> pci3 at ppb2 bus 3
> "ATI Radeon Vega" rev 0xc4 at pci3 dev 0 function 0 not configured
> azalia0 at pci3 dev 0 function 1 "ATI Radeon Vega HD Audio" rev 0x00: msi
> azalia0: no supported codecs
> ccp0 at pci3 dev 0 function 2 "AMD AMD64 17h/1xh Crypto" rev 0x00
> xhci0 at pci3 dev 0 function 3 "AMD AMD64 17h/1xh xHCI" rev 0x00: msi, xHCI
> 1.10
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00
> addr 1
> xhci1 at pci3 dev 0 function 4 "AMD AMD64 17h/1xh xHCI" rev 0x00: msi, xHCI
> 1.10
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev 3.00/1.00
> addr 1
> azalia1 at pci3 dev 0 function 6 "AMD AMD64 17h/1xh HD Audio" rev 0x00: apic
> 34 int 30
> azalia1: codecs: Conexant/0x510f
> audio0 at azalia1
> ppb3 at pci0 dev 8 function 2 "AMD AMD64 17h/1xh PCIE" rev 0x00
> pci4 at ppb3 bus 4
> ahci0 at pci4 dev 0 function 0 "AMD FCH AHCI" rev 0x61: msi, AHCI 1.3.1
> ahci0: port 0: 6.0Gb/s
> scsibus1 at ahci0: 32 targets
> sd0 at scsibus1 targ 0 lun 0: <ATA, SAMSUNG MZ7LN256, MVT0> SCSI3 0/direct
> fixed naa.5002538d42f7e15f
> sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
> "AMD FCH SMBus" rev 0x61 at pci0 dev 20 function 0 not configured
> pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51
> pchb3 at pci0 dev 24 function 0 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
> pchb4 at pci0 dev 24 function 1 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
> pchb5 at pci0 dev 24 function 2 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
> pchb6 at pci0 dev 24 function 3 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
> pchb7 at pci0 dev 24 function 4 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
> pchb8 at pci0 dev 24 function 5 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
> pchb9 at pci0 dev 24 function 6 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
> pchb10 at pci0 dev 24 function 7 "AMD AMD64 17h/1xh Data Fabric" rev 0x00
> 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)
> wsmouse1 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> vmm0 at mainbus0: SVM/RVI
> efifb0 at mainbus0: 1920x1080, 32bpp
> wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation), using wskbd0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> uvideo0 at uhub0 port 1 configuration 1 interface 0 "Chicony Electronics
> Co.,Ltd. Integrated Camera" rev 2.01/0.27 addr 2
> video0 at uvideo0
> urtwn0 at uhub0 port 3 configuration 1 interface 0 "Realtek 802.11n NIC" rev
> 2.00/0.00 addr 3
> urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address 50:3e:aa:e2:00:00
> uhub2 at uhub1 port 2 configuration 1 interface 0 "Genesys Logic USB2.0 Hub"
> rev 2.00/88.32 addr 2
> ugen0 at uhub2 port 2 "Atheros Communications product 0xe500" rev 2.01/0.01
> addr 3
> vscsi0 at root
> scsibus2 at vscsi0: 256 targets
> softraid0 at root
> scsibus3 at softraid0: 256 targets
> root on sd0a (cfa379aacd19cf3f.a) swap on sd0b dump on sd0b
>