Rotary Engine
WARNING: This page does not describe the selected car, but rather 234 other vehicles, including the 2018 Mazda 6, 2017 Mazda CX-9, 2014 Mazda MX-5 Miata, 2014 Mazda 6, and 2014 Mazda 5. However, it is still accessible from the selected car via links, so may be relevant.
Check vacuum hose routing. Disconnect EGR valve hose. Connect vacuum pump to EGR valve. Idle engine and apply 15 in. Hg. EGR valve stem/diaphragm should move and engine speed should drop at least 100 RPM or engine should stall.