From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 7 08:33:43 2015 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50299250; Wed, 7 Jan 2015 08:33:43 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0785C66582; Wed, 7 Jan 2015 08:33:42 +0000 (UTC) Received: from [89.204.130.178] (helo=unixarea.DDR.dd) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Y8m3Z-0005s4-1v; Wed, 07 Jan 2015 09:33:33 +0100 Received: from unixarea.DDR.dd (localhost [127.0.0.1]) by unixarea.DDR.dd (8.14.9/8.14.3) with ESMTP id t078XUL8002231; Wed, 7 Jan 2015 09:33:30 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by unixarea.DDR.dd (8.14.9/8.14.3/Submit) id t078XTKc002230; Wed, 7 Jan 2015 09:33:29 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: unixarea.DDR.dd: guru set sender to guru@unixarea.de using -f Date: Wed, 7 Jan 2015 09:33:29 +0100 From: Matthias Apitz To: freebsd-mobile@freebsd.org Subject: Acer C720 Chromebook (was: Re: looking for new netbook) Message-ID: <20150107083329.GA2063@unixarea.DDR.dd> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-mobile@freebsd.org, freebsd-current@freebsd.org References: <20141127094342.GA1628@unixarea.DDR.dd> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141127094342.GA1628@unixarea.DDR.dd> X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.178 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2015 08:33:43 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit El día Thursday, November 27, 2014 a las 10:43:42AM +0100, Matthias Apitz escribió: > I'm looking for a new netbook laptop; my old EeePC 900 (from 2008) has > to short battery time, and the Acer Aspire One D250 has a problem with the > display (from time to time goes completely white, the system is running, > but one has to reboot to get an image again); > > What I want is more or less: > > -- 1-2 GByte RAM > -- 1024x600 display, ~10 inch > -- 50++ GByte SSD disk > -- normal QWERTY/Z keyboard (i.o. no tablet) > -- Wifi supported in head > -- USB ports for UMTS dongle > -- and of course, it should run FreeBSD; > > Any pointers to a modern device? Some week ago I have asked the above question and with the free time during the change of the year I can now answer it an I want to share some experiences: I found the Acer C720 Chromebook with the following technical data: -- 2 GByte RAM (soldered on board, not update-able) -- 2 core CPU, each 1.4 GHz -- display 1366x768, ~11 inch, very nicely support by Xorg VESA driver -- Wifi Atheros AR946x/AR948x, supported by ah(4) -- sound supported by snd_hda(4) -- 16 GByte SSD, can be swapped by, for example, MTS400 M.2 SSD 128GB SATA III, MLC (128 GByte) I will attach a dmesg output; The problem was: 1. It needs take apart the device to unlock the BIOS protection to be able to use a SeaBIOS for legacy boot from SSD or USB; 2. One needs some patches against -HEAD; All this is very good documented by the author of the patches, Michael Gmelin, in his blog: http://blog.grem.de/pages/c720.html Thanks to him for this work and his helping hand during my first steps with this nice device. I think, the patches should be incorporated into SVN, at the moment they are against -HEAD as of January 5th. The keyboard of the C720, in principle a normal PC105, mine with German layout QWERTZ, is a bit tricky: it has - only F-keys from F1 to F10 and they are labeled with symbols for the ChromeOS applications; - no hardware power-off (only by an ACPI key which is situated where F11 would be, i.e. right above the Backspace key, you see the risk :-) ) - no Windows key which could be used as Modifier-key in X11; - no PageUP/DOWN keys - no 'blue Fn' key for additional functions (like audio or brightnes) In his blog Michael documents as well ways to help out of this. It now runs very nicely -HEAD (still booted from an USB stick because I'm waiting for the 128 GByte SSD to swap it). I'm really surprised about the battery: lasts for 6-8 hours. Wow!!! HIH matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="dmesg.c720" Copyright (c) 1992-2014 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-CURRENT #0 r272526M: Thu Jan 1 05:30:48 CET 2015 guru@vm-poudriere-r269739:/usr/local/acerC720/obj/usr/local/acerC720/src/sys/GENERIC i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT: running with driver "vga". CPU: Intel(R) Celeron(R) 2955U @ 1.40GHz (1396.79-MHz 686-class CPU) Origin="GenuineIntel" Id=0x40651 Family=0x6 Model=0x45 Stepping=1 Features=0xbfebfbff Features2=0x45daebbf,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,XSAVE,RDRAND> AMD Features=0x2c100000 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 = 2079817728 (1983 MB) avail memory = 2014519296 (1921 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) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 ioapic0 irqs 0-39 on motherboard kbd1 at kbdmux0 module_register_init: MOD_LOAD (vesa, 0xc0f98550, 0) error 19 random: initialized 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 byte context size. xhci0: Port routing mask set to 0xffffffff usbus0 on xhci0 pci0: at device 21.0 (no driver attached) pci0: at device 21.1 (no driver attached) pci0: at device 21.2 (no driver attached) 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] 2 RX streams; 2 TX streams ath0: AR9460 mac 640.2 RF5110 phy 1638.7 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 uart0: <8250 or 16450 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 ata0: at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1: at port 0x170-0x177,0x376 irq 15 on isa0 ppc0: parallel port not found. est0: on cpu0 est1: on cpu1 Timecounters tick every 1.000 msec IP Filter: v5.1.2 initialized. Default = pass all, Logging = enabled hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 3 on hdaa0 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. random: unblocking device. usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: <0x8086> 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 uhub0: 13 ports with 13 removable, self powered uhub1: 2 ports with 2 removable, self powered ugen0.2: at usbus0 ugen1.2: at usbus1 uhub2: on usbus1 uhub2: 8 ports with 8 removable, self powered usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-10 SATA 3.x device ada0: Serial Number 50026B723A00B1B7 ada0: 600.000MB/s transfers (SATA 3.x, UDMA5, PIO 8192bytes) ada0: Command Queueing enabled ada0: 15272MB (31277232 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 SMP: AP CPU #1 Launched! Timecounter "TSC" frequency 1396794312 Hz quality 1000 Root mount waiting for: usbus0 usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT Root mount waiting for: usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT Root mount waiting for: usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT ugen0.3: at usbus0 (disconnected) uhub_reattach_port: could not allocate new device Root mount waiting for: usbus0 ugen0.3: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:3:0: Attached to scbus3 Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... mountroot: waiting for device /dev/ufs/FreeBSD_Install ... da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: Serial Number 11082000053285 da0: 40.000MB/s transfers da0: 7560MB (15482880 512 byte sectors: 255H 63S/T 963C) da0: quirks=0x2 wlan0: Ethernet address: 80:56:f2:83:c1:17 wlan0: link state changed to UP --EVF5PPMfhYS0aIcm--