If I remember correctly, commercial airplanes are designed to release oxygen masks if the oxygen level drops too low, or if the cabin is too depressurised while in high altitude, and the chemical reaction within the mask should produce oxygen for the next 5 minutes.
Since masks can only be worn on the face, I tried searching if there was any special procedure for when you have a tracheotomy and a life support device/breathing apparatus (oxygen intakes don't come from the nose when you have a tracheotomy). And so far, I wasn't able to find anything.
Do airplanes have special procedures for that kind of situation?