Re: [GnomeMeeting-list] where does gm find video driver information [FIXED]



Hi,
 we can change the hints in the openh323 CVS so that it differentiates
between the spca501 an spca508 cameras.

Anyone will to try different values, and report back?


 /** USB cameras supported by SPCA50X cameras.
 
 */
  { "SPCA501 USB Camera",
    "Intel PC Pro Camera uses the spca50x driver",
    HINT_ONLY_WORKS_PREF_PALETTE        |
    HINT_HAS_PREF_PALETTE,
    VIDEO_PALETTE_RGB24
  },

  { "SPCA508 USB Camera",
    "Intel PC Pro Camera uses the spca50x driver",
    HINT_ONLY_WORKS_PREF_PALETTE         |
     HINT_ALWAYS_WORKS_320_240           |
    HINT_HAS_PREF_PALETTE,
    VIDEO_PALETTE_RGB24
  },



Does this work ????


Derek.
=====================================================================


Not difficult - any one read to try
On 17 Sep 2002, Dennis Gilmore wrote:

> I am trying to get some feedback from the users.  but what i have found
> from the code is 
> 
> static __u16 spca501_ext_modes[][6] =
> {
> 	/* x , y , Code, Value (6), Value (7), pipe */
> 	{ 640, 480, 0, 0x94, 0x004A, 1023 },
> 	{ 320, 240, 0, 0x94, 0x104A, 896 },
> 	{ 160, 120, 0, 0x94, 0x204A, 384 },
> 	{ 0, 0, 0, 0, 0 }
> };
> 
> static __u16 spca50x_ext_modes[][6] =
> {
> 	/* x , y , Code, Value (6), Value (7), pipe */
> 	{ 352, 288, 1, 0x1a, 0x1a, 1023 }, /* Tested */
> #if 0
> 	{ 320, 240, 2, 0x1c, 0x1d, 896 }, /* Guessed values - if you are brave,
> uncomment and play with these !*/
> 	{ 240, 180, 3, 0x20, 0x20, 640 }, /* Guessed values */
> #endif
> 	{ 176, 144, 4, 0x34, 0x34, 512 }, /* Tested */
> 	{ 160, 120, 5, 0x40, 0x40, 384 }, /* Tested */
> 	{ 0, 0, 0, 0, 0 }
> };
> 
> static __u16 spca508_ext_modes[][6] =
> {
>   /* In this table, element 3 (clk) controls the
>      clock, and gets written to 0x8700.
>   */
> 	/* x , y , Code, clk, n/a,  pipe */
> 	{ 352, 288, 0, 0x28, 0x00, 1023},
> 	{ 320, 240, 1, 0x28, 0x00, 1023},
> 	{ 176, 144, 2, 0x23, 0x00, 1023}, 
> 	{ 160, 120, 3, 0x23, 0x00, 1023},
> 	{ 0, 0, 0, 0, 0 }
> };
> 
> So it seams that one of the chipsets that we support(spca501) does not
> use the standard sizes  but uses 320x240 and 160x120  so i want to find
> from them if it does indead work i have had feedback from one user that
> the spca508 chipset works but i really want to know if the spca501
> does.  if not we may need to add in the hint size definitions for it to
> work 
> 
> or should we just add them to ensure it will work?
> 
> Probably we should also change the line"Intel PC Pro Camera uses the
> spca50x driver" to read "USB Cameras supported by the spca50x driver" 
> just for the generic aspect of it  it currently shows just one of the
> cameras supported
> 
> 
> Dennis
> 
> 
> On Tue, 2002-09-17 at 09:27, derek indranet co nz wrote:
> > Hi,
> >  the openh323 cvs source contains:
> > 
> >  /** Intel PC Pro Camera
> >  
> >  */
> >   { "SPCA50X USB Camera",
> >     "Intel PC Pro Camera uses the spca50x driver",
> >     HINT_ONLY_WORKS_PREF_PALETTE        |
> >     HINT_HAS_PREF_PALETTE,
> >     VIDEO_PALETTE_RGB24
> >   },
> > 
> > There was some comment that the line 
> > > >     HINT_ALWAYS_WORKS_320_240           |
> > is not needed, so
> > I took that out.
> > 
> > If you want me to change the settings for this camera, please state the 
> > required changes, and I can put them in.
> > 
> > Derek.
> > ========================================================================
> > 
> > On 8 Sep 2002, Damien Sandras wrote:
> > 
> > > Thanks for the hint. Derek will add it to PWLib CVS.
> > > I don't know for 160x120, I should check the sources for that, and as Im
> > > in holidays I do not have an easy access to them.
> > > 
> > > Derek, who coded that part of pwlib, will certainly answer you and add
> > > your HINT to PWLib with the 160x120 size Hint too.
> > > 
> > > Thanks again
> > > 
> > > 
> > > le sam 07-09-2002 ŕ 16:39, Dennis Gilmore a écrit :
> > > >  i added this hint to pwlib/src/ptlib/unix/video4linux.cxx
> > > > and now have a working camera in gnomemeeting.  thanks for the pointer i
> > > > must have missed that thread when i went searching  i dont know if the
> > > > other guy gave you the info  it probably doesnt need the always works at
> > > > 320x240  how can i set it at 160x120?  the driver should support up to
> > > > 640x480  but i got a picture thats a big improvement.
> > > > 
> > > > /** Intel PC Pro Camera
> > > > 
> > > >    */
> > > >   { "SPCA50X USB Camera",
> > > >     "Intel PC Pro Camera uses the spca50x driver",
> > > >     HINT_ALWAYS_WORKS_320_240           |
> > > >     HINT_ONLY_WORKS_PREF_PALETTE        |
> > > >     HINT_HAS_PREF_PALETTE,
> > > >     VIDEO_PALETTE_RGB24
> > > >   },
> > > > 
> > > > On Wed, 2002-09-04 at 23:48, Stefan Bruens wrote:
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA1
> > > > > 
> > > > > Am Mittwoch, 4. September 2002 14:11 schrieb Dennis Gilmore:
> > > > > > Hi,  im trying to get my driver working with gm  it pretty much works
> > > > > > with gqcam to get a great picture need lots of light,  but when i run
> > > > > > gnomemeeting i get told that the driver doesnt support the selected
> > > > > > color mode which is BGR  the driver does support it  but im thinking
> > > > > > that gm looks somewhere different to where the driver provides it.  i
> > > > > > have an intel webcam using the spca50x driver.  i can tell tre driver to
> > > > > > switch to RGB  but it doesnt work either so where does gm look so i can
> > > > > > provide the correct data?
> > > > > 
> > > > > Hi Dennis,
> > > > > 
> > > > > you should look into the GnomeMeeting Mailinglist Archives (see URL at bottom 
> > > > > of this mail), the problems with this driver have been discussed in a thread 
> > > > > starting on 27.08. 
> > > > > 
> > > > > If you have read this, and have further questions, don't hesitate to ask them 
> > > > > here.
> > > > > 
> > > > > Have a  nice day,
> > > > > Stefan
> > > > > - -- 
> > > > > Stefan Brüns  /  Kastanienweg 6 - Zimmer 1206  /  52074 Aachen     
> > > > > mailto:lur_x gmx net  http://www.kawo1.rwth-aachen.de/~lurchi/
> > > > >       fax: +49-89-1488204565   phone: +49-160-7532733 
> > > > > -----BEGIN PGP SIGNATURE-----
> > > > > Version: GnuPG v1.0.6 (GNU/Linux)
> > > > > Comment: For info see http://www.gnupg.org
> > > > > 
> > > > > iD8DBQE9dg80b39KPYz+qlMRAikmAKCZPAHjlP2UzNgc2QDlHS0U3vxeFgCfZT2S
> > > > > r0j02oUdai3iqJNzHWhJ2uw=
> > > > > =vWkT
> > > > > -----END PGP SIGNATURE-----
> > > > > 
> > > > > _______________________________________________
> > > > > Gnomemeeting-list mailing list
> > > > > Gnomemeeting-list gnome org
> > > > > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> > > > > 
> > > > > 
> > > > 
> > > > _______________________________________________
> > > > Gnomemeeting-list mailing list
> > > > Gnomemeeting-list gnome org
> > > > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> > > 
> > 
> > -- 
> > Derek Smithies Ph.D.
> > IndraNet Technologies Ltd.
> > Email: derek indranet co nz
> > ph +64 3 365 6485
> > Web: http://www.indranet-technologies.com/
> > 
> > _______________________________________________
> > GnomeMeeting-list mailing list
> > GnomeMeeting-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> > 
> > 
> > 
> 
> _______________________________________________
> GnomeMeeting-list mailing list
> GnomeMeeting-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnomemeeting-list
> 
> 
> 

-- 
Derek Smithies Ph.D.
IndraNet Technologies Ltd.
Email: derek indranet co nz
ph +64 3 365 6485
Web: http://www.indranet-technologies.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]