From owner-freebsd-questions Thu Dec 19 15:07:07 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA18841 for questions-outgoing; Thu, 19 Dec 1996 15:07:07 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id PAA18834 for ; Thu, 19 Dec 1996 15:07:06 -0800 (PST) Received: from hod.tera.com ([206.215.142.67]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id PAA02929 for ; Thu, 19 Dec 1996 15:07:04 -0800 (PST) Received: from athena.tera.com (athena.tera.com [206.215.142.62]) by hod.tera.com (8.7.5/8.7.3) with ESMTP id PAA19779; Thu, 19 Dec 1996 15:05:00 -0800 (PST) From: Gary Kline Received: (from kline@localhost) by athena.tera.com (8.7.5/8.7.3) id PAA02888; Thu, 19 Dec 1996 15:04:59 -0800 (PST) Message-Id: <199612192304.PAA02888@athena.tera.com> Subject: Re: embed In-Reply-To: <199612192029.NAA09438@xmission.xmission.com> from Softweyr LLC at "Dec 19, 96 01:29:21 pm" To: softweyr@xmission.com (Softweyr LLC) Date: Thu, 19 Dec 1996 15:04:59 -0800 (PST) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL23 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk According to Softweyr LLC: > > > i also hear that writing device drivers can be a real pain in the butt for > > UNIX (A2D cards, etc) ? any comments ? > > Writing device drivers for UNIX is certainly no more painful than > writing device drivers for any other OS. You at least have a kernel > debugger in FreeBSD and *rarely* ;^) have to resort to logic analyzers, > o-scopes, etc. Don't let the DOS-heads in the world frighten you about > working inside UNIX; at least you have the source to the system, and to > other drivers. > > I'll stick in my two-bits here since I wrote several drivers years ago. It is no more difficult than any other area of hacking: X-Window or kernel intrinsics or whatever. You buy a few good books and start at it. My first tty driver took a couple months to complete and polish. Second one took only 10 days. Dennis Ritchie's STREAMS was another learning curve, but in the end is a big win. The last driver was for my DeskJet I wrote to learn C++ and it was limping along in a few days. I agree that you shouldn't listen to any DOS-dweebs; the ones who consider DOS to be the best thing that God ever invented. Bottom line is that if hacking Unix requires more thought it is because Unix is strikingly more powerful. gary kline