Originally posted by olered No i don't have the lens in hand yet. How can you tell if a lens will work in certain modes with my camera ?
Your manual may give details (e.g. appendix 5 in K10D manual).
In summary, if your lens has no aperture ring or an "A" position then it will let the camera meter and control the aperture automatically. Older lenses such as the M or "K" series from Pentax still let the aperture be set while you preview the scene at the largest aperture, but you will have to set the aperture with the aperture ring and the camera will not know what that aperture is. You can still get the camera to meter with your set aperture via the green button. This can set the shutter speed semi-automatically. I always use M and the green button for this type of lens but I believe there are other options using the Av setting. Most other settings become Av anyway.
Then there are lenses that have no camera control of the aperture. These include Screw mount lenses and most other lenses via adapters. These can be used by manually controlling the aperture but the lens won't spring open to the largest aperture for focusing and composing. To obtain the most accurate focus you can set the aperture wide open, then stop down to meter and shoot. Some screw mount lenses have an Auto switch which throws the aperture between wide open and whatever you have set it to so as you don't have to take your eyes off the subject.
Your new lens has an aperture ring that is sequenced in reverse to the normal Pentax direction and is controlled by a lever that is set in an odd position. Before you mount it to your camera, check it against a trusted Pentax lens and check that everything is roughly in the same positions. It could be that the lens is a modified version that was made for another mount. We won't know until you get a good look at it or post better photos.
Once you have established that you can mount the lens, put it on and try using the green button for metering. Some lenses don't work reliably with the green button, but you may be able to deal with this by using exposure compensation or just try and wing it with "M".
Good Luck.