pwc
[Top] [All Lists]

[pwc] V4L2_CID_CONTRAST bug?

To:
Subject: [pwc] V4L2_CID_CONTRAST bug?
From: Sander Jansen <>
Date: Tue, 27 Dec 2005 13:17:50 -0600
If I try to set the contrast of my Logitech Quickcam Pro 3000, the incorrect 
value is set by the driver:

case V4L2_CID_CONTRAST
        c->value <<= 8; 
        ret = pwc_set_contrast(pdev, c->value);
        
In pwc_set_contrast the value then gets incorrectly set:
        buf = (value >> 10) & 0x3f;

Changing c->value <<=8 to c->value <<=10 should do the trick.

Thanks,
        Sander
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
  • [pwc] V4L2_CID_CONTRAST bug?, Sander Jansen <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU