From owner-freebsd-drivers@FreeBSD.ORG Tue Dec 2 18:55:14 2014 Return-Path: Delivered-To: freebsd-drivers@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 5DD80B73 for ; Tue, 2 Dec 2014 18:55:14 +0000 (UTC) Received: from zhbdzmsp-smta15.bluewin.ch (zhbdzmsp-smta15.bluewin.ch [195.186.99.132]) by mx1.freebsd.org (Postfix) with ESMTP id F04AB1EA for ; Tue, 2 Dec 2014 18:55:13 +0000 (UTC) Received: from [195.186.227.131] ([195.186.227.131:62131] helo=zhhdzmsp-smta14.bluewin.ch) by zhbdzmsp-smta15.bluewin.ch (envelope-from ) (ecelerity 3.5.7.40067 r(Platform:3.5.7.0)) with ESMTP id 71/7A-15175-DCA0E745; Tue, 02 Dec 2014 18:54:05 +0000 Received: from noxon.firefly (83.76.217.59) by zhhdzmsp-smta14.bluewin.ch (8.5.142) (authenticated as tobias.berner) id 52330D9E1CF9B28D; Tue, 2 Dec 2014 18:54:05 +0000 From: "Tobias C. Berner" To: freebsd-drivers@freebsd.org Subject: Driver for 'Broadcom Corporation' Wireless Adapter Date: Tue, 02 Dec 2014 19:54:05 +0100 Message-ID: <2614977.N3vUuhINd5@noxon.firefly> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 18:55:14 -0000 Hi there Lenovo's Yoga 3 Pro has a network adapter not recognized by any driver it seems: none6@pci0:1:0:0: class=0x028000 card=0x062317aa chip=0x43b114e4 rev=0x03 hdr=0x00 vendor = 'Broadcom Corporation' class = network I think it is a "BCM4352". Neither bwi nor bwn seemed to attach to the device. Any hints? mfg Tobias From owner-freebsd-drivers@FreeBSD.ORG Tue Dec 2 19:32:21 2014 Return-Path: Delivered-To: freebsd-drivers@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 942C82B0; Tue, 2 Dec 2014 19:32:21 +0000 (UTC) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anubis.delphij.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 725CF882; Tue, 2 Dec 2014 19:32:21 +0000 (UTC) Received: from zeta.ixsystems.com (unknown [12.229.62.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id DC1451AC2D; Tue, 2 Dec 2014 11:32:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1417548741; x=1417563141; bh=pu8q1jyJ+QOjjVwn88LA6/cQwdIwzqf6IKgbDH2GJk4=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=5Qe6atRySJvFQ4H2b3p8mMN6n20HEnFI6552xuViwMflSjVkklejzVihx96odVW9b AOaVoRS3lbDyAx/A88hO1IXJ0A63uaalYaYNdgLpaTUFMB7sbyrcsr4BFEfUqOqUut 8jkRawclnf6SF+I5u0g0bIhSfMfwjESHLzKaDL58= Message-ID: <547E13C4.50306@delphij.net> Date: Tue, 02 Dec 2014 11:32:20 -0800 From: Xin Li Reply-To: d@delphij.net Organization: The FreeBSD Project MIME-Version: 1.0 To: "Tobias C. Berner" , freebsd-drivers@freebsd.org Subject: Re: Driver for 'Broadcom Corporation' Wireless Adapter References: <2614977.N3vUuhINd5@noxon.firefly> In-Reply-To: <2614977.N3vUuhINd5@noxon.firefly> Content-Type: multipart/mixed; boundary="------------020301060704010406070506" X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 19:32:21 -0000 This is a multi-part message in MIME format. --------------020301060704010406070506 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 12/02/14 10:54, Tobias C. Berner wrote: > Hi there > > Lenovo's Yoga 3 Pro has a network adapter not recognized by any > driver it seems: > > none6@pci0:1:0:0: class=0x028000 card=0x062317aa > chip=0x43b114e4 rev=0x03 hdr=0x00 vendor = 'Broadcom > Corporation' class = network > > I think it is a "BCM4352". Neither bwi nor bwn seemed to attach to > the device. Any hints? I think it's bwi(4). Attached is a naive patch that adds the PCI ID but I don't have any datasheet, etc., please test if it works on your hardware. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1.0 (FreeBSD) iQIcBAEBCgAGBQJUfhPAAAoJEJW2GBstM+nsrJ4P/ijCBByXPt1/7NK1miFwBK2o yXCl2Oq6xKzJqtiGNJgUwjzgUa6J2szyXcnTqUWuucr+Qe4gXTR4a6O35dLvSIGY qB9tskZs5tfY5WIJMNel8G2ZN7J325gfUPrPDn60LqE+i+vmPJsmoLrGNCylGeYT Qc01jh7EKq/SHJCxWakQIG4EEJ53N/00fm5hzAPUe+YOlWUG6w6NXG6OF2HHlRaO WPnPWCzmnh1bxN3mFl5BQgOBXsl4ABprb/1vWAJAxgZXasH+ScZismwmJuKZxlXJ DRyJTIaIbaSMVFhc54Qk8FW9KiDPMXZ2bsg0HB7oWS3M1h4MlYHqqWHcKnR7DAra 3b70MgnNsUKVBGBt5ciHM9pIW9sNDMB0EVeqiQX14+2PBtJ9/DRgWiA5lVj5BR/C GqV65vFyhBH/RFVqNpbkd3CMgakS1JNeIe+7W6SmpQUGxffsQ5JymlR+VuXOsm7U uWxAA7T5YOM8mjVOwiQ8huxW4JymctKN8xu2uqjPqg3xYPYllWc9IIfB0Ksek/5z ozeO1yOF004DKp9ufaVwdTSx0oNGbmpBAFUYdxMBDXHFlo5eh5vm+9Q9UWoVymKR J9p017Kb1t+fa2YkS5my62TFk4B9Gnc98QRvNlcwtMx0OSQhvl4oJZ4kI8e3sO2Y iKqJQX5RtFxvOaroXSRo =YEQ7 -----END PGP SIGNATURE----- --------------020301060704010406070506 Content-Type: text/plain; charset=UTF-8; name="bwi.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bwi.patch" Index: sys/dev/bwi/if_bwi_pci.c =================================================================== --- sys/dev/bwi/if_bwi_pci.c (revision 275418) +++ sys/dev/bwi/if_bwi_pci.c (working copy) @@ -97,6 +97,7 @@ static const struct bwi_dev { { PCI_VENDOR_BROADCOM, 0x4318,"Broadcom BCM4318 802.11b/g Wireless Lan" }, { PCI_VENDOR_BROADCOM, 0x4319,"Broadcom BCM4318 802.11a/b/g Wireless Lan" }, { PCI_VENDOR_BROADCOM, 0x431a,"Broadcom BCM4318 802.11a Wireless Lan" }, + { PCI_VENDOR_BROADCOM, 0x43b1,"Broadcom BCM4352 802.11ac Wireless Lan" }, { 0, 0, NULL } }; --------------020301060704010406070506 Content-Type: application/octet-stream; name="bwi.patch.sig" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bwi.patch.sig" iQIcBAABCgAGBQJUfhPEAAoJEJW2GBstM+ns3mIP/1zw8MHPe+2LSLJVAZbCvzx7+uamHuDu 751rqPWLopDkqXbULH+6ci3zlRQOeAoAUR/5U12oEaUkdrUX871AvqhZQoUTerOYkmKfDiev Q7v8d9QojaiYln04t0iCT2kf16qwR9hsCyIdS95fgqPgdtV0QVyObWDXc1qfaLclt+mjvXl8 B0PjW2PSyF1fFakJ/MEGlRocbQYUPVZr0OcZdexG3b/Ulj/HmW3caqup+lzvv9TkLAWn0d3I O9PwXguIdosEiqIXQHNiRs6guM9nu9eJaZ7NhMujXbgzz07n49i8OWv7jiMy/hU5KLOa5cXB f79hQzJBSryvpKdmG53dW3UGIYp8MWP7hBKYqe4o3xrzUyuKtoGfG+CcPZ0e92a8jhHGaE5F kTb+AF1KYflTI5GDng/1KiXQ8YcFznvpvrXsUu1q4SMuSbmSmU8Crnv1OITBZwsiv4aD30uL 5yAjnHeZojHBZhl8y/wM8dGnJrbsuIX3xWPd7Skw5isZh7PmsI8CXC41ckNVUPXGrBsgQHYi JgM/IHH/Jqj4du/HgOGCQyy4sRdOAuO/6CCYo31jYl8KZjGEpN9z/w9jA/qEPtbEq+7pm8f2 FglEShB+1/jOgSFTHBdWNIgJqMN57VgmFYwtP4ZxixIoKWb7MtqqcsKw5OBtS3stiPR/OjF4 5jB+ --------------020301060704010406070506-- From owner-freebsd-drivers@FreeBSD.ORG Tue Dec 2 19:44:19 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2220468E for ; Tue, 2 Dec 2014 19:44:19 +0000 (UTC) Received: from zhbdzmsp-smta17.bluewin.ch (zhbdzmsp-smta17.bluewin.ch [195.186.99.133]) by mx1.freebsd.org (Postfix) with ESMTP id B4E909C6 for ; Tue, 2 Dec 2014 19:44:18 +0000 (UTC) Received: from [195.186.227.130] ([195.186.227.130:45533] helo=zhhdzmsp-smta12.bluewin.ch) by zhbdzmsp-smta17.bluewin.ch (envelope-from ) (ecelerity 3.5.7.40067 r(Platform:3.5.7.0)) with ESMTP id 17/33-04376-F461E745; Tue, 02 Dec 2014 19:43:11 +0000 Received: from noxon.firefly (83.76.217.59) by zhhdzmsp-smta12.bluewin.ch (8.5.142) (authenticated as tobias.berner) id 52A87E3C1663BDDD; Tue, 2 Dec 2014 19:43:11 +0000 From: "Tobias C. Berner" To: "'freebsd-drivers@freebsd.org'" Subject: Driver for 'ThinkpadUSBLan Lenovo' dongle Date: Tue, 02 Dec 2014 20:43:10 +0100 Message-ID: <17803012.WVS6T1yf1C@noxon.firefly> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 19:44:19 -0000 Hi there Hi have a usb3-gigabit-ethernet dongle: ugen1.3: at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) The chip should be an "RTL8153" (according to the label on the device). Is there a way to get it working? mfg Tobias From owner-freebsd-drivers@FreeBSD.ORG Tue Dec 2 19:51:49 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A423C07 for ; Tue, 2 Dec 2014 19:51:49 +0000 (UTC) Received: from zhbdzmsp-smta17.bluewin.ch (zhbdzmsp-smta17.bluewin.ch [195.186.99.133]) by mx1.freebsd.org (Postfix) with ESMTP id 312BCA3B for ; Tue, 2 Dec 2014 19:51:48 +0000 (UTC) Received: from [195.186.227.130] ([195.186.227.130:50557] helo=zhhdzmsp-smta12.bluewin.ch) by zhbdzmsp-smta17.bluewin.ch (envelope-from ) (ecelerity 3.5.7.40067 r(Platform:3.5.7.0)) with ESMTP id 3D/25-04376-3581E745; Tue, 02 Dec 2014 19:51:47 +0000 Received: from noxon.firefly (83.76.217.59) by zhhdzmsp-smta12.bluewin.ch (8.5.142) (authenticated as tobias.berner) id 52A87E3C1663DCF3; Tue, 2 Dec 2014 19:51:47 +0000 From: "Tobias C. Berner" To: d@delphij.net, freebsd-drivers@freebsd.org Subject: Re: Driver for 'Broadcom Corporation' Wireless Adapter Date: Tue, 02 Dec 2014 20:51:47 +0100 Message-ID: <1728134.zhMMF9gK1c@noxon.firefly> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) In-Reply-To: <547E13C4.50306@delphij.net> References: <2614977.N3vUuhINd5@noxon.firefly> <547E13C4.50306@delphij.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 19:51:49 -0000 On Tuesday 02 December 2014 11.32:20 Xin Li wrote: > On 12/02/14 10:54, Tobias C. Berner wrote: > > Hi there > > > > Lenovo's Yoga 3 Pro has a network adapter not recognized by any > > driver it seems: > > > > none6@pci0:1:0:0: class=0x028000 card=0x062317aa > > chip=0x43b114e4 rev=0x03 hdr=0x00 vendor = 'Broadcom > > Corporation' class = network > > > > I think it is a "BCM4352". Neither bwi nor bwn seemed to attach to > > the device. Any hints? > > I think it's bwi(4). > > Attached is a naive patch that adds the PCI ID but I don't have any > datasheet, etc., please test if it works on your hardware. > > Cheers, > -- > Xin LI https://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die Hi, thanks for the patch, loading if_bwi I get kernel: bwi0: no BBP id for device id 0x43b1 kernel: device_attach: bwi0 attach returned 6 mfg Tobias