From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 761EB46982F for ; Fri, 11 Sep 2026 09:16:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789118220; cv=none; b=gU08ZEQXVEjCE3Gr4av4rtpaeD5DLrQd8YKuKLkzvTZFPGgPYc/KYzxVJ46l2V9pgdOnU4YbCacFGaw808ujuFO7bh7NyhtbALMh8QCDmH+TTDFgcTdOK/pvASvOB0AdHo7VoRIssW/YRGAuN8n/o75hJRR1eY00I3JHATDfCWk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789118220; c=relaxed/simple; bh=9c1nzDHhGyO4LkFgJgh1cL44sqSfSbN2c9gKz923T7o=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=A85Rt2Orq8agiugbmKhn17wKq/NSSDW3V2OndXiBEaMN7eJlkwuzheAgE1dNgl/7zrU8mG0oC+5HiIJHasRQhVWkBH4ULazhgdCTaKhwOsDN2obv2nEvC9iUdkzdbpppu3Y8U79sGBJUGfnxSEDv+OPK7/aw2ateDdqlI4EEr+A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OKGi7LvK; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OKGi7LvK" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-49d036e0e99so4118225e9.1 for ; Fri, 11 Sep 2026 02:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789118216; x=1789723016; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=mSM/OHSWEmibsYmDwvMWryOqIC8loUCHyDzdossEC58=; b=OKGi7LvKXfl49hVeOOTCzHvH2tSaJMXofUkgtLIVd+iuEcKa5ktVcM1lCHXG6je42F xMGRFPHx1pu720eXBCZzyaQZJshcgn0uGJfWL+Icg7Ro/XcV7YmyNQHZAxy3ul7Soi8v s7xplouok2AtNl7gemClPHN47gzfV0rNgjoixxMoNPRNAjErfIENGczaM1yx1YEMozel K1MKzSDKWvx4Rzi5kNouba7ZpZLvG7EbktZb7zX4I6GXOYDhh3es69mRvqLuNtogyZcb DqSAuu1lgQcz5tzRypMaAOyil/jsNgenf4zF6b3rJRi1FsjMN0/trCF69C1RdZM3HMD1 7WvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789118216; x=1789723016; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=mSM/OHSWEmibsYmDwvMWryOqIC8loUCHyDzdossEC58=; b=AMdKEZJW6QH63GQ3DtVl3SM2YYF0JU+ik4pCrDHeSuxZlrU0gbHnLz4rMQi2MxLV5k Syy0rWbs8hXbMPVCRKKyfjLUBFRe4A3Fobrmdpra4rbFH4N+sZVyrMCjxBXTip3ISfhZ +uVPHaysT4hrRX2CbGHMbiALHNxkO4IrJqaIZdo2BgaChIohjrcSEKeWMIqn0II3Ak9T OG7/oNcupNJ1IYQ0+sKpngRb+gq+ZDCd01RrqaD38dUn0yDWxL6lQjDRlGN8ku9OJ5bh 9h6uZbRUwWo6BilWJP4UsYu1NR871W4A0b1T0EcEgZQ3ro61j81bzHfXNQx/Wd47HNAu lrCw== X-Forwarded-Encrypted: i=1; AKwUvBy7cAwRsM3eejMA3WjhTUqXDuDiSC03sjQ91LAghUeTlmdKLAhrDOtngFjJI5Pd3b8AaHukChjtp9k=@vger.kernel.org X-Gm-Message-State: AFuF++nZgc7dSQtdF9lPt+dCtHzto9UnXu5fQ5W96xwYQlSXcu9uA6YQ 8ouSpKpoyQqO0iuo0kvHBGzN4Uu2/2GAMZOCXNZmIyJLstgKbq5EIvE0 X-Gm-Gg: AYBFou2HwMRAFhPuM4+SKFDNM69HBND3CCdLrM0oQzG1sZCzBH1xNu2hlVNwyUhTZj5 9UPGvr0tT96C4yoAC4L/YxnRr8KUviyac/NBExIXwvAwvs8/S3tCnz7Xi1iIMY7ziMxoaT0rODs YJ8Z4nuqZj//W1pE5jCcEa3RkjHnT2fTKj3K8UIf07aJNF2lBh0PDn7IAL18os7yNylAaSYsnCa 47DWITXt9WgCohJcDNp3BlN7OWfocLgO/xzE2bapfnONs0ebSnvGLKG3WKxXrmE74wt0jM/izcZ OZzy9OqLFpS+BRT6NUkvOK7oXC+UYP49FACOQLNuU1sxsFdqrJLEh+Gj2S6NwTPJht/KWQgOTPG ohoREUim57fMdV9aYzCaaDh0iEK92f0O3PtVq+4e+bPc8WyWp4tBaPugXMKuRdqMi0BWm6Ex8GO traM5DGeUvanemUpK0b0Wbc0Oh0EAMG1iIUDkWNlzajSgT2oEMzPQnHr5w2gG5nA2xU2tpgJ3el qETObu5SaSjRa/qiUM= X-Received: by 2002:a05:600c:c4a8:b0:49d:1df6:2592 with SMTP id 5b1f17b1804b1-49e619e0f7amr32254555e9.21.1789118215893; Fri, 11 Sep 2026 02:16:55 -0700 (PDT) Received: from foxbook (bfg95.neoplus.adsl.tpnet.pl. [83.28.44.95]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-486eb33ee8bsm4494708f8f.15.2026.09.11.02.16.54 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 11 Sep 2026 02:16:55 -0700 (PDT) Date: Fri, 11 Sep 2026 11:16:52 +0200 From: Michal Pecio To: Greg Kroah-Hartman Cc: Mario Limonciello , Jiri Kosina , Benjamin Tissoires , Pierre-Loup Griffais , open list , "open list:HID CORE LAYER" , "open list:USB SUBSYSTEM" , Curtis Vogt Subject: Re: [PATCH 2/3] HID: valve-index: Reboot headset on system power transitions Message-ID: <20260911111652.703b865f.michal.pecio@gmail.com> In-Reply-To: <2026091133-silliness-recollect-e190@gregkh> References: <20260910170254.833871-1-mario.limonciello@amd.com> <20260910170254.833871-3-mario.limonciello@amd.com> <2026091133-silliness-recollect-e190@gregkh> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 11 Sep 2026 07:54:12 +0200, Greg Kroah-Hartman wrote: > > +What: /sys/bus/hid/devices/::./reboot > > +Date: October 2026 > > +Contact: linux-input@vger.kernel.org > > +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