Using a Hercules HWGUSB2-54-V2 wifi usb adapter
Roland Smith
rsmith at xs4all.nl
Mon Jul 30 16:13:46 UTC 2007
On Mon, Jul 30, 2007 at 03:31:48PM +0000, beni wrote:
> Hi,
>
> System : 6.2-REL p4.
>
> I'm trying to use this usb wifi adapter. It is based on a Ralink RT2500
> chipset and should thus be useable with the ural-device according to "man
> ural" (actually it speaks of the Hercules HWGUSB2-54, without the "V2").
>
> The problem is that I only get a detection in dmesg like this :
> ugen0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 3
> and that I don't get a "ural0" device.
>
> All the devices needed according to man ural are in the kernel too.
>
> How can I get this wifi adapter working ?
Try adding a macro for the correct device ID to
/usr/src/sys/dev/usb/usbdevs. In this file it is listed as GUILLEMOT
instead of Hercules, though.
You should be able to see the device-id with 'usbdevs -v'. You're
looking for the first hexadecimal number (preceded by 0x). The second
one is the vendor, and should be 0x06F8.
Look for this in /usr/src/sys/dev/usb/usbdevs:
product GUILLEMOT HWGUSB254 0xe000 HWGUSB2-54 WLAN
Then add
product GUILLEMOT HWGUSB254V2 0x???? HWGUSB2-54-V2 WLAN
Replace the ???? by the correct device ID. :-)
Add it to the usb_devno ural_devs array in
/usr/src/sys/dev/usb/if_ural.c, and rebuild your kernel.
Look for this in /usr/src/sys/dev/usb/if_ural.c
{ USB_VENDOR_GUILLEMOT, USB_PRODUCT_GUILLEMOT_HWGUSB254 },
Then add
{ USB_VENDOR_GUILLEMOT, USB_PRODUCT_GUILLEMOT_HWGUSB254V2 },
Rebuild and install your kernel, reboot and try again.
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070730/858986b0/attachment.pgp
More information about the freebsd-questions
mailing list