From owner-freebsd-questions Mon Mar 27 8:19:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from sr14.nsw-remote.bigpond.net.au (sr14.nsw-remote.bigpond.net.au [24.192.3.29]) by hub.freebsd.org (Postfix) with ESMTP id 0DDE337B5FC; Mon, 27 Mar 2000 08:19:48 -0800 (PST) (envelope-from jefff@fulton.net.au) Received: from crypto.internal.fulton.net.au (CPE-144-132-184-224.nsw.bigpond.net.au [144.132.184.224]) by sr14.nsw-remote.bigpond.net.au (Pro-8.9.3/8.9.3) with SMTP id CAA19502; Tue, 28 Mar 2000 02:19:41 +1000 (EST) Received: from amoeba (dhcp107.internal.fulton.net.au [192.168.1.107]) by crypto.internal.fulton.net.au (8.9.3/8.9.3) with SMTP id CAA02156; Tue, 28 Mar 2000 02:19:39 +1000 (EST) (envelope-from jefff@fulton.net.au) From: "Jeff Fulton" To: "Nick Hibma" Cc: , Subject: RE: USB ethernet adapter from @Home Date: Tue, 28 Mar 2000 02:21:14 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks. Taking a tip from a thread on another USB device, I made the following add to usbdevs: # diff -c usbdevs usbdevs.orig *** usbdevs Mon Mar 27 19:32:13 2000 --- usbdevs.orig Tue Mar 28 02:06:23 2000 *************** *** 355,361 **** product PERACOM SERIAL1 0x0001 Serial Converter product PERACOM ENET 0x0002 Ethernet adapter product PERACOM ENET2 0x0005 Ethernet adapter - product PERACOM ENET3 0x0003 At Home Ethernet adapter /* Philips products */ product PHILIPS DSS350 0x0101 DSS 350 Digital Speaker System --- 355,360 ---- and this change to if_kue.c # diff -c if_kue.c if_kue.c.orig *** if_kue.c Mon Mar 27 19:31:20 2000 --- if_kue.c.orig Tue Mar 28 02:15:39 2000 *************** *** 114,120 **** { USB_VENDOR_COREGA, USB_PRODUCT_COREGA_ETHER_USB_T }, { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DSB650C }, { USB_VENDOR_SMC, USB_PRODUCT_SMC_2102USB }, - { USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_ENET3 }, { 0, 0 } }; --- 114,119 ---- And it all works like a charm. I'm still curious about whether it should be possible to do this through adds to usbd.conf Thanks, Jeff Fulton -----Original Message----- From: Nick Hibma [mailto:n_hibma@calcaphon.com] Sent: Tuesday, March 28, 2000 1:02 AM To: Jeff Fulton Cc: freebsd-questions@freebsd.org; wpaul@freebsd.org Subject: Re: USB ethernet adapter from @Home Maintainer of the driver copied. Nick On Mon, 27 Mar 2000, Jeff Fulton wrote: > I'm trying to get one of these to function under 4.0-stable. > > If the device is inserted at boot, dmesg reports: > > Device: @Home USB to Ethernet Adapter (0x0003) > Vendor: @Home Networks (0x0565) > Revision: 0x0002 > > I believe it's actually a PERACOM adapter (from the 0x565 vendor ID), but > the device type (0x3) is not one that is defined under PERACOM > in/usr/src/sys/dev/usbdevs.h (Only 1, 2 and 5 are listed). > > Internal inspection shows it to be a Kawasaki chipset, so the kue driver > should probably do the trick. > > Am I correct in assuming that I need to add entries to usbdevs.h, > usbdevs_data.h and if_kue.c and rebuild a kernel. Or can I do all that is > necessary by adding an entry usbd.conf, something like: > > device "@Home USB to Ethernet Adapter" > product 0x0003 > vendor 0x0565 > release 0x0002 > devname "kue[0-1]" > attach "/sbin/dhclient ${DEVNAME}" > > Thanks, > Jeff Fulton > jefff@fulton.net.au > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message