Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Sep 2015 16:16:54 -0500
From:      fmm_07@openmailbox.org
To:        freebsd-wireless@freebsd.org
Subject:   How to develop a wireless =?UTF-8?Q?driver=3F?=
Message-ID:  <9723f27f8adc7024e07241b51fe3fafc@openmailbox.org>

next in thread | raw e-mail | index | archive | help
 

Hello, I have a wireless card that does not work in FreeBSD but in
Gnu/Linux with a proprietary firmware (my wireless card is Realtek
RTL8188CE), the firmware is rtl8192cfw.bin.
My question is: How can I develop a free wireless driver and build it
with a custom kernel in FreeBSD?

Thanks for your help. 
 
From owner-freebsd-wireless@freebsd.org  Fri Sep  4 21:23:03 2015
Return-Path: <owner-freebsd-wireless@freebsd.org>
Delivered-To: freebsd-wireless@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 014249CB23C
 for <freebsd-wireless@mailman.ysv.freebsd.org>;
 Fri,  4 Sep 2015 21:23:03 +0000 (UTC)
 (envelope-from felixphew0@gmail.com)
Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com
 [IPv6:2607:f8b0:400e:c03::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 C8633C8D
 for <freebsd-wireless@freebsd.org>; Fri,  4 Sep 2015 21:23:02 +0000 (UTC)
 (envelope-from felixphew0@gmail.com)
Received: by pacfv12 with SMTP id fv12so35598306pac.2
 for <freebsd-wireless@freebsd.org>; Fri, 04 Sep 2015 14:23:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=content-type:mime-version:subject:from:in-reply-to:date:cc
 :content-transfer-encoding:message-id:references:to;
 bh=J44Hvw/r32xZwiKRNDXHDdv5u5Ecwoi5R82Mkb81nOA=;
 b=NtO1YUPOkPS6VW2HSwkwojw6REWTeCbAm8YSlA68+Uy22RFYOCAOfCT8hlGFDPp0vE
 OeRFWb4QQEg2X+U5F/t/Hb0cv7vijMXlZQef66/OIECdiZfbalJgNsFuQRYBI1NNeok1
 mYQmhBeVhtrUYj0Fya/ixj8ivqgpV23YjfhK3KGUIgiCH6buISLTKkioYNTQ9ENXiLNa
 tqpE2ieQ2ka/3qOIlI3QaVKQm4BBg0AshdsD95L+d4OihoMtUTueHvTiDkfYXVqe//Nv
 sCWJQi0e3kfRoL9lhBVh3pQXzf7BFpq1+RmkAwgvtqVpCYDddc042xnSBU37+3QiCh4S
 1IBg==
X-Received: by 10.68.234.167 with SMTP id uf7mr12495993pbc.51.1441401782386;
 Fri, 04 Sep 2015 14:23:02 -0700 (PDT)
Received: from [192.168.0.2] (c211-30-51-180.frank3.vic.optusnet.com.au.
 [211.30.51.180])
 by smtp.gmail.com with ESMTPSA id y5sm3571826pdc.4.2015.09.04.14.23.00
 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
 Fri, 04 Sep 2015 14:23:01 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3093\))
Subject: Re: How to develop a wireless driver?
From: Felix Friedlander <felixphew0@gmail.com>
In-Reply-To: <9723f27f8adc7024e07241b51fe3fafc@openmailbox.org>
Date: Sat, 5 Sep 2015 07:22:57 +1000
Cc: freebsd-wireless@freebsd.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <CBEB78CC-1A99-4244-A32D-188E140CB3CF@gmail.com>
References: <9723f27f8adc7024e07241b51fe3fafc@openmailbox.org>
To: fmm_07@openmailbox.org
X-Mailer: Apple Mail (2.3093)
X-BeenThere: freebsd-wireless@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: "Discussions of 802.11 stack,
 tools device driver development." <freebsd-wireless.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-wireless>, 
 <mailto:freebsd-wireless-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-wireless/>;
List-Post: <mailto:freebsd-wireless@freebsd.org>
List-Help: <mailto:freebsd-wireless-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-wireless>, 
 <mailto:freebsd-wireless-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2015 21:23:03 -0000

Are you sure the existing driver doesn=E2=80=99t work? Try adding these =
two lines to loader.conf:

if_urtwn_load=3D=E2=80=9CYES"
legal.realtek.license_ack=3D1

and rebooting. If that doesn=E2=80=99t work, I would be looking at NDIS =
as your next best option - writing drivers is *hard*(as I have =
discovered in my own attempts to update the bwn(4) driver).

> On 5 Sep 2015, at 7:16 AM, fmm_07@openmailbox.org wrote:
>=20
>=20
>=20
> Hello, I have a wireless card that does not work in FreeBSD but in
> Gnu/Linux with a proprietary firmware (my wireless card is Realtek
> RTL8188CE), the firmware is rtl8192cfw.bin.
> My question is: How can I develop a free wireless driver and build it
> with a custom kernel in FreeBSD?
>=20
> Thanks for your help.=20
>=20
> _______________________________________________
> freebsd-wireless@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to =
"freebsd-wireless-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9723f27f8adc7024e07241b51fe3fafc>