From owner-freebsd-questions@freebsd.org Sun Aug 23 11:42:57 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 1EF489C1A4C; Sun, 23 Aug 2015 11:42:57 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 78DF0A5A; Sun, 23 Aug 2015 11:42:56 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 9FE326E005D; Sun, 23 Aug 2015 13:42:52 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id t7NBgqAN002037; Sun, 23 Aug 2015 13:42:52 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id t7NBgoZe001715; Sun, 23 Aug 2015 13:42:50 +0200 (CEST) (envelope-from lars) Date: Sun, 23 Aug 2015 13:42:50 +0200 From: Lars Engels To: Toby Slight Cc: FreeBSD Questions , freebsd-wireless@freebsd.org Subject: Re: X230 Intel Centrino Wireless-N 2200 not working Message-ID: <20150823114250.GY4954@e-new.0x20.net> References: <20150819124357.GR4954@e-new.0x20.net> <20150819132523.GV4954@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tAdHiH28s3ybHVSb" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) 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 11:42:57 -0000 --tAdHiH28s3ybHVSb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 19, 2015 at 02:41:35PM +0100, Toby Slight wrote: > Forgot to cc the lists on the last response - doh! >=20 > On 19 August 2015 at 14:25, Lars Engels wrote: >=20 > > On Wed, Aug 19, 2015 at 02:12:30PM +0100, Toby Slight wrote: > > > On 19 August 2015 at 13:43, Lars Engels wrote: > > > > > > > > > > > > HEAD is CURRENT, so 11.0-CURRENT is what you need. > > > > Don't worry, it's pretty stable. I'm running HEAD on my X230 since I > > > > bought it. No problems so far. > > > > > > > > > > Cool - cheers for the response Lars :-) I just fired up the -CURRENT > > > installer and was able to configure my wifi - fantastic. Guess I'm go= ing > > to > > > be running FreeBSD -CURRENT for a while then.... I must say it was ni= ce > > > that the the vt driver was enabled by default :-) > > > > Perfect! :-) Suspend / Resume should also work. I can show you my > > loader.conf / rc.conf settings to get things going, if you like. > > >=20 > That would be amazing and much appreciated :-) Finding it quite a jump fr= om > OpenBSD and Linux - got A LOT to learn! Of particular interest would be > whether or not you still have to add to Intel KMS flags to loader.conf and > what else needs to be added to get Xorg to work nice and reliablely... Do= es > TTY to X switching work now? I remember a few years ago I could get X > running on FreeBSD, but if I switched to a TTY, that was the end of me > being able to use my laptop screen! So, a little late, but here are the relevant settings for the X230. loader.conf: aesni_load=3D"YES" autoboot_delay=3D"1" loader_logo=3D"beastie" kern.maxfiles=3D"25000" kern.cam.boot_delay=3D"2000" # Energy saving hint.p4tcc.0.disabled=3D1 hint.acpi_throttle.0.disabled=3D1 hint.pcm.0.buffersize=3D65536 hint.pcm.1.buffersize=3D65536 hw.snd.feeder_buffersize=3D65536 hw.snd.latency=3D7 # Increase netgraph memory size for heavy VirtualBox network load net.graph.maxdata=3D65536 # experimental vfs.read_max=3D64 # Don't power devices with no driver attached hw.pci.do_power_nodriver=3D3 # APIC Timers block C3 hint.apic.0.clock=3D0 # Mute speaker when headphone jack is inserted and enable headphones dev.hdaa.0.nid26_config=3D"as=3D1 seq=3D0" dev.hdaa.0.nid22_config=3D"as=3D1 seq=3D15" # No memory tests at boot time hw.memtest.tests=3D0 hw.psm.trackpoint_support=3D1 #hw.psm.synaptics_support=3D1 # un-comment if you use the touchpad # Boot-time kernel tuning kern.ipc.shmseg=3D1024 kern.ipc.shmmni=3D1024 kern.maxproc=3D10000 # Increase max stack size kern.maxssiz=3D1073741824 kern.vty=3Dvt #power saving (HUGE difference) drm.i915.enable_rc6=3D7 debug.psm.loglevel=3D0 kern.vt.splash_cpu=3D1 kern.vt.splash_cpu_style=3D1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D rc.conf: moused_enable=3D"YES" # Enable scrolling with 3rd mouse button moused_flags=3D"-VH -U12 -L5" powerd_enable=3D"YES" powerd_flags=3D"-a hiadaptive -b hiadaptive" # Kernel Modules kld_list=3D"acpi_ibm aio sem cuse coretemp libiconv libmchain cd9660_iconv = msdosfs_iconv vmm nmdm" performance_cx_lowest=3D"Cmax" economy_cx_lowest=3D"Cmax" webcamd_enable=3D"YES" smartd_enable=3D"YES" autofs_enable=3D"YES" =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D sysctl.conf: # Disable the system speaker kern.vt.enable_bell=3D0 # Tune for desktop usage kern.sched.preempt_thresh=3D224 # Enable shm_allow_removed (for Chromium) kern.ipc.shm_allow_removed=3D1 # Suspend when the lid is closed hw.acpi.lid_switch_state=3Ds3 kern.module_path=3D/boot/kernel;/boot/modules;/usr/local/modules # Enable acpi_ibm button events dev.acpi_ibm.0.events=3D1 # Increase audio volume hw.snd.vpc_0db=3D15 hw.snd.vpc_autoreset=3D0 # faster shutdown hw.usb.no_shutdown_wait=3D1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D rc.suspend [...] /usr/sbin/service powerd quietrestart /usr/sbin/service netif restart [...] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D I don't know if all that is still needed on HEAD, but it's all running fine= on my box. Lars --tAdHiH28s3ybHVSb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJV2bG6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t5RQH+wYdVvZFHXHel31Iq+JDvbl4 KWouP+uoOKQELpgbb+dCNQUFk8PSv4aO6v+BVY17WDfSc0prMs0MaU0Er/wYtCSz DgxqblJq3qmYWfVx1zcG9/mdJ5LvGES1avlgy4B6NSu+Ace3tJcGgYSh4dApL0hV UETB/Xbv3ZNdZ2z/G41RDsbiqRXtADK0h2qWl/9g8nTaixI68SdgFS7Fpk1M7Q8j 4Z/oxykvxFPO9kSN391F+tnbIXPgpDbtqkHCdCXvDKLUY4zho9GyPKB8dvYZLoP2 o1BRTPvwfXLBrFtljjxXBLPyCyMqZjc11SKjrY+F/KsxvWqFXsTMf+vpFkrqUPU= =cyzS -----END PGP SIGNATURE----- --tAdHiH28s3ybHVSb--