public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Revisiting ITE8708 on ASUS PN50 uses a 16 byte io region
@ 2021-03-17 14:41 Nikolaos Beredimas
  2021-03-18  9:48 ` Sean Young
  0 siblings, 1 reply; 5+ messages in thread
From: Nikolaos Beredimas @ 2021-03-17 14:41 UTC (permalink / raw)
  To: linux-media; +Cc: sean

Hi,
There was a thread on this list last September
https://www.spinics.net/lists/linux-media/msg177724.html
about the IR module on the ASUS PN50.

Even though that discussion never fully resolved,
it did contain the solution to get the IR working on the PN50.
I have documented this at
https://forum.libreelec.tv/thread/23145-asus-pn50-challenge/?postID=152207#post152207

So, what I had to do is edit a single line of drivers/media/rc/ite-cir.h
and change IT8708_IOREG_LENGTH 0x08 to IT8708_IOREG_LENGTH 0x10
and the IR module is now recognized and working

How do I go about submitting this as a patch?
I am a little overwhelmed honestly.
Do I follow https://www.linuxtv.org/wiki/index.php/Development:_How_to_submit_patches
?
And which git tree?

--- a/drivers/media/rc/ite-cir.h
+++ b/drivers/media/rc/ite-cir.h
@@ -406,7 +406,7 @@
 #define IT8708_C0WCR 0x06 /* wakeup code read/write register */
 #define IT8708_C0WPS 0x07 /* wakeup power control/status register */

-#define IT8708_IOREG_LENGTH 0x08 /* length of register file */
+#define IT8708_IOREG_LENGTH 0x10 /* length of register file */

 /* two more registers that are defined in the hacked driver, but can't be
  * found in the data sheets; no idea what they are or how they are accessed,

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-20 22:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17 14:41 Revisiting ITE8708 on ASUS PN50 uses a 16 byte io region Nikolaos Beredimas
2021-03-18  9:48 ` Sean Young
2021-03-19 21:50   ` Nikolaos Beredimas
     [not found]     ` <CAHp75VdQw=2J090w77bJVAY0UOyj1UcerZNDqyz_9dawVmK=-A@mail.gmail.com>
2021-03-20 21:58       ` Nikolaos Beredimas
2021-03-20 22:06         ` Sean Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox