How can I get the actual shutter actuation count for a Canon EOS 500D or 550D (Digital Rebel T1i or T2i)?
Two popular solutions for most earlier Canon cameras don't work:
I peeked at location 0x9d-9e in a raw file but for the EOS 550 a constant value 0x0001 is stored there. (This worked for pre-500 bodies.)
The EOSInfo software fails to detect the camera (perhaps because I'm running a 64-bit system). (This isn't supposed to work anyway...)
gphoto2is better than the accepted answer (to use file number).