Re: patch to support for 0x0802 sensor in t613.c

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

 



On Fri, 18 Dec 2009 16:46:04 -0200
Nicolau Werneck <nwerneck@xxxxxxxxx> wrote:

> Hello. I am a clueless n00b, and I can't make patches or use any
> proper development tools. But I made this modification to t613.c to
> support this new sensor. It is working fine with me. I just cleaned
> the code up a bit and compiled and tested with the 2.6.32 kernel, and
> it seems to be working fine.
> 
> If somebody could help me creating a proper patch to submit to the
> source tree, I would be most grateful. The code is attached.

Hello Nicolau,

Your code seems fine. To create a patch, just go to the linux tree
root, make a 'diff -u' from the original file to your new t613.c, edit
it, at the head, add a comment and a 'Signed-off-by: <your email>', and
submit to the mailing-list with subject '[PATCH] gspca - t613: Add new
sensor lt168g'.

BTW, as you know the name of your sensor, do you know the real name of
the sensor '0x803' ('other')? (it should be in some xxx.ini file in a
ms-win driver, but I could not find it - the table n4_other of t613.c
should be a table 'Regxxx' in the xx.ini)

Best regards.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux