From owner-freebsd-questions@freebsd.org Sun Aug 23 13:06:21 2015 Return-Path: Delivered-To: freebsd-questions@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 6B3969BAF0C for ; Sun, 23 Aug 2015 13:06:21 +0000 (UTC) (envelope-from tobyslight@gmail.com) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D49C3F52 for ; Sun, 23 Aug 2015 13:06:20 +0000 (UTC) (envelope-from tobyslight@gmail.com) Received: by lbbtg9 with SMTP id tg9so66341910lbb.1 for ; Sun, 23 Aug 2015 06:06:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-type; bh=3wWPknpg6CUyHZTy2uwyLj2ms/JhEZSkZQn8DUXATAo=; b=bMyJkq/Vzc5/IU4ZNa2diaGE5/3Jhx7atPvW6OGzVSipOsAHWEfUrLbrsqNV17RyHw PR2Yv+tP55JRdT+ft+P9ImGh05wFAZ7hY/t4efHmHBq5zBF++urqS/l3QEn4/t7dFDLU Hn/J/LxKwELTXoz1eGrpzSuYzBIgSJx4VxLhqqUxNjpwcWey2LRbzlc/Xk8nVYUqbnJe dj/7gbaOTTPxGXbcxBQIsgmYgj+jAsCOl1c2bTrk7fqnVgheZPdLuOg934BqCspJQ5nN vPcLAH4R5cPwjU3TEaRx3ZFgBwT7fCDd/Bssg7UdQ90AnGNf3PVjTyljjHeuHmxIXLGm wDmQ== X-Received: by 10.152.23.103 with SMTP id l7mr15789927laf.50.1440335178731; Sun, 23 Aug 2015 06:06:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.158.12 with HTTP; Sun, 23 Aug 2015 06:05:39 -0700 (PDT) In-Reply-To: <20150823114250.GY4954@e-new.0x20.net> References: <20150819124357.GR4954@e-new.0x20.net> <20150819132523.GV4954@e-new.0x20.net> <20150823114250.GY4954@e-new.0x20.net> From: Toby Slight Date: Sun, 23 Aug 2015 14:05:39 +0100 Message-ID: Subject: Re: X230 Intel Centrino Wireless-N 2200 not working Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Aug 2015 13:06:21 -0000 On 23 August 2015 at 12:42, Lars Engels wrote: > So, a little late, but here are the relevant settings for the X230. > > loader.conf: > aesni_load="YES" > > autoboot_delay="1" > loader_logo="beastie" > > kern.maxfiles="25000" > kern.cam.boot_delay="2000" > > # Energy saving > hint.p4tcc.0.disabled=1 > hint.acpi_throttle.0.disabled=1 > hint.pcm.0.buffersize=65536 > hint.pcm.1.buffersize=65536 > hw.snd.feeder_buffersize=65536 > hw.snd.latency=7 > > # Increase netgraph memory size for heavy VirtualBox network load > net.graph.maxdata=65536 > > # experimental > vfs.read_max=64 > > # Don't power devices with no driver attached > hw.pci.do_power_nodriver=3 > > # APIC Timers block C3 > hint.apic.0.clock=0 > > # Mute speaker when headphone jack is inserted and enable headphones > dev.hdaa.0.nid26_config="as=1 seq=0" > dev.hdaa.0.nid22_config="as=1 seq=15" > > > # No memory tests at boot time > hw.memtest.tests=0 > > hw.psm.trackpoint_support=1 > #hw.psm.synaptics_support=1 # un-comment if you use the touchpad > > # Boot-time kernel tuning > kern.ipc.shmseg=1024 > kern.ipc.shmmni=1024 > kern.maxproc=10000 > # Increase max stack size > kern.maxssiz=1073741824 > > kern.vty=vt > > #power saving (HUGE difference) > drm.i915.enable_rc6=7 > > debug.psm.loglevel=0 > > kern.vt.splash_cpu=1 > kern.vt.splash_cpu_style=1 > > > ====================================== > > rc.conf: > > moused_enable="YES" > # Enable scrolling with 3rd mouse button > moused_flags="-VH -U12 -L5" > > powerd_enable="YES" > powerd_flags="-a hiadaptive -b hiadaptive" > > # Kernel Modules > kld_list="acpi_ibm aio sem cuse coretemp libiconv libmchain cd9660_iconv > msdosfs_iconv vmm nmdm" > > performance_cx_lowest="Cmax" > economy_cx_lowest="Cmax" > > webcamd_enable="YES" > smartd_enable="YES" > autofs_enable="YES" > > ============================== > > sysctl.conf: > > # Disable the system speaker > kern.vt.enable_bell=0 > > # Tune for desktop usage > kern.sched.preempt_thresh=224 > > # Enable shm_allow_removed (for Chromium) > kern.ipc.shm_allow_removed=1 > > # Suspend when the lid is closed > hw.acpi.lid_switch_state=s3 > > kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules > > > # Enable acpi_ibm button events > dev.acpi_ibm.0.events=1 > > # Increase audio volume > hw.snd.vpc_0db=15 > hw.snd.vpc_autoreset=0 > > # faster shutdown > hw.usb.no_shutdown_wait=1 > > ================================== > > rc.suspend > > [...] > /usr/sbin/service powerd quietrestart > /usr/sbin/service netif restart > [...] > > > ================================== > > I don't know if all that is still needed on HEAD, but it's all running > fine on my box. > That's tremendously useful. Many, many thanks Lars. Lots of great stuff to learn about in there :-) I hadn't seen the kld_list thing in rc.conf before. Is that the same as adding, say, coretemp_load="YES" to loader.conf? I wondered why you put those in rc.conf instead? Also have you seen any panics running -current on this machine? -- 0x2b || !0x2b