<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/media/IR, branch v2.6.36</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>V4L/DVB: ir-core: Fix null dereferences in the protocols sysfs interface</title>
<updated>2010-09-30T10:18:37+00:00</updated>
<author>
<name>Brian Rogers</name>
<email>brian@xyzw.org</email>
</author>
<published>2010-09-22T11:06:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a08c7c68f702e2a2797a4035b6c0a756c4886c26'/>
<id>a08c7c68f702e2a2797a4035b6c0a756c4886c26</id>
<content type='text'>
For some cards, ir_dev-&gt;props and ir_dev-&gt;raw are both NULL. These cards are
using built-in IR decoding instead of raw, and can't easily be made to switch
protocols.

So upon reading /sys/class/rc/rc?/protocols on such a card, return 'builtin' as
the supported and enabled protocol. Return -EINVAL on any attempts to change
the protocol. And most important of all, don't crash.

Signed-off-by: Brian Rogers &lt;brian@xyzw.org&gt;
Acked-by: Jarod Wilson &lt;jarod@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>
For some cards, ir_dev-&gt;props and ir_dev-&gt;raw are both NULL. These cards are
using built-in IR decoding instead of raw, and can't easily be made to switch
protocols.

So upon reading /sys/class/rc/rc?/protocols on such a card, return 'builtin' as
the supported and enabled protocol. Return -EINVAL on any attempts to change
the protocol. And most important of all, don't crash.

Signed-off-by: Brian Rogers &lt;brian@xyzw.org&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>V4L/DVB: IR: extend MCE keymap</title>
<updated>2010-09-28T01:21:56+00:00</updated>
<author>
<name>Maxim Levitsky</name>
<email>maximlevitsky@gmail.com</email>
</author>
<published>2010-09-06T21:26:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=00a220aa98133dc43c6f7016c218aaf3afd66e11'/>
<id>00a220aa98133dc43c6f7016c218aaf3afd66e11</id>
<content type='text'>
These keys are found on remote bundled with
Toshiba Qosmio F50-10q.

Found and tested by, Sami R &lt;maesesami@gmail.com&gt;

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@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>
These keys are found on remote bundled with
Toshiba Qosmio F50-10q.

Found and tested by, Sami R &lt;maesesami@gmail.com&gt;

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>V4L/DVB: IR: fix keys beeing stuck down forever</title>
<updated>2010-09-28T01:21:55+00:00</updated>
<author>
<name>Maxim Levitsky</name>
<email>maximlevitsky@gmail.com</email>
</author>
<published>2010-09-06T21:26:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e0172fd373ab77a83ea952fd6a75c612e1b0bf9e'/>
<id>e0172fd373ab77a83ea952fd6a75c612e1b0bf9e</id>
<content type='text'>
The logic in ir_timer_keyup was inverted.

In case that values aren't equal,
the meaning of the time_is_after_eq_jiffies(ir-&gt;keyup_jiffies) is that
ir-&gt;keyup_jiffies is after the the jiffies or equally that
that jiffies are before the the ir-&gt;keyup_jiffies which is
exactly the situation we want to avoid (that the timeout is in the future)
Confusing Eh?

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The logic in ir_timer_keyup was inverted.

In case that values aren't equal,
the meaning of the time_is_after_eq_jiffies(ir-&gt;keyup_jiffies) is that
ir-&gt;keyup_jiffies is after the the jiffies or equally that
that jiffies are before the the ir-&gt;keyup_jiffies which is
exactly the situation we want to avoid (that the timeout is in the future)
Confusing Eh?

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>V4L/DVB: IR: fix duty cycle capability</title>
<updated>2010-09-28T01:21:54+00:00</updated>
<author>
<name>Maxim Levitsky</name>
<email>maximlevitsky@gmail.com</email>
</author>
<published>2010-09-06T21:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=67332ba83242f814490884161fee8676a9fd8a09'/>
<id>67332ba83242f814490884161fee8676a9fd8a09</id>
<content type='text'>
Due to typo lirc bridge enabled wrong capability.

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@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>
Due to typo lirc bridge enabled wrong capability.

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>V4L/DVB: rc-core: increase repeat time</title>
<updated>2010-09-28T01:21:53+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2010-09-08T15:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=04cab131ce2a267b6777a98d68fbc0cae44d4ba8'/>
<id>04cab131ce2a267b6777a98d68fbc0cae44d4ba8</id>
<content type='text'>
As reported by Anton Blanchard &lt;anton@samba.org&gt;, double IR events on
2.6.36-rc2 and a DViCO FusionHDTV DVB-T Dual Express are happening:

[ 1351.032084] ir_keydown: i2c IR (FusionHDTV): key down event, key 0x0067, scancode 0x0051
[ 1351.281284] ir_keyup: keyup key 0x0067

ie one key down event and one key up event 250ms later.

So, we need to increase the repeat timeout, to avoid this bug to hit.

As we're doing it at core, this fix is not needed anymore at dib0700 driver.

Thanks-to: Anton Blanchard &lt;anton@samba.org&gt;
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As reported by Anton Blanchard &lt;anton@samba.org&gt;, double IR events on
2.6.36-rc2 and a DViCO FusionHDTV DVB-T Dual Express are happening:

[ 1351.032084] ir_keydown: i2c IR (FusionHDTV): key down event, key 0x0067, scancode 0x0051
[ 1351.281284] ir_keyup: keyup key 0x0067

ie one key down event and one key up event 250ms later.

So, we need to increase the repeat timeout, to avoid this bug to hit.

As we're doing it at core, this fix is not needed anymore at dib0700 driver.

Thanks-to: Anton Blanchard &lt;anton@samba.org&gt;
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>V4L/DVB: mceusb: add two new ASUS device IDs</title>
<updated>2010-09-28T01:21:52+00:00</updated>
<author>
<name>Jarod Wilson</name>
<email>jarod@redhat.com</email>
</author>
<published>2010-08-27T21:21:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c13df9cf6b1cad7fd088c9acceb98b6bffd9ca31'/>
<id>c13df9cf6b1cad7fd088c9acceb98b6bffd9ca31</id>
<content type='text'>
Reported in lirc sf.net tracker and on lirc mailing list

Signed-off-by: Jarod Wilson &lt;jarod@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>
Reported in lirc sf.net tracker and on lirc mailing list

Signed-off-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>V4L/DVB: IR: ir-raw-event: null pointer dereference</title>
<updated>2010-09-28T01:21:46+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2010-08-12T07:47:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=028816bc85db5ac6a562c2aff2113c7480d67919'/>
<id>028816bc85db5ac6a562c2aff2113c7480d67919</id>
<content type='text'>
The original code dereferenced ir-&gt;raw after freeing it and setting it
to NULL.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@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>
The original code dereferenced ir-&gt;raw after freeing it and setting it
to NULL.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>V4L/DVB: Fix IR_CORE dependencies</title>
<updated>2010-08-12T18:07:48+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2010-08-09T13:07:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cfec93f769542a8893dc45c2d7ee4e9e72d3bd2d'/>
<id>cfec93f769542a8893dc45c2d7ee4e9e72d3bd2d</id>
<content type='text'>
As pointed by Randy Dunlap &lt;randy.dunlap@oracle.com&gt;:
&gt; ERROR: "ir_keydown" [drivers/media/video/ir-kbd-i2c.ko] undefined!
&gt; ERROR: "__ir_input_register" [drivers/media/video/ir-kbd-i2c.ko] undefined!
&gt; ERROR: "get_rc_map" [drivers/media/video/ir-kbd-i2c.ko] undefined!
&gt; ERROR: "ir_input_unregister" [drivers/media/video/ir-kbd-i2c.ko] undefined!
&gt; ERROR: "get_rc_map" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "ir_repeat" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "ir_input_unregister" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "ir_keydown" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "__ir_input_register" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "get_rc_map" [drivers/media/video/bt8xx/bttv.ko] undefined!
&gt; ERROR: "ir_input_unregister" [drivers/media/video/bt8xx/bttv.ko] undefined!
&gt; ERROR: "__ir_input_register" [drivers/media/video/bt8xx/bttv.ko] undefined!
&gt; ERROR: "ir_g_keycode_from_table" [drivers/media/IR/ir-common.ko] undefined!
&gt;
&gt;
&gt; #5101:
&gt; (.text+0x8306e2): undefined reference to `ir_core_debug'
&gt; (.text+0x830729): undefined reference to `ir_core_debug'
&gt; ir-functions.c:(.text+0x830906): undefined reference to `ir_core_debug'
&gt; (.text+0x8309d8): undefined reference to `ir_g_keycode_from_table'
&gt; (.text+0x830acf): undefined reference to `ir_core_debug'
&gt; (.text+0x830b92): undefined reference to `ir_core_debug'
&gt; (.text+0x830bef): undefined reference to `ir_core_debug'
&gt; (.text+0x830c6a): undefined reference to `ir_core_debug'
&gt; (.text+0x830cf7): undefined reference to `ir_core_debug'
&gt; budget-ci.c:(.text+0x89f5c8): undefined reference to `ir_keydown'
&gt; budget-ci.c:(.text+0x8a0c58): undefined reference to `get_rc_map'
&gt; budget-ci.c:(.text+0x8a0c80): undefined reference to `__ir_input_register'
&gt; budget-ci.c:(.text+0x8a0ee0): undefined reference to `get_rc_map'
&gt; budget-ci.c:(.text+0x8a11cd): undefined reference to `ir_input_unregister'
&gt; (.text+0x8a8adb): undefined reference to `ir_input_unregister'
&gt; dvb-usb-remote.c:(.text+0x8a9188): undefined reference to `get_rc_map'
&gt; dvb-usb-remote.c:(.text+0x8a91b1): undefined reference to `__ir_input_register'
&gt; dvb-usb-remote.c:(.text+0x8a9238): undefined reference to `get_rc_map'
&gt; dib0700_core.c:(.text+0x8b04ca): undefined reference to `ir_keydown'
&gt; dib0700_devices.c:(.text+0x8b2ea8): undefined reference to `ir_keydown'
&gt; dib0700_devices.c:(.text+0x8b2ef0): undefined reference to `ir_keydown'

Those breakages seem to be caused by two bad things at IR_CORE Kconfig:

1) cx23885 is using select for IR_CORE;
2) the dvb-usb and sms dependency for IR_CORE were missing.

While here, allow users to un-select IR.

Acked-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>
As pointed by Randy Dunlap &lt;randy.dunlap@oracle.com&gt;:
&gt; ERROR: "ir_keydown" [drivers/media/video/ir-kbd-i2c.ko] undefined!
&gt; ERROR: "__ir_input_register" [drivers/media/video/ir-kbd-i2c.ko] undefined!
&gt; ERROR: "get_rc_map" [drivers/media/video/ir-kbd-i2c.ko] undefined!
&gt; ERROR: "ir_input_unregister" [drivers/media/video/ir-kbd-i2c.ko] undefined!
&gt; ERROR: "get_rc_map" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "ir_repeat" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "ir_input_unregister" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "ir_keydown" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "__ir_input_register" [drivers/media/video/cx88/cx88xx.ko] undefined!
&gt; ERROR: "get_rc_map" [drivers/media/video/bt8xx/bttv.ko] undefined!
&gt; ERROR: "ir_input_unregister" [drivers/media/video/bt8xx/bttv.ko] undefined!
&gt; ERROR: "__ir_input_register" [drivers/media/video/bt8xx/bttv.ko] undefined!
&gt; ERROR: "ir_g_keycode_from_table" [drivers/media/IR/ir-common.ko] undefined!
&gt;
&gt;
&gt; #5101:
&gt; (.text+0x8306e2): undefined reference to `ir_core_debug'
&gt; (.text+0x830729): undefined reference to `ir_core_debug'
&gt; ir-functions.c:(.text+0x830906): undefined reference to `ir_core_debug'
&gt; (.text+0x8309d8): undefined reference to `ir_g_keycode_from_table'
&gt; (.text+0x830acf): undefined reference to `ir_core_debug'
&gt; (.text+0x830b92): undefined reference to `ir_core_debug'
&gt; (.text+0x830bef): undefined reference to `ir_core_debug'
&gt; (.text+0x830c6a): undefined reference to `ir_core_debug'
&gt; (.text+0x830cf7): undefined reference to `ir_core_debug'
&gt; budget-ci.c:(.text+0x89f5c8): undefined reference to `ir_keydown'
&gt; budget-ci.c:(.text+0x8a0c58): undefined reference to `get_rc_map'
&gt; budget-ci.c:(.text+0x8a0c80): undefined reference to `__ir_input_register'
&gt; budget-ci.c:(.text+0x8a0ee0): undefined reference to `get_rc_map'
&gt; budget-ci.c:(.text+0x8a11cd): undefined reference to `ir_input_unregister'
&gt; (.text+0x8a8adb): undefined reference to `ir_input_unregister'
&gt; dvb-usb-remote.c:(.text+0x8a9188): undefined reference to `get_rc_map'
&gt; dvb-usb-remote.c:(.text+0x8a91b1): undefined reference to `__ir_input_register'
&gt; dvb-usb-remote.c:(.text+0x8a9238): undefined reference to `get_rc_map'
&gt; dib0700_core.c:(.text+0x8b04ca): undefined reference to `ir_keydown'
&gt; dib0700_devices.c:(.text+0x8b2ea8): undefined reference to `ir_keydown'
&gt; dib0700_devices.c:(.text+0x8b2ef0): undefined reference to `ir_keydown'

Those breakages seem to be caused by two bad things at IR_CORE Kconfig:

1) cx23885 is using select for IR_CORE;
2) the dvb-usb and sms dependency for IR_CORE were missing.

While here, allow users to un-select IR.

Acked-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>V4L/DVB: media: ir-keytable: null dereference in debug code</title>
<updated>2010-08-09T02:43:06+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2010-08-06T06:31:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ede67a30f549e1872be57e7d6f5f9dd97bb372ae'/>
<id>ede67a30f549e1872be57e7d6f5f9dd97bb372ae</id>
<content type='text'>
"ir_dev-&gt;props" can be NULL.  We only use raw mode if "ir_dev-&gt;props" is
non-NULL and "ir_dev-&gt;props-&gt;driver_type == RC_DRIVER_IR_RAW".

Signed-off-by: Dan Carpenter &lt;error27@gmail.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>
"ir_dev-&gt;props" can be NULL.  We only use raw mode if "ir_dev-&gt;props" is
non-NULL and "ir_dev-&gt;props-&gt;driver_type == RC_DRIVER_IR_RAW".

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>V4L/DVB: IR keymap: Add print button for HP OEM version of MCE remote</title>
<updated>2010-08-09T02:43:00+00:00</updated>
<author>
<name>Andy Walls</name>
<email>awalls@md.metrocast.net</email>
</author>
<published>2010-07-31T17:23:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=df49d113d16b18070b3d51832f3a02145eeb354b'/>
<id>df49d113d16b18070b3d51832f3a02145eeb354b</id>
<content type='text'>
This patch adds a defintion for the "Print" button found on HP OEM
versions of the MCE remote.  All of the other keys found on the HP OEM
version of the remote match the other keys as already defined.

Because, who doesn't need "remote printing", while one is sitting on the
couch across from one's PC? ;)

Signed-off-by: Andy Walls &lt;awalls@md.metrocast.net&gt;
Acked-by: Jarod Wilson &lt;jarod@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>
This patch adds a defintion for the "Print" button found on HP OEM
versions of the MCE remote.  All of the other keys found on the HP OEM
version of the remote match the other keys as already defined.

Because, who doesn't need "remote printing", while one is sitting on the
couch across from one's PC? ;)

Signed-off-by: Andy Walls &lt;awalls@md.metrocast.net&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
