From owner-freebsd-mobile Sat Dec 29 18:28:41 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from moek.pir.net (moek.pir.net [130.64.1.215]) by hub.freebsd.org (Postfix) with ESMTP id 4C56137B41C for ; Sat, 29 Dec 2001 18:28:38 -0800 (PST) Received: from pir by moek.pir.net with local (Exim) id 16KViB-0007Bw-00 ; Sat, 29 Dec 2001 21:28:31 -0500 Date: Sat, 29 Dec 2001 21:28:31 -0500 From: Peter Radcliffe To: USB BSD list Cc: freebsd-mobile@freebsd.org Subject: New d-link dsb-650tx ethernet adaptor FreeBSD patch Message-ID: <20011229212831.A27387@pir.net> Mail-Followup-To: USB BSD list , freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-fish: < Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I picked up a D-Link DSB-650TX since it was cheap, and it was on the supported list, but it came up as ugen0 when I tried it on my FreeBSD 4-STABLE machine. The sticker on the bottom says "H/W: B1" so I used this in the usb id to differentiate it. usbdevs -v gives; power 156 mA, config 1, DSB-650TX USB Ethernet(0x400b), D-Link Corp.(0x2001), rev 0x0101 The device id wasn't in usbdevs.h. With a little trial and error and after opening it up to see what chipset it was (Pegasys II) it seems to work fine. When I plugged it in I got a couple of; uhci_device_bulk_transfer: not done ii=.... error as it did DHCP, but it transfers data and the link information in ifconfig seems to be correct. I'm using it right now. The lights on the actual unit (tx/rx and link) are off but this doesn't seem to stop it working. P. ---------------------------------------------------------------------- *** sys/dev/usb/usbdevs.h Sat Dec 15 15:48:25 2001 --- sys/dev/usb/usbdevs.h.new Sat Dec 29 21:12:43 2001 *************** *** 496,501 **** --- 496,502 ---- #define USB_PRODUCT_DLINK_DSB650C 0x4000 /* 10Mbps ethernet adapter */ #define USB_PRODUCT_DLINK_DSB650TX 0x4002 /* 10/100 ethernet adapter */ #define USB_PRODUCT_DLINK_DSB650TX_PNA 0x4003 /* 1/10/100 ethernet adapter */ + #define USB_PRODUCT_DLINK_DSB650TX_B1 0x400B /* 10/100 ethernet adapter */ #define USB_PRODUCT_DLINK_DSB650 0xABC1 /* 10/100 ethernet adapter */ /* Dallas Semiconductor products */ *** sys/dev/usb/if_aue.c Tue Dec 11 09:57:04 2001 --- sys/dev/usb/if_aue.c.new Sat Dec 29 21:12:32 2001 *************** *** 111,116 **** --- 111,117 ---- { USB_VENDOR_MELCO, USB_PRODUCT_MELCO_LUA2TX5, PII }, { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DSB650, LSYS }, { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DSB650TX, LSYS }, + { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DSB650TX_B1, PII }, { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DSB650TX_PNA, 0 }, { USB_VENDOR_SMC, USB_PRODUCT_SMC_2202USB, 0 }, { USB_VENDOR_LINKSYS, USB_PRODUCT_LINKSYS_USB100TX, LSYS }, ---------------------------------------------------------------------- -- pir pir-sig@pir.net pir-sig@net.tufts.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message