On Sat, Dec 10, 2016 at 08:33:47PM +0900, Ryan McBride wrote: > On Sat, Dec 10, 2016 at 08:17:10PM +0900, Ryan McBride wrote: > > So I've been eying this machine for a while: > > http://www.kingjim.co.jp/sp/portabook/xmc10/ > > Included below is the dmesg with the previous diff applied. > > Besides all the devices that show "not configured", there are a bunch of > other things that don't work. I guess there's more broken that I haven't > run into yet. > > - Built-in keyboard does not work in the bootloader (an external USB > keyboard is fine) > > - zzz fails with "acpi0: state S3 unavailable"
The kernel does not support systems that require "low power idle"/"modern standby" instead of S3 for suspend. Though even if it did there is not yet support for cherry trail in inteldrm. Audio looks like i2c/i2s as on the 11" lenovo 100s. > > - Console does not use the whole screen, there is an empty border around > the whole screen (~2 chars tall at top and bottom, ~3 wide on the > sides) > > - X fails to start (see below) > > Any ACPI hackers interested in a Christmas "gift"? > > > [ 23.406] (--) checkDevMem: using aperture driver /dev/xf86 > [ 23.415] (--) Using wscons driver on /dev/ttyC4 > [ 23.429] > X.Org X Server 1.18.4 > Release Date: 2016-07-19 > [ 23.429] X Protocol Version 11, Revision 0 > [ 23.429] Build Operating System: OpenBSD 6.0 amd64 > [ 23.429] Current Operating System: OpenBSD asdf.my.domain 6.0 > GENERIC.MP#1 amd64 > [ 23.429] Build Date: 25 November 2016 11:21:01AM > [ 23.429] > [ 23.429] Current version of pixman: 0.34.0 > [ 23.429] Before reporting problems, check http://wiki.x.org > to make sure that you have the latest version. > [ 23.429] Markers: (--) probed, (**) from config file, (==) default > setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > [ 23.429] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 22 05:10:12 > 2015 > [ 23.432] (==) Using system config directory > "/usr/X11R6/share/X11/xorg.conf.d" > [ 23.434] (==) No Layout section. Using the first Screen section. > [ 23.434] (==) No screen section available. Using defaults. > [ 23.434] (**) |-->Screen "Default Screen Section" (0) > [ 23.435] (**) | |-->Monitor "<default monitor>" > [ 23.437] (==) No monitor specified for screen "Default Screen Section". > Using a default monitor configuration. > [ 23.437] (==) Disabling SIGIO handlers for input devices > [ 23.438] (==) Automatically adding devices > [ 23.438] (==) Automatically enabling devices > [ 23.438] (==) Not automatically adding GPU devices > [ 23.439] (==) Max clients allowed: 256, resource mask: 0x1fffff > [ 23.457] (==) FontPath set to: > /usr/X11R6/lib/X11/fonts/misc/, > /usr/X11R6/lib/X11/fonts/TTF/, > /usr/X11R6/lib/X11/fonts/OTF/, > /usr/X11R6/lib/X11/fonts/Type1/, > /usr/X11R6/lib/X11/fonts/100dpi/, > /usr/X11R6/lib/X11/fonts/75dpi/ > [ 23.457] (==) ModulePath set to "/usr/X11R6/lib/modules" > [ 23.457] (II) The server relies on wscons to provide the list of input > devices. > If no devices become available, reconfigure wscons or disable > AutoAddDevices. > [ 23.458] (II) Loader magic: 0x1b864e534020 > [ 23.458] (II) Module ABI versions: > [ 23.458] X.Org ANSI C Emulation: 0.4 > [ 23.458] X.Org Video Driver: 20.0 > [ 23.458] X.Org XInput driver : 22.1 > [ 23.458] X.Org Server Extension : 9.0 > [ 23.459] (--) PCI:*(0:0:2:0) 8086:22b0:1b0a:01bc rev 32, Mem @ > 0x90000000/16777216, 0x80000000/268435456, I/O @ 0x0000f000/64 > [ 23.459] (II) LoadModule: "glx" > [ 23.463] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so > [ 23.501] (II) Module glx: vendor="X.Org Foundation" > [ 23.501] compiled for 1.18.4, module version = 1.0.0 > [ 23.501] ABI class: X.Org Server Extension, version 9.0 > [ 23.501] (==) AIGLX enabled > [ 23.502] (==) Matched intel as autoconfigured driver 0 > [ 23.502] (==) Matched vesa as autoconfigured driver 1 > [ 23.502] (==) Assigned the driver to the xf86ConfigLayout > [ 23.502] (II) LoadModule: "intel" > [ 23.502] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so > [ 23.513] (II) Module intel: vendor="X.Org Foundation" > [ 23.513] compiled for 1.18.4, module version = 2.99.916 > [ 23.513] Module class: X.Org Video Driver > [ 23.513] ABI class: X.Org Video Driver, version 20.0 > [ 23.513] (II) LoadModule: "vesa" > [ 23.514] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so > [ 23.516] (II) Module vesa: vendor="X.Org Foundation" > [ 23.516] compiled for 1.18.4, module version = 2.3.4 > [ 23.516] Module class: X.Org Video Driver > [ 23.516] ABI class: X.Org Video Driver, version 20.0 > [ 23.516] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: > i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, > 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, > Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, > GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 > [ 23.517] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000 > [ 23.517] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100 > [ 23.517] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, > 6200, P6300 > [ 23.517] (II) VESA: driver for VESA chipsets: vesa > [ 23.519] (II) Loading sub module "vbe" > [ 23.519] (II) LoadModule: "vbe" > [ 23.522] (II) Loading /usr/X11R6/lib/modules/libvbe.so > [ 23.524] (II) Module vbe: vendor="X.Org Foundation" > [ 23.524] compiled for 1.18.4, module version = 1.1.0 > [ 23.524] ABI class: X.Org Video Driver, version 20.0 > [ 23.524] (II) Loading sub module "int10" > [ 23.524] (II) LoadModule: "int10" > [ 23.525] (II) Loading /usr/X11R6/lib/modules/libint10.so > [ 23.529] (II) Module int10: vendor="X.Org Foundation" > [ 23.529] compiled for 1.18.4, module version = 1.0.0 > [ 23.530] ABI class: X.Org Video Driver, version 20.0 > [ 23.530] (II) VESA(0): initializing int10 > [ 23.530] (EE) VESA(0): V_BIOS address 0x0 out of range > [ 23.530] (II) UnloadModule: "vesa" > [ 23.531] (II) UnloadSubModule: "int10" > [ 23.531] (II) Unloading int10 > [ 23.531] (II) UnloadSubModule: "vbe" > [ 23.531] (II) Unloading vbe > [ 23.531] (EE) Screen(s) found, but none have a usable configuration. > [ 23.531] (EE) > Fatal server error: > [ 23.531] (EE) no screens found(EE) > [ 23.531] (EE) > Please consult the The X.Org Foundation support > at http://wiki.x.org > for help. > [ 23.531] (EE) Please also check the log file at "/var/log/Xorg.0.log" for > additional information. > [ 23.531] (EE) > [ 23.531] (EE) Server terminated with error (1). Closing log file. > > > > > > > OpenBSD 6.0-current (GENERIC.MP) #1: Sat Dec 10 19:57:11 JST 2016 > > mcbr...@tai.lab.countersiege.com:/usr/src/sys/arch/amd64/compile/GENERIC.MP > RTC BIOS diagnostic error 3f<config_unit,memory_size,fixed_disk,invalid_time> > real mem = 2034491392 (1940MB) > avail mem = 1968332800 (1877MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x7b8db000 (27 entries) > bios0: vendor American Megatrends Inc. version "R24" date 12/10/2015 > bios0: Default string Default string > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT MSDM MCFG SSDT SSDT SSDT UEFI HPET > SSDT SSDT SSDT SSDT TPM2 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-Z8700 CPU @ 1.60GHz, 1600.30 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,LONG,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS,SENSOR,ARAT > cpu0: 1MB 64b/line 16-way L2 cache > 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-Z8700 CPU @ 1.60GHz, 1599.94 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,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-Z8700 CPU @ 1.60GHz, 1599.94 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,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-Z8700 CPU @ 1.60GHz, 1599.94 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,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 RTEK, RTK1 > 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: P28T > acpipwrres22 at acpi0: P18D > acpipwrres23 at acpi0: P18T > acpipwrres24 at acpi0: P3P3 > acpipwrres25 at acpi0: P12T > acpipwrres26 at acpi0: P28W > acpipwrres27 at acpi0: P18W > acpipwrres28 at acpi0: P12W > acpipwrres29 at acpi0: P33W > acpipwrres30 at acpi0: P33X > acpipwrres31 at acpi0: P4BW > acpitz0 at acpi0: critical temperature is 90 degC > "INT33A4" at acpi0 not configured > sdhc0 at acpi0: SDHA addr 0x91438000/0x1000 irq 45 > sdhc0: SDHC 3.0, 200 MHz base clock > sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma > "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 > sdhc1 at acpi0: SDHB addr 0x91436000/0x1000 irq 46 > sdhc1: SDHC 3.0, 200 MHz base clock > sdmmc1 at sdhc1: 4-bit, sd high-speed, mmc high-speed, dma > dwiic0 at acpi0: I2C7 addr 0x91424000/0x1000 irq 38 > iic0 at dwiic0 > dwiic0: no _CRS method at \\_SB_.PCI0.I2C7.BATC > sdhc2 at acpi0: SHC1 addr 0x91434000/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 > chvgpio2 at acpi0: GPO0 uid 1 addr 0xfed80000/0x8000 irq 49, 56 pins > "OBDA8723" at acpi0 not configured > "8086228A" at acpi0 not configured > "8086228E" at acpi0 not configured > "8086228E" at acpi0 not configured > "8086228E" at acpi0 not configured > dwiic1 at acpi0: I2C1 addr 0x91430000/0x1000 irq 32 > iic1 at dwiic1 > dwiic1: no _CRS method at \\_SB_.PCI0.I2C1.BAT0 > dwiic1: no _CRS method at \\_SB_.PCI0.I2C1.ADP1 > ihidev0 at iic1 addr 0x34 gpio 5, vendor 0x8566 product 0x101, MSFT1234 > ihidev0: 4 report ids > ikbd0 at ihidev0 reportid 1: 8 variable keys, 6 key codes > wskbd0 at ikbd0 mux 1 > ims0 at ihidev0 reportid 2: 5 buttons, Z and W dir > wsmouse0 at ims0 mux 0 > hid at ihidev0 reportid 3 not configured > hid at ihidev0 reportid 4 not configured > acpibat0 at acpi0: BAT0 model "VIPER49" serial 12345678 type CA4800 oem " " > acpiac0 at acpi0: AC unit offline > "MSFT1234" at acpi0 not configured > dwiic2 at acpi0: I2C2 addr 0x9142e000/0x1000 irq 33 > iic2 at dwiic2 > "10EC5672" at acpi0 not configured > dwiic3 at acpi0: I2C3 addr 0x9142c000/0x1000 irq 34 > iic3 at dwiic3 > dwiic4 at acpi0: I2C4 addr 0x9142a000/0x1000 irq 35 > iic4 at dwiic4 > dwiic5 at acpi0: I2C5 addr 0x91428000/0x1000 irq 36 > iic5 at dwiic5 > dwiic6 at acpi0: I2C6 addr 0x91426000/0x1000 irq 37 > iic6 at dwiic6 > "INT33FD" at acpi0 not configured > acpibat1 at acpi0: BATC > "808622A8" at acpi0 not configured > acpibtn0 at acpi0: PWRB > chvgpio3 at acpi0: GPO2 uid 3 addr 0xfed90000/0x8000 irq 50, 24 pins > chvgpio4 at acpi0: GPO4 uid 5 > "ACPI0011" at acpi0 not configured > "ACPI000C" at acpi0 not configured > acpibtn1 at acpi0: LID0 > "INT3400" at acpi0 not configured > "INT3407" 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 > "INT3408" at acpi0 not configured > "MSFT0101" 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 0x20 > "Intel HD Graphics" rev 0x20 at pci0 dev 2 function 0 not configured > "Intel Braswell Power" rev 0x20 at pci0 dev 11 function 0 not configured > xhci0 at pci0 dev 20 function 0 "Intel Braswell xHCI" rev 0x20: msi > xhci0: timed out waiting for BIOS > 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 0x20 at pci0 dev 26 function 0 not configured > pcib0 at pci0 dev 31 function 0 "Intel Braswell PCU LPC" rev 0x20 > 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: 1280x768, 32bpp > wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation) > wskbd0: connecting to wsdisplay0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > (manufacturer 0x24c, product 0x626)at sdmmc1 function 1 not configured > scsibus1 at sdmmc0: 2 targets, initiator 0 > sd0 at scsibus1 targ 1 lun 0: <Kingston, M52532, 0000> SCSI2 0/direct fixed > sd0: 29184MB, 512 bytes/sector, 59768832 sectors > uhub1 at uhub0 port 1 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" > rev 2.00/77.61 addr 2 > umass0 at uhub1 port 3 configuration 1 interface 0 "Verbatim STORE N GO" rev > 2.10/1.00 addr 3 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd1 at scsibus2 targ 1 lun 0: <Verbatim, STORE N GO, 5.00> SCSI4 0/direct > removable serial.18a50250584F0EA42775 > sd1: 7385MB, 512 bytes/sector, 15124992 sectors > run0 at uhub1 port 4 configuration 1 interface 0 "Ralink 802.11 n WLAN" rev > 2.00/1.01 addr 4 > run0: MAC/BBP RT3071 (rev 0x021C), RF RT3022 (MIMO 2T2R), address > b0:c7:45:7a:46:81 > uvideo0 at uhub0 port 4 configuration 1 interface 0 "Bison BisonCam, NB Pro" > rev 2.00/46.09 addr 5 > video0 at uvideo0 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on sd0a (c82523eb4bccf094.a) swap on sd0b dump on sd0b >