From owner-freebsd-questions@FreeBSD.ORG Mon Jul 30 16:13:46 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F86B16A417 for ; Mon, 30 Jul 2007 16:13:46 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 9D6BD13C459 for ; Mon, 30 Jul 2007 16:13:45 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id l6UGDhFT000915; Mon, 30 Jul 2007 18:13:43 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 61A16B8FD; Mon, 30 Jul 2007 18:13:43 +0200 (CEST) Date: Mon, 30 Jul 2007 18:13:43 +0200 From: Roland Smith To: beni Message-ID: <20070730161343.GA13174@slackbox.xs4all.nl> Mail-Followup-To: beni , freebsd-questions@freebsd.org References: <200707301531.48912.beni@brinckman.info> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <200707301531.48912.beni@brinckman.info> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Using a Hercules HWGUSB2-54-V2 wifi usb adapter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 16:13:46 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 30, 2007 at 03:31:48PM +0000, beni wrote: > Hi, >=20 > System : 6.2-REL p4. >=20 > I'm trying to use this usb wifi adapter. It is based on a Ralink RT2500= =20 > chipset and should thus be useable with the ural-device according to "man= =20 > ural" (actually it speaks of the Hercules HWGUSB2-54, without the "V2"). >=20 > 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. >=20 > All the devices needed according to man ural are in the kernel too. >=20 > 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:=20 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 --=20 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) --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGrg43EnfvsMMhpyURAlqGAKCkqjt1dTKlGIBnhPmaqNbVjwZm7wCePENX 3wlqIEFv5Iro/O+T1kP8vMs= =mKs1 -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--