On Tue, Dec 05, 2017 at 01:00:48AM -0500, Joseph Mayer wrote: > (Sigh, I see Proton Mail made a weird encoding. Hope I fixed this by setting > "Composer Mode" to "plaintext" in the settings.) > > Hi! > > This laptop http://www.gpd.hk/pocket.asp works fine on OpenBSD 6.1 and 6.2, > save for that the APM doesn't work - suspend doesn't work and the battery > doesn't report right, or even charge, in OpenBSD, will follow up about that > separately. > > 8GB RAM, 4x 2.56Ghz Atom x7-Z8750, 128GB eMMC, USB3, > micro-HDMI,USBC-Displayport, 480 grams. Here is the dmesg for 6.1. > > The biggest limits I see that there's no internal M.2 connector (for > NVME/SATA SSD), and also there's only one USBC (USB3) and one USB3 connector. > > This is with the 2017-06-28 "unlocked" BIOS which gives much more > configurable BIOS options (and some self-bricking options due to manufacturer > incompetence), more about that on Reddit. > > Some OpenBSD people who know much more about hardware than me, said that the > hardwired hardware configuration in this laptop is very good but I can't make > any judgement about that. > > Joseph > >
You should try a -current snapshot. I think kettenis@ fixed a few things on these types of machines recently. You still won't be able to suspend though, since this machine lacks S3. (Likely it does suspend via S0ix transitions). And I don't think S4 (hibernate) will work either since I'm pretty sure nobody has written a side-effect free sdmmc(4) I/O routine yet. But some of the other devices may be implemented now, in -current. -ml > OpenBSD 6.1 (GENERIC.MP) #20: Sat Apr 1 13:45:56 MDT 2017 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > RTC BIOS diagnostic error 3f<config_unit,memory_size,fixed_disk,invalid_time> > real mem = 8477364224 (8084MB) > avail mem = 8215760896 (7835MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x7b8f0000 (51 entries) > bios0: vendor American Megatrends Inc. version "5.11" date 06/28/2017 > bios0: Default string Default string > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG SSDT SSDT SSDT UEFI SSDT HPET > SSDT SSDT SSDT LPIT BCFG PRAM BGRT CSRT WDAT SSDT SSDT SSDT > acpi0: wakeup devices > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Atom(TM) x7-Z8750 CPU @ 1.60GHz, 1600.26 MHz > cpu0: > FPU,VME,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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT > cpu0: 1MB 64b/line 16-way L2 cache > cpu0: TSC frequency 1600257000 Hz > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 79MHz > cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0.0.3.3, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Atom(TM) x7-Z8750 CPU @ 1.60GHz, 1599.96 MHz > cpu1: > FPU,VME,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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT > cpu1: 1MB 64b/line 16-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 4 (application processor) > cpu2: Intel(R) Atom(TM) x7-Z8750 CPU @ 1.60GHz, 1599.96 MHz > cpu2: > FPU,VME,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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT > cpu2: 1MB 64b/line 16-way L2 cache > cpu2: smt 0, core 2, package 0 > cpu3 at mainbus0: apid 6 (application processor) > cpu3: Intel(R) Atom(TM) x7-Z8750 CPU @ 1.60GHz, 1599.96 MHz > cpu3: > FPU,VME,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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,RDRAND,NXE,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT > cpu3: 1MB 64b/line 16-way L2 cache > cpu3: smt 0, core 3, package 0 > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 115 pins > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (RP01) > acpiprt2 at acpi0: bus -1 (RP02) > acpiprt3 at acpi0: bus -1 (RP03) > acpiprt4 at acpi0: bus -1 (RP04) > acpicpu0 at acpi0 > C2: state 6: substate 8 >= num 3 > C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0 > C2: state 6: substate 8 >= num 3 > C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS > acpicpu2 at acpi0 > C2: state 6: substate 8 >= num 3 > C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS > acpicpu3 at acpi0 > C2: state 6: substate 8 >= num 3 > C3: state 7: substate 4 >= num 3: C1(1000@1 mwait.1), PSS > acpipwrres0 at acpi0: ID3C, resource for ISP3 > acpipwrres1 at acpi0: WWPR, resource for HS03, MDM1 > acpipwrres2 at acpi0: WWPR, resource for HS13, MDM1 > acpipwrres3 at acpi0: WWPR, resource for SSC1, MDM3 > acpipwrres4 at acpi0: WWPR, resource for SSCW, MDM3 > acpipwrres5 at acpi0: WWPR, resource for HSC1, MDM2 > acpipwrres6 at acpi0: WWPR, resource for HSC3, MDM4 > acpipwrres7 at acpi0: CLK3, resource for RTK1, RTKA > acpipwrres8 at acpi0: CLK4 > acpipwrres9 at acpi0: CLK2, resource for NFC2 > acpipwrres10 at acpi0: CLK1 > acpipwrres11 at acpi0: CLK0, resource for CA10, CAM9, CAM3 > acpipwrres12 at acpi0: CLK1, resource for CAM4 > acpipwrres13 at acpi0: USBC, resource for XHC1, OTG1 > acpipwrres14 at acpi0: P28X > acpipwrres15 at acpi0: P18X > acpipwrres16 at acpi0: P12X > acpipwrres17 at acpi0: P28P > acpipwrres18 at acpi0: P18P > acpipwrres19 at acpi0: P19X > acpipwrres20 at acpi0: P06X > acpipwrres21 at acpi0: P12A > acpipwrres22 at acpi0: P28T > acpipwrres23 at acpi0: P18D > acpipwrres24 at acpi0: P18T > acpipwrres25 at acpi0: P3P3 > acpipwrres26 at acpi0: P12T > acpipwrres27 at acpi0: P28W > acpipwrres28 at acpi0: P18W > acpipwrres29 at acpi0: P12W > acpipwrres30 at acpi0: P33W > acpipwrres31 at acpi0: P33X > acpipwrres32 at acpi0: P4BW > acpitz0 at acpi0: critical temperature is 90 degC > "INT33A4" at acpi0 not configured > "INT33BD" at acpi0 not configured > chvgpio0 at acpi0: GPO1 uid 2 addr 0xfed88000/0x8000 irq 48, 59 pins > chvgpio1 at acpi0: GPO3 uid 4 addr 0xfed98000/0x8000 irq 91, 55 pins > dwiic0 at acpi0: I2C7 addr 0xa1a26000/0x1000 irq 38 > iic0 at dwiic0 > chvgpio2 at acpi0: GPO0 uid 1 addr 0xfed80000/0x8000 irq 49, 56 pins > "INT34D3" at acpi0 not configured > dwiic1 at acpi0: I2C1 addr 0xa1a32000/0x1000 irq 32 > iic1 at dwiic1 > chvgpio3 at acpi0: GPO2 uid 3 addr 0xfed90000/0x8000 irq 50, 24 pins > "INT33FE" at acpi0 not configured > "PNP0501" at acpi0 not configured > sdhc0 at acpi0: SDHA addr 0xa1a3a000/0x1000 irq 45 > sdhc0: SDHC 3.0, 200 MHz base clock > sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma > sdhc1 at acpi0: SDHB addr 0xa1a38000/0x1000 irq 46 > sdhc1: SDHC 3.0, 200 MHz base clock > sdmmc1 at sdhc1: 4-bit, sd high-speed, mmc high-speed, dma > sdhc2 at acpi0: SHC1 addr 0xa1a36000/0x1000 irq 47, gpio > sdhc2: SDHC 3.0, 200 MHz base clock > sdmmc2 at sdhc2: 4-bit, sd high-speed, mmc high-speed, dma > "INTL9C60" at acpi0 not configured > "INTL9C60" at acpi0 not configured > "8086228A" at acpi0 not configured > "BCM2E7E" at acpi0 not configured > "8086228A" at acpi0 not configured > "8086228E" at acpi0 not configured > "8086228E" at acpi0 not configured > "8086228E" at acpi0 not configured > "MAX17047" at acpi0 not configured > dwiic2 at acpi0: I2C2 addr 0xa1a30000/0x1000 irq 33 > iic2 at dwiic2 > "10EC5645" at acpi0 not configured > dwiic3 at acpi0: I2C3 addr 0xa1a2e000/0x1000 irq 34 > iic3 at dwiic3 > dwiic4 at acpi0: I2C4 addr 0xa1a2c000/0x1000 irq 35 > iic4 at dwiic4 > dwiic5 at acpi0: I2C5 addr 0xa1a2a000/0x1000 irq 36 > iic5 at dwiic5 > dwiic6 at acpi0: I2C6 addr 0xa1a28000/0x1000 irq 37 > iic6 at dwiic6 > "GDIX1001" at acpi0 not configured > "808622A8" at acpi0 not configured > "INT33D5" at acpi0 not configured > acpibtn0 at acpi0: LID0 > "FAN02501" at acpi0 not configured > acpibtn1 at acpi0: PWRB > chvgpio4 at acpi0: GPO4 uid 5 > "ACPI0011" at acpi0 not configured > "ACPI000C" at acpi0 not configured > acpiac0 at acpi0: AC unit online > "INT3400" at acpi0 not configured > "INT3407" at acpi0 not configured > "INT3403" at acpi0 not configured > "INT3403" at acpi0 not configured > "INT3403" at acpi0 not configured > "INT3409" at acpi0 not configured > "INT3406" at acpi0 not configured > "INT3403" at acpi0 not configured > "USBC000" at acpi0 not configured > acpivideo0 at acpi0: GFX0 > acpivout0 at acpivideo0: DD01 > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > acpivout at acpivideo0 not configured > cpu0: Enhanced SpeedStep 1600 MHz: speeds: 1601, 1600, 1520, 1440, 1360, > 1280, 1200, 1120, 1040, 960, 880, 800, 720, 640, 560, 480 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Braswell Host" rev 0x34 > "Intel HD Graphics" rev 0x34 at pci0 dev 2 function 0 not configured > "Intel Braswell Power" rev 0x34 at pci0 dev 11 function 0 not configured > xhci0 at pci0 dev 20 function 0 "Intel Braswell xHCI" rev 0x34: msi > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 > addr 1 > "Intel Braswell TXE" rev 0x34 at pci0 dev 26 function 0 not configured > ppb0 at pci0 dev 28 function 0 "Intel Braswell PCIE" rev 0x34: msi > pci1 at ppb0 bus 1 > vendor "Broadcom", unknown product 0x43ec (class network subclass > miscellaneous, rev 0x02) at pci1 dev 0 function 0 not configured > pcib0 at pci0 dev 31 function 0 "Intel Braswell PCU LPC" rev 0x34 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT > efifb0 at mainbus0: 1200x1920, 32bpp > wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > sdmmc1: can't enable card > scsibus1 at sdmmc0: 2 targets, initiator 0 > sd0 at scsibus1 targ 1 lun 0: <Samsung, DJNB4R, 0000> SCSI2 0/direct removable > sd0: 119276MB, 512 bytes/sector, 244277248 sectors > uhidev0 at uhub0 port 2 configuration 1 interface 0 "SINO WEALTH Gaming > Keyboard" rev 1.10/1.00 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd0 at ukbd0: console keyboard, using wsdisplay0 > uhidev1 at uhub0 port 2 configuration 1 interface 1 "SINO WEALTH Gaming > Keyboard" rev 1.10/1.00 addr 2 > uhidev1: iclass 3/0, 39 report ids > uhid0 at uhidev1 reportid 5: input=0, output=0, feature=5 > ums0 at uhidev1 reportid 35: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > uhid1 at uhidev1 reportid 37: input=1, output=0, feature=0 > uhid2 at uhidev1 reportid 38: input=6, output=0, feature=0 > uhid3 at uhidev1 reportid 39: input=1, output=0, feature=0 > ugen0 at uhub0 port 3 "Broadcom Corp BCM2045A0" rev 2.00/1.12 addr 3 > uhidev2 at uhub0 port 4 configuration 1 interface 0 "Holtek USB Keyboard" rev > 1.10/2.09 addr 4 > uhidev2: iclass 3/1 > ukbd1 at uhidev2: 8 variable keys, 6 key codes > wskbd1 at ukbd1 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev3 at uhub0 port 4 configuration 1 interface 1 "Holtek USB Keyboard" rev > 1.10/2.09 addr 4 > uhidev3: iclass 3/1, 2 report ids > uhid4 at uhidev3 reportid 1: input=6, output=0, feature=0 > uhid5 at uhidev3 reportid 2: input=1, output=0, feature=0 > vscsi0 at root > scsibus2 at vscsi0: 256 targets >

