#30 Missing symbol MmGetSystemRoutineAddress with ralink 2870

open
None
5
2014-03-06
2009-02-26
No

Hi,

the ralink driver 1.4.0.0 (09/25/2008) for a rt2870 usb stick complains about a missing symbol MmGetSystemRoutineAddress.

I've just added an empty stub:
wstdcall void WIN_FUNC(MmGetSystemRoutineAddress,1)
(struct unicode_string
name)
{
struct ansi_string ansi;
if (RtlUnicodeStringToAnsiString(&ansi, name, TRUE) ==
STATUS_SUCCESS) {
WARNING("MmGetSystemRoutineAddress: %s", ansi.buf);
RtlFreeAnsiString(&ansi);
}

return 0;

}

The driver seems to be happy with this stub and I'm happy, that my rt2870 stick now works. I've forgotten the actual Routine that has been queried by the driver, but it must have been rather unimportant.
Maybe you could make other users of this chipset / driver happy by adding this workaround or even better by implementing this function?

Best regards

Dirk

By the way: Many thanks for ndiswrapper. The native linux driver of Ralink just s****. So does the linux driver of the Fritz USB Stick I used before. Without ndiswrapper I couldn't enjoy the wireless Internet.

Discussion

  • Merciful
    Merciful
    2009-08-07

    Hi,

    This does also works for the Sweex lw153 xp driver.

    System: Slackware 12.1 with default smp kernel

    Eabe