FreeBSD Bugzilla – Attachment 181752 Details for
Bug 218625
[PATCH] Evdev ioctls EVIOCGRAB and EVIOCREVOKE don't work together with cuse
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to change type of EVIOCGRAB and EVIOCREVOKE ioctls to _IO
EVIOCGRAB-EVIOCREVOKE-ioctl-fix.patch (text/plain), 810 bytes, created by
Jan Kokemüller
on 2017-04-13 10:45:01 UTC
(
hide
)
Description:
patch to change type of EVIOCGRAB and EVIOCREVOKE ioctls to _IO
Filename:
MIME Type:
Creator:
Jan Kokemüller
Created:
2017-04-13 10:45:01 UTC
Size:
810 bytes
patch
obsolete
>diff --git a/sys/dev/evdev/input.h b/sys/dev/evdev/input.h >index 0463844..3a16f05 100644 >--- a/sys/dev/evdev/input.h >+++ b/sys/dev/evdev/input.h >@@ -104,8 +104,8 @@ struct input_keymap_entry { > #define EVIOCRMFF _IOWINT(EVDEV_IOC_MAGIC, 0x81) /* Erase a force effect */ > #define EVIOCGEFFECTS _IOR(EVDEV_IOC_MAGIC, 0x84, int) /* Report number of effects playable at the same time */ > >-#define EVIOCGRAB _IOWINT(EVDEV_IOC_MAGIC, 0x90) /* Grab/Release device */ >-#define EVIOCREVOKE _IOWINT(EVDEV_IOC_MAGIC, 0x91) /* Revoke device access */ >+#define EVIOCGRAB _IO(EVDEV_IOC_MAGIC, 0x90) /* Grab/Release device */ >+#define EVIOCREVOKE _IO(EVDEV_IOC_MAGIC, 0x91) /* Revoke device access */ > > #define EVIOCSCLOCKID _IOW(EVDEV_IOC_MAGIC, 0xa0, int) /* Set clockid to be used for timestamps */ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 218625
: 181752