* How to add new chip ids to v4l2-chip-ident.h ?
@ 2012-08-18 14:19 Frank Schäfer
2012-08-18 15:06 ` Hans Verkuil
0 siblings, 1 reply; 3+ messages in thread
From: Frank Schäfer @ 2012-08-18 14:19 UTC (permalink / raw)
To: linux-media
Hi,
I would like to know how to add new chip ids to v4l2-chip-ident.h. Ist
there a kind of policy for choosing numbers ?
Which numbers would be approriate for the em25xx/em26xx/em27xx/em28xx
chips ?
Unfortunately 2700 is already used by V4L2_IDENT_VP27SMPX...
Regards,
Frank Schäfer
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to add new chip ids to v4l2-chip-ident.h ?
2012-08-18 14:19 How to add new chip ids to v4l2-chip-ident.h ? Frank Schäfer
@ 2012-08-18 15:06 ` Hans Verkuil
2012-08-20 10:39 ` Frank Schäfer
0 siblings, 1 reply; 3+ messages in thread
From: Hans Verkuil @ 2012-08-18 15:06 UTC (permalink / raw)
To: Frank Schäfer; +Cc: linux-media
On Sat August 18 2012 16:19:26 Frank Schäfer wrote:
> Hi,
>
> I would like to know how to add new chip ids to v4l2-chip-ident.h. Ist
> there a kind of policy for choosing numbers ?
Using numbers that match the chip number is recommended, but if that can't
be done due to clashes, then pick some other, related, number (e.g. 12700
instead of 2700) or create a range of number for all possible models of that
chip series.
> Which numbers would be approriate for the em25xx/em26xx/em27xx/em28xx
> chips ?
> Unfortunately 2700 is already used by V4L2_IDENT_VP27SMPX...
Please note that adding an identifier to v4l2-chip-ident.h is only needed
if the VIDIOC_DBG_* ioctls are implemented. If those are not implemented,
then there is no need for an ID either.
Regards,
Hans
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to add new chip ids to v4l2-chip-ident.h ?
2012-08-18 15:06 ` Hans Verkuil
@ 2012-08-20 10:39 ` Frank Schäfer
0 siblings, 0 replies; 3+ messages in thread
From: Frank Schäfer @ 2012-08-20 10:39 UTC (permalink / raw)
To: Hans Verkuil; +Cc: linux-media
Am 18.08.2012 17:06, schrieb Hans Verkuil:
> On Sat August 18 2012 16:19:26 Frank Schäfer wrote:
>> Hi,
>>
>> I would like to know how to add new chip ids to v4l2-chip-ident.h. Ist
>> there a kind of policy for choosing numbers ?
> Using numbers that match the chip number is recommended, but if that can't
> be done due to clashes, then pick some other, related, number (e.g. 12700
> instead of 2700) or create a range of number for all possible models of that
> chip series.
Ok. And I guess a comment should be added that reserves a certain range
of values, if similar chips exist.
>
>> Which numbers would be approriate for the em25xx/em26xx/em27xx/em28xx
>> chips ?
>> Unfortunately 2700 is already used by V4L2_IDENT_VP27SMPX...
> Please note that adding an identifier to v4l2-chip-ident.h is only needed
> if the VIDIOC_DBG_* ioctls are implemented. If those are not implemented,
> then there is no need for an ID either.
Sure ;-) Thanks !
Regards,
Frank Schäfer
>
> Regards,
>
> Hans
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-20 10:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-18 14:19 How to add new chip ids to v4l2-chip-ident.h ? Frank Schäfer
2012-08-18 15:06 ` Hans Verkuil
2012-08-20 10:39 ` Frank Schäfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).