Skip to content

Conversation

@jfly
Copy link

@jfly jfly commented Nov 23, 2025

I'm only using cecdaemon to run commands, not to send keypresses via uinput. I'd like to avoid initializing uinput because it's a bit tricky to set up:

  1. It requires the user I'm running cecdaemon under to permissions it doesn't currently have.
  2. It requires my system to have loaded the uinput kernel module, which doesn't actually happen on my device. See PermissionError: [Errno 13] Failed to open the uinput device: Permission denied pyinput/python-uinput#9 (comment) for more details.

While I could fix both of these issues, this is such a minor change to cecdaemon, I thought it would be an acceptable change.

I'm only using `cecdaemon` to run commands, not to send keypresses via
`uinput`. I'd like to avoid initializing `uinput` because it's a bit
tricky to set up:

1. It requires the user I'm running `cecdaemon` under to permissions it
   doesn't currently have.
2. It requires my system to have loaded the `uinput` kernel module,
   which doesn't actually happen on my device. See
   pyinput/python-uinput#9 (comment)
   for more details.

While I could fix both of these issues, this is such a minor change to
`cecdaemon`, I thought it would be an acceptable change.
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

Successfully merging this pull request may close these issues.

1 participant