From owner-freebsd-net@FreeBSD.ORG Sat Aug 4 16:37:18 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18F1316A417 for ; Sat, 4 Aug 2007 16:37:18 +0000 (UTC) (envelope-from giles.williams@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id AF92713C457 for ; Sat, 4 Aug 2007 16:37:17 +0000 (UTC) (envelope-from giles.williams@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so608906uge for ; Sat, 04 Aug 2007 09:37:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=ax3u4BpsXtDowHvq/OPIhkOcnsQZaQCJd1wvU+xWb9xsu2VOBsGsIe+JHodR8masG0XBvfSpjdrXOfLEw8OIL1obFWEZ8qz0o5/mt6KvzL1RdJfMykbIWhehlwTF8jwRXAyIYZAgQ7KXP0JrY3xm5gHH/bNPkG1m8/61EQOAsSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=EscrAZTtUIQzim3fqCFFRUo2OJVtM5TMUXWLPPvl0motXpzJV3YxXfUglZTomrHzyCfdol7OY5TW2N/D75b6Gliy22WzoB+YeAYh2RKCuv7aDnEVpNgGOjIG4OgWBcMZnNqsrajiGkymzlT74Fs4uxztpQXmgyOCCzd8y/G0Fe0= Received: by 10.67.27.20 with SMTP id e20mr959261ugj.1186245436166; Sat, 04 Aug 2007 09:37:16 -0700 (PDT) Received: from ?192.168.1.103? ( [90.242.50.33]) by mx.google.com with ESMTPS id i8sm4263405nfh.2007.08.04.09.37.14 (version=SSLv3 cipher=OTHER); Sat, 04 Aug 2007 09:37:15 -0700 (PDT) In-Reply-To: <20070804162704.T87821@maildrop.int.zabbadoz.net> References: <20070804161416.A87821@maildrop.int.zabbadoz.net> <20070804162704.T87821@maildrop.int.zabbadoz.net> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <48B3F4C6-FBCF-4BB4-B852-AB52B08B0A1C@gmail.com> Content-Transfer-Encoding: 7bit From: Giles Williams Date: Sat, 4 Aug 2007 17:37:14 +0100 To: "Bjoern A. Zeeb" X-Mailer: Apple Mail (2.752.3) Cc: freebsd-net@freebsd.org Subject: Re: Dynamode USB NIC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Aug 2007 16:37:18 -0000 hmm ok. erm being a bit of a noob - any chance you could explain how to do this? Thanks, Giles. On 4 Aug 2007, at 17:30, Bjoern A. Zeeb wrote: > On Sat, 4 Aug 2007, Giles Williams wrote: > > Hi, > Cc:ing net@ again > > >> Thanks for getting back to me! >> >> I've looked, and udav is loaded, I already tried that a while >> back. Execing usbdevs -v gives: >> >> bsdbox# usbdevs -v >> Controller /dev/usb0: >> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), >> Intel(0x0000), rev 1.00 >> port 1 addr 2: full speed, power 144 mA, config 1, Davicom CO., LTD >> (0x9601), DM9601 USB NNC(0x0a46), rev 1.01 >> port 2 powered > > For FreeBSD HEAD sources it looks like this: > > ... > } udav_devs [] = { > /* Corega USB-TXC */ > {{ USB_VENDOR_COREGA, USB_PRODUCT_COREGA_FETHER_USB_TXC }, 0}, > /* ShanTou ST268 USB NIC */ > {{ USB_VENDOR_SHANTOU, USB_PRODUCT_SHANTOU_ST268 }, 0}, > #if 0 > /* DAVICOM DM9601 Generic? */ > /* XXX: The following ids was obtained from the data > sheet. */ > {{ 0x0a46, 0x9601 }, 0}, > #endif > }; > ... > > As you can see, you ID is disabled with the #if 0. It seems it was > that way since the very first version. I cannot say what it's the way > it is. > > You could try to change it to #if 1 and recompile and see if it > panics or works... > > -- > Bjoern A. Zeeb bzeeb at Zabbadoz > dot NeT > Software is harder than hardware so better get it right the first > time.