Re: new sensor for a t613 camera

2009-11-18 Thread leandro Costantino
Please, send me the patch for review :)


On Tue, Nov 17, 2009 at 9:41 PM, Nicolau Werneck nwern...@gmail.com wrote:
 Hello, people.

 I did it! I looked at the log and modified the driver to support my
 webcam. It's working!! I'm sending an image attached. :]

 I'll clean up my code now, and submit a patch later. Help is
 appreciated, because I don't have much experience contributing to
 large projects...

 This webcam is a very cheap one, quite easy to find these days. I
 hope the support will be appreciated by many users.


 See you,
   ++nicolau




 On Fri, Nov 13, 2009 at 03:35:26PM -0500, leandro Costantino wrote:
 Hi Nicolau,
 Are you able to give me some usb traces?
 there's a little how to
 http://deaglecito.blogspot.com/2008/10/new-sensor-merge-faq-tascorp-17a10128.html
 here.

 I don't have too much time now, but i can take a look and made some
 changes to test and guide you.

 Best Regards
 Costantino Leandro

 On Fri, Nov 13, 2009 at 3:27 PM, Nicolau Werneck nwern...@gmail.com wrote:
  On Fri, Nov 13, 2009 at 09:04:23PM +0100, Erik Andrén wrote:
  2009/11/13 Nicolau Werneck nwern...@gmail.com:
   Hello.
  
   I bought me a new webcam. lsusb said me it was a 17a1:0128 device, for
   which the gspca_t613 module is available. But it did not recognize the
   sensor number, 0x0802.
  
   I fiddled with the driver source code, and just made it recognize it
   as a 0x0803 sensor, called others in the code, and I did get images
   from the camera. But the colors are extremely wrong, like the contrast
   was set to a very high number. It's probably some soft of color
   encoding gone wrong...
  
   How can I start hacking this driver to try to make my camera work
   under Linux?
  
 
  If possible you could open the camera to investigate if there is
  anything printed on the sensor chip. This might give you a clue to
  what sensor it is.
 
  Thanks for redirecting me.
 
  I opened it (So much for the warranty seal...), but there is just
  huge black blob of goo over the chip, as usual these days.
 
  ++nicolau
 
  --
  Nicolau Werneck nwern...@gmail.com          1AAB 4050 1999 BDFF 4862
  http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327
  Linux user #460716
 
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.9 (GNU/Linux)
 
  iEYEARECAAYFAkr9wUIACgkQ0rVki0eJAycSegCfRQyYN54CNH2thIo/PHBnVaL9
  avAAoMe6ihIbvX23kM1ir2sJK32q6jxm
  =HI4V
  -END PGP SIGNATURE-
 
 
 --
 To unsubscribe from this list: send the line unsubscribe linux-media in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

 --
 Nicolau Werneck nwern...@gmail.com          1AAB 4050 1999 BDFF 4862
 http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327
 Linux user #460716


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAksDCmgACgkQ0rVki0eJAyfs3QCeJz8skhHixReBoIShZeRiKafv
 IQ0AoIi24OnTEPe77UUhw8U6RztAMsjO
 =5NY4
 -END PGP SIGNATURE-


--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: new sensor for a t613 camera

2009-11-17 Thread Nicolau Werneck
Hello, people.

I did it! I looked at the log and modified the driver to support my
webcam. It's working!! I'm sending an image attached. :]

I'll clean up my code now, and submit a patch later. Help is
appreciated, because I don't have much experience contributing to
large projects...

This webcam is a very cheap one, quite easy to find these days. I
hope the support will be appreciated by many users.


See you,
   ++nicolau




On Fri, Nov 13, 2009 at 03:35:26PM -0500, leandro Costantino wrote:
 Hi Nicolau,
 Are you able to give me some usb traces?
 there's a little how to
 http://deaglecito.blogspot.com/2008/10/new-sensor-merge-faq-tascorp-17a10128.html
 here.
 
 I don't have too much time now, but i can take a look and made some
 changes to test and guide you.
 
 Best Regards
 Costantino Leandro
 
 On Fri, Nov 13, 2009 at 3:27 PM, Nicolau Werneck nwern...@gmail.com wrote:
  On Fri, Nov 13, 2009 at 09:04:23PM +0100, Erik Andrén wrote:
  2009/11/13 Nicolau Werneck nwern...@gmail.com:
   Hello.
  
   I bought me a new webcam. lsusb said me it was a 17a1:0128 device, for
   which the gspca_t613 module is available. But it did not recognize the
   sensor number, 0x0802.
  
   I fiddled with the driver source code, and just made it recognize it
   as a 0x0803 sensor, called others in the code, and I did get images
   from the camera. But the colors are extremely wrong, like the contrast
   was set to a very high number. It's probably some soft of color
   encoding gone wrong...
  
   How can I start hacking this driver to try to make my camera work
   under Linux?
  
 
  If possible you could open the camera to investigate if there is
  anything printed on the sensor chip. This might give you a clue to
  what sensor it is.
 
  Thanks for redirecting me.
 
  I opened it (So much for the warranty seal...), but there is just
  huge black blob of goo over the chip, as usual these days.
 
  ++nicolau
 
  --
  Nicolau Werneck nwern...@gmail.com          1AAB 4050 1999 BDFF 4862
  http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327
  Linux user #460716
 
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.9 (GNU/Linux)
 
  iEYEARECAAYFAkr9wUIACgkQ0rVki0eJAycSegCfRQyYN54CNH2thIo/PHBnVaL9
  avAAoMe6ihIbvX23kM1ir2sJK32q6jxm
  =HI4V
  -END PGP SIGNATURE-
 
 
 --
 To unsubscribe from this list: send the line unsubscribe linux-media in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Nicolau Werneck nwern...@gmail.com  1AAB 4050 1999 BDFF 4862
http://www.lti.pcs.usp.br/~nwerneck   4A33 D2B5 648B 4789 0327
Linux user #460716



signature.asc
Description: Digital signature


Re: new sensor for a t613 camera

2009-11-13 Thread Erik Andrén
2009/11/13 Nicolau Werneck nwern...@gmail.com:
 Hello.

 I bought me a new webcam. lsusb said me it was a 17a1:0128 device, for
 which the gspca_t613 module is available. But it did not recognize the
 sensor number, 0x0802.

 I fiddled with the driver source code, and just made it recognize it
 as a 0x0803 sensor, called others in the code, and I did get images
 from the camera. But the colors are extremely wrong, like the contrast
 was set to a very high number. It's probably some soft of color
 encoding gone wrong...

 How can I start hacking this driver to try to make my camera work
 under Linux?


If possible you could open the camera to investigate if there is
anything printed on the sensor chip. This might give you a clue to
what sensor it is.

Best regards,
Erik

Ps. This mailing list is deprecated, use linux-media@vger.kernel.org instead.

 Thanks,
  ++nicolau



 --
 Nicolau Werneck nwern...@gmail.com          1AAB 4050 1999 BDFF 4862
 http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327
 Linux user #460716


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)

 iEYEARECAAYFAkr9tK0ACgkQ0rVki0eJAyeHIwCfXRAkTzirALNp/+F2TGlu6E8+
 jycAnA4IIh30NnZFxDB/M0da0OiSLmFI
 =OfDV
 -END PGP SIGNATURE-

 --
 video4linux-list mailing list
 Unsubscribe mailto:video4linux-list-requ...@redhat.com?subject=unsubscribe
 https://www.redhat.com/mailman/listinfo/video4linux-list

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: new sensor for a t613 camera

2009-11-13 Thread Nicolau Werneck
On Fri, Nov 13, 2009 at 09:04:23PM +0100, Erik Andrén wrote:
 2009/11/13 Nicolau Werneck nwern...@gmail.com:
  Hello.
 
  I bought me a new webcam. lsusb said me it was a 17a1:0128 device, for
  which the gspca_t613 module is available. But it did not recognize the
  sensor number, 0x0802.
 
  I fiddled with the driver source code, and just made it recognize it
  as a 0x0803 sensor, called others in the code, and I did get images
  from the camera. But the colors are extremely wrong, like the contrast
  was set to a very high number. It's probably some soft of color
  encoding gone wrong...
 
  How can I start hacking this driver to try to make my camera work
  under Linux?
 
 
 If possible you could open the camera to investigate if there is
 anything printed on the sensor chip. This might give you a clue to
 what sensor it is.

Thanks for redirecting me.

I opened it (So much for the warranty seal...), but there is just 
huge black blob of goo over the chip, as usual these days.

++nicolau

-- 
Nicolau Werneck nwern...@gmail.com  1AAB 4050 1999 BDFF 4862
http://www.lti.pcs.usp.br/~nwerneck   4A33 D2B5 648B 4789 0327
Linux user #460716



signature.asc
Description: Digital signature