Skip to contentSkip to conversation

p54usb with Inventel UR054g dongle

DISCUSSION Florian Fainelli 2 participants 4 messages Feb 25, 2008

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 17 lines · 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

Quoted 4 lines

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

Quoted 1 line

Thank you very much in advance.

Thanks,
Chr.

#2 lore raw

Le lundi 25 f=E9vrier 2008, Chr a =E9crit=A0:

Quoted 1 line

Please, could you make a "dump" of the eeprom? Because these "code" v=

alues

Quoted 1 line

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 5 lines · On Monday 25 February 2008 18:56:28 Florian Fainelli wrote:

Le lundi 25 fvrier 2008, Chr a crit:

Quoted 2 lines

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.