Add known eBeam devices usb ids.
Prevent hid-generic to take over these devices. This breaks Luidia's
proprietary application suite.
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c | 6 ++
drivers/hid/hid-ids.h | 6 ++
drivers/input/misc/Kconfig
://lkml.org/lkml/2015/7/20/634 : Use DEVICE_ATTR_RW()
RFC https://lkml.org/lkml/2015/7/21/107 : move usb id definitions out of ebeam.c
RFC https://lkml.org/lkml/2015/7/20/657 : Fix ABI documentation
Thanks for your help.
Yann Cantin (2):
hid: Blacklist eBeam devices
input: misc: New USB eBeam input
and a calibration trigger.
- need userspace gui tool for calibration (ebeam.tuxfamily.org)
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
Documentation/ABI/testing/sysfs-driver-ebeam | 53 ++
drivers/input/misc/ebeam.c | 759 +++
2 files changed
Add known eBeam devices usb ids.
Prevent hid-generic to take over these devices. This breaks Luidia's
proprietary application suite.
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c | 6 ++
drivers/hid/hid-ids.h | 6 ++
2 files changed, 12 insertions
and a calibration trigger.
- need userspace gui tool for calibration (ebeam.tuxfamily.org)
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
Documentation/ABI/testing/sysfs-driver-ebeam | 53 ++
drivers/input/misc/Kconfig | 22 +
drivers/input/misc/Makefile
://lkml.org/lkml/2015/7/20/634 : Use DEVICE_ATTR_RW()
RFC https://lkml.org/lkml/2015/7/21/107 : move usb id definitions out of ebeam.c
RFC https://lkml.org/lkml/2015/7/20/657 : Fix ABI documentation
Thanks for your help.
Yann Cantin (2):
hid: Blacklist eBeam devices
input: misc: New USB eBeam input
Hi,
Le 20/07/2015 23:59, Greg KH a écrit :
On Mon, Jul 20, 2015 at 11:03:19PM +0200, Yann Cantin wrote:
diff --git a/Documentation/ABI/testing/sysfs-driver-ebeam
b/Documentation/ABI/testing/sysfs-driver-ebeam
+++ b/Documentation/ABI/testing/sysfs-driver-ebeam
@@ -0,0 +1,53 @@
+What
Hi,
Le 21/07/2015 00:40, Greg KH a écrit :
On Mon, Jul 20, 2015 at 03:26:40PM -0700, Dmitry Torokhov wrote:
On Mon, Jul 20, 2015 at 02:59:56PM -0700, Greg KH wrote:
On Mon, Jul 20, 2015 at 11:03:19PM +0200, Yann Cantin wrote:
Signed-off-by: Yann Cantin yann.can...@laposte.net
Hi,
Le 21/07/2015 10:19, Oliver Neukum a écrit :
On Mon, 2015-07-20 at 23:03 +0200, Yann Cantin wrote:
diff --git a/drivers/input/misc/ebeam.c b/drivers/input/misc/ebeam.c
new file mode 100644
index 000..79cac51
--- /dev/null
+++ b/drivers/input/misc/ebeam.c
+/* Electronics
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
Documentation/ABI/testing/sysfs-driver-ebeam | 53 ++
drivers/input/misc/Kconfig | 22 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/ebeam.c | 777
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c | 6 ++
drivers/hid/hid-ids.h | 6 ++
2 files changed, 12 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 157c627..db4c7ee 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid
Hi,
New USB input driver for eBeam devices.
Currently supported (tested) :
- Luidia eBeam classic projection and edge projection models
- Nec interactive solution NP01Wi1 NP01Wi2 accessories.
Patch 1 to blacklist the devices for hid generic-usb.
Patch 2 is the actual driver.
Notable stuff :
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c | 3 +++
drivers/hid/hid-ids.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 36668d1..da5dfa0 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid
Hi,
New USB input driver for eBeam devices.
Currently supported (tested) :
- Luidia eBeam classic projection and edge projection models
- Nec interactive solution NP01Wi1 NP01Wi2 accessories.
From basic usb point of view, all these devices are
indistinguishable : they have the same usb ids
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
Documentation/ABI/testing/sysfs-driver-ebeam | 53 ++
drivers/input/misc/Kconfig | 22 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/ebeam.c | 759
, ebeam_attr_group);
out_free_usb:
usb_set_intfdata(intf, NULL);
usb_free_urb(ebeam-irq);
out_free_buffers:
ebeam_free_buffers(udev, ebeam);
out_free:
input_free_device(input_dev);
kfree(ebeam);
return err;
}
Thanks,
--
Yann Cantin
A4FEB47F
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c | 3 +++
drivers/hid/hid-ids.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 36668d1..da5dfa0 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
Documentation/ABI/testing/sysfs-driver-ebeam | 53 ++
drivers/input/misc/Kconfig | 22 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/ebeam.c | 763
Hi,
New USB input driver for eBeam devices.
Currently supported (tested) :
- Luidia eBeam classic projection and edge projection models
- Nec interactive solution NP01Wi1 NP01Wi2 accessories.
From basic usb point of view, all these devices are
indistinguishable : they have the same usb ids and
Hi,
New USB input driver for eBeam devices.
Currently supported (tested) :
- Luidia eBeam classic projection and edge projection models
- Nec interactive solution NP01Wi1 NP01Wi2 accessories.
From basic usb point of view, all these devices are
indistinguishable : they have the same usb ids and
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
Documentation/ABI/testing/sysfs-driver-ebeam | 53 ++
drivers/input/misc/Kconfig | 22 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/ebeam.c | 763
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c | 3 +++
drivers/hid/hid-ids.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 36668d1..da5dfa0 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid
with the risk of breaking other
hypothetical support,
even proprietary.
--
Yann Cantin
A4FEB47F
--
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
for a marginal gain.
--
Yann Cantin
A4FEB47F
--
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
New USB input driver for eBeam devices.
Currently supported (tested) :
- Luidia eBeam classic projection and edge projection models
- Nec interactive solution NP01Wi1 NP01Wi2 for video-projectors.
There's others devices (includind re-branded ones) in the wild that
should be supported out
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c |3 +++
drivers/hid/hid-ids.h |3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 8bf8a64..b4b0baf 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/input/misc/Kconfig | 22 ++
drivers/input/misc/Makefile |1 +
drivers/input/misc/ebeam.c | 750 +++
3 files changed, 773 insertions(+)
create mode 100644 drivers/input/misc/ebeam.c
Hi,
Le 23/08/2012 09:23, Oliver Neukum a écrit :
On Thursday 23 August 2012 00:11:54 Yann Cantin wrote:
+static int ebeam_resume(struct usb_interface *intf)
+{
+ struct ebeam_device *ebeam = usb_get_intfdata(intf);
+ struct input_dev *input = ebeam-input;
+ int result = 0
Hi,
Le 24/08/2012 13:41, Oliver Neukum a écrit :
On Friday 24 August 2012 11:37:45 Yann Cantin wrote:
Hi,
Le 23/08/2012 09:23, Oliver Neukum a écrit :
On Thursday 23 August 2012 00:11:54 Yann Cantin wrote:
These functions are identical. You should unify them.
Removed reset_resume from
Hi,
New USB input driver for eBeam devices.
Currently supported (tested) :
- Luidia eBeam classic projection and edge projection models
- Nec interactive solution NP01Wi1 NP01Wi2 accessories.
In fact, from basic usb point of view, all these devices are
indistinguishable : they have the same
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c |3 +++
drivers/hid/hid-ids.h |3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 60ea284..efc68c8 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/input/misc/Kconfig | 22 ++
drivers/input/misc/Makefile |1 +
drivers/input/misc/ebeam.c | 766 +++
3 files changed, 789 insertions(+)
create mode 100644 drivers/input/misc/ebeam.c
Le 07/08/2012 03:43, Dmitry Torokhov a écrit :
On Tue, Aug 07, 2012 at 02:56:40AM +0200, Yann Cantin wrote:
Hi,
Le 06/08/2012 23:43, Greg KH a écrit :
On Mon, Aug 06, 2012 at 11:21:44PM +0200, Yann Cantin wrote:
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/input/misc
Le 07/08/2012 03:45, Dmitry Torokhov a écrit :
On Tue, Aug 07, 2012 at 03:21:45AM +0200, Yann Cantin wrote:
Le 07/08/2012 00:07, Dmitry Torokhov a écrit :
On Monday, August 06, 2012 02:43:40 PM Greg KH wrote:
On Mon, Aug 06, 2012 at 11:21:43PM +0200, Yann Cantin wrote:
Signed-off-by: Yann
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c |3 +++
drivers/hid/hid-ids.h |3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 60ea284..b1ed8ee 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid
Hi,
New USB input driver for eBeam devices.
Currently, only the Luidia eBeam classic projection model is supported.
Edge model and a NEC interactive video-projector support planned for the
end of the mounth.
Patch 1 to blacklist the device for hid generic-usb.
Patch 2 is the actual driver.
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/input/misc/ebeam.c | 764
1 file changed, 764 insertions(+)
create mode 100644 drivers/input/misc/ebeam.c
diff --git a/drivers/input/misc/ebeam.c b/drivers/input/misc/ebeam.c
new file
Hi,
Le 06/08/2012 23:43, Greg KH a écrit :
On Mon, Aug 06, 2012 at 11:21:44PM +0200, Yann Cantin wrote:
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/input/misc/ebeam.c | 764
1 file changed, 764 insertions(+)
create mode
Le 07/08/2012 00:07, Dmitry Torokhov a écrit :
On Monday, August 06, 2012 02:43:40 PM Greg KH wrote:
On Mon, Aug 06, 2012 at 11:21:43PM +0200, Yann Cantin wrote:
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-core.c |3 +++
drivers/hid/hid-ids.h |3 +++
2
Le 07/08/2012 00:09, Dmitry Torokhov a écrit :
On Monday, August 06, 2012 02:44:23 PM Greg KH wrote:
On Mon, Aug 06, 2012 at 11:21:42PM +0200, Yann Cantin wrote:
Hi,
New USB input driver for eBeam devices.
Currently, only the Luidia eBeam classic projection model is supported.
Edge model
iteration of the patchset (i don't think
i need to resubmit now with this change only, no?)
Thanks.
--
Yann Cantin
A4FEB47F
--
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
suggest checking the length, making sure that you don't overflow the
-name buffer.
Something like this ? :
if (strlcat(ebeam-name, ), sizeof(ebeam-name))=sizeof(ebeam-name)) {
// overflowed, closing ) anyway
ebeam-name[sizeof(ebeam-name)-2] = ')';
Thanks.
--
Yann Cantin
A4FEB47F
Hi,
Second test-drive for a new USB input driver for eBeam
devices.
Following Dmitry's advice, i've remove device specific infrastructure.
Currently, only the Luidia eBeam classic projection model is supported.
Patch 1 and 2 are here to let the ebeam driver be choose to handle
the device
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-ids.h |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 1dcb76f..b985059 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -271,6 +271,9 @@
#define
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/input/misc/Kconfig | 16 +
drivers/input/misc/Makefile |1 +
drivers/input/misc/ebeam.c | 760 +++
3 files changed, 777 insertions(+)
create mode 100644 drivers/input/misc/ebeam.c
.
Actually I am hesitant to add infrastructure if it is unclear if we need
it at all.
Understand.
I've thrown some hook to see if i can get my hands on other devices.
In the meantime, i'll bet on uniform support and strip down the driver. Wish me
luck.
Thanks.
--
Yann Cantin
A4FEB47F
or are they going to follow roughly the same protocol?
ditto.
--
Yann Cantin
A4FEB47F
--
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
This patchset is a test-drive for a new USB input driver for eBeam
devices.
Currently, only the Luidia eBeam classic projection model is supported
(usb id known).
Patch 1 and 2 are here to let the ebeam driver be choose to handle
the device instead of the generic-usb hid one (totally
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/hid/hid-ids.h |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 41c34f2..8cd4b8e 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -271,6 +271,9 @@
#define
Signed-off-by: Yann Cantin yann.can...@laposte.net
---
drivers/input/misc/Kconfig | 21 +
drivers/input/misc/Makefile |1 +
drivers/input/misc/ebeam.c | 895 +++
3 files changed, 917 insertions(+)
create mode 100644 drivers/input/misc/ebeam.c
into
that subsystem.
Will do so, but for now, this is mainly the usb and irq parts that freaks me :)
thanks,
--
Yann Cantin
A4FEB47F
--
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
(C) 2012 Yann Cantin (yann.can...@laposte.net)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your
52 matches
Mail list logo