On Tue, Jan 06, 2009 at 11:08:28PM +0000, FRLinux wrote: > Hello, > > I bought a Linksys WUSB600N adapter from (Cisco) Linksys. The device > is detected when inserted as a generic ugen0 device : > > /bsd: ugen0 at uhub0 > /bsd: port 4 "Cisco-Linksys LLC Dual-Band Wireless-N USB Network > Adapter" rev 2.00/1.01 addr 2 > > I upgraded the box to current using snapshots from the 3rd of January > then grabbed the latest sources and tried to add some support for my > device (which as far as I know is based on ralink) : > > # cd /usr/src/sys/dev/usb/ > # grep WUSB600N * > if_ral.c: { USB_VENDOR_CISCOLINKSYS, > USB_PRODUCT_CISCOLINKSYS_WUSB600N }, > usbdevs:product CISCOLINKSYS WUSB600N 0x0071 WUSB600N > usbdevs.h:#define USB_PRODUCT_CISCOLINKSYS_WUSB600N 0x0071 > /* WUSB600N */ > usbdevs_data.h: USB_VENDOR_CISCOLINKSYS, > USB_PRODUCT_CISCOLINKSYS_WUSB600N, > usbdevs_data.h: "WUSB600N", > > Still have no luck getting it recognized so far (and you've guessed, > my knowledge in adding stuff to the OpenBSD kernel is not that great). > So, do you know if that might have chances to get supported at all ?
Try adding it to dev/usb/if_run.c, if_ral.c is several ralink chip generations ago. If that doesn't work include the output of "usbdevs -v" with the device plugged in and I'll send you a diff to apply. It is apparently the type of chip that run(4) supports.