From owner-freebsd-stable@freebsd.org Sat Feb 25 13:35:33 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08DBDCEC413 for ; Sat, 25 Feb 2017 13:35:33 +0000 (UTC) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from saturn.lyxys.ka.sub.org (saturn.lyxys.ka.sub.org [217.29.35.151]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 03559162 for ; Sat, 25 Feb 2017 13:35:30 +0000 (UTC) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (juno.lyx [IPv6:fd2a:89ca:7d54:0:240:caff:fe92:4f47]) by saturn.lyxys.ka.sub.org (8.15.2/8.15.2) with ESMTPS id v1PDANkq008658 (version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=FAIL) for ; Sat, 25 Feb 2017 14:10:25 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: from juno.lyxys.ka.sub.org (localhost [127.0.0.1]) by juno.lyxys.ka.sub.org (8.15.2/8.15.2) with ESMTPS id v1PDANsR094738 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 25 Feb 2017 14:10:23 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) Received: (from wolfgang@localhost) by juno.lyxys.ka.sub.org (8.15.2/8.15.2/Submit) id v1PDANKh094737 for freebsd-stable@freebsd.org; Sat, 25 Feb 2017 14:10:23 +0100 (CET) (envelope-from wolfgang@lyxys.ka.sub.org) X-Authentication-Warning: juno.lyx: wolfgang set sender to wolfgang@lyxys.ka.sub.org using -f Date: Sat, 25 Feb 2017 14:10:23 +0100 From: Wolfgang Zenker To: freebsd-stable@freebsd.org Subject: cyapa(4) and isl(4) no longer working on Acer C720 Message-ID: <20170225131023.GA94128@lyxys.ka.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: private site User-Agent: Mutt/1.7.2 (2016-11-26) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (saturn.lyxys.ka.sub.org [IPv6:fd2a:89ca:7d54:1:200:24ff:feca:b4cc]); Sat, 25 Feb 2017 14:10:25 +0100 (CET) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Feb 2017 13:35:33 -0000 Hi, I'm using FreeBSD 11 on a chromebook Acer C720. Because I normally use a mouse I didn't catch the exact time when cyapa and isl stopped working, but my guess is it was when chromebook_framework was introduced and cyapa and isl were moved to using iic. A manual page chromebook_platform(4) does not exist. Maybe the Acer is sufficiently different from other chromebooks that chromebook_platform does not work here. In that case I'm supposed to set device hints for the isl and cyapa drivers where to find their iic resources, according to https://github.com/freebsd/freebsd-base-graphics/commit/e2eab8e254154d36ebd6fde573f86e6472b75572 Unfortunately I have no idea where to find the information that would be needed for this. I have this in /boot/loader.conf: ------------------------------------- kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" zfs_load="YES" coretemp_load="YES" chromebook_platform_load="YES" ig4_load="YES" cyapa_load="YES" isl_load="YES" ------------------------------------- And this in /etc/rc.conf: ------------------------------------- hostname="faunus" keymap="de" kld_list="i915kms.ko" sshd_enable="YES" dumpdev="AUTO" zfs_enable="YES" wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP country de" ifconfig_wlan0_ipv6="inet6 accept_rtadv" rtsold_enable="YES" moused_enable="YES" moused_port="/dev/cyapa0" ntpd_enable="YES" ntpd_sync_on_start="YES" ------------------------------------- Kernel config is GENERIC with added options DDB, GDB, WITNESS and WITNESS_SKIPSPIN. This shows up in /var/run/dmesg.boot: ------------------------------------- Copyright (c) 1992-2017 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-STABLE #1 r313673: Sun Feb 12 04:22:32 CET 2017 wolfgang@faunus:/usr/obj/usr/src/sys/WITNESS amd64 FreeBSD clang version 3.9.1 (tags/RELEASE_391/final 289601) (based on LLVM 3.9.1) WARNING: WITNESS option enabled, expect reduced performance. VT(vga): resolution 640x480 CPU: Intel(R) Celeron(R) 2955U @ 1.40GHz (1396.80-MHz K8-class CPU) Origin="GenuineIntel" Id=0x40651 Family=0x6 Model=0x45 Stepping=1 Features=0xbfebfbff Features2=0x4ddaebbf AMD Features=0x2c100800 AMD Features2=0x21 Structured Extended Features=0x2603 XSAVE Features=0x1 VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 4301258752 (4102 MB) avail memory = 1914736640 (1826 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) random: unblocking device. ioapic0 irqs 0-39 on motherboard random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xffffffff80e9cbe0, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nexus0 vtvga0: on motherboard cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 Event timer "HPET5" frequency 14318180 Hz quality 440 Event timer "HPET6" frequency 14318180 Hz quality 440 cpu0: on acpi0 cpu1: on acpi0 atrtc0: port 0x70-0x77 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: irq 37 on acpi0 acpi_button2: irq 38 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0x1800-0x183f mem 0xe0000000-0xe03fffff,0xd0000000-0xdfffffff at device 2.0 on pci0 vgapci0: Boot video device hdac0: mem 0xe0510000-0xe0513fff at device 3.0 on pci0 xhci0: mem 0xe0500000-0xe050ffff at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA xhci0: Port routing mask set to 0xffffffff usbus0 on xhci0 pci0: at device 21.0 (no driver attached) ig4iic_pci0: mem 0xe051a000-0xe051afff,0xe051b000-0xe051bfff at device 21.1 on pci0 ig4iic_pci0: Using MSI ig4iic_pci1: mem 0xe051c000-0xe051cfff,0xe051d000-0xe051dfff at device 21.2 on pci0 ig4iic_pci1: Using MSI hdac1: mem 0xe0514000-0xe0517fff at device 27.0 on pci0 pcib1: at device 28.0 on pci0 pci1: on pcib1 ath0: mem 0xe0400000-0xe047ffff at device 0.0 on pci1 ar9300_attach: calling ar9300_hw_attach ar9300_hw_attach: calling ar9300_eeprom_attach ar9300_flash_map: unimplemented for now Restoring Cal data from DRAM Restoring Cal data from EEPROM Restoring Cal data from Flash Restoring Cal data from Flash Restoring Cal data from OTP ar9300_hw_attach: ar9300_eeprom_attach returned 0 ath0: [HT] enabling HT modes ath0: [HT] enabling short-GI in 20MHz mode ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 stream STBC transmit enabled ath0: [HT] LDPC transmit/receive enabled ath0: [HT] 2 RX streams; 2 TX streams ath0: AR9460 mac 640.2 RF5110 phy 0.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000 ehci0: mem 0xe051f800-0xe051fbff at device 29.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0x1860-0x1867,0x1870-0x1873,0x1868-0x186f,0x1874-0x1877,0x1840-0x185f mem 0xe051f000-0xe051f7ff irq 22 at device 31.2 on pci0 ahci0: AHCI v1.30 with 2 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: cannot reserve I/O port range coretemp0: on cpu0 est0: on cpu0 coretemp1: on cpu1 est1: on cpu1 ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf. ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec nvme cam probe device init hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 iicbus0: on ig4iic_pci0 usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: <0x8086 XHCI root HUB> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ACS-3 ATA SATA 3.x device ada0: Serial Number 50026B72420290AC ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 15272MB (31277232 512 byte sectors) iicbus1: on ig4iic_pci1 hdacc1: at cad 0 on hdac1 hdaa1: at nid 1 on hdacc1 hdaa1: hdaa_audio_as_parse: Pin 26 has wrong direction for association 1! Disabling association. hdaa1: hdaa_audio_as_parse: Pin 33 has wrong direction for association 2! Disabling association. SMP: AP CPU #1 Launched! Timecounter "TSC" frequency 1396800100 Hz quality 1000 WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from zfs:zroot/ROOT/default []... Root mount waiting for: usbus1 usbus0 uhub0: 13 ports with 13 removable, self powered uhub1: 2 ports with 2 removable, self powered Root mount waiting for: usbus1 usbus0 ugen0.2: at usbus0 ugen1.2: at usbus1 uhub2 on uhub1 uhub2: on usbus1 ugen0.3: at usbus0 uhub2: 8 ports with 8 removable, self powered info: [drm] Initialized drm 1.1.0 20060810 iic0: on iicbus0 iic1: on iicbus1 drmn0: on vgapci0 info: [drm] Memory usable by graphics device = 2048M intel_iicbb0 on drmn0 iicbus2: error: [drm:pid147:i915_write32] *ERROR* Unknown unclaimed register before writing to c5100 on iicbb0 addr 0xff iic2: on iicbus2 iicbus3: on intel_gmbus0 iic3: on iicbus3 intel_iicbb1 on drmn0 iicbus4: on iicbb1 addr 0x0 iic4: on iicbus4 iicbus5: on intel_gmbus1 iic5: on iicbus5 intel_iicbb2 on drmn0 iicbus6: on iicbb2 addr 0x0 iic6: on iicbus6 iicbus7: on intel_gmbus2 iic7: on iicbus7 intel_iicbb3 on drmn0 iicbus8: on iicbb3 addr 0x0 iic8: on iicbus8 iicbus9: on intel_gmbus3 iic9: on iicbus9 intel_iicbb4 on drmn0 iicbus10: on iicbb4 addr 0x0 iic10: on iicbus10 iicbus11: on intel_gmbus4 iic11: on iicbus11 intel_iicbb5 on drmn0 iicbus12: on iicbb5 addr 0x0 iic12: on iicbus12 iicbus13: on intel_gmbus5 iic13: on iicbus13 info: [drm] MSI enabled 1 message(s) info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. drm_iic_dp_aux0 on drmn0 drm_iic_dp_aux1 on drmn0 drmn0: taking over the fictitious range 0xd0000000-0xe0000000 info: [drm] Connector eDP-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.eDP-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector HDMI-A-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.HDMI-A-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector DP-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.DP-1 info: [drm] - kern.vt.fb.default_mode fbd0 on drmn0 VT: Replacing driver "vga" with new "fb". info: [drm] Initialized i915 1.6.0 20080730 for drmn0 on minor 0 wlan0: Ethernet address: 9c:d2:1e:9b:e6:41 info: [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off wlan0: link state changed to UP ------------------------------------- Output of kldstat: ------------------------------------- Id Refs Address Size Name 1 55 0xffffffff80200000 1f5ab88 kernel 2 1 0xffffffff8215c000 313dd8 zfs.ko 3 2 0xffffffff82470000 cb08 opensolaris.ko 4 1 0xffffffff8247d000 4c20 coretemp.ko 5 1 0xffffffff82482000 1e20 chromebook_platform.ko 6 1 0xffffffff82484000 8848 ig4.ko 7 9 0xffffffff8248d000 6fd0 iicbus.ko 8 1 0xffffffff82494000 96b8 cyapa.ko 9 1 0xffffffff8249e000 3180 isl.ko 10 1 0xffffffff82621000 96a0a i915kms.ko 11 1 0xffffffff826b8000 5446f drm2.ko 12 1 0xffffffff8270d000 1c62 iic.ko 13 1 0xffffffff8270f000 1e6e iicbb.ko 14 1 0xffffffff82711000 4f48 ng_ubt.ko 15 2 0xffffffff82716000 c1bf netgraph.ko 16 1 0xffffffff82723000 a62d ng_hci.ko 17 1 0xffffffff8272e000 1087 ng_bluetooth.ko ------------------------------------- Wolfgang