[PATCH 3/4] media/rc/imon.c: do not try to register 2nd intf if 1st intf failed

2013-04-22 Thread Kevin Baradon
8b 74 24 04 89 Apr 8 18:20:30 homeserver kernel: EIP: [c05c4e4c] mutex_lock+0xc/0x30 SS:ESP 0068:f6577c28 Apr 8 18:20:30 homeserver kernel: CR2: 0014 Apr 8 18:20:30 homeserver kernel: ---[ end trace df134132c967205c ]--- Signed-off-by: Kevin Baradon kevin.bara...@gmail.com

[PATCH 2/4] media/rc/imon.c: make send_packet() delay larger for 15c2:0036 [v2]

2013-04-22 Thread Kevin Baradon
Imon device 15c2:0036 need a higher delay between send_packet() calls. Also use interruptible wait to avoid load average going too high (and let caller handle signals). Signed-off-by: Kevin Baradon kevin.bara...@gmail.com --- drivers/media/rc/imon.c | 22 -- 1 file changed

[PATCH 4/4] media/rc/imon.c: kill urb when send_packet() is interrupted

2013-04-22 Thread Kevin Baradon
kernel: imon:vfd_write: send packet #3 failed Apr 12 23:52:16 homeserver kernel: imon:send_packet: error submitting urb(-16) Apr 12 23:52:16 homeserver kernel: imon:vfd_write: send packet #0 failed Signed-off-by: Kevin Baradon kevin.bara...@gmail.com --- drivers/media/rc/imon.c |4 +++- 1 file

[PATCH 1/4] Revert media/rc/imon.c: make send_packet() delay larger for 15c2:0036

2013-04-22 Thread Kevin Baradon
This reverts commit d92f150f9cb80b4df56331d1f42442da78e351f0. It seems send_packet() is used during initialization, before send_packet_delay is set. This will be fixed by another patch. Signed-off-by: Kevin Baradon kevin.bara...@gmail.com --- drivers/media/rc/imon.c | 17 - 1

[PATCH 0/4] Revert buggy patch and fix other issues with imon driver

2013-04-22 Thread Kevin Baradon
Hi, Following patchset fixes several issues with imon driver and reverts one (previously applied) buggy patch. Mauro, could you please apply this on top of your tree? Best regards, Kevin Baradon (4): Revert media/rc/imon.c: make send_packet() delay larger for 15c2:0036 media/rc/imon.c

Re: [PATCH 1/2] media/rc/imon.c: make send_packet() delay configurable

2013-03-17 Thread Kevin Baradon
Le Thu, 14 Mar 2013 12:01:53 -0300, Mauro Carvalho Chehab mche...@redhat.com a écrit : Em Sun, 24 Feb 2013 21:19:29 +0100 Kevin Baradon kevin.bara...@gmail.com escreveu: Some imon devices (like 15c2:0036) need a higher delay between send_packet calls. Default value is still 5ms

Re: [PATCH 2/2] media/rc/imon.c: avoid flooding syslog with unknown keypress when keypad is pressed

2013-03-17 Thread Kevin Baradon
Le Thu, 14 Mar 2013 12:18:41 -0300, Mauro Carvalho Chehab mche...@redhat.com a écrit : Em Sun, 24 Feb 2013 21:19:30 +0100 Kevin Baradon kevin.bara...@gmail.com escreveu: My 15c2:0036 device floods syslog when a keypad key is pressed: Feb 18 19:00:57 homeserver kernel: imon 5-1:1.0

[PATCH 0/2] Improve imon LCD/VFD driver to better support 15c2:0036

2013-02-24 Thread Kevin Baradon
Hi, Please find those two short patches to improve support of (at least) 15c2:0036 imon device. These apply on latest git and were tested on 3.7.8 and 3.7.9 kernels. Thanks. Kevin Baradon (2): media/rc/imon.c: make send_packet() delay configurable media/rc/imon.c: avoid flooding syslog

[PATCH 1/2] media/rc/imon.c: make send_packet() delay configurable

2013-02-24 Thread Kevin Baradon
Some imon devices (like 15c2:0036) need a higher delay between send_packet calls. Default value is still 5ms to avoid regressions on already working hardware. Also use interruptible wait to avoid load average going too high (and let caller handle signals). Signed-off-by: Kevin Baradon

[PATCH 2/2] media/rc/imon.c: avoid flooding syslog with unknown keypress when keypad is pressed

2013-02-24 Thread Kevin Baradon
This patch lowers severity of this message when key appears to be coming from keypad. Signed-off-by: Kevin Baradon kevin.bara...@gmail.com --- drivers/media/rc/imon.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/media/rc/imon.c b/drivers/media/rc/imon.c