From owner-freebsd-questions@freebsd.org Thu Sep 17 15:19:37 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 DCF699CE2F0 for ; Thu, 17 Sep 2015 15:19:37 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 820AB1B73 for ; Thu, 17 Sep 2015 15:19:37 +0000 (UTC) (envelope-from kevlo@ns.kevlo.org) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.9/8.14.9) with ESMTP id t8HFJEb4068282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 17 Sep 2015 23:19:14 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.9/8.14.9/Submit) id t8HFJDTR068280; Thu, 17 Sep 2015 23:19:13 +0800 (CST) (envelope-from kevlo) Date: Thu, 17 Sep 2015 23:19:12 +0800 From: Kevin Lo To: Nilton Jose Rizzo Cc: freebsd-questions@freebsd.org Subject: Re: About drivers and how create one Message-ID: <20150917151912.GA68273@ns.kevlo.org> References: <20150916142250.M64674@i805.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150916142250.M64674@i805.com.br> 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: Thu, 17 Sep 2015 15:19:38 -0000 On Wed, Sep 16, 2015 at 11:35:31AM -0300, Nilton Jose Rizzo wrote: > > > Hi all, Hi, > I bought a wireless mini usbcard, to test in > FreeBSD, but it not reconized. In CD have a Linux > source driver. > My Question is : How hard is to convert a source > code Linux to FreeBSD and where I can found information > about it? > > The CHIP under device is Ralink rt28XX. Could you use usbconfig(8) to show the vendor and device IDs? Thanks. > I'm using a FreeBSD -current > > uname -a > FreeBSD leblon 11.0-CURRENT FreeBSD 11.0-CURRENT #10 r285290: Wed Jul 8 > 21:50:30 BRT 2015 rizzo@leblon:/usr/obj/usr/src/sys/LEBLON amd64 > > P.S. I Have a good knowledgement in C/C++ and assembler, but I never > wrote a kernel module. > > TIA > > --- > /************************************************* > **Nilton José Rizzo UFRRJ > **http://www.rizzo.eng.br http://www.ufrrj.br > **http://lattes.cnpq.br/0079460703536198 > **************************************************/ Kevin