From owner-freebsd-mobile@freebsd.org Sun Jan 7 19:19:28 2018 Return-Path: Delivered-To: freebsd-mobile@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 D8621E7C0CF for ; Sun, 7 Jan 2018 19:19:28 +0000 (UTC) (envelope-from clutton@zoho.com) Received: from sender-pp-091.zoho.com (sender-pp-091.zoho.com [135.84.80.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A75DB746EA for ; Sun, 7 Jan 2018 19:19:28 +0000 (UTC) (envelope-from clutton@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=message-id:subject:from:to:date:in-reply-to:references:content-type:mime-version; b=uRr3A9oiRhFojF58s3s+i0neC3uXyAhMKCKvDMZfefjs+uEUJ+y9ERovmrEDg0ptTA/DZXZ+Wbpz WNJw5ExjAWhY8hK+EgzY1FL5Mh5jVRt70K6aRUGdHZSu5Du9Kb8P Received: from [10.1.2.6] (mktechs.net [46.229.54.117]) by mx.zohomail.com with SMTPS id 1515352754657243.8853055440618; Sun, 7 Jan 2018 11:19:14 -0800 (PST) Message-ID: <1515352736.1383.2.camel@zoho.com> Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) From: clutton To: Michael Gmelin , "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" Date: Sun, 07 Jan 2018 21:18:56 +0200 In-Reply-To: <20171230155857.3ba51994@bsd64.grem.de> References: <20171230155857.3ba51994@bsd64.grem.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-XLKcC+xZOssFZJVIiN01" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-ZohoMail: Z_30320720 SPT_1 SLF_E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 19:19:28 -0000 --=-XLKcC+xZOssFZJVIiN01 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2017-12-30 at 15:58 +0100, Michael Gmelin wrote: > Hi, >=20 > I found some time to play with FreeBSD on a Lenovo Thinkpad T470s and > I'm quite happy with the results, as all important features work, > especially essentials like graphics, touchpad and suspend to RAM. >=20 > The configuration is pretty straightforward, but a few things > required > research (like evdev, udev and libinput), that's why I documented my > setup here, hoping that it might help others: >=20 > https://blog.grem.de/pages/t470s.html You don't need this: sysrc cloned_interfaces+=3Diwm0 Regarding the patches: I don't know if you need them now, I managed to make it work with Section "InputDevice" instead of Section "InputClass" and attaching them to layout manually. In that case they don't duplicate each other. There is a patch for broken ioctl syscall which make thing fall off once per week completely, I haven't tried it yet ht tps://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217248 I'm using modeseting and libinput, and the machine is carbon 5th gen. --=-XLKcC+xZOssFZJVIiN01 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEJS/zE0mE1p2+tYanfbA/jbLI/pAFAlpScqAACgkQfbA/jbLI /pDxVBAAoPW2XoDZgId0bbLrdmQgMJlCZI8Ev2uWxEnrtnffwUkkVumGoylKLznk 2KQKDeFdvmGTHAKHb3ViaYhpBhlUoiXiZ2s2VmsncSdZyZgKwmkSkG2ejZz0heDW 3VHUJfXAauSaYa/v7xjRxOp/XuMlNbmGZ9MaxJsuuanrQi67kCA6o2tpfxk36ism 8akZJRy/d8kMzFVmx9qCTY0629OYo54MG1VIcndoulfID+2UBW4+g4fFM8XtrMW/ LFE9oXhfhselHGFGkc3537yuaKKQ7ohSmpelSSzcspYzr64535aPeXyAnN7aJ929 SVFJyi31V0VZS1XlIETXnQpZoa3EicT3cw+K/3PYyAa9zlgLl2id93zGMntuG423 h+5+3mNqB3vniaVZVOZgCCp8mpa/+rP8XhSzNFuZzQd7uK1wGuRvn7XqUQe+ba2+ P+QxiSDdIAwzVtsmAidGYQqPGVqeyuTpWkY8ofP/mDHWWItxgotLkYYCbuMEhrsc o6c8tLA7Gqv9cEFJspigD/1uMjW0gEY0IheZWGSjhJNXUazloJicvbdUL3O3JeF/ ZUoV0gbOqT3M7+FSyejge4Y40Yz+2Wx1F/71Oc1zEpyxfC99y/SJ23FKdMOyD8EV AYgOqLr9R1pDrBanFxARgrT3mp9Aiertj7vR3p1x46Utimo99+Y= =xufj -----END PGP SIGNATURE----- --=-XLKcC+xZOssFZJVIiN01-- From owner-freebsd-mobile@freebsd.org Sun Jan 7 19:44:19 2018 Return-Path: Delivered-To: freebsd-mobile@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 B802EE7D472; Sun, 7 Jan 2018 19:44:19 +0000 (UTC) (envelope-from clutton@zoho.com) Received: from sender-pp-091.zoho.com (sender-pp-091.zoho.com [135.84.80.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C8E9756E4; Sun, 7 Jan 2018 19:44:19 +0000 (UTC) (envelope-from clutton@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=message-id:subject:from:to:date:in-reply-to:references:content-type:mime-version; b=ibzddeKDKe0K/9ius9ICM3mzrM0H8fEAHia8QdzaD370oCR3EEyTzBZeO6AIVAR5RJTitPc85MAs of5mX0/q55An4YxFzQQIDrRHsKpzJC5SnlfluIPQUUDoHbccgTwR Received: from [10.1.2.6] (mktechs.net [46.229.54.117]) by mx.zohomail.com with SMTPS id 1515354254296794.9603111627019; Sun, 7 Jan 2018 11:44:14 -0800 (PST) Message-ID: <1515354236.1383.6.camel@zoho.com> Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) From: clutton To: Michael Gmelin , "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" Date: Sun, 07 Jan 2018 21:43:56 +0200 In-Reply-To: <20171230155857.3ba51994@bsd64.grem.de> References: <20171230155857.3ba51994@bsd64.grem.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-yXmu7Y5m2WX6RjsXL/19" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-ZohoMail: Z_30320720 SPT_1 SLF_E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 19:44:19 -0000 --=-yXmu7Y5m2WX6RjsXL/19 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2017-12-30 at 15:58 +0100, Michael Gmelin wrote: > Hi, Running carbon 5th gen I can't call my setup a success. Wireless iwm doesn't support even N and AC is not supported at all. The wifi is much slower then on my old machines. I'm going to replace the wifi card in mean time, any suggestions which one to buy? Graphics works perfectly. NVMe SSD with OPAL wouldn't allow machine to resume from sleep, sometimes it does after big timeout and writing errors to console, sometime it just reboots. Thinkpad Thunderbolt Dock Station, here is where things get interesting. If I boot machine connected to dock station, peripheral devices would work, external monitor, keyboard, and mouse. There's no other way I know to make it work. Once detached - it wouldn't see devices again. Booting and THEN attaching - the same, machine wouldn't see devices. Here is the device being seen (a lot of pcib*): pcib5@pci0:6:0:0: class=3D0x060400 card=3D0x11112222 chip=3D0x15d38086 rev=3D0x02 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D 'JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge 4C 2016]' class =3D bridge subclass =3D PCI-PCI For me the main concern is Thunderbolt thought, docking station is amazing thing. Any ideas and thought how to make it work would be highly appreciated. --=-yXmu7Y5m2WX6RjsXL/19 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEJS/zE0mE1p2+tYanfbA/jbLI/pAFAlpSeHwACgkQfbA/jbLI /pDxExAAgDQ/3TdV7AaCxaRCO+TZbUZu7ewUR1YC7JAdIKYXdLM0G+UqmCMfZrAt ORKiEla+I++/fvHUb7rurnC02h62R8tuW1jDOH/BdcUVs2z+ybXOTO66B4ckCE7W E+w1RUVskZzvc3Hl9u16N4n3FDHKvUHB84sn71IMt194qdD1Oxb3AmMJCDtFNNUq qIeTgcnHkUJnPm3vSBiP0PvaOdkP0kx5OikBm+hooazvJm0OO0bZftf0UysdwPmn XTRKEj8s0oeus/j2+3FpyTR/ZO1WN0aSvtMAa6z1khQlTQlsbmMzxtF+ipwVY7Xu G5kGxgyHkCIPitdzeY7fPj2HzEPmrL/WIg21T1wZEBeeIUTWxypuuUGJGtzBJ6FD 0WOxlHlov0BCqAbxe5lLbX/uOkyoSckcaqJ5gCu0x7QP6aSRQ6GyNHsYPKkNAQ0q tREpbJcujWOTFb0J03QV8i9qti2ys2QbvwTeJGDAkdI7P8FJmT7ZMeVkT+ghHEUK ItZAoLNSTXKhDtE1f6W0l5rQ2lpj/awt4PXjzqZw5v0HpDAE7/dBFVxcrOfntdvA 7Pec4wTYukVmfptdgHQj7Zb8kJLZAmUM58JIuTcZ7z/tNoWhl30lO5rDnlgUmvS7 xjsXnwIVCFBFhsLkjFCLCttqwpw3mN802W0Npyw1+/y5Nf4hlsM= =/Ftd -----END PGP SIGNATURE----- --=-yXmu7Y5m2WX6RjsXL/19-- From owner-freebsd-mobile@freebsd.org Sun Jan 7 20:10:40 2018 Return-Path: Delivered-To: freebsd-mobile@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 F319EE597DE for ; Sun, 7 Jan 2018 20:10:40 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 6BC9D764E4 for ; Sun, 7 Jan 2018 20:10:40 +0000 (UTC) (envelope-from freebsd@grem.de) Received: (qmail 66847 invoked by uid 89); 7 Jan 2018 20:03:57 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@93.104.64.114) by mail.grem.de with ESMTPA; 7 Jan 2018 20:03:57 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) From: Michael Gmelin X-Mailer: iPhone Mail (14G60) In-Reply-To: <1515354236.1383.6.camel@zoho.com> Date: Sun, 7 Jan 2018 21:03:56 +0100 Cc: "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <2DE656BF-161A-4A06-98CA-3B024B2263B4@grem.de> References: <20171230155857.3ba51994@bsd64.grem.de> <1515354236.1383.6.camel@zoho.com> To: clutton X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 20:10:41 -0000 > On 7. Jan 2018, at 20:43, clutton wrote: >=20 >> On Sat, 2017-12-30 at 15:58 +0100, Michael Gmelin wrote: >> Hi, >=20 > Running carbon 5th gen I can't call my setup a success. Wireless iwm > doesn't support even N and AC is not supported at all. The wifi is much > slower then on my old machines. I'm going to replace the wifi card in > mean time, any suggestions which one to buy? >=20 > Graphics works perfectly. NVMe SSD with OPAL wouldn't allow machine to > resume from sleep, sometimes it does after big timeout and writing > errors to console, sometime it just reboots. >=20 > Thinkpad Thunderbolt Dock Station, here is where things get > interesting. If I boot machine connected to dock station, peripheral > devices would work, external monitor, keyboard, and mouse. There's no > other way I know to make it work. Once detached - it wouldn't see > devices again. Booting and THEN attaching - the same, machine wouldn't > see devices. >=20 > Here is the device being seen (a lot of pcib*): > pcib5@pci0:6:0:0: class=3D0x060400 card=3D0x11112222 chip=3D0x15d38086 > rev=3D0x02 hdr=3D0x01 > vendor =3D 'Intel Corporation' > device =3D 'JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge > 4C 2016]' > class =3D bridge > subclass =3D PCI-PCI >=20 >=20 > For me the main concern is Thunderbolt thought, docking station is > amazing thing. Any ideas and thought how to make it work would be > highly appreciated. In my setup, plug/unplug events for display port don't work when docking (us= ually I'm not using a dock though). This means: Mouse, Keyboard can be plugg= ed/unplugged as many time as I want at any point, while displays connected o= ver display port only work when connected before starting X (and they don't d= isappear after disconnecting). Note that stopping X seems to fix this (so no= reboot required), but I don't have the docking station myself (this is the U= ltra Dock Pro or something - the one that connects at the bottom of the lapt= op). Also, in my setup wifi didn't work without adding iwm0 explicitly to cloned i= nterfaces (which isn't something I wouldn't expect I have to do, but in this= case I had to). -m From owner-freebsd-mobile@freebsd.org Sun Jan 7 20:32:18 2018 Return-Path: Delivered-To: freebsd-mobile@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 47D22E5B181; Sun, 7 Jan 2018 20:32:18 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0496877778; Sun, 7 Jan 2018 20:32:17 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w07KWED7018388; Sun, 7 Jan 2018 12:32:14 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w07KWD2V018387; Sun, 7 Jan 2018 12:32:13 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201801072032.w07KWD2V018387@pdx.rh.CN85.dnsmgr.net> Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) In-Reply-To: <2DE656BF-161A-4A06-98CA-3B024B2263B4@grem.de> To: Michael Gmelin Date: Sun, 7 Jan 2018 12:32:13 -0800 (PST) CC: clutton , "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 20:32:18 -0000 > > > > On 7. Jan 2018, at 20:43, clutton wrote: > > > >> On Sat, 2017-12-30 at 15:58 +0100, Michael Gmelin wrote: > >> Hi, > > > > Running carbon 5th gen I can't call my setup a success. Wireless iwm > > doesn't support even N and AC is not supported at all. The wifi is much > > slower then on my old machines. I'm going to replace the wifi card in > > mean time, any suggestions which one to buy? > > > > Graphics works perfectly. NVMe SSD with OPAL wouldn't allow machine to > > resume from sleep, sometimes it does after big timeout and writing > > errors to console, sometime it just reboots. > > > > Thinkpad Thunderbolt Dock Station, here is where things get > > interesting. If I boot machine connected to dock station, peripheral > > devices would work, external monitor, keyboard, and mouse. There's no > > other way I know to make it work. Once detached - it wouldn't see > > devices again. Booting and THEN attaching - the same, machine wouldn't > > see devices. > > > > Here is the device being seen (a lot of pcib*): > > pcib5@pci0:6:0:0: class=0x060400 card=0x11112222 chip=0x15d38086 > > rev=0x02 hdr=0x01 > > vendor = 'Intel Corporation' > > device = 'JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge > > 4C 2016]' > > class = bridge > > subclass = PCI-PCI > > > > > > For me the main concern is Thunderbolt thought, docking station is > > amazing thing. Any ideas and thought how to make it work would be > > highly appreciated. > > In my setup, plug/unplug events for display port don't work when docking (usually I'm not using a dock though). This means: Mouse, Keyboard can be plugged/unplugged as many time as I want at any point, while displays connected over display port only work when connected before starting X (and they don't disappear after disconnecting). Note that stopping X seems to fix this (so no reboot required), but I don't have the docking station myself (this is the Ultra Dock Pro or something - the one that connects at the bottom of the laptop). > > Also, in my setup wifi didn't work without adding iwm0 explicitly to cloned interfaces (which isn't something I wouldn't expect I have to do, but in this case I had to). Did you have a wlans_iwm0="wlan0" in /etc/rc.conf? I do not know or see why putting iwm0 in cloned would do much of anything for a wlan device. Also note that is wlans as in plural, not wlan_iwm0. A mistake I often make from finger memory. -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-mobile@freebsd.org Sun Jan 7 20:53:09 2018 Return-Path: Delivered-To: freebsd-mobile@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 5D629E5C7A6; Sun, 7 Jan 2018 20:53:09 +0000 (UTC) (envelope-from clutton@zoho.com) Received: from sender-pp-091.zoho.com (sender-pp-091.zoho.com [135.84.80.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F04CB7882C; Sun, 7 Jan 2018 20:53:08 +0000 (UTC) (envelope-from clutton@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=message-id:subject:from:to:cc:date:in-reply-to:references:content-type:mime-version; b=ROnvb/hHiFkQpb/IOW/o0rHVxHqZzMF5cChQUSj9kntQLtfv+H1xdUHaxcFQPmJl4A0fdP5PxN04 xgD+zuMHFoPfCg37HGgpWP8gODsMJ9h6z4hciA9C1wcjr/m3DbPV Received: from [10.1.2.6] (mktechs.net [46.229.54.117]) by mx.zohomail.com with SMTPS id 1515358378508229.39044666078303; Sun, 7 Jan 2018 12:52:58 -0800 (PST) Message-ID: <1515358369.1370.3.camel@zoho.com> Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) From: clutton To: "Rodney W. Grimes" , Michael Gmelin Cc: "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" Date: Sun, 07 Jan 2018 22:52:49 +0200 In-Reply-To: <201712301547.vBUFlNIf076448@pdx.rh.CN85.dnsmgr.net> References: <201712301547.vBUFlNIf076448@pdx.rh.CN85.dnsmgr.net> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-ErYUisiy+xIvUrzNCxQ7" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-ZohoMail: Z_30320720 SPT_1 SLF_E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 20:53:09 -0000 --=-ErYUisiy+xIvUrzNCxQ7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2017-12-30 at 07:47 -0800, Rodney W. Grimes wrote: > > Hi, > >=20 > > I found some time to play with FreeBSD on a Lenovo Thinkpad T470s > > and > > I'm quite happy with the results, as all important features work, > > especially essentials like graphics, touchpad and suspend to RAM. > >=20 > > The configuration is pretty straightforward, but a few things > > required > > research (like evdev, udev and libinput), that's why I documented > > my > > setup here, hoping that it might help others: > >=20 > > https://blog.grem.de/pages/t470s.html >=20 > Would you care to document it here: > https://wiki.freebsd.org/Laptops > and add > https://wiki.freebsd.org/Laptops/Thinkpad_T470s >=20 > > Best and Happy New Year, All I have is: wlans_iwm0=3D"wlan0" ifconfig_wlan0=3D"ssid MYSID DHCP" I'm using IPSEC instead of WPA, and it works, you missed something. --=-ErYUisiy+xIvUrzNCxQ7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEJS/zE0mE1p2+tYanfbA/jbLI/pAFAlpSiKIACgkQfbA/jbLI /pB0KA//bUHTGx9qtOcaooVFTWe6GlOdly2CiN71mN+ZCk4APVhBj9rjtJZ0GJ2B I62isSkTdbSmwgHuBag9/zm/rbUd40ELDGaroAtqjaCmboj6N58bxCWz1l5rc4nR H9O66KxRcQlF3LR1gCYcmhSn6KJuYvjngEVNfajP3zOnh32Os9mOWKS6QhwV4A1s 6RP3AkMFwMCHhRQbViDrN797W2L+T6sj3wNIU2Uy3m61L6gJtkBzFYTHt915pzox /HQeQW0PpCQMJ3Pw51ho9okgWq+6gz4AwIrTWdFnceUfGYFVneujLDua4YyeyqFg p8gctVba38QuFbbPyvEzrpTWYyApb3tvrh9SBkmIVErVDKgVkgtRgikOFU32etUp 9gEK14A0kpGb6BT9ZkltSrB4Mn4dzHBgV7OVwDKoak1D9gA0hV0XCWH87PzvIGke LY/vao4AT9yrrIYP4W1FihxA5ix4tMrxS3Pd/wOL9hDB5vxAGPltWddXm5DdNPFF JXSeT7OiErr5DcR7o3bvNFMLGpa8/3uqcM7SOu7YVNDsXo7sDvY6mb1Q/FMoKdRg tVXh+JBU/u65FrQTqNeALAj/h0Lfyjf8O1WSl19IPxHnSoygnB1J9iuUOKwFY/L5 gKCBRYfj9OASnUaJZYeJqQqhLXop2Oz+KsJ+9V92lHxeZZ3q0+c= =1Cph -----END PGP SIGNATURE----- --=-ErYUisiy+xIvUrzNCxQ7-- From owner-freebsd-mobile@freebsd.org Sun Jan 7 20:59:21 2018 Return-Path: Delivered-To: freebsd-mobile@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 17BF3E5CC57; Sun, 7 Jan 2018 20:59:21 +0000 (UTC) (envelope-from clutton@zoho.com) Received: from sender-pp-091.zoho.com (sender-pp-091.zoho.com [135.84.80.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB55378A05; Sun, 7 Jan 2018 20:59:20 +0000 (UTC) (envelope-from clutton@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=message-id:subject:from:to:cc:date:in-reply-to:references:content-type:mime-version; b=SZZ/Kg+/WL2B7Xha8Yiz6WroRqDWbaVOsGIyHqjuGgdZkHPWPMqyGks1V9JoEX6/XaCrO0Q2MKxf t7aoma5KODP47Iz0EnLXPaP6GkiP28V7iFKV5gq9LRFDUi3ehPhI Received: from [10.1.2.6] (mktechs.net [46.229.54.117]) by mx.zohomail.com with SMTPS id 1515358755198794.6650243202546; Sun, 7 Jan 2018 12:59:15 -0800 (PST) Message-ID: <1515358747.1370.5.camel@zoho.com> Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) From: clutton To: Michael Gmelin Cc: "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" Date: Sun, 07 Jan 2018 22:59:07 +0200 In-Reply-To: <2DE656BF-161A-4A06-98CA-3B024B2263B4@grem.de> References: <20171230155857.3ba51994@bsd64.grem.de> <1515354236.1383.6.camel@zoho.com> <2DE656BF-161A-4A06-98CA-3B024B2263B4@grem.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-xpymTX4nSDzaMFXTAaO7" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-ZohoMail: Z_30320720 SPT_1 SLF_E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 20:59:21 -0000 --=-xpymTX4nSDzaMFXTAaO7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2018-01-07 at 21:03 +0100, Michael Gmelin wrote: > > On 7. Jan 2018, at 20:43, clutton wrote: > >=20 > > > On Sat, 2017-12-30 at 15:58 +0100, Michael Gmelin wrote: > > > Hi, > >=20 > > Running carbon 5th gen I can't call my setup a success. Wireless > > iwm > > doesn't support even N and AC is not supported at all. The wifi is > > much > > slower then on my old machines. I'm going to replace the wifi card > > in > > mean time, any suggestions which one to buy? > >=20 > > Graphics works perfectly. NVMe SSD with OPAL wouldn't allow machine > > to > > resume from sleep, sometimes it does after big timeout and writing > > errors to console, sometime it just reboots. > >=20 > > Thinkpad Thunderbolt Dock Station, here is where things get > > interesting. If I boot machine connected to dock station, > > peripheral > > devices would work, external monitor, keyboard, and mouse. There's > > no > > other way I know to make it work. Once detached - it wouldn't see > > devices again. Booting and THEN attaching - the same, machine > > wouldn't > > see devices. > >=20 > > Here is the device being seen (a lot of pcib*): > > pcib5@pci0:6:0:0: class=3D0x060400 card=3D0x11112222 chip=3D0x15d380= 86 > > rev=3D0x02 hdr=3D0x01 > > vendor =3D 'Intel Corporation' > > device =3D 'JHL6540 Thunderbolt 3 Bridge (C step) [Alpine > > Ridge > > 4C 2016]' > > class =3D bridge > > subclass =3D PCI-PCI > >=20 > >=20 > > For me the main concern is Thunderbolt thought, docking station is > > amazing thing. Any ideas and thought how to make it work would be > > highly appreciated. >=20 > In my setup, plug/unplug events for display port don't work when > docking (usually I'm not using a dock though). This means: Mouse, > Keyboard can be plugged/unplugged as many time as I want at any > point, while displays connected over display port only work when > connected before starting X (and they don't disappear after > disconnecting). Note that stopping X seems to fix this (so no reboot > required), but I don't have the docking station myself (this is the > Ultra Dock Pro or something - the one that connects at the bottom of > the laptop). The newest dock is going through one cable: thunderbolt 3. In my case display disappear after undocking, then it wouldn't appear again, I'll try restarting X, but at that point it is similarly to restart, I have to quit my vim and other things. --=-xpymTX4nSDzaMFXTAaO7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEJS/zE0mE1p2+tYanfbA/jbLI/pAFAlpSihsACgkQfbA/jbLI /pC9VQ//fuMdVFqRT/7OxdIPsfF6Y9Npo37QoWvHhAswWE66UMMeMEsZKqqef+Br XGftKUGC6zzqySFBJRnSx3dy1IOcLS+N9HaLg7NoQ91LySm2fAsv3iXmP9Fb9GUQ OutUkQ6BCg3tNHvMG/OQEhdLQdY1Ud5e/hcAjBM1X+71AR7/lRtUMGVJbdm15Ym5 mD6VtxvYr69T9vWfOuB28/QZeIFHq1d0X2WASDc9VgEnlMVxKA8FHg13+02IMQlb t4CrdYdXD4pqct5B3tly0GlmqZussLFZ4tYVZgCrPP5nkE7D0NbIvHa3K5hGQVOm pl1r3LN2nbV3JZX/+mdApljDXL8K5esXm8HkrGp8FGzj+c7aN/mJTeVTzfJNcYSf gD9VzpI/K0LIxed8rcir1NAylpKVWdzLOujkpyJSv2piTRY9XxiN/dGvO2p6qAlD k1BSSuEA4TyoQWTi8uLifYYhRDo0pOpUwJNli9mBiVei+jZ4j9ufwPwWTkIIW0nT b5EU6SllZSZueF36mhMGpPC9B1kuVp9OUQz/NB6HKJFJhJnJbhXh0OnY53Y6IIC7 7mDg/HEo1XOm8x3Jr7yvEUNwUBRSR+G1MJeji1acs9WGMZJE779f0MyaQcPEG4ba 611pQDfVBSOZLAMc6trNY5fo+bJnEj39zBVKYaWcQt/MclxYlxA= =2YIK -----END PGP SIGNATURE----- --=-xpymTX4nSDzaMFXTAaO7-- From owner-freebsd-mobile@freebsd.org Sun Jan 7 21:28:40 2018 Return-Path: Delivered-To: freebsd-mobile@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 50330E5EBBA for ; Sun, 7 Jan 2018 21:28:40 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id ADF7079AE2 for ; Sun, 7 Jan 2018 21:28:38 +0000 (UTC) (envelope-from freebsd@grem.de) Received: (qmail 67724 invoked by uid 89); 7 Jan 2018 21:28:38 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@93.104.64.114) by mail.grem.de with ESMTPA; 7 Jan 2018 21:28:38 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) From: Michael Gmelin X-Mailer: iPhone Mail (14G60) In-Reply-To: <201801072032.w07KWD2V018387@pdx.rh.CN85.dnsmgr.net> Date: Sun, 7 Jan 2018 22:28:37 +0100 Cc: clutton , "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <813101D7-3A67-4C4E-8F3C-301B0AE7A550@grem.de> References: <201801072032.w07KWD2V018387@pdx.rh.CN85.dnsmgr.net> To: "Rodney W. Grimes" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 21:28:40 -0000 On 7. Jan 2018, at 21:32, Rodney W. Grimes wrote: >>=20 >>=20 >>>> On 7. Jan 2018, at 20:43, clutton wrote: >>>>=20 >>>> On Sat, 2017-12-30 at 15:58 +0100, Michael Gmelin wrote: >>>> Hi, >>>=20 >>> Running carbon 5th gen I can't call my setup a success. Wireless iwm >>> doesn't support even N and AC is not supported at all. The wifi is much >>> slower then on my old machines. I'm going to replace the wifi card in >>> mean time, any suggestions which one to buy? >>>=20 >>> Graphics works perfectly. NVMe SSD with OPAL wouldn't allow machine to >>> resume from sleep, sometimes it does after big timeout and writing >>> errors to console, sometime it just reboots. >>>=20 >>> Thinkpad Thunderbolt Dock Station, here is where things get >>> interesting. If I boot machine connected to dock station, peripheral >>> devices would work, external monitor, keyboard, and mouse. There's no >>> other way I know to make it work. Once detached - it wouldn't see >>> devices again. Booting and THEN attaching - the same, machine wouldn't >>> see devices. >>>=20 >>> Here is the device being seen (a lot of pcib*): >>> pcib5@pci0:6:0:0: class=3D0x060400 card=3D0x11112222 chip=3D0x15d3808= 6 >>> rev=3D0x02 hdr=3D0x01 >>> vendor =3D 'Intel Corporation' >>> device =3D 'JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge >>> 4C 2016]' >>> class =3D bridge >>> subclass =3D PCI-PCI >>>=20 >>>=20 >>> For me the main concern is Thunderbolt thought, docking station is >>> amazing thing. Any ideas and thought how to make it work would be >>> highly appreciated. >>=20 >> In my setup, plug/unplug events for display port don't work when docking (= usually I'm not using a dock though). This means: Mouse, Keyboard can be plu= gged/unplugged as many time as I want at any point, while displays connected= over display port only work when connected before starting X (and they don'= t disappear after disconnecting). Note that stopping X seems to fix this (so= no reboot required), but I don't have the docking station myself (this is t= he Ultra Dock Pro or something - the one that connects at the bottom of the l= aptop). >>=20 >> Also, in my setup wifi didn't work without adding iwm0 explicitly to clon= ed interfaces (which isn't something I wouldn't expect I have to do, but in t= his case I had to). >=20 > Did you have a > wlans_iwm0=3D"wlan0" > in /etc/rc.conf? =20 > I do not know or see why putting iwm0 in cloned would do much of anything > for a wlan device. >=20 > Also note that is wlans as in plural, not wlan_iwm0. A mistake I > often make from finger memory. >=20 I have wlans_iwm0=3D"wlan0" ifconfig_wlan0=3D"WPA DHCP country de" in rc.conf. Without adding cloned_interfaces=3D"iwm0" wlan0 never shows up in ifconfig and wpa_supplicant never starts (that's cur= rent r326912, setup like described in my blog post). I just double checked to confirm the behavior. Best, Michael From owner-freebsd-mobile@freebsd.org Sun Jan 7 21:40:13 2018 Return-Path: Delivered-To: freebsd-mobile@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 732EFE5F980; Sun, 7 Jan 2018 21:40:13 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5AD7D7A22F; Sun, 7 Jan 2018 21:40:13 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id w07Le9HZ018602; Sun, 7 Jan 2018 13:40:09 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id w07Le9xS018601; Sun, 7 Jan 2018 13:40:09 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201801072140.w07Le9xS018601@pdx.rh.CN85.dnsmgr.net> Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) In-Reply-To: <813101D7-3A67-4C4E-8F3C-301B0AE7A550@grem.de> To: Michael Gmelin Date: Sun, 7 Jan 2018 13:40:09 -0800 (PST) CC: clutton , "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 21:40:13 -0000 > > > On 7. Jan 2018, at 21:32, Rodney W. Grimes wrote: > > >> > >> > >>>> On 7. Jan 2018, at 20:43, clutton wrote: > >>>> > >>>> On Sat, 2017-12-30 at 15:58 +0100, Michael Gmelin wrote: > >>>> Hi, > >>> > >>> Running carbon 5th gen I can't call my setup a success. Wireless iwm > >>> doesn't support even N and AC is not supported at all. The wifi is much > >>> slower then on my old machines. I'm going to replace the wifi card in > >>> mean time, any suggestions which one to buy? > >>> > >>> Graphics works perfectly. NVMe SSD with OPAL wouldn't allow machine to > >>> resume from sleep, sometimes it does after big timeout and writing > >>> errors to console, sometime it just reboots. > >>> > >>> Thinkpad Thunderbolt Dock Station, here is where things get > >>> interesting. If I boot machine connected to dock station, peripheral > >>> devices would work, external monitor, keyboard, and mouse. There's no > >>> other way I know to make it work. Once detached - it wouldn't see > >>> devices again. Booting and THEN attaching - the same, machine wouldn't > >>> see devices. > >>> > >>> Here is the device being seen (a lot of pcib*): > >>> pcib5@pci0:6:0:0: class=0x060400 card=0x11112222 chip=0x15d38086 > >>> rev=0x02 hdr=0x01 > >>> vendor = 'Intel Corporation' > >>> device = 'JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge > >>> 4C 2016]' > >>> class = bridge > >>> subclass = PCI-PCI > >>> > >>> > >>> For me the main concern is Thunderbolt thought, docking station is > >>> amazing thing. Any ideas and thought how to make it work would be > >>> highly appreciated. > >> > >> In my setup, plug/unplug events for display port don't work when docking (usually I'm not using a dock though). This means: Mouse, Keyboard can be plugged/unplugged as many time as I want at any point, while displays connected over display port only work when connected before starting X (and they don't disappear after disconnecting). Note that stopping X seems to fix this (so no reboot required), but I don't have the docking station myself (this is the Ultra Dock Pro or something - the one that connects at the bottom of the laptop). > >> > >> Also, in my setup wifi didn't work without adding iwm0 explicitly to cloned interfaces (which isn't something I wouldn't expect I have to do, but in this case I had to). > > > > Did you have a > > wlans_iwm0="wlan0" > > in /etc/rc.conf? > > I do not know or see why putting iwm0 in cloned would do much of anything > > for a wlan device. > > > > Also note that is wlans as in plural, not wlan_iwm0. A mistake I > > often make from finger memory. > > > > I have > > wlans_iwm0="wlan0" > ifconfig_wlan0="WPA DHCP country de" I use just simply: ifconfig_wlan0="WPA SYNCDHCP" I think without the SYNC you are not waiting for wpa to come up? I do not know of the /etc/rc.d/* stuff is prepared to deal with your "country de" either. > > in rc.conf. Without adding > > cloned_interfaces="iwm0" > > wlan0 never shows up in ifconfig and wpa_supplicant never starts (that's current r326912, setup like described in my blog post). > > I just double checked to confirm the behavior. Something is broken some place. > Best, > Michael -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-mobile@freebsd.org Sun Jan 7 22:14:10 2018 Return-Path: Delivered-To: freebsd-mobile@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 0DD9DE61D76 for ; Sun, 7 Jan 2018 22:14:10 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 432D37B86D for ; Sun, 7 Jan 2018 22:14:08 +0000 (UTC) (envelope-from freebsd@grem.de) Received: (qmail 68189 invoked by uid 89); 7 Jan 2018 22:14:07 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@93.104.64.114) by mail.grem.de with ESMTPA; 7 Jan 2018 22:14:07 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) From: Michael Gmelin X-Mailer: iPhone Mail (14G60) In-Reply-To: <201801072140.w07Le9xS018601@pdx.rh.CN85.dnsmgr.net> Date: Sun, 7 Jan 2018 23:14:07 +0100 Cc: clutton , "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <201801072140.w07Le9xS018601@pdx.rh.CN85.dnsmgr.net> To: "Rodney W. Grimes" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 22:14:10 -0000 On 7. Jan 2018, at 22:40, Rodney W. Grimes wrote: >>=20 >>=20 >> On 7. Jan 2018, at 21:32, Rodney W. Grimes wrote: >>=20 >>>>=20 >>>>=20 >>>>>> On 7. Jan 2018, at 20:43, clutton wrote: >>>>>>=20 >>>>>> On Sat, 2017-12-30 at 15:58 +0100, Michael Gmelin wrote: >>>>>> Hi, >>>>>=20 >>>>> Running carbon 5th gen I can't call my setup a success. Wireless iwm >>>>> doesn't support even N and AC is not supported at all. The wifi is muc= h >>>>> slower then on my old machines. I'm going to replace the wifi card in >>>>> mean time, any suggestions which one to buy? >>>>>=20 >>>>> Graphics works perfectly. NVMe SSD with OPAL wouldn't allow machine to= >>>>> resume from sleep, sometimes it does after big timeout and writing >>>>> errors to console, sometime it just reboots. >>>>>=20 >>>>> Thinkpad Thunderbolt Dock Station, here is where things get >>>>> interesting. If I boot machine connected to dock station, peripheral >>>>> devices would work, external monitor, keyboard, and mouse. There's no >>>>> other way I know to make it work. Once detached - it wouldn't see >>>>> devices again. Booting and THEN attaching - the same, machine wouldn't= >>>>> see devices. >>>>>=20 >>>>> Here is the device being seen (a lot of pcib*): >>>>> pcib5@pci0:6:0:0: class=3D0x060400 card=3D0x11112222 chip=3D0x15d38= 086 >>>>> rev=3D0x02 hdr=3D0x01 >>>>> vendor =3D 'Intel Corporation' >>>>> device =3D 'JHL6540 Thunderbolt 3 Bridge (C step) [Alpine Ridge >>>>> 4C 2016]' >>>>> class =3D bridge >>>>> subclass =3D PCI-PCI >>>>>=20 >>>>>=20 >>>>> For me the main concern is Thunderbolt thought, docking station is >>>>> amazing thing. Any ideas and thought how to make it work would be >>>>> highly appreciated. >>>>=20 >>>> In my setup, plug/unplug events for display port don't work when dockin= g (usually I'm not using a dock though). This means: Mouse, Keyboard can be p= lugged/unplugged as many time as I want at any point, while displays connect= ed over display port only work when connected before starting X (and they do= n't disappear after disconnecting). Note that stopping X seems to fix this (= so no reboot required), but I don't have the docking station myself (this is= the Ultra Dock Pro or something - the one that connects at the bottom of th= e laptop). >>>>=20 >>>> Also, in my setup wifi didn't work without adding iwm0 explicitly to cl= oned interfaces (which isn't something I wouldn't expect I have to do, but i= n this case I had to). >>>=20 >>> Did you have a >>> wlans_iwm0=3D"wlan0" >>> in /etc/rc.conf? =20 >>> I do not know or see why putting iwm0 in cloned would do much of anythin= g >>> for a wlan device. >>>=20 >>> Also note that is wlans as in plural, not wlan_iwm0. A mistake I >>> often make from finger memory. >>>=20 >>=20 >> I have >>=20 >> wlans_iwm0=3D"wlan0" >> ifconfig_wlan0=3D"WPA DHCP country de" > I use just simply: > ifconfig_wlan0=3D"WPA SYNCDHCP" >=20 > I think without the SYNC you are not waiting for wpa to come up? I works ok, if I really wanted to wait for getting an IP that would make sen= se, yes. > I do not know of the /etc/rc.d/* stuff is prepared to deal with > your "country de" either. >=20 It is, as country DE shows up in ifconfig after boot and it can actually ass= ociate (which it couldn't before adding the country, probably the channel wa= s out of range with default settings). >>=20 >> in rc.conf. Without adding >>=20 >> cloned_interfaces=3D"iwm0" >>=20 >> wlan0 never shows up in ifconfig and wpa_supplicant never starts (that's c= urrent r326912, setup like described in my blog post). >>=20 >> I just double checked to confirm the behavior. >=20 > Something is broken some place. >=20 Well, if I actually add if_iwm_load=3D"YES" if_iwm3160fw_load=3D"YES" if_iwm7260fw_load=3D"YES" if_iwm7265Dfw_load=3D"YES" if_iwm7265fw_load=3D"YES" if_iwm8000Cfw_load=3D"YES" if_iwm8265fw_load=3D"YES" to /boot/loader.conf (like documented in the man page ^_^), it works without= adding iwm0 to cloned_interfaces. Funny how I forgot to do that and how clo= ned_interfaces just did the right thing by loading the correct modules. Sorr= y for creating confusion. -m >> Best, >> Michael >=20 > --=20 > Rod Grimes rgrimes@freebsd= .org From owner-freebsd-mobile@freebsd.org Sun Jan 7 22:18:23 2018 Return-Path: Delivered-To: freebsd-mobile@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 AB929E62275; Sun, 7 Jan 2018 22:18:23 +0000 (UTC) (envelope-from clutton@zoho.com) Received: from sender-pp-091.zoho.com (sender-pp-091.zoho.com [135.84.80.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B00C7BB70; Sun, 7 Jan 2018 22:18:23 +0000 (UTC) (envelope-from clutton@zoho.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=message-id:subject:from:to:cc:date:in-reply-to:references:content-type:mime-version; b=BRRqhC0dkLIKi1JrgpFN5b2BoWUXr0yT6aWcNVgwRRNVtzPLf9113ld9njdCYVSD9oBVHBawj/4q WANQCnaQU5ylh1lwHjP6rPzXjaEHZrkB8yIZkmSFApzSWRUyiLup Received: from [10.1.2.6] (mktechs.net [46.229.54.117]) by mx.zohomail.com with SMTPS id 1515363497076669.4256401289729; Sun, 7 Jan 2018 14:18:17 -0800 (PST) Message-ID: <1515363488.2257.3.camel@zoho.com> Subject: Re: Running FreeBSD on the Lenovo Thinkpad T470s (success) From: clutton To: Michael Gmelin , "Rodney W. Grimes" Cc: "freebsd-current@freebsd.org" , "freebsd-x11@freebsd.org" , "freebsd-mobile@freebsd.org" Date: Mon, 08 Jan 2018 00:18:08 +0200 In-Reply-To: <813101D7-3A67-4C4E-8F3C-301B0AE7A550@grem.de> References: <201801072032.w07KWD2V018387@pdx.rh.CN85.dnsmgr.net> <813101D7-3A67-4C4E-8F3C-301B0AE7A550@grem.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-BC+RdMskT/KqlmsnEd39" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-ZohoMail: Z_30320720 SPT_1 SLF_E X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 22:18:23 -0000 --=-BC+RdMskT/KqlmsnEd39 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2018-01-07 at 22:28 +0100, Michael Gmelin wrote: >=20 > On 7. Jan 2018, at 21:32, Rodney W. Grimes nsmgr.net> wrote: >=20 > > >=20 > > >=20 > > > > > On 7. Jan 2018, at 20:43, clutton wrote: > > > > >=20 > > > > > On Sat, 2017-12-30 at 15:58 +0100, Michael Gmelin wrote: > > > > > Hi, > > > >=20 > > > > Running carbon 5th gen I can't call my setup a success. > > > > Wireless iwm > > > > doesn't support even N and AC is not supported at all. The wifi > > > > is much > > > > slower then on my old machines. I'm going to replace the wifi > > > > card in > > > > mean time, any suggestions which one to buy? > > > >=20 > > > > Graphics works perfectly. NVMe SSD with OPAL wouldn't allow > > > > machine to > > > > resume from sleep, sometimes it does after big timeout and > > > > writing > > > > errors to console, sometime it just reboots. > > > >=20 > > > > Thinkpad Thunderbolt Dock Station, here is where things get > > > > interesting. If I boot machine connected to dock station, > > > > peripheral > > > > devices would work, external monitor, keyboard, and mouse. > > > > There's no > > > > other way I know to make it work. Once detached - it wouldn't > > > > see > > > > devices again. Booting and THEN attaching - the same, machine > > > > wouldn't > > > > see devices. > > > >=20 > > > > Here is the device being seen (a lot of pcib*): > > > > pcib5@pci0:6:0:0: class=3D0x060400 card=3D0x11112222 > > > > chip=3D0x15d38086 > > > > rev=3D0x02 hdr=3D0x01 > > > > vendor =3D 'Intel Corporation' > > > > device =3D 'JHL6540 Thunderbolt 3 Bridge (C step) [Alpine > > > > Ridge > > > > 4C 2016]' > > > > class =3D bridge > > > > subclass =3D PCI-PCI > > > >=20 > > > >=20 > > > > For me the main concern is Thunderbolt thought, docking station > > > > is > > > > amazing thing. Any ideas and thought how to make it work would > > > > be > > > > highly appreciated. > > >=20 > > > In my setup, plug/unplug events for display port don't work when > > > docking (usually I'm not using a dock though). This means: Mouse, > > > Keyboard can be plugged/unplugged as many time as I want at any > > > point, while displays connected over display port only work when > > > connected before starting X (and they don't disappear after > > > disconnecting). Note that stopping X seems to fix this (so no > > > reboot required), but I don't have the docking station myself > > > (this is the Ultra Dock Pro or something - the one that connects > > > at the bottom of the laptop). > > >=20 > > > Also, in my setup wifi didn't work without adding iwm0 explicitly > > > to cloned interfaces (which isn't something I wouldn't expect I > > > have to do, but in this case I had to). > >=20 > > Did you have a > > wlans_iwm0=3D"wlan0" > > in /etc/rc.conf? =20 > > I do not know or see why putting iwm0 in cloned would do much of > > anything > > for a wlan device. > >=20 > > Also note that is wlans as in plural, not wlan_iwm0. A mistake I > > often make from finger memory. > >=20 >=20 > I have >=20 > wlans_iwm0=3D"wlan0" > ifconfig_wlan0=3D"WPA DHCP country de" >=20 > in rc.conf. Without adding >=20 > cloned_interfaces=3D"iwm0" >=20 > wlan0 never shows up in ifconfig and wpa_supplicant never starts > (that's current r326912, setup like described in my blog post). >=20 > I just double checked to confirm the behavior. loader.conf if_iwm_load=3D"YES" iwm8265fw_load=3D"YES" Have you loaded the driver? Maybe cloned_iface did this for you. --=-BC+RdMskT/KqlmsnEd39 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEJS/zE0mE1p2+tYanfbA/jbLI/pAFAlpSnKAACgkQfbA/jbLI /pCL8hAAoEFx2xV3v/u4fzpSGDjY6/V8Ypkv2xIE5h+LgadnPQ6juQImtjnmU/Gq KwshS7BPwq7naNgtnqi8akNHMiWMiG+RD3lFUcQXDWqB1/NXLUvsIXhxvTd4/Qru +wW3wtCLK1Y6oIFkCqsbGPM5M/kzRPiWatzQHgkyXd80r+599OYfSS8J8d2vgxiD EBxKSu5Rajr2hEagtzfiySR1++PvSwsp2f1CLLlLV5l7ab5SkBq47xWOfPRPRgdr nxxiMGzqeUDJkDGUsE8MbdZkE/5js+r+GLUpOEupdMRaTMWf9mVLsAt92l9rLlvG dfbVKlbevMSiE5LRfV1LafaGYZmefmLUjas+sPxfg7ohQ9dZ7eNEseKgUgvYY+NY eA7yYYn9UwW1C3spmcRxHuHpfNTI7x1O/c9NxcI1zjOrGJ5v3BIPQuKu5qVFfpl4 X4gDP1BbBnDfKlq4ugdDLEuV0OSFGD1UTPGP8Q2G9Q+tQg4/uwfBXWN9LCO0gQQK d3rTn7N7sWhMUqfPm9++NLhgOFgcFV86McCQl5w3bu93q1PqgRZbTVNQFOfGiGod Q73RjbudWR3nwEBSROQZkcWuByHprUY4vd2vV5US3XKP7NIucmhbWrgYmRoBfd+J cZ+tSGCjlucUxTLLsZjScP4Lxq/d/mU71SpSwnoNh+C45vaZ3t0= =CUo3 -----END PGP SIGNATURE----- --=-BC+RdMskT/KqlmsnEd39-- From owner-freebsd-mobile@freebsd.org Tue Jan 9 00:23:34 2018 Return-Path: Delivered-To: freebsd-mobile@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 A4398E6E773 for ; Tue, 9 Jan 2018 00:23:34 +0000 (UTC) (envelope-from waynehoward124@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 458947D253 for ; Tue, 9 Jan 2018 00:23:34 +0000 (UTC) (envelope-from waynehoward124@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id r78so17355466wme.5 for ; Mon, 08 Jan 2018 16:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=4SsFyoojcx6jY1CFXj+3HY+0Z8nNKXwlbBOvpNmIzus=; b=sqcsNjQTpNemiBIm0GRMAl54Z7l8cg5G8gYvCKketWztdzwhxsSnPgVTmhrpEDKoIC IyEy08a2/1gzoCiMYu87BbmTD3ikJBwdYMTaFKyTDQVik/E+yEoE5ODPz4qP1OvVwG+x Qlnl+VgVF4f+ucGtBxMtYahHvKKJg6VIYhfLwTrZl6Sixayy0vDnGAJ5IBx5TqBRmIm2 0S61GIDVMol81CBLZiCGQbyoADsu6fGg4RCwZIR+mxnNaIz8a7Kxguzb+taUhZKOUygu qHlVLgBlEB3pGmiTv/BIzM0biM/C86UCd3B+OmU0IC1xib/EB6I0Ev5VRJRW742Uu8Ve 1T9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=4SsFyoojcx6jY1CFXj+3HY+0Z8nNKXwlbBOvpNmIzus=; b=U6k703Rfw5VD7lKagisfxsPl+XseNIrwr6xyaH4KQPhdI9nNniV1/x0YvekmexxhAV OMy65DEtUFrmpxy5NFJ4pIo8PtkvtMo2farx/OlY/nP7fNSBzSH7SQj91N6IfLDeVa3h H8W7/k8JMN6tk4DfApn05MoN9qOmYjIHD5hiT2NoMamk92rQ25W+gC+fxq2cTohx9fPF Q/eRrLdNL404mFbgMNFhO+LnsTSjPy6LnXkFQPltsEgAKzxsDMqzd/0104PbK1yFnIox 9sTTNia6Ik1OA2TTVMloQwbvGwDHyU4mtNVmT4nmQxX9qJyK2va0siG6v49NfO+5bfGt ypQw== X-Gm-Message-State: AKGB3mInLe6WNlQLVrwLHnTDlfWlNWvBHU5IHYnHEqUGSn/3zjpPiMlk SdHPW4be4rbz82xsbZlbXYU2ewniXRdVmbZuuMpyyg== X-Google-Smtp-Source: ACJfBos9VjGCKJWcXOPT29yWJplsMsX5fRRM4rLDLgqmGEYOGNkFV/f4zJt8J41/Yc5+ERZ0Ji2hByB/RZDfl5zWdAA= X-Received: by 10.80.151.241 with SMTP id f46mr18659610edb.78.1515457412235; Mon, 08 Jan 2018 16:23:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.169.112 with HTTP; Mon, 8 Jan 2018 16:23:31 -0800 (PST) Received: by 10.80.169.112 with HTTP; Mon, 8 Jan 2018 16:23:31 -0800 (PST) In-Reply-To: References: From: Wayne Howard Date: Mon, 8 Jan 2018 16:23:31 -0800 Message-ID: Subject: To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 00:23:34 -0000 Yes I talked to someone last month and I lost my phone my name is Alvin Howard please contact me ASAP please my new number is 9045548269 think you From owner-freebsd-mobile@freebsd.org Tue Jan 9 06:42:48 2018 Return-Path: Delivered-To: freebsd-mobile@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 1E0A5E66E6A for ; Tue, 9 Jan 2018 06:42:48 +0000 (UTC) (envelope-from krisanddanielle6@gmail.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (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 DBDDD6CA9D for ; Tue, 9 Jan 2018 06:42:47 +0000 (UTC) (envelope-from krisanddanielle6@gmail.com) Received: by mail-io0-x229.google.com with SMTP id w188so17362336iod.10 for ; Mon, 08 Jan 2018 22:42:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=UYzXfFxAaK6yVf4zRtMwhfTGOnHtAEEPF4E1uMMbuKc=; b=MRb2uVe0o3Agh5jLhKV13/K09zxAbnsfTFEQd2QOsEIX3ruU2th+QmtiaRKtY4CDxd l+D8daiwTcQgN8nc1DXJ9282RYnsPxE4yA5ZTP7jkzkhr4GXoYhFzq0NjqOtTHdq2cJw dvoQqNkGvGibS5bdtydnQ0o8+erJxIRXHDVgoTZ7JxEMQIGHf4A4NzS8NOKOxnFruD9+ M3VAl+MIG5x4Pt36C5QVquCvBdjEnsihC1ijNCIeqU2emlSTgKlprV0oOQZpWctLix9y tjRt8NEo0SFpVMuylbmdDs0vtFe0eGlfXSmwqqkunyzYqv1YKFGQzlGqsn+TAv8KwrK5 0LFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UYzXfFxAaK6yVf4zRtMwhfTGOnHtAEEPF4E1uMMbuKc=; b=e9oniIi6Jy52/7fRI23hBHEr06Z61U6B7QMOow36KxqPEA7DkdhnyytVoJZgdhVF9w 9xAd8v3s96h53DQR7m/xhPCNQ/Yxw2c5+5BwpkGfRGixQFr/1i97jaZbXvUw9UlSjNyV Jbo9FDCoaMzUF4mwLMvjoVz1qto6Wt+nU1R4WU4EYvh4IEg/R5CN18apVnuMku9a3EVM lBZK+SMU/8Tmvs5rsJRoMYb+z9S2X/K+78E6wfYgqyUa09ae6PApV7kPCzVIIYgLK3w/ acCV6f3NmI0m4XPWe4jxRECySyvO/T7CS9mVtf6MKg3oqLfXynnbZpBVuuFPjN7YleX0 Vu8Q== X-Gm-Message-State: AKGB3mJ4pDsvFDWciiuS9oV4uSpoTGC5A7PHexuw0jyW8u+lIHY2wxNy e9UW8LRTceKbSZgQWQa0YsTI3k9YxSIZPtiJG5Y= X-Google-Smtp-Source: ACJfBov694yX6rIKBZ8lzzjeYTKNWfuDz9C4jzPcCrZs4cHjlstWgox3HLAJk0/JAxz2g0WvlR6qL06Lakje+RCIFZY= X-Received: by 10.107.242.6 with SMTP id q6mr13247735ioh.211.1515480166990; Mon, 08 Jan 2018 22:42:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.160.5 with HTTP; Mon, 8 Jan 2018 22:42:46 -0800 (PST) Received: by 10.2.160.5 with HTTP; Mon, 8 Jan 2018 22:42:46 -0800 (PST) From: Kris Reed Date: Mon, 8 Jan 2018 22:42:46 -0800 Message-ID: Subject: To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2018 06:42:48 -0000 I want to wrap my car From owner-freebsd-mobile@freebsd.org Thu Jan 11 19:47:33 2018 Return-Path: Delivered-To: freebsd-mobile@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 DF745E7869E for ; Thu, 11 Jan 2018 19:47:33 +0000 (UTC) (envelope-from jellybaits@energofish.com) Received: from energofish.hu (mail.energofish.com [91.83.237.235]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD3E82A85 for ; Thu, 11 Jan 2018 19:47:31 +0000 (UTC) (envelope-from jellybaits@energofish.com) Received: by energofish.hu (Postfix, from userid 520) id E8899E4C3F; Thu, 11 Jan 2018 20:40:40 +0100 (CET) To: freebsd-mobile@freebsd.org Subject: =?UTF-8?B?QWxlcnQgIQ==?= X-PHP-Originating-Script: 520:alexusMailer_v2.0.php From: =?UTF-8?B?U3VwcG9ydA==?= MIME-Version: 1.0; Message-Id: <20180111194040.E8899E4C3F@energofish.hu> Date: Thu, 11 Jan 2018 20:40:40 +0100 (CET) Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 19:47:34 -0000