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.
--
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.
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.
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.