From owner-freebsd-drivers@FreeBSD.ORG Wed Feb 20 17:30:18 2013 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BF4FC982 for ; Wed, 20 Feb 2013 17:30:18 +0000 (UTC) (envelope-from ananyaha93@gmail.com) Received: from mail-ve0-f196.google.com (mail-ve0-f196.google.com [209.85.128.196]) by mx1.freebsd.org (Postfix) with ESMTP id 8886A3EE for ; Wed, 20 Feb 2013 17:30:18 +0000 (UTC) Received: by mail-ve0-f196.google.com with SMTP id ox1so2088301veb.7 for ; Wed, 20 Feb 2013 09:30:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=XGkawKRGz49lAYhsHE+jZtUmcgRgpLKebSZ/T8F49cI=; b=ATD6dmcAOTRJIlQrZg/ZwguCR8xVi3HmSwmSzm0/6XVfPXw9vxQkvMYrrk/i4CGpNE /P1yhUWhB2ZEcRPQ+HxxAYjYEOJET6AZ3B5pG/dpKyF3bXKztv5MZgpmnlLSXOk0HUUx t2zJFrjEltVg0SYN6eWo8Xo4yVMfYCMh7uGK1Wra5AHETz8QlUgP/F2MhlhfEJiPxRg1 7d4xq2sMJKxA4la9tIZqAsRuG84S49OXHqNDrLmc9qPUPhu2tahOLSltOrE4FA7N8IUf s7mNF2ubUiRhIbeU1VZv8UD9dNt8WY9ZmfEH/GWczDLRiXiHB53jIMWMOTm573LxV3i2 kRKQ== MIME-Version: 1.0 X-Received: by 10.58.23.169 with SMTP id n9mr27145654vef.58.1361380377579; Wed, 20 Feb 2013 09:12:57 -0800 (PST) Received: by 10.58.19.233 with HTTP; Wed, 20 Feb 2013 09:12:57 -0800 (PST) Date: Wed, 20 Feb 2013 22:42:57 +0530 Message-ID: Subject: GSOC 2013 From: Ananya H To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2013 17:30:18 -0000 Hello ! I am Ananya , a second year undergrad student ! am new to the open source community but want to be able to contribute ! I intend to apply for gsoc this summer . I know c and am acquainted with system programming in Linux . I would like to extend my knowledge by delving deeper and am interested in writing device drivers and kernel programming ,even though my knowledge is minimal ! However I am willing to learn about the art of writing device drivers and would like to work on writing a device driver as a project for gsoc this summer ! I would like some suggestions on what steps I should take to get a start to eventually reach my goal for this summer From owner-freebsd-drivers@FreeBSD.ORG Thu Feb 21 01:11:51 2013 Return-Path: Delivered-To: drivers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BB7B7442 for ; Thu, 21 Feb 2013 01:11:51 +0000 (UTC) (envelope-from dougmsmith2@cogeco.ca) Received: from bx142.blacksun.ca (bx142.blacksun.ca [69.27.114.3]) by mx1.freebsd.org (Postfix) with ESMTP id 80D8695C for ; Thu, 21 Feb 2013 01:11:51 +0000 (UTC) Received: from bx142.blacksun.ca (localhost [127.0.0.1]) by bx142.blacksun.ca (8.13.1/8.13.1) with ESMTP id r1L0uij3015015 for ; Wed, 20 Feb 2013 18:56:44 -0600 Received: (from apache@localhost) by bx142.blacksun.ca (8.13.1/8.13.1/Submit) id r1L0ufYb015013; Wed, 20 Feb 2013 18:56:41 -0600 Date: Wed, 20 Feb 2013 18:56:41 -0600 Message-Id: <201302210056.r1L0ufYb015013@bx142.blacksun.ca> X-Authentication-Warning: bx142.blacksun.ca: apache set sender to dougmsmith2@cogeco.ca using -f To: drivers@freebsd.org Subject: SPRING ISSUE OF Depth Magazine COMING SOON MIME-Version: 1.0 From: Depth Magazine X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: dougmsmith2@cogeco.ca Content-Type: text/plain;charset=utf-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 01:11:51 -0000 SPRING ISSUE OF Depth Magazine COMING SOON\r\n
Just a quick email to let everyone know, that if you have not yet, been to the Depth website, to view the Winter Issue, should consider going now, to register for your FREE SUBSCRIPTION. We are working diligently at completing the SPRING ISSUE, so it can be uploaded no later than the 15th of March. So, that being said, if you have not gone and registered, feel free to do so, and if you have thank you very much for your support. Your comments about the magazine are WELCOME.
 
Doug Smith
President
Depth Magazine
 

 

 

 

 

\r\nPlease visit our site at http://www.canadianoutdoorsman.net\r\nIf you have any questions please contact dougsmith2@cogeco.ca\r\nIf you wish to be removed from this list please go to http://www.high-velocity-media.com/admin/depth/unsubscribe.php From owner-freebsd-drivers@FreeBSD.ORG Fri Feb 22 18:11:19 2013 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D4EEE847 for ; Fri, 22 Feb 2013 18:11:19 +0000 (UTC) (envelope-from carl@freebsd.org) Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by mx1.freebsd.org (Postfix) with ESMTP id 902C5FD4 for ; Fri, 22 Feb 2013 18:11:19 +0000 (UTC) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 22 Feb 2013 10:10:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,717,1355126400"; d="asc'?scan'208";a="260351168" Received: from crdelsey-fbsd.ch.intel.com (HELO [10.2.105.127]) ([10.2.105.127]) by azsmga001.ch.intel.com with ESMTP; 22 Feb 2013 10:10:11 -0800 Message-ID: <5127B473.1070604@FreeBSD.org> Date: Fri, 22 Feb 2013 11:09:55 -0700 From: Carl Delsey User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130115 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-drivers@freebsd.org Subject: Re: GSOC 2013 References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig90672C79AC47128B022DD3AE" X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 18:11:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig90672C79AC47128B022DD3AE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/20/13 10:12, Ananya H wrote: > Hello ! > I am Ananya , a second year undergrad student ! am new to the open sou= rce > community but want to be able to contribute ! I intend to apply for gso= c > this summer . I know c and am acquainted with system programming in Lin= ux . > I would like to extend my knowledge by delving deeper and am interested= in > writing device drivers and kernel programming ,even though my knowledge= is > minimal ! However I am willing to learn about the art of writing device= > drivers and would like to work on writing a device driver as a project = for > gsoc this summer ! I would like some suggestions on what steps I should= > take to get a start to eventually reach my goal for this summer > I would start by going through Chapter 9 - Writing FreeBSD Device Drivers in the Architecture Handbook. http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/devicedriv= ers.html That will introduce you to the basics of loading drivers on FreeBSD. After that, trying to write an actual driver of some sort would be worth a try. You could write a driver for a pseudo device like a memory disk or loop back device. There are existing drivers for these things in FreeBSD (see man md and lo) to use as a reference. If you want to write a driver for real hardware, make sure it is something you can get documentation for. Parallel and serial ports used to be popular devices to write experimental drivers for, but they are becoming rare on PC's. You could write a driver for a USB device or a common network card if you can get documentation. In this case, there may be an existing driver in FreeBSD that you would have to disable so that you don't conflict. This driver would also be useful to use as a reference. You will find that different types of hardware fits into the OS in different ways, so that writing a network device driver is very different from writing a storage device driver or USB device driver, etc. If one type of device interests you more than others, I'd say start with that. Each new type of device brings a new learning curve. Regards, Carl --------------enig90672C79AC47128B022DD3AE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQIcBAEBAgAGBQJRJ7SDAAoJEGAx6WP7O104pIkP/2huicF2qL/ZVKBqf/luxWA8 Ny1/oSxzC0NuQccnVMl6KvTjCRcwb/cVUzIOFONFuBhJu77YaPmhJcWuKX6vCk77 Kv5+/WnA793ufcIKeiqUgY1daBCg6m/31ZhRLPCpZt2DHYRzg6O+DFkDjly39inE TJIiEwPLyyKurUAL+27akAS0zFBYh0tzrYlBmYmG5Zji7f6gccbZzsCEW2OI+GLy a1gFwkuz1mZ5oGq0wJ9yRIeI8BloRuGOyd8fOsDDcvB78TNe+D5aeSkGQ8VOJksa U9e6dEce5gfrfMLlzsQQaDKvCnU3QBGes2z2lYvzses2BH7lHYGfLbdxCNZ4JqzT 30gMTTFW5Rl8tQTVmc49HDCPbR28mNBp/7u9b7cO3XsQ/xjMXeHQMCe4P/tSEXwS uiF+mN9ARQUJre5+P6uZeXFs1h9pj+LeLKX1CgMuCc/aE/nmDKDX6i5FZtrBdLC5 f3skD5SHCA3HrCEjKTeQ9ZW0UtEEqPTyf3aZHRGqdRw9CkeEkurzp0wQaOzUGv4j pr51uDKN72YFjl5IetuO3I40VRlmoAUHdn4R3+Gf8QGzpSJ/ZC/l7SjThBuiqKyZ Ui5iMQn20clrd1azwJqAoF5osyo82EwF7v8Ct4uWLhqY7RP6RvjsY/i+70rfO7mS +7A0+dHVBqBROKadOA9g =iTuk -----END PGP SIGNATURE----- --------------enig90672C79AC47128B022DD3AE-- From owner-freebsd-drivers@FreeBSD.ORG Fri Feb 22 19:14:28 2013 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A89864F9; Fri, 22 Feb 2013 19:14:28 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx1.freebsd.org (Postfix) with ESMTP id 5B168628; Fri, 22 Feb 2013 19:14:28 +0000 (UTC) Received: by mail-ve0-f181.google.com with SMTP id d10so863332vea.12 for ; Fri, 22 Feb 2013 11:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Vh77YruJC+op/95dFansjULSSatJN9/BsNGu+nZaryI=; b=PQvd7lFdO0YvHybuaH2VZZJjZxHZK53afkKpQc6yoRLjYgBT7ytlyTKhdReKAcBacc 9XzPt/rXG1n2T15GxFW8Lr4LQgNx6m0nm4Uy7C70ych4w2JFysqLh3+I9AOB2ible2yS X/mROatxKadVTwbZ3GTGBzxuuL04aCr2VQiZmQFM/99w4MtkhEZzWOcS8Oti2HUo8EZZ Lt6tdbRuSVng/0bYYrmB7KWMPw8Q7jmPHyWE7ZSh0wdjaXZAQYYJPHZpF1fhiBQEDGo2 MQGO1ykyaSRU1iwWe/tU3oTxubOa2WmbcoQUtH6N4rHebqD5iUvVF4JYC+DeAf9k0Tur Yf3A== MIME-Version: 1.0 X-Received: by 10.220.154.148 with SMTP id o20mr4115009vcw.54.1361560462634; Fri, 22 Feb 2013 11:14:22 -0800 (PST) Received: by 10.58.170.36 with HTTP; Fri, 22 Feb 2013 11:14:22 -0800 (PST) In-Reply-To: <5127B473.1070604@FreeBSD.org> References: <5127B473.1070604@FreeBSD.org> Date: Fri, 22 Feb 2013 11:14:22 -0800 Message-ID: Subject: Re: GSOC 2013 From: Mehmet Erol Sanliturk To: Carl Delsey Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2013 19:14:28 -0000 On Fri, Feb 22, 2013 at 10:09 AM, Carl Delsey wrote: > On 02/20/13 10:12, Ananya H wrote: > > Hello ! > > I am Ananya , a second year undergrad student ! am new to the open > source > > community but want to be able to contribute ! I intend to apply for gsoc > > this summer . I know c and am acquainted with system programming in > Linux . > > I would like to extend my knowledge by delving deeper and am interested > in > > writing device drivers and kernel programming ,even though my knowledge > is > > minimal ! However I am willing to learn about the art of writing device > > drivers and would like to work on writing a device driver as a project > for > > gsoc this summer ! I would like some suggestions on what steps I should > > take to get a start to eventually reach my goal for this summer > > > I would start by going through Chapter 9 - Writing FreeBSD Device > Drivers in the Architecture Handbook. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/devicedrivers.html > That will introduce you to the basics of loading drivers on FreeBSD. > > After that, trying to write an actual driver of some sort would be worth > a try. You could write a driver for a pseudo device like a memory disk > or loop back device. There are existing drivers for these things in > FreeBSD (see man md and lo) to use as a reference. > > If you want to write a driver for real hardware, make sure it is > something you can get documentation for. Parallel and serial ports used > to be popular devices to write experimental drivers for, but they are > becoming rare on PC's. You could write a driver for a USB device or a > common network card if you can get documentation. In this case, there > may be an existing driver in FreeBSD that you would have to disable so > that you don't conflict. This driver would also be useful to use as a > reference. > > You will find that different types of hardware fits into the OS in > different ways, so that writing a network device driver is very > different from writing a storage device driver or USB device driver, > etc. If one type of device interests you more than others, I'd say start > with that. Each new type of device brings a new learning curve. > > Regards, > Carl > > Perhaps one problem may be the following : When X is running in a computer with a desktop manager such as KDE , the console is not visible anymore , especially "stdin" , "stdout" , and "stderr" . The console output may be diverted to a serial console . When there is no any serial console , another computer may be used as a serial console . These may be difficult applications . Assume that there are multiple monitors attached to the computer by VGA cards or USB to VGA devices , such as http://www.amazon.com/s/ref=nb_sb_ss_i_4_10?url=search-alias%3Dcomputers&field-keywords=usb%20to%20vga%20external%20video%20card%20multi%20monitor%20adapter http://www.amazon.com/s/ref=nb_sb_ss_i_1_10?url=search-alias%3Dcomputers&field-keywords=usb%20to%20vga%20adapter These are cheap units and there are cheap monitors , especially 1280 x 768 size , such as http://www.tigerdirect.com/applications/Category/guidedSearch.asp?CatId=12&sel=Detail%3B51_283_457_457 By defining suitable "loader.conf" ( or another file ) definitions , divert "stdin" , "stdout" , "stderr" outputs to those additional monitors ( different from monitors used by desktop window managers , where they may be multiple also ) . The "stdin" monitor will display all key presses only , and key press requests . The graphical desktop environment should not prevent use of these monitors and they will be used if the X and graphical desktop environment is not running . When a terminal window is opened in the desktop environment , its use will not be interfered . This setup will be very useful during program development , because all of the messages not visible at present will be visible and , if it is not exactly required , serial console will not be required . As a resource , there is also the following book : http://www.nostarch.com/bsddrivers.htm FreeBSD Device Drivers Thank you very much . Mehmet Erol Sanliturk