Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/12/2007, à 18:01

pjlt

Reconnaissance Wifi par chipset zd1211

Bonjour,

Je cherche à  faire reconnaà®tre ma carte Wifi, basée sur le chipset zd1211, sur un portable Asus A9RP. Pour ce faire, je dois modifier le fichier "zd_ucb.c" ou "zdusb.c" situé dans le répertoire "src".
J'ai télécharger et décompressé la dernière version du pilote zd1211rw : "zd1211-firmware" release 1.4. J'ai mis ce firmware dans /usr/src.
J'ai installé les entêtes de mon noyau et "build-essential".

Je ne trouve aucun fichier "zd_usb.c" ou "zdusb.c" sur mon système.

Quelqu'un aurait-il  une piste ?

Merci d'avance pour l'aide.


Portable Asus K73 SJ sous Linux Mint 20.1 Ulyssa (Ubuntu 20.04 LTS) Cinnamon 64 bit

Hors ligne

#2 Le 02/12/2007, à 18:10

safinaz

Re : Reconnaissance Wifi par chipset zd1211

Il existe une page ici
http://doc.ubuntu-fr.org/materiel/wifi/zd1211

#3 Le 02/12/2007, à 18:47

pjlt

Re : Reconnaissance Wifi par chipset zd1211

Merci, je connais cette page mais elle ne traite que de l'installation du firmware quand le chipset est reconnu nativement.

Mon problème est que sur mon portable, l'Asus A9RP, il faut éditer le fichier "zdusb.c" et le modifier.


Portable Asus K73 SJ sous Linux Mint 20.1 Ulyssa (Ubuntu 20.04 LTS) Cinnamon 64 bit

Hors ligne

#4 Le 02/12/2007, à 21:55

safinaz

Re : Reconnaissance Wifi par chipset zd1211

tape

find / -iname zdusb.*

pour essayer de le localiser,

D'ou tu tires qu'il faut faire cela en fait.

Poste les retours de
lsusb
lspci
sudo lshw -C network
iwlist scan

#5 Le 02/12/2007, à 22:12

pjlt

Re : Reconnaissance Wifi par chipset zd1211

J'ai cherché sur différents forum, français : http://forum.ubuntu-fr.org/viewtopic.php?id=81839, sur des pages en anglais http://www.linlap.com/wiki/Asus+A9Rp , ou encore ici : http://osdir.com/ml/network.wireless.zd … 00102.html

Merci d'avance pour l'aide


Portable Asus K73 SJ sous Linux Mint 20.1 Ulyssa (Ubuntu 20.04 LTS) Cinnamon 64 bit

Hors ligne

#6 Le 02/12/2007, à 22:41

pjlt

Re : Reconnaissance Wifi par chipset zd1211

Voici les diffréents retours des commandes passées:

pjlt@pjlt-laptop:~$ udo find / -iname zdusb.*
The program 'udo' is currently not installed.  You can install it by typing:
sudo apt-get install udo
Assurez vous d'avoir activé le composant 'universe'
bash: udo : commande introuvable
pjlt@pjlt-laptop:~$ 





pjlt@pjlt-laptop:~$ sudo lsusb

Bus 003 Device 003: ID 0b05:171b ASUSTek Computer, Inc.

Bus 003 Device 001: ID 0000:0000 

Bus 002 Device 001: ID 0000:0000 

Bus 001 Device 003: ID 1241:1177 Belkin F8E842-DL Mouse

Bus 001 Device 001: ID 0000:0000 

pjlt@pjlt-laptop:~$


pjlt@pjlt-laptop:~$ sudo lspci

00:00.0 Host bridge: ATI Technologies Inc Unknown device 5a31 (rev 01)

00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge

00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)

00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)

00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)

00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 82)

00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller ATI (rev 80)

00:14.2 Audio device: ATI Technologies Inc SB450 HDA Audio (rev 01)

00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)

00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)

01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon Xpress 200M]

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)

02:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)

02:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 04)

pjlt@pjlt-laptop:~$

pjlt@pjlt-laptop:~$




pjlt@pjlt-laptop:~$ sudo lshw -C network

  *-network               

       description: Ethernet interface

       product: RTL-8139/8139C/8139C+

       vendor: Realtek Semiconductor Co., Ltd.

       physical id: 0

       bus info: pci@02:00.0

       logical name: eth0

       version: 10

       serial: 00:18:f3:e1:2e:bd

       size: 10MB/s

       capacity: 100MB/s

       width: 32 bits

       clock: 33MHz

       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation

       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=64 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10MB/s

       resources: ioport:b800-b8ff iomemory:feaffc00-feaffcff irq:18





pjlt@pjlt-laptop:~$ iwlist scan

lo        Interface doesn't support scanning.



eth0      Interface doesn't support scanning.



pjlt@pjlt-laptop:~$ sudo iwlist scan

lo        Interface doesn't support scanning.



eth0      Interface doesn't support scanning.


Portable Asus K73 SJ sous Linux Mint 20.1 Ulyssa (Ubuntu 20.04 LTS) Cinnamon 64 bit

Hors ligne

#7 Le 03/12/2007, à 11:21

safinaz

Re : Reconnaissance Wifi par chipset zd1211

Salut,

Donne les retours

ls /usr/src/zd1211/
ls /usr/src/zd1211/zd1211-driver-r83/
sudo find /usr -iname zdusb.*

#8 Le 03/12/2007, à 20:21

pjlt

Re : Reconnaissance Wifi par chipset zd1211

Bonsoir,

Ci-dessous, les retours des commandes passées.

pjlt@pjlt-laptop:~$ sudo ls /usr/src/zd1211/ 
Password: 
zd1211-firmware  zd1211-firmware-1.4.tar.bz2
pjlt@pjlt-laptop:~$ sudo ls /usr/src/zd1211-driver-r83/ 
ls: /usr/src/zd1211-driver-r83/: Aucun fichier ou répertoire de ce type
sudo find /usr -iname zdusb.*

aucun retour

Pour le peu que je comprenne, ces retours me semblent sommes toutes logiques:
1. A la recherche de fichiers zd1211, il me réponds par le firmware que j'ai chargé.
2. A la recherche de zd1211-driver-r83, il me réponds qu'il ne se trouve pas sur le système.
3. Il ne trouve pas de fichier zdusb.*

Est-ce exact ?

Merci pour l'aide.


Portable Asus K73 SJ sous Linux Mint 20.1 Ulyssa (Ubuntu 20.04 LTS) Cinnamon 64 bit

Hors ligne

#9 Le 03/12/2007, à 21:02

safinaz

Re : Reconnaissance Wifi par chipset zd1211

Il faut télécharger les drivers, visiblement tu as juste le firmware

sudo cd /usr/src/
wget http://dsd.object4.net/zd1211-vendor/releases/ZD1211LnxDrv_2_21_0_0.tar.gz
sudo tar xvfz ZD1211LnxDrv_2_21_0_0.tar.gz
sudo cd ZD1211LnxDrv_2_21_0_0/
sudo make
sudo make install
echo 'blacklist blacklist zd1211rw' | sudo tee -a /etc/modprobe.d/blacklist
echo 'zd1211' | sudo tee -a /etc/modules
echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces

redémarre

et essaye de te connecter

poste
iwlist scan
sudo lshw -C network

#10 Le 03/12/2007, à 23:21

pjlt

Re : Reconnaissance Wifi par chipset zd1211

J'ai passé les commandes prescrites, téléchargé les drivers, décompressé dans /usr/src/, compilé, blacklisté zd1211rw,… et redémarré.

Dans l'affichage des réseaux du système, toujours pas de liaison sans fil.

Ci-dessous, les retours de iwlist scan et de sudo lshw -C network


pjlt@pjlt-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.
eth0      Interface doesn't support scanning.
pjlt@pjlt-laptop:~$ sudo iwlist scan
Password:
lo        Interface doesn't support scanning.
eth0      Interface doesn't support scanning.
pjlt@pjlt-laptop:~$ sudo lshw -C network   *-network                       description: Ethernet interface       
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@02:00.0
logical name: eth0
version: 10
serial: 00:18:f3:e1:2e:bd
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=64 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10MB/s
   resources: ioport:b800-b8ff iomemory:feaffc00-feaffcff irq:18
pjlt@pjlt-laptop:~$


Portable Asus K73 SJ sous Linux Mint 20.1 Ulyssa (Ubuntu 20.04 LTS) Cinnamon 64 bit

Hors ligne

#11 Le 04/12/2007, à 19:22

safinaz

Re : Reconnaissance Wifi par chipset zd1211

Regarde maitenant la manip avec
zdusb.c

#12 Le 04/12/2007, à 22:24

pjlt

Re : Reconnaissance Wifi par chipset zd1211

J'ai maintenant trouvé un fichier zdusb.c dans le driver téléchargé.

Copie du fichier ci-dessous.

Je dois ajouter quelque chose de ce style
{ USB_DEVICE(0x0b05, 0x171b), .driver_info = DEVICE_ZD1211B },
quelque part, dans la section ZD1211B,  peut être la ou j'ai mentionné AJOUTER QUELQUE CHOSE ICI.

Est-ce correct

Le fichier zdusb.c se trouve dans le driver. Sur certains tuto, le chemin d'accès à zdusb.c semble montrer qu'il se trouve dans les entêtes du noyau ?

Merci d'avance pour l'aide.

Ci-dessous, la copie de zdusb.c

/* src/zdusb.c 
* 
* Implements the functions of the ZyDAS zd1211 MAC 
* 
* Copyright (C) 2004 ZyDAS Inc.  All Rights Reserved. 
* -------------------------------------------------------------------- 
* 
* 
* 
*   The contents of this file are subject to the Mozilla Public 
*   License Version 1.1 (the "License"); you may not use this file 
*   except in compliance with the License. You may obtain a copy of 
*   the License at http://www.mozilla.org/MPL/ 
* 
*   Software distributed under the License is distributed on an "AS 
*   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 
*   implied. See the License for the specific language governing 
*   rights and limitations under the License. 
* 
*   Alternatively, the contents of this file may be used under the 
*   terms of the GNU Public License version 2 (the "GPL"), in which 
*   case the provisions of the GPL are applicable instead of the 
*   above.  If you wish to allow the use of your version of this file 
*   only under the terms of the GPL and not to allow others to use 
*   your version of this file under the MPL, indicate your decision 
*   by deleting the provisions above and replace them with the notice 
*   and other provisions required by the GPL.  If you do not delete 
*   the provisions above, a recipient may use your version of this 
*   file under either the MPL or the GPL. 
* 
* -------------------------------------------------------------------- */ 
 
#include <linux/version.h> 
 
#ifdef MODVERSIONS 
#include <linux/modversions.h> 
#endif 
 
#include <linux/module.h> 
 
#include <linux/usb.h> 
 
#include "zd1205.h" 
#include "zdusb.h" 
#include "zddebug.h" 
#include "zdversion.h" 
#include "zd1211.h" 
 
#define ZD1211_DBG_LEVEL    1 
 
MODULE_AUTHOR("Yarco Yang"); 
MODULE_DESCRIPTION("ZyDAS 802.11b/g USB Wireless LAN adapter"); 
MODULE_LICENSE("GPL"); 
 
#ifdef ZD1211 
static const char driver_name[] = "zd1211"; 
#elif defined(ZD1211B) 
static const char driver_name[] = "zd1211b"; 
#endif 
 
 
/* table of devices that work with this driver */ 
static struct usb_device_id zd1211_ids [] = { 
#ifdef ZD1211B 
	{ USB_DEVICE(VENDOR_ZYDAS, 0x1215) }, 
    { USB_DEVICE(VENDOR_ZYDAS, 0xA215) }, 
#if ZDCONF_FULL_IDS == 1 
    { USB_DEVICE(0x0053, 0x5301) }, 
    { USB_DEVICE(0x0053, 0x5302) }, 
    { USB_DEVICE(0x2019, 0x5303) }, //Add, 2006.04.17 
    { USB_DEVICE(0x050D, 0x4050) }, 
    { USB_DEVICE(0x050D, 0x705C) }, 
    { USB_DEVICE(0x0586, 0x340F) }, 
    { USB_DEVICE(0x079B, 0x0062) }, 
    { USB_DEVICE(0x083A, 0x4505) }, 
    { USB_DEVICE(0x083A, 0xE501) }, 
    { USB_DEVICE(0x0BAF, 0x0121) }, 
    { USB_DEVICE(0x0CDE, 0x001A) }, 
    { USB_DEVICE(0x0DF6, 0x9075) }, 
    { USB_DEVICE(0x0F88, 0x3014) }, 
    { USB_DEVICE(0x1233, 0x0471) }, 
    { USB_DEVICE(0x1582, 0x6003) }, 
AJOUTER QUELQUE CHOSE ICI
#endif 
#elif defined(ZD1211) 
	{ USB_DEVICE(VENDOR_ZYDAS, PRODUCT_1211) }, 
    { USB_DEVICE(VENDOR_ZYDAS, PRODUCT_A211) }, 
#if ZDCONF_FULL_IDS == 1 
    { USB_DEVICE(VENDOR_ZYXEL, PRODUCT_G220) }, 
    { USB_DEVICE(VENDOR_3COM,  PRODUCT_A727) }, 
    { USB_DEVICE(0x2019, 0xc008) }, 
    { USB_DEVICE(0x2019, 0xc009) }, 
    { USB_DEVICE(0x079b, 0x004a) }, 
    { USB_DEVICE(0x07b8, 0x6001) }, 
    { USB_DEVICE(0x0b3b, 0x1630) }, 
    { USB_DEVICE(0x0b3b, 0x5630) }, 
    { USB_DEVICE(0x0b3b, 0x6630) }, 
    { USB_DEVICE(0x0cde, 0x0011) }, 
    { USB_DEVICE(0x0df6, 0x9071) }, 
    { USB_DEVICE(0x126f, 0xa006) }, 
    { USB_DEVICE(0x129b, 0x1666) }, 
    { USB_DEVICE(0x1435, 0x0711) }, 
    { USB_DEVICE(0x0DF6, 0x9071) }, 
    { USB_DEVICE(0x0105, 0x145F) }, 
#endif 
     
#endif 
	{ }					/* Terminating entry */ 
}; 
 
 
MODULE_DEVICE_TABLE(usb, zd1211_ids); 
int zd1211_FirstLoad = 1; 
int zd1211_OperationMode = 1; //Infrastructure=1, AP=4, IBSS=0, PSEUDO=3 
#if 1 
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) 
module_param(zd1211_FirstLoad, int, S_IRUGO); 
module_param(zd1211_OperationMode, int, S_IRUGO); 
#else 
MODULE_PARM(zd1211_OperationMode, "i"); 
#endif 
#endif 
 
extern struct net_device *g_dev; 
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) 
static void *zd1211_probe(struct usb_device *dev, unsigned int ifnum, 
			   const struct usb_device_id *id) 
#else 
static int zd1211_probe(struct usb_interface *interface, 
	const struct usb_device_id *id) 
#endif			    
{ 
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) 
	struct usb_interface *interface = &dev->actconfig->interface[ifnum]; 
#else 
	struct usb_device *dev = interface_to_usbdev(interface); 
#endif 
	 
	struct net_device *net = NULL; 
	struct zd1205_private *macp = NULL; 
	int vendor_id, product_id; 
	int dev_index = id - zd1211_ids; 
	int result = 0; 
     
	//char serial_number[30]; 
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) 
 //Drivers for USB interfaces should normally record such references in 
 //their probe() methods, when they bind to an interface, and release 
 //them by calling usb_put_dev(), in their disconnect() methods. 
 //A pointer to the device with the incremented reference counter is returned. 
	usb_get_dev(dev); 
#endif     
 
	vendor_id = zd_le16_to_cpu(dev->descriptor.idVendor); 
	product_id = zd_le16_to_cpu(dev->descriptor.idProduct); 
 
#if 1 
	printk(KERN_NOTICE "vendor_id = %04x\n", vendor_id); 
	printk(KERN_NOTICE "product_id = %04x\n", product_id); 
 
	if (dev->speed == USB_SPEED_HIGH) 
		printk(KERN_NOTICE "USB 2.0 Host\n"); 
	else 
		printk(KERN_NOTICE "USB 1.1 Host\n");   
#endif 
	 
	//memset(serial_number, 0, 30); 
	//usb_string(dev, dev->descriptor.iSerialNumber, serial_number, 29); 
	//printk("Device serial number is %s\n", serial_number); 
 
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))	 
	if (usb_set_configuration(dev, dev->config[0].bConfigurationValue)) { 
        	printk(KERN_ERR "usb_set_configuration() failed\n"); 
		result = -EIO; 
		goto fail; 
	} 
#endif 
     
#if 1 
	//kernel 2.6 
	if (!(macp = kmalloc(sizeof(struct zd1205_private), GFP_KERNEL))) { 
		printk(KERN_ERR "out of memory allocating device structure\n"); 
		result = -ENOMEM; 
		goto fail; 
	} 
	 
	memset(macp, 0, sizeof(struct zd1205_private)); 
#endif		 
 
 
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) 
	usb_inc_dev_use(dev); 
#endif     
 
	net = alloc_etherdev(0);  //kernel 2.6 
	//net = alloc_etherdev(sizeof (struct zd1205_private));  //kernel 2.4 
 
	if (!net) { 
		printk(KERN_ERR "zd1211: Not able to alloc etherdev struct\n"); 
		result = -ENOMEM; 
		goto fail1; 
	} 
	 
	g_dev = net;  //save this for CBs use 
	//macp = net->priv; //kernel 2.4 
	net->priv = macp;   //kernel 2.6 
	macp->device = net; 
	macp->usb = dev; 
	SET_MODULE_OWNER(net); 
	macp->dev_index = dev_index; 
	macp->release = zd_le16_to_cpu(dev->descriptor.bcdDevice); 
	printk(KERN_NOTICE "Release Ver = %04x\n", macp->release); 
	macp->flags = 0; 
	macp->dbg_flag = ZD1211_DBG_LEVEL; 
 
	/* set up the endpoint information */ 
	/* check out the endpoints */ 
	macp->interface = interface; 
	 
	init_waitqueue_head(&macp->regSet_wait); 
	init_waitqueue_head(&macp->iorwRsp_wait); 
	init_waitqueue_head(&macp->term_wait); 
	init_waitqueue_head(&macp->msdelay); 
 
	if (!zd1211_alloc_all_urbs(macp)){ 
        printk("Calling zd1211_alloc_all_urbs fails\n"); 
		result = -ENOMEM; 
		goto fail2; 
	}	 
 
	//zd1211_DownLoadUSBCode(macp, "WS11Uext.bin", NULL, cFIRMWARE_EXT_CODE); 
    //If the driver was removed and reinstall without unplug the device. 
    //You can tell the driver not to download the firmware again by issing 
    //insmod zd1211b zd1211_FirstDown=0. Redownload causes device crash 
    if(zd1211_FirstLoad)  
    { 
        if (zd1211_Download_IncludeFile(macp) != 0){ 
            printk(KERN_ERR "zd1211_Download_IncludeFile failed\n"); 
            result = -EIO; 
            goto fail3; 
        } 
    } 
 
	//to enable firmware 
//#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))     
//	if (usb_set_configuration(dev, dev->config[0].bConfigurationValue)) { 
//#else 
//	if (usb_set_interface(dev, interface->altsetting[0].desc.bInterfaceNumber, 	0)){ 
        // Use the lowest USBD API to issue set_configuration command. 
    if ((usb_control_msg(dev, usb_sndctrlpipe(dev,0),USB_REQ_SET_CONFIGURATION,0, 1, 0, NULL, 0, HZ))<0) 
    { 
//#endif         
		printk(KERN_ERR "usb_set_configuration() failed\n"); 
		result = -EIO; 
		goto fail3; 
	} 
	 
	set_bit(ZD1211_RUNNING, &macp->flags); 
	macp->bUSBDeveiceAttached = 1; 
 
 	if (!zd1211_InitSetup(net, macp)) 
    { 
        printk("Calling zd1211_InitSetup fails\n"); 
		result = -EIO; 
		goto fail3; 
	} 
	else 
    { 
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) 
		usb_set_intfdata(interface, macp); 
		SET_NETDEV_DEV(net, &interface->dev); 
		//defer_kevent(macp, KEVENT_REGISTER_NET); 
#endif 
 
#if 1 //don't register net 
		if (register_netdev(net) != 0)  
        { 
            printk("register_netdev fails\n"); 
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0))             
			usb_set_intfdata(interface, NULL); 
#endif             
			goto fail3; 
		} 
#endif           
	} 
     
	goto done;     
	 
 fail3: 
	zd1211_free_all_urbs(macp);	 
 
 fail2: 
	free_netdev(net);  //kernel 2.6 
	//kfree(net); 
     
 fail1: 
	kfree(macp); 
     
 fail: 
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) 
	usb_put_dev(dev); 
#endif 
	macp = NULL; 
        goto exit; 
done:  
    netif_carrier_off(macp->device);  
exit: 
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) 
	return macp; 
#else 
	return result; 
#endif	 
} 
 
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) 
static void zd1211_disconnect(struct usb_device *dev, void *ptr) 
#else 
static void zd1211_disconnect(struct usb_interface *interface) 
#endif 
{ 
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) 
	struct zd1205_private *macp = (struct zd1205_private *) usb_get_intfdata(interface); 
#else 
	struct zd1205_private *macp = (struct zd1205_private *)ptr; 
#endif	 
 
	if (!macp) { 
		printk(KERN_ERR "unregistering non-existant device\n"); 
		return; 
	} 
 
	set_bit(ZD1211_UNPLUG, &macp->flags); 
	macp->bUSBDeveiceAttached = 0; 
 
	if (macp->driver_isolated){ 
		if (macp->device->flags & IFF_UP) 
			zd1205_close(macp->device); 
	} 
     
	unregister_netdev(macp->device); 
     
	//assuming we used keventd, it must quiesce too 
	flush_scheduled_work(); 
    mdelay(1000); 
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))     
	usb_dec_dev_use(dev); 
#else 
	usb_put_dev(interface_to_usbdev(interface)); 
#endif 
 
	zd1211_unlink_all_urbs(macp); 
	zd1211_free_all_urbs(macp); 
	zd1205_clear_structs(macp->device); 
	kfree(macp); 
	macp = NULL; 
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)) 
    if(interface_to_usbdev(interface)->state != USB_STATE_NOTATTACHED) 
        usb_reset_device(interface_to_usbdev(interface)); 
	usb_set_intfdata(interface, NULL); 
#endif 
	//ZEXIT(0); 
} 
 
static struct usb_driver zd1211_driver = { 
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0))     
	//.owner =		THIS_MODULE, 
#endif     
	.name =		    driver_name, 
	.probe =		zd1211_probe, 
	.disconnect =	zd1211_disconnect, 
	.id_table =	    zd1211_ids, 
}; 
 
 
int __init zd1211_init(void) 
{ 
        printk("\n"); 
        printk(" _____     ____    _    ____\n"); 
        printk("|__  /   _|  _ \\  / \\  / ___|\n"); 
        printk("  / / | | | | | |/ _ \\ \\___ \\\n"); 
        printk(" / /| |_| | |_| / ___ \\ ___) |\n"); 
        printk("/____\\__, |____/_/   \\_\\____/\n"); 
        printk("     |___/\n"); 
 
	printk(KERN_NOTICE "%s - version %s\n",  DRIVER_NAME, VERSIONID); 
	return usb_register(&zd1211_driver); 
} 
 
void __exit zd1211_exit(void) 
{ 
	usb_deregister(&zd1211_driver); 
} 
 
module_init(zd1211_init); 
module_exit(zd1211_exit);

Portable Asus K73 SJ sous Linux Mint 20.1 Ulyssa (Ubuntu 20.04 LTS) Cinnamon 64 bit

Hors ligne

#13 Le 04/12/2007, à 22:39

safinaz

Re : Reconnaissance Wifi par chipset zd1211

Rajoute ce qu'il dise dans ce fichier puis refais
sudo cd /usr/src/ZD1211LnxDrv_2_21_0_0/
sudo make
sudo make install

#14 Le 05/12/2007, à 00:12

pjlt

Re : Reconnaissance Wifi par chipset zd1211

j'ai rajouté uniquement { USB_DEVICE(0x0b05, 0x171b) }
j'ai maintenant une troisème possibilité réseau, mais filaire et non sans fil.


Portable Asus K73 SJ sous Linux Mint 20.1 Ulyssa (Ubuntu 20.04 LTS) Cinnamon 64 bit

Hors ligne

#15 Le 05/12/2007, à 00:24

safinaz

Re : Reconnaissance Wifi par chipset zd1211

pjlt a écrit :

j'ai rajouté uniquement { USB_DEVICE(0x0b05, 0x171b) }
j'ai maintenant une troisème possibilité réseau, mais filaire et non sans fil.

Donne les retours de

sudo lshw -C network
iwlist scan
lsmod | grep zd121

#16 Le 05/12/2007, à 07:54

pjlt

Re : Reconnaissance Wifi par chipset zd1211

Ci-dessous, les retours demandés


pjlt@pjlt-laptop:~$ sudo lshw-C network 
Password: 
sudo: lshw-C: command not found 
pjlt@pjlt-laptop:~$ sudo lshw -C network 
  *-network                
       description: Ethernet interface 
       product: RTL-8139/8139C/8139C+ 
       vendor: Realtek Semiconductor Co., Ltd. 
       physical id: 0 
       bus info: pci@02:00.0 
       logical name: eth0 
       version: 10 
       serial: 00:18:f3:e1:2e:bd 
       size: 10MB/s 
       capacity: 100MB/s 
       width: 32 bits 
       clock: 33MHz 
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation 
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=64 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10MB/s 
       resources: ioport:b800-b8ff iomemory:feaffc00-feaffcff irq:18 
  *-network DISABLED 
       description: Ethernet interface 
       physical id: 1 
       logical name: eth1 
       serial: 00:18:f3:cd:68:ba 
       capabilities: ethernet physical 
       configuration: broadcast=yes multicast=yes 
pjlt@pjlt-laptop:~$  
pjlt@pjlt-laptop:~$ iwlist scan 
lo        Interface doesn't support scanning. 
 
eth0      Interface doesn't support scanning. 
 
eth1      Interface doesn't support scanning. 
 
pjlt@pjlt-laptop:~$  
pjlt@pjlt-laptop:~$ lsmod | grep zd121 
zd1211                250640  0  
zd1211b               250872  0  
usbcore               134280  6 zd1211,zd1211b,usbhid,ehci_hcd,ohci_hcd 
pjlt@pjlt-laptop:~$

Portable Asus K73 SJ sous Linux Mint 20.1 Ulyssa (Ubuntu 20.04 LTS) Cinnamon 64 bit

Hors ligne

#17 Le 08/12/2007, à 01:23

luc410

Re : Reconnaissance Wifi par chipset zd1211

Bonjour a tous.
Pjlt, je viens juste de résoudre le même style de problème avec une clé usb SMC EZCONNECT.
Je pense qu'il faut installer le driver zd1211rw. En effet, sur cette page :
http://www.linuxwireless.org/en/users/D … rw/devices
ton matériel semble supporté (Asus      A9T Laptop Integrated      zd1211b      0b05      171b).
Pour moi, c'était un peu différent, les id était connu mais le chip RF non, ce que j'ai vu en tapant la
commande

dmesg

dans un terminal, j'avais à  la fin:
"zd1211rw 3-3:1.0: RF UW2453_RF 0x9 is not supported".
Alors j'ai suivi la procédure suivante (merci au site linuxwireless.org):
1) Downloader le fichier suivant (le mettre par exemple sous \home\driver.
http://linuxwireless.org/download/compa … .6.tar.bz2
2) Ouvrir un terminal et taper

cd/home/driver

(permet d'aller dans le répertoire /home/driver).
3) taper la commande

tar jxvf compat-wireless-2.6.tar.bz2

4) puis

cd compat-wireless-2.6

(pour aller dans le répertoire créé).
5)

make

6)

sudo make install

7)

sudo make load

Si j'ai bien compris, on vient ajouter ou mettre à  jour tous les driver "wireless" (sans fil) , donc pour certaine commande cela prend un peut de temps.
J'ai bien détaillé car je suis débutant sous linux (c'est la première fois que je poste) et parfois les renseignements donnés sont un peu ardu..
Je pense qu'il est possible de charger seulement le driver "zd1211rw", mais je ne sais pas encore faire.
Enfin chez moi ça marche impec.
Bon courage à  tous.:)

Hors ligne