Jonathan Gray schrieb: > On Thu, Jul 06, 2006 at 04:14:12PM +0200, Guido Tschakert wrote: >> Guido Tschakert schrieb: >>> Hello, >>> >>> don't know if this is the right place, but I post it anyway. >>> >>> I bought an D-Link DUB-E100 which should work on OpenBSD accordingly to >>> the web site. >>> >>> But it doesn't. Our lovely vendor D-Link changed the chipset and called >>> it H/W Ver.:B1 >>> here comes the part of the dmesg >>> >>> ugen0 at uhub4 port 4 >>> ugen0: vendor 0x07d1 product 0x3c05, rev 2.00/0.01, addr 2 >>> >>> Maybe the info on http://www.openbsd.org/i386.html#hardware should be >>> changed to D-Link DUB-E100 (Revision A) or something like that. >>> >>> Btw, I don't need this thing to work on openbsd but I plug every piece >>> of hardware in one of our openbsd boxes to check if it works ;-) >>> >>> If I can give you more info, please let me know. >>> At this time I try to open the case of the adaper, hoping to see a label >>> with the name of the chipset. >>> >>> >>> guido >>> >>> PS: also on Linux which should support the old DUB-E100 the new one >>> doesn't work. >>> >>> >> A colleague has opened this box, the chipset is AX88772 LF. >> (The old one had AX88172). >> Hope that anyone can use this information. >> >> guido > > Please try this diff: > > Index: usbdevs > =================================================================== > RCS file: /cvs/src/sys/dev/usb/usbdevs,v > retrieving revision 1.204 > diff -u -p -r1.204 usbdevs > --- usbdevs 27 Jun 2006 09:19:09 -0000 1.204 > +++ usbdevs 6 Jul 2006 15:52:11 -0000 > @@ -903,6 +903,7 @@ product DLINK DWL120F 0x3702 DWL-120 re > product DLINK RT2570 0x3c00 RT2570 > product DLINK2 DWLG122C1 0x3c03 DWL-G122 rev C1 > product DLINK2 WUA1340 0x3c04 WUA-1340 > +product DLINK2 DUBE100B1 0x3c05 DUB-E100 rev B1 > product DLINK DSB650C 0x4000 10Mbps ethernet > product DLINK DSB650TX1 0x4001 10/100 ethernet > product DLINK DSB650TX 0x4002 10/100 ethernet > Index: usbdevs.h > =================================================================== > RCS file: /cvs/src/sys/dev/usb/usbdevs.h,v > retrieving revision 1.208 > diff -u -p -r1.208 usbdevs.h > --- usbdevs.h 27 Jun 2006 09:19:58 -0000 1.208 > +++ usbdevs.h 6 Jul 2006 15:52:19 -0000 > @@ -1,4 +1,4 @@ > -/* $OpenBSD: usbdevs.h,v 1.208 2006/06/27 09:19:58 jsg Exp $ */ > +/* $OpenBSD$ */ > > /* > * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. > @@ -910,6 +910,7 @@ > #define USB_PRODUCT_DLINK_RT2570 0x3c00 /* RT2570 */ > #define USB_PRODUCT_DLINK2_DWLG122C1 0x3c03 /* DWL-G122 rev > C1 */ > #define USB_PRODUCT_DLINK2_WUA1340 0x3c04 /* WUA-1340 */ > +#define USB_PRODUCT_DLINK2_DUBE100B1 0x3c05 /* DUB-E100 rev > B1 */ > #define USB_PRODUCT_DLINK_DSB650C 0x4000 /* 10Mbps > ethernet */ > #define USB_PRODUCT_DLINK_DSB650TX1 0x4001 /* 10/100 > ethernet */ > #define USB_PRODUCT_DLINK_DSB650TX 0x4002 /* 10/100 > ethernet */ > Index: usbdevs_data.h > =================================================================== > RCS file: /cvs/src/sys/dev/usb/usbdevs_data.h,v > retrieving revision 1.208 > diff -u -p -r1.208 usbdevs_data.h > --- usbdevs_data.h 27 Jun 2006 09:19:58 -0000 1.208 > +++ usbdevs_data.h 6 Jul 2006 15:52:28 -0000 > @@ -1,4 +1,4 @@ > -/* $OpenBSD: usbdevs_data.h,v 1.208 2006/06/27 09:19:58 jsg Exp $ */ > +/* $OpenBSD$ */ > > /* > * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. > @@ -1041,6 +1041,10 @@ const struct usb_known_product usb_known > { > USB_VENDOR_DLINK2, USB_PRODUCT_DLINK2_WUA1340, > "WUA-1340", > + }, > + { > + USB_VENDOR_DLINK2, USB_PRODUCT_DLINK2_DUBE100B1, > + "DUB-E100 rev B1", > }, > { > USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DSB650C, > Index: if_axe.c > =================================================================== > RCS file: /cvs/src/sys/dev/usb/if_axe.c,v > retrieving revision 1.53 > diff -u -p -r1.53 if_axe.c > --- if_axe.c 23 Jun 2006 06:27:11 -0000 1.53 > +++ if_axe.c 6 Jul 2006 15:52:29 -0000 > @@ -160,6 +160,7 @@ Static const struct axe_type axe_devs[] > { { USB_VENDOR_CISCOLINKSYS, USB_PRODUCT_CISCOLINKSYS_USB200MV2}, AX772 > }, > { { USB_VENDOR_COREGA, USB_PRODUCT_COREGA_FETHER_USB2_TX }, 0}, > { { USB_VENDOR_DLINK, USB_PRODUCT_DLINK_DUBE100}, 0 }, > + { { USB_VENDOR_DLINK2, USB_PRODUCT_DLINK2_DUBE100B1}, AX772 }, > { { USB_VENDOR_GOODWAY, USB_PRODUCT_GOODWAY_GWUSB2E}, 0 }, > { { USB_VENDOR_JVC, USB_PRODUCT_JVC_MP_PRX1}, 0 }, > { { USB_VENDOR_LINKSYS2, USB_PRODUCT_LINKSYS2_USB200M}, 0 }, > > Hello,
here is what I've done. installed an openbsd put src.tar.gz on it made an cvs-update applied the diffs (by hand, as it were just a few lines and I didn't find the right way to do this with patch/cvs, maybe some can tell me) rebuild kernel booted the system rebuild userland booted the system now I have done -current for the first time in my life ;-) Then I attached the usb-device and got following kernel message axe0 at uhub3 port 1 configuration 1 interface 0 axe0: D-Link DUB-E100 rev B1, rev 2.00/0.01, addr 2, AX88772, address 00:80:c8:38:64:3f rlphy1 at axe0 phy 3: IP101 10/100 PHY, rev. 4 looks good, but after configuring the network I wasn't able to send/receive packages over the device. The only thing I could see with tcpdump (while pinging another computer) was the arp request, nothing more. With windows the device works as it should *sigh* If there is another patch/diff I should try, please let me know. guido