<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mediapointer-dvb-s2/linux/drivers/media/video/cx18, branch master</title>
<subtitle>Mediapointer DVB-S2 driver
</subtitle>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/'/>
<entry>
<title>merge: http://linuxtv.org/hg/~awalls/v4l-dvb</title>
<updated>2009-09-15T17:09:03+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-09-15T17:09:03+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=5c742b688922417548eae7f84f8979c6e08d9692'/>
<id>5c742b688922417548eae7f84f8979c6e08d9692</id>
<content type='text'>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cx18: Eliminate warning about discarding 'const' is assignment for IR init</title>
<updated>2009-09-07T17:32:45+00:00</updated>
<author>
<name>Andy Walls</name>
<email>awalls@radix.net</email>
</author>
<published>2009-09-07T17:32:45+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=a7ec580399a117b5f3320f4e0b252d0ba87917ba'/>
<id>a7ec580399a117b5f3320f4e0b252d0ba87917ba</id>
<content type='text'>
From: Andy Walls &lt;awalls@radix.net&gt;

i2c-kbd-i2c allows a bridge driver to pass information about IR configuration,
but uses a "void *" to pass along what is essentially constant data.  This
change casts a const * to a void * to remove the warning.

Priority: normal

Signed-off-by: Andy Walls &lt;awalls@radix.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Andy Walls &lt;awalls@radix.net&gt;

i2c-kbd-i2c allows a bridge driver to pass information about IR configuration,
but uses a "void *" to pass along what is essentially constant data.  This
change casts a const * to a void * to remove the warning.

Priority: normal

Signed-off-by: Andy Walls &lt;awalls@radix.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cx18: ir-kbd-i2c initialization data should point to a persistent object</title>
<updated>2009-09-05T13:58:37+00:00</updated>
<author>
<name>Andy Walls</name>
<email>awalls@radix.net</email>
</author>
<published>2009-09-05T13:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=38df09ba8b967b4d219c2afe04dcc1ae743e766f'/>
<id>38df09ba8b967b4d219c2afe04dcc1ae743e766f</id>
<content type='text'>
From: Andy Walls &lt;awalls@radix.net&gt;

ir-kbd-i2c's ir_probe() function can be called much later (i.e. at ir-kbd-i2c
module load), than the lifetime of a struct IR_i2c_init_data allocated off of
the stack in cx18_i2c_new_ir() at registration time.  Make sure we pass
a pointer to a persistent IR_i2c_init_data object at i2c registration time.

Thanks to Brain Rogers for pointing out a solution, and Dustin Mitchell for
testing against a 2.6.30 kernel.

Reported-by: Dustin Mitchell &lt;soxslayer@gmail.com&gt;
Reported-by: Brian Rogers &lt;brian@xyzw.org&gt;

Priority: high

Tested-by: Dustin Mitchell &lt;soxslayer@gmail.com&gt;
Signed-off-by: Andy Walls &lt;awalls@radix.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Andy Walls &lt;awalls@radix.net&gt;

ir-kbd-i2c's ir_probe() function can be called much later (i.e. at ir-kbd-i2c
module load), than the lifetime of a struct IR_i2c_init_data allocated off of
the stack in cx18_i2c_new_ir() at registration time.  Make sure we pass
a pointer to a persistent IR_i2c_init_data object at i2c registration time.

Thanks to Brain Rogers for pointing out a solution, and Dustin Mitchell for
testing against a 2.6.30 kernel.

Reported-by: Dustin Mitchell &lt;soxslayer@gmail.com&gt;
Reported-by: Brian Rogers &lt;brian@xyzw.org&gt;

Priority: high

Tested-by: Dustin Mitchell &lt;soxslayer@gmail.com&gt;
Signed-off-by: Andy Walls &lt;awalls@radix.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common/ir: use a struct for keycode tables</title>
<updated>2009-08-29T17:15:55+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-08-29T17:15:55+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=bd32278f17b34fcebbf9f4854996ff82eefeb334'/>
<id>bd32278f17b34fcebbf9f4854996ff82eefeb334</id>
<content type='text'>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Currently, V4L uses a scancode table whose index is the scancode and
the value is the keycode. While this works, it has some drawbacks:

1) It requires that the scancode to be at the range 00-7f;

2) keycodes should be masked on 7 bits in order for it to work;

3) due to the 7 bits approach, sometimes it is not possible to replace
the default keyboard to another one with a different encoding rule;

4) it is different than what is done with dvb-usb approach;

5) it requires a typedef for it to work. This is not a recommended
Linux CodingStyle.

This patch is part of a larger series of IR changes. It basically
replaces the IR_KEYTAB_TYPE tables by a structured table:
struct ir_scancode {
       u16     scancode;
       u32     keycode;
};

This is very close to what dvb does. So, a further integration with DVB
code will be easy.

While we've changed the tables, for now, the IR keycode handling is still
based on the old approach.

The only notable effect is the redution of about 35% of the ir-common
module size:

   text    data     bss     dec     hex filename
   6721   29208       4   35933    8c5d old/ir-common.ko
   5756   18040       4   23800    5cf8 new/ir-common.ko

In thesis, we could be using above u8 for scancode, reducing even more the size
of the module, but defining it as u16 is more convenient, since, on dvb, each
scancode has up to 16 bits, and we currently have a few troubles with rc5, as their
scancodes are defined with more than 8 bits.

This patch itself shouldn't be doing any functional changes.

Priority: normal

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Currently, V4L uses a scancode table whose index is the scancode and
the value is the keycode. While this works, it has some drawbacks:

1) It requires that the scancode to be at the range 00-7f;

2) keycodes should be masked on 7 bits in order for it to work;

3) due to the 7 bits approach, sometimes it is not possible to replace
the default keyboard to another one with a different encoding rule;

4) it is different than what is done with dvb-usb approach;

5) it requires a typedef for it to work. This is not a recommended
Linux CodingStyle.

This patch is part of a larger series of IR changes. It basically
replaces the IR_KEYTAB_TYPE tables by a structured table:
struct ir_scancode {
       u16     scancode;
       u32     keycode;
};

This is very close to what dvb does. So, a further integration with DVB
code will be easy.

While we've changed the tables, for now, the IR keycode handling is still
based on the old approach.

The only notable effect is the redution of about 35% of the ir-common
module size:

   text    data     bss     dec     hex filename
   6721   29208       4   35933    8c5d old/ir-common.ko
   5756   18040       4   23800    5cf8 new/ir-common.ko

In thesis, we could be using above u8 for scancode, reducing even more the size
of the module, but defining it as u16 is more convenient, since, on dvb, each
scancode has up to 16 bits, and we currently have a few troubles with rc5, as their
scancodes are defined with more than 8 bits.

This patch itself shouldn't be doing any functional changes.

Priority: normal

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>v4l: simplify v4l2_i2c_new_subdev and friends</title>
<updated>2009-08-10T05:49:08+00:00</updated>
<author>
<name>Hans Verkuil</name>
<email>hverkuil@xs4all.nl</email>
</author>
<published>2009-08-10T05:49:08+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=78b537e32fbc1e45a9d5fe1086c4e6c303661e53'/>
<id>78b537e32fbc1e45a9d5fe1086c4e6c303661e53</id>
<content type='text'>
From: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;

Rewrite v4l2_i2c_new_subdev as a simplified version of v4l2_i2c_new_subdev_cfg
and remove v4l2_i2c_new_probed_subdev and v4l2_i2c_new_probed_subdev_addr.

This simplifies this API substantially.

Priority: normal

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;

Rewrite v4l2_i2c_new_subdev as a simplified version of v4l2_i2c_new_subdev_cfg
and remove v4l2_i2c_new_probed_subdev and v4l2_i2c_new_probed_subdev_addr.

This simplifies this API substantially.

Priority: normal

Signed-off-by: Hans Verkuil &lt;hverkuil@xs4all.nl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cx18: Add i2c initialization for Z8F0811/Hauppage IR transceivers</title>
<updated>2009-07-28T14:48:18+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-07-28T14:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=0be3a0fdedcfa1995a6b1398ccea67554e7edad6'/>
<id>0be3a0fdedcfa1995a6b1398ccea67554e7edad6</id>
<content type='text'>
From: Andy Walls &lt;awalls@radix.net&gt;

This patch add support to the cx18 driver for setting up the
Z8F0811/Hauppauge IR Tx/Rx chip with the i2c binding model in newer
kernels.

Priority: normal

Signed-off-by: Andy Walls &lt;awalls@radix.net&gt;
Reviewed-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Douglas Schilling Landgraf &lt;dougsland@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Andy Walls &lt;awalls@radix.net&gt;

This patch add support to the cx18 driver for setting up the
Z8F0811/Hauppauge IR Tx/Rx chip with the i2c binding model in newer
kernels.

Priority: normal

Signed-off-by: Andy Walls &lt;awalls@radix.net&gt;
Reviewed-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Douglas Schilling Landgraf &lt;dougsland@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop defining I2C adapter IDs nobody uses</title>
<updated>2009-06-19T19:56:56+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-06-19T19:56:56+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=f47aedd6b5ff27a36bee52be6cd41b022375b133'/>
<id>f47aedd6b5ff27a36bee52be6cd41b022375b133</id>
<content type='text'>
From: Jean Delvare &lt;khali@linux-fr.org&gt;

There is no point in defining I2C adapter IDs when no code is using
them. As this field might go away in the future, stop using it when
we don't need to.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Jean Delvare &lt;khali@linux-fr.org&gt;

There is no point in defining I2C adapter IDs when no code is using
them. As this field might go away in the future, stop using it when
we don't need to.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cx18: Read buffer overflow</title>
<updated>2009-07-24T00:51:29+00:00</updated>
<author>
<name>Andy Walls</name>
<email>awalls@radix.net</email>
</author>
<published>2009-07-24T00:51:29+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=54a9310128f01c9c97607d99f52ced91e050e834'/>
<id>54a9310128f01c9c97607d99f52ced91e050e834</id>
<content type='text'>
From: Andy Walls &lt;awalls@radix.net&gt;

This mistakenly tested against sizeof(freqs) instead of the array size. Due to
the mask the only illegal value possible was 3.

Reported-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;

Priority: high

Signed-off-by: Andy Walls &lt;awalls@radix.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Andy Walls &lt;awalls@radix.net&gt;

This mistakenly tested against sizeof(freqs) instead of the array size. Due to
the mask the only illegal value possible was 3.

Reported-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;

Priority: high

Signed-off-by: Andy Walls &lt;awalls@radix.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>merge: http://linuxtv.org/hg/~awalls/v4l-dvb</title>
<updated>2009-07-05T21:58:38+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-07-05T21:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=59ad1e534e569f743df108421f369cbf915f2e6e'/>
<id>59ad1e534e569f743df108421f369cbf915f2e6e</id>
<content type='text'>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>merge: http://www.linuxtv.org/hg/~dougsland/v4l-dvb</title>
<updated>2009-07-05T21:52:23+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-07-05T21:52:23+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=21ffe960decd954bf2e0959e5d85ec5484477bbd'/>
<id>21ffe960decd954bf2e0959e5d85ec5484477bbd</id>
<content type='text'>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
