Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support input device hot-plugging and removal via udev #61

Closed
shengwen-tw opened this issue Oct 9, 2024 · 0 comments
Closed

Support input device hot-plugging and removal via udev #61

shengwen-tw opened this issue Oct 9, 2024 · 0 comments

Comments

@shengwen-tw
Copy link
Collaborator

shengwen-tw commented Oct 9, 2024

udev is a device manager inside the Linux kernel that manages the hardware device files.

udev adopted an event-driven architecture that responds to kernel events, such as the addition or removal of hardware devices. When a device is connected or disconnected, the kernel generates an event, which udev processes to manage the corresponding device node.

By utilizing udev, we can support input device hot-plugging and removal.

Reference:

Check also #3

shengwen-tw added a commit to shengwen-tw/mado that referenced this issue Nov 3, 2024
udev (userspace /dev) is a device manager for the Linux kernel. By monitoring
"add" and "remove" events from udev, we can dynamically update the event device
file descriptors table to enable device hot-plugging and removal.

Close sysprog21#61
shengwen-tw added a commit to shengwen-tw/mado that referenced this issue Nov 3, 2024
udev (userspace /dev) is a device manager for the Linux kernel. By monitoring
"add" and "remove" events from udev, we can dynamically update the event device
file descriptors table to enable device hot-plugging and removal.

Close sysprog21#61
shengwen-tw added a commit to shengwen-tw/mado that referenced this issue Nov 9, 2024
udev (userspace /dev) is a device manager for the Linux kernel. By monitoring
"add" and "remove" events from udev, we can dynamically update the event device
file descriptors table to enable device hot-plugging and removal.

Close sysprog21#61
@jserv jserv closed this as completed in fa9bbf8 Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant