pwc
[Top] [All Lists]

Re: [pwc] Preserve user setting for another program

To: Mathieu Bouchard <>
Subject: Re: [pwc] Preserve user setting for another program
From: Roman Haefeli <>
Date: Fri, 14 Dec 2007 10:14:27 +0100
On Fri, 2007-12-14 at 03:39 -0500, Mathieu Bouchard wrote:
> On Fri, 14 Dec 2007, Ben Lau wrote:
> 
> >   I have a Philips SPC900NC. I would like to disable the auto AGC and
> > shutter speed for another program that use GStreamer as input source.
> > The camera's parameter is tuned inside Camstream, and then pressed the
> > "Save user settings" button. However, the setting can not be preserved
> > for another program and even for camstream itself. Open the camera
> > again by camstream will restore to default setting unless the "Restore
> > user setting" button was pressed.
> >   How can I preserve the user setting for another program?
> 
> look at pwc-if.c :
> 
>          /* Initialize the webcam to sane value */
>          pwc_set_brightness(pdev, 0x7fff);
>          pwc_set_agc(pdev, 1, 0);
> 
> and delete that pwc_set_agc line, and perhaps the other one, too. I didn't 
> try it, but a while ago, I did help someone about this: I told him to try 
> this and he said it worked.

although you found it out already yourself, i can say that deleting the
line mathieu mentioned worked for me with the little side effect, that
the led doesn't turn off after the device isn't used anymore. 


        
                
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc
<Prev in Thread] Current Thread [Next in Thread>
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