/openbmc/linux/samples/hid/ |
H A D | Makefile.target | 6008105b Thu Nov 03 10:57:54 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> samples/hid: add new hid BPF example
Everything should be available in the selftest part of the tree, but providing an example without uhid and hidraw will be more easy to follow for users.
This example will probably ever only work on the Etekcity Scroll 6E because we need to adapt the various raw values to the actual device.
On that device, the X and Y axis will be swapped and inverted, and on any other device, chances are high that the device will not work until Ctrl-C is hit.
The Makefiles are taken from samples/bpf to not reinvent the wheel and to force using in-kernel libbpf and bpftool.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | hid_mouse.bpf.c | 6008105b Thu Nov 03 10:57:54 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> samples/hid: add new hid BPF example
Everything should be available in the selftest part of the tree, but providing an example without uhid and hidraw will be more easy to follow for users.
This example will probably ever only work on the Etekcity Scroll 6E because we need to adapt the various raw values to the actual device.
On that device, the X and Y axis will be swapped and inverted, and on any other device, chances are high that the device will not work until Ctrl-C is hit.
The Makefiles are taken from samples/bpf to not reinvent the wheel and to force using in-kernel libbpf and bpftool.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | hid_bpf_attach.h | 6008105b Thu Nov 03 10:57:54 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> samples/hid: add new hid BPF example
Everything should be available in the selftest part of the tree, but providing an example without uhid and hidraw will be more easy to follow for users.
This example will probably ever only work on the Etekcity Scroll 6E because we need to adapt the various raw values to the actual device.
On that device, the X and Y axis will be swapped and inverted, and on any other device, chances are high that the device will not work until Ctrl-C is hit.
The Makefiles are taken from samples/bpf to not reinvent the wheel and to force using in-kernel libbpf and bpftool.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | hid_mouse.c | 6008105b Thu Nov 03 10:57:54 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> samples/hid: add new hid BPF example
Everything should be available in the selftest part of the tree, but providing an example without uhid and hidraw will be more easy to follow for users.
This example will probably ever only work on the Etekcity Scroll 6E because we need to adapt the various raw values to the actual device.
On that device, the X and Y axis will be swapped and inverted, and on any other device, chances are high that the device will not work until Ctrl-C is hit.
The Makefiles are taken from samples/bpf to not reinvent the wheel and to force using in-kernel libbpf and bpftool.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | hid_bpf_attach.bpf.c | 6008105b Thu Nov 03 10:57:54 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> samples/hid: add new hid BPF example
Everything should be available in the selftest part of the tree, but providing an example without uhid and hidraw will be more easy to follow for users.
This example will probably ever only work on the Etekcity Scroll 6E because we need to adapt the various raw values to the actual device.
On that device, the X and Y axis will be swapped and inverted, and on any other device, chances are high that the device will not work until Ctrl-C is hit.
The Makefiles are taken from samples/bpf to not reinvent the wheel and to force using in-kernel libbpf and bpftool.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | .gitignore | 6008105b Thu Nov 03 10:57:54 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> samples/hid: add new hid BPF example
Everything should be available in the selftest part of the tree, but providing an example without uhid and hidraw will be more easy to follow for users.
This example will probably ever only work on the Etekcity Scroll 6E because we need to adapt the various raw values to the actual device.
On that device, the X and Y axis will be swapped and inverted, and on any other device, chances are high that the device will not work until Ctrl-C is hit.
The Makefiles are taken from samples/bpf to not reinvent the wheel and to force using in-kernel libbpf and bpftool.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | hid_bpf_helpers.h | 6008105b Thu Nov 03 10:57:54 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> samples/hid: add new hid BPF example
Everything should be available in the selftest part of the tree, but providing an example without uhid and hidraw will be more easy to follow for users.
This example will probably ever only work on the Etekcity Scroll 6E because we need to adapt the various raw values to the actual device.
On that device, the X and Y axis will be swapped and inverted, and on any other device, chances are high that the device will not work until Ctrl-C is hit.
The Makefiles are taken from samples/bpf to not reinvent the wheel and to force using in-kernel libbpf and bpftool.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
H A D | Makefile | 6008105b Thu Nov 03 10:57:54 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> samples/hid: add new hid BPF example
Everything should be available in the selftest part of the tree, but providing an example without uhid and hidraw will be more easy to follow for users.
This example will probably ever only work on the Etekcity Scroll 6E because we need to adapt the various raw values to the actual device.
On that device, the X and Y axis will be swapped and inverted, and on any other device, chances are high that the device will not work until Ctrl-C is hit.
The Makefiles are taken from samples/bpf to not reinvent the wheel and to force using in-kernel libbpf and bpftool.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
/openbmc/linux/ |
H A D | MAINTAINERS | 6008105b Thu Nov 03 10:57:54 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> samples/hid: add new hid BPF example
Everything should be available in the selftest part of the tree, but providing an example without uhid and hidraw will be more easy to follow for users.
This example will probably ever only work on the Etekcity Scroll 6E because we need to adapt the various raw values to the actual device.
On that device, the X and Y axis will be swapped and inverted, and on any other device, chances are high that the device will not work until Ctrl-C is hit.
The Makefiles are taken from samples/bpf to not reinvent the wheel and to force using in-kernel libbpf and bpftool.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|