From owner-freebsd-usb@FreeBSD.ORG Sat Jan 29 09:09:52 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F4CF16A4CE for ; Sat, 29 Jan 2005 09:09:52 +0000 (GMT) Received: from zed.bpsw.biz (zed.bpsw.biz [67.18.135.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id E605243D1D for ; Sat, 29 Jan 2005 09:09:51 +0000 (GMT) (envelope-from lists@bridgeportsoftware.com) Received: from localhost (localhost [127.0.0.1]) by zed.bpsw.biz (Postfix) with ESMTP id 6328B595A; Sat, 29 Jan 2005 01:09:51 -0800 (PST) Received: from zed.bpsw.biz ([127.0.0.1]) by localhost (zed.bpsw.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44556-07; Sat, 29 Jan 2005 01:09:49 -0800 (PST) Received: from fez.bpsw.biz (unknown [10.0.1.3]) by zed.bpsw.biz (Postfix) with ESMTP id B162C599C; Sat, 29 Jan 2005 01:09:49 -0800 (PST) Received: from [10.0.1.53] (unknown [10.0.1.53]) by fez.bpsw.biz (Postfix) with ESMTP id 5C41A3E8910; Sat, 29 Jan 2005 01:09:52 -0800 (PST) In-Reply-To: <200501290209.j0T29N5F002276@Mail.NOSPAM.DynDNS.dK> References: <20050103205820.GA74545@users.altadena.net> <20050103214607.GB64429@cicely12.cicely.de> <200501290209.j0T29N5F002276@Mail.NOSPAM.DynDNS.dK> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <727e1fefed711b5ee555b0a12cef4b9a@bridgeportsoftware.com> Content-Transfer-Encoding: 7bit From: Max Campos Date: Sat, 29 Jan 2005 01:09:48 -0800 To: Barry Bouwsma X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: amavisd-new at bpsw.biz cc: freebsd-usb@freebsd.org Subject: Re: Adaptec USB2Xchange X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2005 09:09:52 -0000 > Feel free to take my work, erm, hacks, and do as you see fit with > them, or make them work properly, or if you know more than I do, > fix ezload.c to be a general-purpose loader handling both this > adapter as well as the uyap for which it was written, and anything > else that may need to use EZ-USB. This was done eons ago in the form of a command-line utility; see the misc/ezload port. I have also made a few changes as well. If you have questions as to how it works / etc, let me know. I personally prefer to do the firmware load & renumeration (the reboot onto the loaded firmware) in userspace. Just add an entry like this in /etc/usb.conf: device "Some Device" vendor 0xaaaa product 0xbbbb release 0xcccc attach "/usr/local/bin/ezdownload -v /dev/${DEVNAME}" The device will attach as a ugen, then the firmware will be downloaded, the device reset, and then it will reattach as whatever it renumerates as. Put the firmware file in /usr/local/share/usb/firmware. - Max