From owner-freebsd-questions@FreeBSD.ORG Tue Nov 27 22:11:45 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A957A16A418 for ; Tue, 27 Nov 2007 22:11:45 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id EC42F13C4EC for ; Tue, 27 Nov 2007 22:11:44 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id lARMBhBS009442; Tue, 27 Nov 2007 23:11:43 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id DB1A9B8F8; Tue, 27 Nov 2007 23:11:42 +0100 (CET) Date: Tue, 27 Nov 2007 23:11:42 +0100 From: Roland Smith To: Steve Franks Message-ID: <20071127221142.GA64385@slackbox.xs4all.nl> Mail-Followup-To: Steve Franks , User Questions References: <539c60b90711271248o6eb0b9fw757e40fbcdfdb3c2@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <539c60b90711271248o6eb0b9fw757e40fbcdfdb3c2@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: User Questions Subject: Re: how to compile and install a new driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 22:11:45 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 27, 2007 at 01:48:28PM -0700, Steve Franks wrote: > Hi, >=20 > I found this thread > http://lists.freebsd.org/pipermail/freebsd-stable/2006-August/027445.html > to a driver I need for my system. >=20 > (1) The file extension > (http://www.dons.net.au/~darius/ucp-0.01.diff.gz) is .diff, not .c, so > what exactly do I do with it to compile it? First, use gunzip to extract it. This will leave a file ucp-0.01.diff. Next, su to root and cd to /usr/src/sys. To apply the patch, do 'patch (2) Assuming I can get it to compile, which I've never done, what do I > do with the object/driver file? The 'make kernel' command will install the module automagically. On the next boot, you should be able to load the ucp driver module with kldload(8).=20 =20 > This driver is long overdue, the part has been in usb devices for > several years, and support is in OpenBSD and Linux already (so I'm > told by google). I'll happily document the process if someone holds > my hand. If it works, submit a PR. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHTJYeEnfvsMMhpyURAkA+AJ0TGTBTai/3BILOc2uzG8+9V7WL7QCaAjEd 6ZRSthNN6IrFsKVbo1L8TzI= =wWbf -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--