<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mediapointer-dvb-s2/linux/drivers/media/dvb/dm1105, 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>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>Create card parameters array in SDMC DM1105 driver.</title>
<updated>2009-07-22T20:30:25+00:00</updated>
<author>
<name>Igor M. Liplianin</name>
<email>liplianin@me.by</email>
</author>
<published>2009-07-22T20:30:25+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=0c962c2acd61e781501914a4b96fd47a707bccc5'/>
<id>0c962c2acd61e781501914a4b96fd47a707bccc5</id>
<content type='text'>
From: Igor M. Liplianin &lt;liplianin@me.by&gt;

Create card parameters array in SDMC DM1105 driver.
It is useful for cards with the same pci id, but different
tuners, lnb power control circuits, etc.

Signed-off-by: Igor M. Liplianin &lt;liplianin@me.by&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Igor M. Liplianin &lt;liplianin@me.by&gt;

Create card parameters array in SDMC DM1105 driver.
It is useful for cards with the same pci id, but different
tuners, lnb power control circuits, etc.

Signed-off-by: Igor M. Liplianin &lt;liplianin@me.by&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for yet another SDMC DM1105 based DVB-S card.</title>
<updated>2009-06-15T00:34:12+00:00</updated>
<author>
<name>Igor M. Liplianin</name>
<email>liplianin@me.by</email>
</author>
<published>2009-06-15T00:34:12+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=279ab5cb24214bc30fc83bb50f63d418498f00e8'/>
<id>279ab5cb24214bc30fc83bb50f63d418498f00e8</id>
<content type='text'>
From: Igor M. Liplianin &lt;liplianin@me.by&gt;

Add support for SDMC DM1105 based DVB-S cards with PCI ID 195d:1105
Also create separate workqueue for demuxing.

Signed-off-by: Igor M. Liplianin &lt;liplianin@me.by&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Igor M. Liplianin &lt;liplianin@me.by&gt;

Add support for SDMC DM1105 based DVB-S cards with PCI ID 195d:1105
Also create separate workqueue for demuxing.

Signed-off-by: Igor M. Liplianin &lt;liplianin@me.by&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>backport commit 284901a90a9e0b812ca3f5f852cbbfb60d10249d</title>
<updated>2009-04-14T13:25:59+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-04-14T13:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=2ec15a3bdd5af9a1ba399e60653b25cd322852e0'/>
<id>2ec15a3bdd5af9a1ba399e60653b25cd322852e0</id>
<content type='text'>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Author: Yang Hongyang &lt;yanghy@cn.fujitsu.com&gt;
    Date:   Mon Apr 6 19:01:15 2009 -0700

    dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)

    Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)

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;

Author: Yang Hongyang &lt;yanghy@cn.fujitsu.com&gt;
    Date:   Mon Apr 6 19:01:15 2009 -0700

    dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)

    Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)

Priority: normal

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm1105: uses ir_* functions, select VIDEO_IR</title>
<updated>2009-03-04T16:57:04+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-03-04T16:57:04+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=b6fa6a4b2489d8599ce71ae8bc9075cbd144caaa'/>
<id>b6fa6a4b2489d8599ce71ae8bc9075cbd144caaa</id>
<content type='text'>
From: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;

dm1105 uses the ir_*() functions, so it needs to select VIDEO_IR
to avoid build errors:

dm1105.c:(.text+0x26b7ac): undefined reference to `ir_input_keydown'
dm1105.c:(.text+0x26b7bc): undefined reference to `ir_input_nokey'
(.devinit.text+0x29982): undefined reference to `ir_codes_dm1105_nec'
(.devinit.text+0x2998a): undefined reference to `ir_input_init'

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.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: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;

dm1105 uses the ir_*() functions, so it needs to select VIDEO_IR
to avoid build errors:

dm1105.c:(.text+0x26b7ac): undefined reference to `ir_input_keydown'
dm1105.c:(.text+0x26b7bc): undefined reference to `ir_input_nokey'
(.devinit.text+0x29982): undefined reference to `ir_codes_dm1105_nec'
(.devinit.text+0x2998a): undefined reference to `ir_input_init'

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm1105: infrared remote code is remaked.</title>
<updated>2009-02-26T06:49:44+00:00</updated>
<author>
<name>Igor M. Liplianin</name>
<email>liplianin@me.by</email>
</author>
<published>2009-02-26T06:49:44+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=8f0863991e64abea1e4ff0141175905a2a9c5529'/>
<id>8f0863991e64abea1e4ff0141175905a2a9c5529</id>
<content type='text'>
From: Igor M. Liplianin &lt;liplianin@netup.ru&gt;

The driver infrared remote code part is altered to switch to a work queue.
Also ir_codes table moved to ir-common module for shared access.

Signed-off-by: Igor M. Liplianin &lt;liplianin@netup.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Igor M. Liplianin &lt;liplianin@netup.ru&gt;

The driver infrared remote code part is altered to switch to a work queue.
Also ir_codes table moved to ir-common module for shared access.

Signed-off-by: Igor M. Liplianin &lt;liplianin@netup.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm1105: not demuxing from interrupt context.</title>
<updated>2009-02-26T06:40:41+00:00</updated>
<author>
<name>Igor M. Liplianin</name>
<email>liplianin@me.by</email>
</author>
<published>2009-02-26T06:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=82b686055fe8bd37d7f9fa64c798834b755bd03d'/>
<id>82b686055fe8bd37d7f9fa64c798834b755bd03d</id>
<content type='text'>
From: Igor M. Liplianin &lt;liplianin@netup.ru&gt;

The driver already has DMA buffer organized like ringbuffer,
so it is easy to switch to a work queue.
Length of ringbuffer can easily be increased, if someone need it.

Signed-off-by: Igor M. Liplianin &lt;liplianin@netup.ru&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From: Igor M. Liplianin &lt;liplianin@netup.ru&gt;

The driver already has DMA buffer organized like ringbuffer,
so it is easy to switch to a work queue.
Length of ringbuffer can easily be increased, if someone need it.

Signed-off-by: Igor M. Liplianin &lt;liplianin@netup.ru&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm1105: Fix build with INPUT=m and DVB_DM1105=y</title>
<updated>2009-01-06T11:33:46+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2009-01-06T11:33:46+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=0de930aeb0009dc9c3a37f6553b7de630196fb68'/>
<id>0de930aeb0009dc9c3a37f6553b7de630196fb68</id>
<content type='text'>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

As reported by Randy Dunlap &lt;randy.dunlap@oracle.com&gt;:

With CONFIG_INPUT=m and CONFIG_DVB_DM1105=y:

drivers/built-in.o: In function `input_sync':
dm1105.c:(.text+0x120c33): undefined reference to `input_event'
drivers/built-in.o: In function `dm1105_emit_key':
dm1105.c:(.text+0x120c6c): undefined reference to `input_event'
dm1105.c:(.text+0x120c82): undefined reference to `input_event'
dm1105.c:(.text+0x120cb2): undefined reference to `input_event'
dm1105.c:(.text+0x120cd1): undefined reference to `input_event'
drivers/built-in.o: In function `dm1105_ir_init':
(.devinit.text+0xd8ae): undefined reference to `input_allocate_device'
drivers/built-in.o: In function `dm1105_ir_init':
(.devinit.text+0xd9f6): undefined reference to `input_register_device'
drivers/built-in.o: In function `dm1105_ir_init':
(.devinit.text+0xda09): undefined reference to `input_free_device'
drivers/built-in.o: In function `dm1105_ir_exit':
(.devexit.text+0xcde): undefined reference to `input_unregister_device'

This is due to the lack of a dependency between dm1105 and CONFIG_INPUT

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

As reported by Randy Dunlap &lt;randy.dunlap@oracle.com&gt;:

With CONFIG_INPUT=m and CONFIG_DVB_DM1105=y:

drivers/built-in.o: In function `input_sync':
dm1105.c:(.text+0x120c33): undefined reference to `input_event'
drivers/built-in.o: In function `dm1105_emit_key':
dm1105.c:(.text+0x120c6c): undefined reference to `input_event'
dm1105.c:(.text+0x120c82): undefined reference to `input_event'
dm1105.c:(.text+0x120cb2): undefined reference to `input_event'
dm1105.c:(.text+0x120cd1): undefined reference to `input_event'
drivers/built-in.o: In function `dm1105_ir_init':
(.devinit.text+0xd8ae): undefined reference to `input_allocate_device'
drivers/built-in.o: In function `dm1105_ir_init':
(.devinit.text+0xd9f6): undefined reference to `input_register_device'
drivers/built-in.o: In function `dm1105_ir_init':
(.devinit.text+0xda09): undefined reference to `input_free_device'
drivers/built-in.o: In function `dm1105_ir_exit':
(.devexit.text+0xcde): undefined reference to `input_unregister_device'

This is due to the lack of a dependency between dm1105 and CONFIG_INPUT

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
CC:  Igor M. Liplianin &lt;liplianin@me.by&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>backport commit 7c510e4b730a92cecf94ada45c989d8be0200d47</title>
<updated>2008-10-28T00:47:26+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2008-10-28T00:47:26+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=ea995c822add678fd16748cc6b9d1f180ca3e801'/>
<id>ea995c822add678fd16748cc6b9d1f180ca3e801</id>
<content type='text'>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

Author: Johannes Berg &lt;johannes@sipsolutions.net&gt;

    net: convert more to %pM

    A number of places still use %02x:...:%02x because it's
    in debug statements or for no real reason. Make a few
    of them use %pM.

kernel-sync:

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;

Author: Johannes Berg &lt;johannes@sipsolutions.net&gt;

    net: convert more to %pM

    A number of places still use %02x:...:%02x because it's
    in debug statements or for no real reason. Make a few
    of them use %pM.

kernel-sync:

Priority: normal

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix boards for kernels with algo_control</title>
<updated>2008-11-25T11:07:00+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2008-11-25T11:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/mediapointer-dvb-s2/commit/?id=564d21054d1f61d9448a93b3fa8a254a29713d26'/>
<id>564d21054d1f61d9448a93b3fa8a254a29713d26</id>
<content type='text'>
From: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;

changeset 4ecae6da8244 removed algo_control from i2c drivers. However,
on older kernels, a dummy function to implement algo_control is required,
otherwise, an OOPS is generated.

This patch adds a backport for all i2c drivers that defines an
i2c_algorithm, except for cafe_ccic, since OLPC hardware only works
for kernels newer than 2.6.19.

Some of the backported drivers would need also extra changes to work with
older kernels, as specified on v4l/versions.txt. Yet, I decided to add
the backport for those drivers also, since the lack of algo_control doesn't
generate any compilation error, but it is enough to break the driver. So,
better to all for all boards than to allow compiling a kernel backported that
just generates OOPS.

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;

changeset 4ecae6da8244 removed algo_control from i2c drivers. However,
on older kernels, a dummy function to implement algo_control is required,
otherwise, an OOPS is generated.

This patch adds a backport for all i2c drivers that defines an
i2c_algorithm, except for cafe_ccic, since OLPC hardware only works
for kernels newer than 2.6.19.

Some of the backported drivers would need also extra changes to work with
older kernels, as specified on v4l/versions.txt. Yet, I decided to add
the backport for those drivers also, since the lack of algo_control doesn't
generate any compilation error, but it is enough to break the driver. So,
better to all for all boards than to allow compiling a kernel backported that
just generates OOPS.

Priority: normal

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