mplayer -tv driver=v4l2:outfmt=yuy2 -frames 3 -vo jpeg tv://For that to work, you have to have the modified UVC driver running. It writes 3 JPEG files to the current directory. The first two are garbage. The third is the photo.
Update (April 6, 2010): I got the Lenovo T510 camera to work in video mode with the 2.6.33.2 kernel. I added this to uvc_driver.c:
/* Hack for Lenovo Thinkpad T510 */
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO,
.idVendor = 0x17ef,
.idProduct = 0x480f,
.bInterfaceClass = USB_CLASS_VIDEO,
.bInterfaceSubClass = 1,
.bInterfaceProtocol = 0,
.driver_info = 0 },