On 7 July 2016 at 00:25, Heiner Kallweit <hkallwe...@gmail.com> wrote:
> Am 06.07.2016 um 08:51 schrieb Antti Seppälä:
>> Hello.
>>
>> I recently updated my kernel to a newer version but couldn't boot it
>> because it hangs.
>>
>> It turns out tha
missed this...
Yes, after discussing with David I think we can do the wakeup with
even better API than with the one we currently have.
So without further ado:
Acked-by: Antti Seppälä a.sepp...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message
On 14 June 2015 at 02:44, David Härdeman da...@hardeman.nu wrote:
One idea that I've had in the back of my head for a long time is to use the
flags member of struct rc_keymap_entry in the new EVIOC[GS]KEYCODE_V2
ioctl variant (see http://www.spinics.net/lists/linux-media/msg88452.html).
If a
On 22 May 2015 at 13:33, David Härdeman da...@hardeman.nu wrote:
On 2015-05-22 07:27, Antti Seppälä wrote:
On 21 May 2015 at 22:40, David Härdeman da...@hardeman.nu wrote:
On Thu, May 21, 2015 at 05:22:08PM +0300, Antti Seppälä wrote:
On 21 May 2015 at 15:30, David Härdeman da
On 20 May 2015 at 23:45, David Härdeman da...@hardeman.nu wrote:
On Wed, May 20, 2015 at 10:26:54PM +0300, Antti Seppälä wrote:
On 20 May 2015 at 21:29, David Härdeman da...@hardeman.nu wrote:
On Wed, May 20, 2015 at 07:46:21PM +0300, Antti Seppälä wrote:
On 19 May 2015 at 23:38, David Härdeman
On 21 May 2015 at 12:14, David Härdeman da...@hardeman.nu wrote:
On 2015-05-21 09:53, Antti Seppälä wrote:
On 20 May 2015 at 23:45, David Härdeman da...@hardeman.nu wrote:
On Wed, May 20, 2015 at 10:26:54PM +0300, Antti Seppälä wrote:
On 20 May 2015 at 21:29, David Härdeman da
On 21 May 2015 at 15:30, David Härdeman da...@hardeman.nu wrote:
On 2015-05-21 13:51, Antti Seppälä wrote:
On 21 May 2015 at 12:14, David Härdeman da...@hardeman.nu wrote:
I'm talking about ir_raw_encode_scancode() which is entirely broken in
its
current state. It will, given more than one
On 21 May 2015 at 22:40, David Härdeman da...@hardeman.nu wrote:
On Thu, May 21, 2015 at 05:22:08PM +0300, Antti Seppälä wrote:
On 21 May 2015 at 15:30, David Härdeman da...@hardeman.nu wrote:
On 2015-05-21 13:51, Antti Seppälä wrote:
On 21 May 2015 at 12:14, David Härdeman da...@hardeman.nu
On 19 May 2015 at 23:38, David Härdeman da...@hardeman.nu wrote:
On Tue, Mar 31, 2015 at 08:48:06PM +0300, Antti Seppälä wrote:
From: James Hogan ja...@albanarts.com
Add a callback to raw ir handlers for encoding and modulating a scancode
to a set of raw events. This could be used for transmit
On 20 May 2015 at 21:29, David Härdeman da...@hardeman.nu wrote:
On Wed, May 20, 2015 at 07:46:21PM +0300, Antti Seppälä wrote:
On 19 May 2015 at 23:38, David Härdeman da...@hardeman.nu wrote:
On Tue, Mar 31, 2015 at 08:48:06PM +0300, Antti Seppälä wrote:
From: James Hogan ja...@albanarts.com
-by: Antti Seppälä a.sepp...@gmail.com
Signed-off-by: James Hogan ja...@albanarts.com
Cc: Jarod Wilson ja...@redhat.com
---
Notes:
Changes in v3:
- Ported to apply against latest media-tree
- Checkpatch.pl fixes
Changes in v2 (James Hogan):
- Handle new -ENOBUFS when IR
From: James Hogan ja...@albanarts.com
Add the s_wakeup_filter callback to the rc-loopback driver, which instead of
setting the filter just feeds the scancode back through the input device
so that it can be verified.
Signed-off-by: James Hogan ja...@albanarts.com
Signed-off-by: Antti Seppälä
of raw IR encoders.
As well as updating the sysfs interface to know which wakeup protocols
are allowed for encode_wakeup drivers, also ensure that the IR
decoders/encoders are loaded when an encode_wakeup driver is registered.
Signed-off-by: James Hogan ja...@albanarts.com
Signed-off-by: Antti Seppälä
-by: James Hogan ja...@albanarts.com
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
Cc: David Härdeman da...@hardeman.nu
---
Notes:
Changes in v3:
- Ported to apply against latest media-tree
Changes in v2:
- Alter encode API to return -ENOBUFS when there isn't enough buffer
several times with various
timings so that RC-6 header preamble, the header, header trailing bit
and the data itself can be modulated correctly.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
Cc: James Hogan ja...@albanarts.com
Cc: David Härdeman da...@hardeman.nu
---
Notes:
Changes in v3
that it can
continue the space.
The encoding in RC-5-SZ first inserts a pulse and then simply utilizes
the generic Manchester encoder available in rc-core.
Signed-off-by: James Hogan ja...@albanarts.com
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
Cc: David Härdeman da...@hardeman.nu
---
Notes
to apply against latest media-tree
- Fixed new checkpatch.pl warnings
- Dropped nec scancode support for now
- Merged separate encoders for rc-5 and rc5-sz into single encoder
- Added rc-6 encoder
Cc: James Hogan ja...@albanarts.com
Cc: David Härdeman da...@hardeman.nu
Antti Seppälä (3):
rc: rc
Adding a simple Manchester encoder to rc-core.
Manchester coding is used by at least RC-5 and RC-6 protocols and their
variants.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
Signed-off-by: James Hogan ja...@albanarts.com
Cc: David Härdeman da...@hardeman.nu
---
Notes:
Changes in v3
write failed -32
[8.212038] rtl2832 7-0010: i2c reg write failed -32
I'm obviously not too happy about this patch as it slows down the
firmware download but I have not found a way to keep larger chunks in
place and have a working firmware download at the same time.
Signed-off-by: Antti
On 19 February 2015 at 11:43, Benjamin Larsson benja...@southpole.se wrote:
On 2015-02-19 10:13, Antti Seppälä wrote:
It seems that currently the firmware download on the mn88472 is
somehow wrong for my Astrometa HD-901T2.
Reducing the download chunk size (mn88472_config.i2c_wr_max) to 2
On 19 February 2015 at 18:14, Antti Palosaari cr...@iki.fi wrote:
On 02/19/2015 06:01 PM, Antti Seppälä wrote:
On 19 February 2015 at 17:38, Antti Palosaari cr...@iki.fi wrote:
On 02/19/2015 12:21 PM, Antti Seppälä wrote:
On 19 February 2015 at 11:43, Benjamin Larsson benja...@southpole.se
On 19 February 2015 at 17:38, Antti Palosaari cr...@iki.fi wrote:
On 02/19/2015 12:21 PM, Antti Seppälä wrote:
On 19 February 2015 at 11:43, Benjamin Larsson benja...@southpole.se
wrote:
On 2015-02-19 10:13, Antti Seppälä wrote:
It seems that currently the firmware download
discussion...
Here's the original discussion:
On Monday 10 February 2014 21:45:30 Antti Seppälä wrote:
On 10 February 2014 11:58, James Hogan james.ho...@imgtec.com wrote:
On Saturday 08 February 2014 13:30:01 Antti Seppälä wrote:
Also adding the scancode filter to it would
demonstrate its
On 16 March 2014 23:18, James Hogan ja...@albanarts.com wrote:
Fair enough. So changing the minimum rc5-sz masks to 0x3fff sounds reasonable
to allow toggle to be controlled.
Just to clarify though, so you mean that the remote uses toggle=1 first (and
in repeat codes) unless you press it a
Hi James,
On 17 March 2014 00:41, James Hogan ja...@albanarts.com wrote:
Yeh I'm in two minds about this now. It's actually a little awkward since some
of the protocols have multiple variants (i.e. rc-5 = RC5+RC5X), but an
encoded message is only ever a single variant, so technically if
for hardware with a low level wake filter (on the
level of pulse/space durations) can still easily implement the higher
level scancode interface that is proposed.
I posted an RFC patchset showing how this could work, and Antti Seppälä
posted additional patches to support rc5-sz and nuvoton-cir
On 15 March 2014 01:04, James Hogan ja...@albanarts.com wrote:
From: Antti Seppälä a.sepp...@gmail.com
The encoding in rc5-sz first inserts a pulse and then simply utilizes the
generic Manchester encoder available in rc-core.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
Signed-off
On 15 March 2014 01:04, James Hogan ja...@albanarts.com wrote:
From: Antti Seppälä a.sepp...@gmail.com
Nuvoton-cir utilizes the encoding capabilities of rc-core to convert
scancodes from user space to pulse/space format understood by the
underlying hardware.
Converted samples
Hi James.
On 16 March 2014 13:50, James Hogan ja...@albanarts.com wrote:
Hi Antti,
On Sunday 16 March 2014 10:34:31 Antti Seppälä wrote:
+
+ /* all important bits of scancode should be set in mask */
+ if (~scancode-mask 0x2fff)
Do we want to be so restrictive here? In my
...@suse.cz
Cc: Antti Seppälä a.sepp...@gmail.com
After reviewing the series and porting my nuvoton changes to it I
haven't noticed any errors worth mentioning.
In fact I think this series is very well written and should be merged.
James, I hope you also have the time to submit the ir encoder
.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
Cc: Mauro Carvalho Chehab m.che...@samsung.com
Cc: Jarod Wilson ja...@redhat.com
---
drivers/media/rc/nuvoton-cir.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c
index b41e52e
completely fit
- Check filter mask in encoder
- Append some trailing ir silence to the encoded result
- Some cleanups and readability improvements
Antti Seppälä (3):
rc-core: Add Manchester encoder (phase encoder) support to rc-core
ir-rc5-sz: Add ir encoding support
nuvoton-cir: Add
Adding a simple Manchester encoder to rc-core.
Manchester coding is used by at least RC-5 protocol and its variants.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/ir-raw.c | 56 +
drivers/media/rc/rc-core-priv.h | 16
On 12 February 2014 01:39, James Hogan james.ho...@imgtec.com wrote:
On Tuesday 11 February 2014 20:14:19 Antti Seppälä wrote:
Are you working on the wakeup protocol selector sysfs interface?
I gave it a try yesterday, but it's a bit of a work in progress at the moment.
It's also a bit more
On 10 February 2014 22:50, James Hogan james.ho...@imgtec.com wrote:
I suspect it needs some more space at the end too, to be sure that no
more bits afterwards are accepted.
I'm sorry but I'm not sure I completely understood what you meant
here. For RC-5-SZ the entire scancode gets encoded
On 10 February 2014 11:58, James Hogan james.ho...@imgtec.com wrote:
Hi Antti,
On 08/02/14 11:30, Antti Seppälä wrote:
The first patch adds an encode callback to the existing raw ir handler
struct and a helper function to encode a scancode for a given protocol.
The mechanism used here
Hi James.
On 10 February 2014 12:25, James Hogan james.ho...@imgtec.com wrote:
Hi Antti,
On 08/02/14 12:07, Antti Seppälä wrote:
Adding a simple Manchester encoder to rc-core.
Manchester coding is used by at least RC-5 protocol and its variants.
Signed-off-by: Antti Seppälä a.sepp
Hi James.
On 10 February 2014 12:30, James Hogan james.ho...@imgtec.com wrote:
Hi Antti,
On 08/02/14 12:07, Antti Seppälä wrote:
The encoding in rc5-sz first inserts a pulse and then simply utilizes the
generic Manchester encoder available in rc-core.
Signed-off-by: Antti Seppälä a.sepp
On 6 February 2014 21:59, James Hogan james.ho...@imgtec.com wrote:
A recent discussion about proposed interfaces for setting up the
hardware wakeup filter lead to the conclusion that it could help to have
the generic capability to encode and modulate scancodes into raw IR
events so that
Adding a simple Manchester encoder to rc-core.
Manchester coding is used by at least RC-5 protocol and its variants.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/ir-raw.c | 44 +
drivers/media/rc/rc-core-priv.h | 14
.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/nuvoton-cir.c | 121 +
drivers/media/rc/nuvoton-cir.h | 1 +
include/media/rc-core.h| 1 +
3 files changed, 123 insertions(+)
diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers
from sysfs
and utilize encoding to convert the scancodes to format understood by the
underlying hardware.
Antti Seppälä (3):
rc-core: Add Manchester encoder (phase encoder) support to rc-core
ir-rc5-sz: Add ir encoding support
nuvoton-cir: Add support for writing wakeup samples via sysfs
The encoding in rc5-sz first inserts a pulse and then simply utilizes the
generic Manchester encoder available in rc-core.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/ir-rc5-sz-decoder.c | 35 +++
1 file changed, 35 insertions(+)
diff
On 5 February 2014 11:42, James Hogan james.ho...@imgtec.com wrote:
On 05/02/14 09:39, James Hogan wrote:
Hi Antti,
On 05/02/14 07:03, Antti Seppälä wrote:
To wake up with nuvoton-cir we need to program several raw ir
pulse/space lengths to the hardware and not a scancode. James's
approach
On 4 February 2014 19:54, Mauro Carvalho Chehab m.che...@samsung.com wrote:
Em Thu, 23 Jan 2014 21:11:09 +0200
Antti Seppälä a.sepp...@gmail.com escreveu:
On 23 January 2014 00:01, Mauro Carvalho Chehab m.che...@samsung.com wrote:
Not sure if you saw it, but there's already another patchset
On 30 January 2014 21:24, Sean Young s...@mess.org wrote:
On Sun, Jan 26, 2014 at 11:50:26PM +0200, Antti Seppälä wrote:
This patch adds support for reading/writing wakeup scancodes via sysfs
to nuvoton-cir hardware.
The existing mechanism of setting wakeup scancodes by using module
wakeup_protocols file to control which protocol to use with
wakeup
- Renamed interface to wakeup_code
- Clean-up device attribute registration
- Ported winbond-cir to use this interface
- Brought interface closer to
https://patchwork.linuxtv.org/patch/21625/
Antti Seppälä (5):
rc-core: Add
This patch adds sample support for reading/writing the wakeup scancodes
to rc-loopback device driver.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/rc-loopback.c | 40
1 file changed, 40 insertions(+)
diff --git a/drivers/media/rc
This patch adds support for reading/writing wakeup scancodes via sysfs
to nuvoton-cir hardware.
The existing mechanism of setting wakeup scancodes by using module
parameters is left untouched. If set the module parameters function as
default values for sysfs files.
Signed-off-by: Antti Seppälä
This patch adds support for reading/writing wakeup samples via sysfs
to nuvoton-cir hardware.
The sysfs interface for nuvoton-cir contains raw IR pulse/space lengths.
If value is negative it is a space, otherwise it is a pulse.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media
Introduce a list for wake code values and add callback for reading
/ writing it via sysfs.
Also introduce bitfields for setting which protocols are allowed and
enabled for wakeup.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
include/media/rc-core.h | 17 +
1 file changed
to read:
cat /sys/class/rc/rc?/wakeup_codes
How to write:
echo rc-6 /sys/class/rc/rc?/wakeup_protocols
echo 0xd1ab /sys/class/rc/rc?/wakeup_codes
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/rc-main.c | 179 +
1 file changed
=threaded#post12461912
Reported-by: Bruno Maire bruno.ma...@besonet.ch
Tested-by: Bruno Maire bruno.ma...@besonet.ch
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/nuvoton-cir.c | 4
drivers/media/rc/nuvoton-cir.h | 1 -
2 files changed, 5 deletions(-)
diff --git a/drivers
On 23 January 2014 00:01, Mauro Carvalho Chehab m.che...@samsung.com wrote:
Not sure if you saw it, but there's already another patchset proposing
that, that got submitted before this changeset:
https://patchwork.linuxtv.org/patch/21625/
I actually didn't notice that until now. Seems
On 21 January 2014 14:28, Sean Young s...@mess.org wrote:
On Mon, Jan 20, 2014 at 09:39:43PM +0200, Antti Seppälä wrote:
This patch series introduces a simple sysfs file interface for reading
and writing wakeup scancodes to rc drivers.
This is an improved version of my previous patch
On 22 January 2014 18:29, Sean Young s...@mess.org wrote:
On Wed, Jan 22, 2014 at 05:46:28PM +0200, Antti Seppälä wrote:
On 21 January 2014 14:28, Sean Young s...@mess.org wrote:
On Mon, Jan 20, 2014 at 09:39:43PM +0200, Antti Seppälä wrote:
This patch series introduces a simple sysfs file
Introduce a list for wake scancode values and add callback for sysfs
reads/writes.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
include/media/rc-core.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/include/media/rc-core.h b/include/media/rc-core.h
index 2f6f1f7
This patch adds sample support for reading/writing the wakeup scancodes
to rc-loopback device driver.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/rc-loopback.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/drivers/media/rc/rc
0x3 /sys/class/rc/rc?/wakeup_scancodes
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/rc-main.c | 129 +
1 file changed, 129 insertions(+)
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index 02e2f38..a2a68f3
.
Antti Seppälä (4):
rc-core: Add defintions needed for sysfs callback
rc-core: Add support for reading/writing wakeup scancodes via sysfs
rc-loopback: Add support for reading/writing wakeup scancodes via
sysfs
nuvoton-cir: Add support for reading/writing wakeup scancodes via
sysfs
This patch adds support for reading/writing wakeup scancodes via sysfs
to nuvoton-cir hardware.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/nuvoton-cir.c | 81 ++
drivers/media/rc/nuvoton-cir.h | 2 ++
2 files changed, 83
value difference between a single
wake-up byte and a sample read from IR to be still considered a match.
Default is 5.
Signed-off-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/nuvoton-cir.c | 65 +++---
drivers/media/rc/nuvoton-cir.h | 6
-by: Antti Seppälä a.sepp...@gmail.com
---
drivers/media/rc/rc-main.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index 512a2f4..5b4422e 100644
--- a/drivers/media/rc/rc-main.c
+++ b/drivers/media/rc/rc-main.c
@@ -850,7
63 matches
Mail list logo