Re: Problem with DWL-122 after using wlan start script

Thomas K <[email protected]>
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
Hi,

thanks so far for the answers.

@Holger:
I've seen such, but this is another case, I think.

@Karl:

>0.2.1-pre23 is very old. Compiling 0.2.2 for yourself
>should not be hard, and contains many many fixes.
>  

Sure, but I used 0.2.1-pre21, because this was simple available on my 
gentoo installation. I'wasn't seeking for the newest. ;-) (and I don't 
know if version 0.2.2 will handle my problem in a better way? see below)

>I think its unlikely you have destroyed anything in the
>flash memory, unless you have **specifically** tried to
>do a flash download. Such a download is not a normal
>part of the wlan-ng driver and scripts - the prism2_ru.hex
>is a link to a ram download (not flash, and so not
>permanent).
>  

I think, my crash is connected with the fact, that I use an 
Intel-USB-controller, I read, that such make trouble sometimes, 
especially with the reset-feature on loading the module. Maybe it's 
happen in this time, the stick was in fwload mode and usb controller has 
shot up the kernel - and the stick has get something wrong in the same time.

Here are the content from /proc/net/p80211/wlan0/nsd resp. wlandev:

nsd:
# prism2_prism2_usb version 0.2.1-pre23 (Tue Sep 13 19:56:45 CEST 2005) 
'$Id: prism2sta.c,v 1.3 2004/04/20 14:55:47 solomon Exp $'

# nic h/w: id=0x00 0.0.0
# pri f/w: id=0x00 0.0.0
# ap f/w: id=0x00 0.0.0

and wlandev:
p80211 version: 0.2.1-pre23 (Tue Sep 13 19:56:45 CEST 2005)

name       : wlan0
nsd name   : prism2_usb
address    : 00:00:00:00:00:00
nsd caps   : hw_frag autojoin scan
bssid      : 00:00:00:00:00:00
Enabled    :

It looks so , as at least on area in flash is erased and so the stick 
can't work. The next is a piece of syslog o plug in the stick and trying 
'wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable':
Sep 16 15:34:59 camstation usb 1-1: new full speed USB device using 
uhci_hcd and address 2
Sep 16 15:35:03 camstation prism2usb_init: prism2_usb.o: 0.2.1-pre23 Loaded
Sep 16 15:35:03 camstation prism2usb_init: dev_info is: prism2_usb
Sep 16 15:35:03 camstation usbcore: registered new driver prism2_usb
Sep 16 15:35:04 camstation net.agent[5575]: add event not handled
Sep 16 15:37:37 camstation ident: nic h/w: id=0x8026 1.0.0
Sep 16 15:37:37 camstation ident: pri f/w: id=0x15 1.1.2
Sep 16 15:37:37 camstation hfa384x_dorrid: RID len mismatch, rid=0xfd20 
hlen=8 fwlen=-2
Sep 16 15:37:37 camstation prism2sta_getcardinfo: Failed to retrieve 
STAIDENTITY
Sep 16 15:37:37 camstation prism2sta_getcardinfo: Failed, result=-61
Sep 16 15:37:37 camstation prism2sta_ifstate: prism2sta_getcardinfo() 
failed,result=-61

Intresting in syslog is, that there nic id and fw id is found, but not 
in nsd file!

I think, it can be only the content of flash, which is destroyed. On 
windows box this stick works with the normal dlink drivers! It knows his 
MAC, but, I think it forgots his serial id (but this is, I think not 
really necessary and I can set it from this, what's written on the stick)

Maybe it's to repair, if I can find the right files for flashing the 
stick again, but I can't find a right pda file for this stick and maybe 
it's necessary to have init software hex file (CIS-hex?) and the right 
pairing of primary and station software (for station software I have 
only a ram hex file, maybe anewer ones as flash hex file will help, but 
then I must know, what's the right primary software and also the pda 
file) Maybe sombody will have this informations for me and where I get 
such files.

Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.