linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* p54usb with Inventel UR054g dongle
@ 2008-02-25 16:31 Florian Fainelli
  2008-02-25 17:41 ` Chr
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2008-02-25 16:31 UTC (permalink / raw)
  To: linux-wireless

Hi all,

I am testing an Inventel UR054g dongle with p54usb, and some fields cannot be 
parsed :

p54: LM86 firmware
p54: FW rev 2.5.8.0 - Softmac protocol 3.0
code = 100
data = ecd96a24
code = 6700
data = ecd96a26
code = 1300
data = ecd96c28
p54: not all required entries found in eeprom!
p54: eeprom parse failed!
prism54usb: Invalid hwaddr! Using randomly generated MAC addr

I have added some printks here to show the code it fails to decode and the 
associated eeprom entry.

Do you have any hints about what these particular codes mean ?

Thank you very much in advance.
-- 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: p54usb with Inventel UR054g dongle
  2008-02-25 16:31 p54usb with Inventel UR054g dongle Florian Fainelli
@ 2008-02-25 17:41 ` Chr
  2008-02-25 17:56   ` Florian Fainelli
  0 siblings, 1 reply; 4+ messages in thread
From: Chr @ 2008-02-25 17:41 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: linux-wireless

On Monday 25 February 2008 17:31:21 Florian Fainelli wrote:
> Hi all,
>
> I am testing an Inventel UR054g dongle with p54usb, and some fields cannot
> be parsed :
>
> p54: LM86 firmware
> p54: FW rev 2.5.8.0 - Softmac protocol 3.0
> code = 100
> data = ecd96a24
> code = 6700
> data = ecd96a26
> code = 1300
> data = ecd96c28
> p54: not all required entries found in eeprom!
> p54: eeprom parse failed!
> prism54usb: Invalid hwaddr! Using randomly generated MAC addr
>
> I have added some printks here to show the code it fails to decode and the
> associated eeprom entry.
>
> Do you have any hints about what these particular codes mean ?

Please, could you make a "dump" of the eeprom? Because these "code" values
are invalid...

> Thank you very much in advance.

Thanks,
	Chr.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: p54usb with Inventel UR054g dongle
  2008-02-25 17:41 ` Chr
@ 2008-02-25 17:56   ` Florian Fainelli
  2008-02-25 18:52     ` Chr
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Fainelli @ 2008-02-25 17:56 UTC (permalink / raw)
  To: Chr; +Cc: linux-wireless

Le lundi 25 f=E9vrier 2008, Chr a =E9crit=A0:
> Please, could you make a "dump" of the eeprom? Because these "code" v=
alues
> are invalid...

How can I easily dump the eeprom ? Thanks.
-
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: p54usb with Inventel UR054g dongle
  2008-02-25 17:56   ` Florian Fainelli
@ 2008-02-25 18:52     ` Chr
  0 siblings, 0 replies; 4+ messages in thread
From: Chr @ 2008-02-25 18:52 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: linux-wireless

On Monday 25 February 2008 18:56:28 Florian Fainelli wrote:
> Le lundi 25 fvrier 2008, Chr a crit:
> > Please, could you make a "dump" of the eeprom? Because these "code"
> > values are invalid...
>
> How can I easily dump the eeprom ? Thanks.

I though you wrote a patch for this?

Anyway, If you have a x86/(x86_64) then put something like this:
into p54_parse_eeprom: 

printk(KERN_INFO "--- [cut here] ---");
for (i = 0; i < len; i++) {
  if (!(i % 16)) printk("\n" KERN_INFO);
  printk("0x%.2x, ",*(unsigned char*)((unsigned char*)eeprom +i));
}
printk("\n");
i = 0;

recompile, load and see in dmesg...

Thanks,
	Chr.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-25 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-25 16:31 p54usb with Inventel UR054g dongle Florian Fainelli
2008-02-25 17:41 ` Chr
2008-02-25 17:56   ` Florian Fainelli
2008-02-25 18:52     ` Chr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).