Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a webcamera on my T500 Thinkpad. I would like to know its resolution. Is there a way to find it out through software and not referring to documentation (that I do not have on me).

share|improve this question

2 Answers 2

up vote 8 down vote accepted

Two possible approaches:

Use any software which can interact with the webcam (eg, cheese), save an image and look at the resolution.

Examine the output of lsusb in a terminal, to find a line describing a webcam:

$ lsusb
Bus 001 Device 002: ID 5986:0241 Acer, Inc BisonCam, NB Pro
...

Then use the Bus and Device numbers to get more information on that device:

$ lsusb -s 001:002 -v | egrep "Width|Height"
    wWidth    640
    wHeight   480
    wWidth    1280
    wHeight   1024
...

Which should print the height, width pairs the camera is capable of - in this case, 1280x1024 plus some smaller ones.

share|improve this answer
    
Thanks, I got WWidth 640 WHeight 480 WWidth 320 WHeight 240 WWidth 800 WHeight 600 WWidth 1024 WHeight 600 WWidth 1024 WHeight 768 WWidth 1280 WHeight 800 WWidth 1280 WHeight 1024 WWidth 640 WHeight 480 WWidth 320 WHeight 240 WWidth 800 WHeight 600 WWidth 1024 WHeight 600 WWidth 1024 WHeight 768 WWidth 1280 WHeight 800 WWidth 1280 WHeight 1024 I guess I can assume that the highest combination is the physical resolution. –  sup Nov 10 '12 at 9:48

Note that the lsusb solution doesn't seem to work for all webcams — it doesn't output Width and Height for my Hercules Deluxe, for instance. The cheese solution works though, available resolutions are available under Edit > Preferences.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.