Re: [PATCH 2/3] HID: valve-index: Reboot headset on system power transitions
From: Michal Pecio
Date: Fri Sep 11 2026 - 05:25:25 EST
On Fri, 11 Sep 2026 07:54:12 +0200, Greg Kroah-Hartman wrote:
> > +What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/reboot
> > +Date: October 2026
> > +Contact: linux-input@xxxxxxxxxxxxxxx
> > +Description:
> > + Writing a boolean true value reboots the Valve Index headset to
> > + recover its EDID service. Writing a boolean false value has no
> > + effect. This file is write-only.
>
> Shouldn't this just be a debugfs file? Making it a sysfs file seems
> "risky" as it's not a normal operation.
Not sure what's "risky" about it, it's hopefully a root-only thing?
And it's the only supported way for userspace to recover buggy devices
from certain failure condition, it's been suggested that this could be
run by udev scripts. Isn't it more "risky" to ask userspace to mount
and tinker with debugfs as a matter of routine?
Regards,
Michal