Table des matières

, , , , ,

Installation clé WIFI Linksys WUSB800N_v.2

La procédure qui suit est valable pour ONEIRIC 11.10 NATTY 11.04.

Sans doute aussi pour MAVERICK 10.10 et LUCID 10.04 (Voir EN CAS D'ECHEC)

Testé sur Precise 12.04 LTS fonctionne très bien (et sans tenir compte des points concernant MAVERICK 10.10):-D

Pré-requis

Téléchargement du driver et décompression

Télécharger le driver rt3572sta à l'adresse suivante:

Placez le fichier 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO.bz2 de préférence dans le répertoire Téléchargement.

Pour décompresser le fichier, il suffit de cliquer sur 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO.bz2 en n'oubliant pas de choisir le répertoire.

Placer le fichier obtenu: 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO de préférence dans votre Home (exemple: alain).

Modifications à apporter au driver RT3572STA

alain@Lamoina2:~$ dir
2011_RT3572  Images	     Modéles
AdressesAlain.ldif		     KeyPass-0.4.3   Musique
Bureau				     Lucid	     Public
Documents			     Maverik	     Téléchargements
examples.desktop		     ModelePageWiki  Vidéos
   

2011_RT3572 est bien dans le répertoire.

alain@Lamoina2:~$ gedit ~/2011_RT3572/os/linux/config.mk
config.mk (/2011_RT3572/os/linux) -gedit

# Support ATE function HAS_ATE=n
# Support QA ATE function HAS_QA_SUPPORT=n
# Support XLINK mode HAS_XLINK=n
# Support Wpa_Supplicant HAS_WPA_SUPPLICANT= y
# Support Native WpaSupplicant for Network Maganger HAS_NATIVE_WPA_SUPPLICANT_SUPPORT= y
# Support Net interface block while Tx-Sw queue full HAS_BLOCK_NET_IF=n
. . . . .

Pas d'autre modification. sauvegarder.

  
>alain@Lamoina2:~$ gedit ~/2011_RT3572/common/rtusb_dev_id.c 
rtusb_dev_id.c (/home/alain/2011_RT3572/common) -gedit
* - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
* Ralink Tech Inc . . . . . . . . . .*
* 5F., No.36, Taiyuan St., Jhubei City, . . . .*
* Hsinchu County 302 , . . . . . . . .*
* Taiwan, R.O.C . . . . . . . . . .*
* © Copyright 2002-2007 , Ralink Technology, Inc . *
* …….
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Module Name:
rtusb_dev_id.c
Abstract:
Revision History:
Who When What
——— ———- ———————————————-
#include “rt_config.h”
/* module table */
USB_DEVICE_ID rtusb_dev_id[] = {
#ifdef RT2870
{USB_DEVICE(0x148F,0x2770)}, /* Ralink */
{USB_DEVICE(0x148F,0x2870)}, /* Ralink */
{USB_DEVICE(0x07B8,0x2870)}, /* AboCom */
{USB_DEVICE(0x07B8,0x2770)}, /* AboCom */
{USB_DEVICE(0x0DF6,0x0039)}, /* Sitecom 2770 */
{USB_DEVICE(0x0DF6,0x003F)}, /* Sitecom 2770 */
………….
#endif RT2870
#ifdef RT35xx
USB_DEVICE(0x148F,0x3572)}, /* Ralink 3572 */
USB_DEVICE(0x1740,0x9801)}, /* EnGenius 3572 */
USB_DEVICE(0x0DF6,0x0041)}, /* Sitecom 3572 */
USB_DEVICE(0x0DF6,0x0042)},
USB_DEVICE(0x04BB,0x0944)}, /* I-O DATA 3572 */
USB_DEVICE(0x1690,0x0740)}, /* 3572 */
USB_DEVICE(0x1690,0x0744)}, /* 3572 */
USB_DEVICE(0x5A57,0x0284)}, /* Zinwell 3572 */
USB_DEVICE(0x167B,0x4001)}, /* 3572 */
USB_DEVICE(0x0930,0x0A07)}, /* TOSHIBA */
USB_DEVICE(0x1737,0x0079)}, /* Linksys WUSB600Nv2 */
#endif RT35xx

Après avoir ajouté la ligne rouge, SANS ERREUR, SAUVEGARDER

alain@Lamoina2:~$ gedit ~/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/include/os/rt_linux.h
rt_linux.h(~/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO/include/os) -gedit
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
USB related definitions
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
typedef struct usb_device_id USB_DEVICE_ID;
. . . . . . . . . .
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
#ifdef INF_AMAZON_SE
#define BULKAGGRE_SIZE 30
#else
#define BULKAGGRE_SIZE 100
#endif /./INF_AMAZON_SE/./
#
#ifndef OS_ABL_SUPPORT
#define RT28XX_PUT_DEVICE - - - - - usb_put_dev
#define RTUSB_ALLOC_URB(iso)- - - - usb_submit_urb(pUrb,
GFP_ATOMIC)
#define RTUSB_URB_ALLOC_BUFFER(pUsb_Dev, BufSize, pDma_addr)- - - - - - - - - usb_alloc_coherent(pUsb_Dev, BufSize,
GFP_ATOMIC, pDma_addr)
#define RTUSB_URB_FREE_BUFFER(pUsb_Dev, BufSize, pTransferBuf, Dma_addr)- - - usb_free_coherent(pUsb_Dev, BufSize, >pTransferBuf, Dma_addr)
#else

Après avoir fait les deux modifications,SANS ERREUR,SAUVEGARDER

Installation du driver

  • Cette procédure sera à refaire après chaque changement de noyau
  • Elle est valable pour LUCID 10.04, MAVERICK 10.10, …

alain@Lamoina2:~$ sudo -s
[sudo] password for alain: 
root@Lamoina2:~# cd 2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO
root@Lamoina2:~/2010_1215_RT3572_Linux_STA_v2.5.0.0.DPO# 
root@Lamoina2:~# make clean        ;nettoyer si nécessaire
root@Lamoina2:~# make
root@Lamoina2:~# make install

Finalisation de l'installation

root@Lamoina2:~# gedit /etc/modules
modules (/etc) -gedit
# /etc/modules: kernel modules to load at boot time.
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with “#” are ignored.
rt3572sta
lp
root@Lamoina2:~# gedit /etc/modprobe.d/blacklist.conf
blacklist.conf (/ect/modprobe.d) -gedit
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.
# evbug is a debug tool that should be loaded explicitly
blacklist evbug
# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd
……..
# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
# pour garantir le chargement de RT3572STA
blacklist rt2800usb

Après le redémarrage vous pourrez configurer votre WIFI en donnant la clé WPA/PSK de préférence.
Cette clé Linksys assure un très bon débit.

Pofitez bien de votre WIFI.


Contributeur : lamoina