[PATCH v4] keytable: Add keymap test

2019-07-08 Thread Bastien Nocera
This new test will try to parse all the ".toml" files in the directory path passed to it, error'ing out if there were parsing problems. Run as "make check" in the keytable directory. Signed-off-by: Bastien Nocera --- utils/keytable/Makefile.am | 6 +++ utils/keyt

Re: [PATCH v3] keymaps

2019-07-04 Thread Bastien Nocera
On Thu, 2019-07-04 at 17:13 +0100, Sean Young wrote: > On Thu, Jul 04, 2019 at 03:23:56PM +0200, Bastien Nocera wrote: > > --- > > No commit message, subject or signed-off-by. Sent in error because git send-mail's interface is horrid.

[PATCH v3] keytable: Add keymap test

2019-07-04 Thread Bastien Nocera
This new test will try to parse all the ".toml" files in the directory path passed to it, error'ing out on the first parsing problem. Run as "make check" in the keytable directory. Signed-off-by: Bastien Nocera --- utils/keytable/Makefile.am | 6 +++ utils/keyt

[PATCH v3] keymaps

2019-07-04 Thread Bastien Nocera
--- .../rc_keymaps/adstech_dvb_t_pci.toml | 24 ++-- utils/keytable/rc_keymaps/af9005.toml | 4 + utils/keytable/rc_keymaps/alink_dtu_m.toml| 24 ++-- utils/keytable/rc_keymaps/anysee.toml | 24 ++-- utils/keytable/rc_keymaps/apac_viewcomp.toml | 24 ++-- .../rc_

Re: [PATCH 1/2] keytable: Add source information in generated keymaps

2019-07-04 Thread Bastien Nocera
On Wed, 2019-07-03 at 16:33 +0100, Sean Young wrote: > On Mon, Jul 01, 2019 at 06:38:12PM +0200, Bastien Nocera wrote: > > Add comments to mention that keymap files are generated, and that > > they shouldn't be modified by hand. Also list which tool was used > > to ge

Re: [PATCH 2/2] keytable: Remove comments before processing keymaps

2019-07-02 Thread Bastien Nocera
On Tue, 2019-07-02 at 12:44 +0100, Sean Young wrote: > On Tue, Jul 02, 2019 at 11:43:39AM +0200, Bastien Nocera wrote: > > On Tue, 2019-07-02 at 10:08 +0100, Sean Young wrote: > > > On Mon, Jul 01, 2019 at 06:38:13PM +0200, Bastien Nocera wrote: > > > > Do our bes

Re: [PATCH 2/2] keytable: Remove comments before processing keymaps

2019-07-02 Thread Bastien Nocera
On Tue, 2019-07-02 at 10:08 +0100, Sean Young wrote: > On Mon, Jul 01, 2019 at 06:38:13PM +0200, Bastien Nocera wrote: > > Do our best to remove comments from each line we process from the > > keymap > > sources, so as to avoid commented duplicates and false positives > >

Re: [PATCH 2/2] keytable: Remove comments before processing keymaps

2019-07-02 Thread Bastien Nocera
On Tue, 2019-07-02 at 10:08 +0100, Sean Young wrote: > On Mon, Jul 01, 2019 at 06:38:13PM +0200, Bastien Nocera wrote: > > Do our best to remove comments from each line we process from the > > keymap > > sources, so as to avoid commented duplicates and false positives > >

Re: Keymap with duplicate entries

2019-07-01 Thread Bastien Nocera
On Mon, 2019-07-01 at 18:38 +0200, Bastien Nocera wrote: > Hey Aapo, > > There seems to be a problem in the keymap you provided for inclusion > in the kernel. > > In drivers/media/usb/dvb-usb/m920x.c, 2 keys are triggered by the > same > keycode: > 790 ↦ { 0x

Re: [PATCH v2] keytable: Add keymap test

2019-07-01 Thread Bastien Nocera
On Mon, 2019-07-01 at 16:27 +0200, Bastien Nocera wrote: > > That would be great. They have to be patched in the kernel tree, > > they > > are generated from there. > > It's customary to put a comment at the top of generated files > indicating that they shouldn

Keymap with duplicate entries

2019-07-01 Thread Bastien Nocera
Hey Younian, There seems to be a problem in the keymap you provided for inclusion in the kernel. In drivers/media/rc/keymaps/rc-hisi-poplar.c, 2 keys are triggered by the same keycode: 27 ↦ { 0xb2c5, KEY_DELETE},• 34 ↦ { 0xb2c5, KEY_BACK},• Could you please check what the

Keymap with duplicate entries

2019-07-01 Thread Bastien Nocera
Hey Aapo, There seems to be a problem in the keymap you provided for inclusion in the kernel. In drivers/media/usb/dvb-usb/m920x.c, 2 keys are triggered by the same keycode: 790 ↦ { 0x08, KEY_SUBTITLE },• 794 ↦ { 0x08, KEY_VIDEO },↦ ↦ /* A/V */• Could you please check what

Keymap with duplicate entries

2019-07-01 Thread Bastien Nocera
Hey Malcolm, There seems to be a problem in the keymap you provided for inclusion in the kernel. In media/rc/keymaps/rc-it913x-v2.c, 2 keys are triggered by the same keycode: 53 ↦ { 0x866b18, KEY_VOLUMEDOWN },• 55 ↦ { 0x866b18, KEY_CHANNELDOWN },• Could you please check what the c

[PATCH 2/2] keytable: Remove comments before processing keymaps

2019-07-01 Thread Bastien Nocera
Do our best to remove comments from each line we process from the keymap sources, so as to avoid commented duplicates and false positives sneaking in to the keymap definitions. Signed-off-by: Bastien Nocera --- utils/keytable/gen_keytables.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 1/2] keytable: Add source information in generated keymaps

2019-07-01 Thread Bastien Nocera
Add comments to mention that keymap files are generated, and that they shouldn't be modified by hand. Also list which tool was used to generate them and the kernel source filename. Signed-off-by: Bastien Nocera --- utils/keytable/gen_keytables.pl | 9 - 1 file changed, 8 inser

Re: [PATCH v2] keytable: Add keymap test

2019-07-01 Thread Bastien Nocera
On Thu, 2019-06-27 at 20:33 +0100, Sean Young wrote: > On Thu, Jun 27, 2019 at 10:13:56AM +0200, Bastien Nocera wrote: > > This new test will try to parse all the ".toml" files in the > > directory > > path passed to it, error'ing out on the first parsing prob

Re: [PATCH v3] keytable: Add keymap test

2019-07-01 Thread Bastien Nocera
On Mon, 2019-07-01 at 12:28 +0100, Sean Young wrote: > On Fri, Jun 28, 2019 at 11:45:29AM +0200, Bastien Nocera wrote: > > This new test will try to parse all the ".toml" files in the > > directory > > path passed to it, error'ing out on the first parsing prob

[PATCH v3] keytable: Add keymap test

2019-06-28 Thread Bastien Nocera
This new test will try to parse all the ".toml" files in the directory path passed to it, error'ing out on the first parsing problem. Run as "make check" in the keytable directory. Signed-off-by: Bastien Nocera --- Changes since v2: - Added SoB Changes since v1: -

[PATCH v2] keytable: Add keymap test

2019-06-27 Thread Bastien Nocera
This new test will try to parse all the ".toml" files in the directory path passed to it, error'ing out on the first parsing problem. Run as "make check" in the keytable directory. --- Changes since v1: - Fix patch formatting At least 4 keymaps look broken in the current git: it913x_v2.toml pinna

[PATCH] keytable: Add keymap test

2019-06-25 Thread Bastien Nocera
This new test will try to parse all the ".toml" files in the directory path passed to it, error'ing out on the first parsing problem. Run as "make check" in the keytable directory. --- At least 4 keymaps look broken in the current git: it913x_v2.toml pinnacle310e.toml hisi_poplar.toml imon_mce.to

[PATCH] [media] doc-rst: Fix typos

2019-06-25 Thread Bastien Nocera
Not sure how codespell thinks "sroweam" is a real word. Signed-off-by: Bastien Nocera --- Documentation/media/uapi/rc/rc-tables.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/media/uapi/rc/rc-tables.rst b/Documentation/media/

[PATCH v2] media: rc: Prefer KEY_NUMERIC_* for number buttons on remotes

2019-06-24 Thread Bastien Nocera
i 's/KEY_\([0-9]\)}/KEY_NUMERIC_\1}/' *.c sed -i 's/``KEY_\([0-9]\)/``KEY_NUMERIC_\1/' Documentation/media/uapi/rc/rc-tables.rst Signed-off-by: Bastien Nocera --- Changes in v2: - Updated the documentation as well Documentation/media/uapi/rc/rc-tables.rst | 20 ++-- .

Re: Remote "Mouse mode" buttons, Keycode choices, etc.

2019-06-24 Thread Bastien Nocera
On Sat, 2019-06-22 at 19:56 +0200, Pavel Machek wrote: > On Fri 2019-06-21 13:39:39, Bastien Nocera wrote: > > On Sun, 2019-06-16 at 18:58 +0200, Pavel Machek wrote: > > > Hi! > > > > > > > I dug out a fair bunch of remote controls I got around 10 years >

[PATCH] media: rc: Prefer KEY_NUMERIC_* for number buttons on remotes

2019-06-24 Thread Bastien Nocera
i 's/KEY_\([0-9]\)}/KEY_NUMERIC_\1}/' *.c Signed-off-by: Bastien Nocera --- .../media/rc/keymaps/rc-adstech-dvb-t-pci.c | 20 ++-- drivers/media/rc/keymaps/rc-alink-dtu-m.c | 20 ++-- drivers/media/rc/keymaps/rc-anysee.c | 20 ++-- drivers/media/rc/keymaps/rc-apa

Re: Remote "Mouse mode" buttons, Keycode choices, etc.

2019-06-21 Thread Bastien Nocera
On Sun, 2019-06-16 at 18:58 +0200, Pavel Machek wrote: > Hi! > > > I dug out a fair bunch of remote controls I got around 10 years > > ago[1], > > and started trying them all out. > > > > I bumped into a couple of problems: > > > > - the Snapstream Firefly remote ([2] using the rc-snapstream- >

Remote "Mouse mode" buttons, Keycode choices, etc.

2019-06-14 Thread Bastien Nocera
Hey, I dug out a fair bunch of remote controls I got around 10 years ago[1], and started trying them all out. I bumped into a couple of problems: - the Snapstream Firefly remote ([2] using the rc-snapstream-firefly keymap and the ati_remote protocol) creates 2 input device nodes, one for the rem

Re: [PATCH v2] Input: Add missing event codes for common IR remote buttons

2019-01-23 Thread Bastien Nocera
On Tue, 2019-01-22 at 23:50 -0800, VDR User wrote: > > > KEY_SCREEN_INPUT is used to bring up things like an on-screen > > > keyboard or other on-onscreen user input method. > > > > We already have KEY_ONSCREEN_KEYBOARD. > > > > > > > +#define KEY_SYSTEM_MENU 0x2ed /* Open

Re: [PATCH v2] Input: Add missing event codes for common IR remote buttons

2018-11-13 Thread Bastien Nocera
On Sat, 2018-11-03 at 07:55 -0700, Derek Kelly wrote: > The following patch adds event codes for common buttons found on > various > provider and universal remote controls. They represent functions not > covered by existing event codes. Once added, rc_keymaps can be > updated > accordingly where ap

Re: Tons of input devices for USB camera in monitor

2018-01-23 Thread Bastien Nocera
On Thu, 2017-11-23 at 18:03 +0100, Bastien Nocera wrote: > Hey, > > My monitor, a Dell S2340T, has a builtin webcam. There's no camera > button for it, though that wasn't a problem up until recently. > Did I miss a fix going in for this problem? Do I need to try and >

Tons of input devices for USB camera in monitor

2017-11-23 Thread Bastien Nocera
Hey, My monitor, a Dell S2340T, has a builtin webcam. There's no camera button for it, though that wasn't a problem up until recently. This is a trimmed output of evtest: /dev/input/event14: DELL S2340T Webcam: DELL S2340T /dev/input/event15: DELL S2340T Webcam: DELL S2340T /dev/input/eve

Re: NTSC/PAL resolution support for "EasyCap" device

2016-06-03 Thread Bastien Nocera
On Fri, 2016-06-03 at 14:08 +0300, Laurent Pinchart wrote: > > > Full lsusb below. > > Thanks. The device only advertises two resolutions, 640x480 and > 352x288. As I read. > > > If the device doesn't expose resolutions other than the above > > > two, the > > > box could be lying, or the devic

Re: NTSC/PAL resolution support for "EasyCap" device

2016-06-03 Thread Bastien Nocera
On Fri, 2016-06-03 at 01:37 +0300, Laurent Pinchart wrote: > Hi Bastien, > > (CC'ing the linux-media mailing list) > > On Tuesday 31 May 2016 12:38:49 Bastien Nocera wrote: > > Hey, > > > > I saw your commits to add quirks for Arkmicro "webcams&qu

Re: [RFC v2 2/7] media: rc: Add cec protocol handling

2015-03-10 Thread Bastien Nocera
On Tue, 2015-03-10 at 13:02 +0100, Kamil Debski wrote: > Hi Bastien, > > From: Bastien Nocera [mailto:had...@hadess.net] > Sent: Monday, March 09, 2015 5:44 PM > > > > On Mon, 2015-03-09 at 17:22 +0100, Kamil Debski wrote: > > > Hi Mauro, > > > >

Re: [RFC v2 2/7] media: rc: Add cec protocol handling

2015-03-09 Thread Bastien Nocera
On Mon, 2015-03-09 at 17:22 +0100, Kamil Debski wrote: > Hi Mauro, > > From: Mauro Carvalho Chehab [mailto:mche...@osg.samsung.com] > Sent: Sunday, March 08, 2015 3:21 PM > > > Em Thu, 22 Jan 2015 17:04:34 +0100 > > Kamil Debski escreveu: > > > > (c/c linux-input ML) > > > > > Add cec protocol

Re: Baytrail camera csi / isp support status ?

2015-01-06 Thread Bastien Nocera
On Tue, 2015-01-06 at 09:55 +0200, Laurent Pinchart wrote: > Hi Bastien, > > On Tuesday 06 January 2015 01:06:54 Bastien Nocera wrote: > > On Fri, 2014-12-12 at 12:07 +0100, Hans de Goede wrote: > > > Hi All, > > > > > > A college of mine has a baytrail

Re: Baytrail camera csi / isp support status ?

2015-01-05 Thread Bastien Nocera
Hey, On Fri, 2014-12-12 at 12:07 +0100, Hans de Goede wrote: > Hi All, > > A college of mine has a baytrail bases tablet: > > http://www.onda-tablet.com/onda-v975w-quad-core-win-8-tablet-9-7-inch-retina-screen-ram-2gb-wifi-32gb.html > > And he is trying to get Linux to run on it, he has things

OV5648 and GC2235 camera drivers?

2014-09-11 Thread Bastien Nocera
Hey, I have this tablet: http://www.onda-tablet.com/onda-v975w-quad-core-win-8-tablet-9-7-inch-retina-screen-ram-2gb-wifi-32gb.html which according to its BIOS has a GC2235 front camera and a OV5648 rear camera. The DSDT for the device is here: https://bugzilla.kernel.org/attachment.cgi?id=149331

Support for ATI DVB TV Tuner?

2010-10-16 Thread Bastien Nocera
Heya, My new desktop, a Lenovo Ideacentre A700, has one of those TV tuners. Is there any driver available for it, or a driver that would just be missing some PCI IDs? Here's the lspci output: 03:00.0 Multimedia controller [0480]: ATI Technologies Inc Device [1002:ac12] Subsystem: Yuan Yua