Skip to contentSkip to conversation

new sensor for a t613 camera

DISCUSSION Nicolau Werneck 3 participants 8 messages Nov 13, 2009 – Nov 18, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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?

Thanks,
++nicolau

Signature · 3 lines
Nicolau Werneck <[email protected]>          1AAB 4050 1999 BDFF 4862
http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327
Linux user #460716

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw

2009/11/13 Nicolau Werneck <[email protected]>:

Quoted 6 lines

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.

Quoted 9 lines

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 [email protected] instead.

Quoted 24 lines

Thanks,
 ++nicolau

--
Nicolau Werneck <[email protected]>          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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw
Quoted 13 lines · Erik Andrén

2009/11/13 Nicolau Werneck <[email protected]>:

Quoted 12 lines

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...

Quoted 7 lines
Quoted 3 lines

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

Signature · 3 lines
Nicolau Werneck <[email protected]>          1AAB 4050 1999 BDFF 4862
http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327
Linux user #460716
#3 lore raw

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

Quoted 44 lines · Nicolau Werneck
Quoted 13 lines · Erik Andrén

2009/11/13 Nicolau Werneck <[email protected]>:

Quoted 12 lines

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...

Quoted 7 lines
Quoted 3 lines

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 <[email protected]>          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-----

#4 lore raw

OK, I'll try to get a windows box and log it.

I believe the original designer of this camera is a German company named Logilink. I wrote an e-mail to and address in their website, let's see if there is any feedback.

++nicolau

Quoted 12 lines · leandro Costantino

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

Signature · 3 lines
Nicolau Werneck <[email protected]>         25A1 1BCB 714C 29E7 D84C
http://www.lti.pcs.usp.br/~nwerneck                   8514 152D 103F B001 8740
Linux user #460716
#5 lore raw
In reply to leandro Costantino

I wrote an e-mail to the company that seems to have designed this camera of mine, the German LogiLink, and they answered me this morning. Looks like the camera uses the CNLTF LT-168G sensor. Searching for the terms in Google shows some hits regarding the microdia driver, so it might be possible we can even take some stuff from them... Is this true?

So, should I try to get the log anyway, or can we try to do something else now that we have this clue?

Thanks,
++nicolau

Quoted 11 lines · leandro Costantino

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

Signature · 3 lines
Nicolau Werneck <[email protected]>          1AAB 4050 1999 BDFF 4862
http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327
Linux user #460716
#6 lore raw
In reply to leandro Costantino

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

Quoted 61 lines · leandro Costantino

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

Quoted 35 lines · Nicolau Werneck
Quoted 13 lines · Erik Andrén

2009/11/13 Nicolau Werneck <[email protected]>:

Quoted 12 lines

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...

Quoted 7 lines
Quoted 3 lines

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 <[email protected]>          1AAB 4050 1999 BDFF 4862
http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327 Linux user #460716

Quoted 9 lines

-----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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Nicolau Werneck <[email protected]>          1AAB 4050 1999 BDFF 4862
http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327
Linux user #460716
#7 lore raw

Please, send me the patch for review :)

Quoted 97 lines · 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

Quoted 57 lines · leandro Costantino

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

Quoted 35 lines · Nicolau Werneck
Quoted 13 lines · Erik Andrén

2009/11/13 Nicolau Werneck <[email protected]>:

Quoted 12 lines

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...

Quoted 7 lines
Quoted 3 lines

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 <[email protected]>          1AAB 4050 1999 BDFF 4862
http://www.lti.pcs.usp.br/~nwerneck           4A33 D2B5 648B 4789 0327 Linux user #460716

Quoted 9 lines

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

iEYEARECAAYFAkr9wUIACgkQ0rVki0eJAycSegCfRQyYN54CNH2thIo/PHBnVaL9 avAAoMe6ihIbvX23kM1ir2sJK32q6jxm
=HI4V
-----END PGP SIGNATURE-----

Quoted 4 lines

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

--
Nicolau Werneck <[email protected]>          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-----