Originally posted by SOldBear K10D & K20D: SR on without lens attached to camera.
K7 (I think also K5): SR not on unless a lens attached (and the flange of the lens is conductive).
To verify, turn on the camera with no lens. K10D & K20D ask for focal length. K7 (and probably K5) does not.
Originally posted by crewl1 K-5 does ask for focal lens and SR shows active with no lens.
Actually, the difference is whether or not you have "Using Aperture Ring" set to "Permitted" or "Prohibited" in the custom menu. If it is set to the factory default of "Prohibited", as it was in the OP's case, then the camera will not ask for a focal length nor will SR be active when no lens is attached. If you set it to "Permitted", as most of us likely have it set, then the camera will ask for a focal length and allow SR to be active. I suppose this is because when set to "Permitted" you are telling the camera that you want to be able to use SR even if the camera can't sense a mounted lens.