Melt butter or oil in pan
When butter is fully melted add garlic, shallots and ginger and saute' over medium heat until garlic begins to brown.
Add pasta and rice to pan. Stir to coat rice and pasta with oil thoroughly.
Put rice and pasta mixture in rice cooker and fill to the three cup line. If using dried mushrooms add them at this point.
Set to cook and you're done!