From owner-freebsd-questions@freebsd.org Wed Sep 16 14:38:46 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 678BB9CD145 for ; Wed, 16 Sep 2015 14:38:46 +0000 (UTC) (envelope-from rizzo@i805.com.br) Received: from server.i805.com.br (mailhost.i805.com.br [72.52.97.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5943C1F11 for ; Wed, 16 Sep 2015 14:38:45 +0000 (UTC) (envelope-from rizzo@i805.com.br) Received: from i805.com.br (localhost [127.0.0.1]) by server.i805.com.br (8.15.1/8.14.9) with ESMTP id t8GEZVfq015445 for ; Wed, 16 Sep 2015 11:35:31 -0300 (BRT) (envelope-from rizzo@i805.com.br) X-Authentication-Warning: server.i805.com.br: Host localhost [127.0.0.1] claimed to be i805.com.br From: "Nilton Jose Rizzo" To: freebsd-questions@freebsd.org Subject: About drivers and how create one Date: Wed, 16 Sep 2015 11:35:31 -0300 Message-Id: <20150916142250.M64674@i805.com.br> X-Mailer: OpenWebMail 3.00_beta4 20121104 671 X-OriginatingIP: 200.11.5.26 (rizzo) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: Wed, 16 Sep 2015 14:38:46 -0000 Hi all, 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. 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 **************************************************/