From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 75F68457E7F for ; Fri, 11 Sep 2026 09:16:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789118220; cv=none; b=Imv0DoIIeivHPmLWKLU1R1HWB/VxZJHBE/Br2qwhyYwsxdZByoNktfL9Au540AETf1ICOTvp94dLC8R17VeRAoRXHUCmkdaARKlWKE8pUVh87aRZomOFhMYUuSFakbf1mDFjSUFctjOJFKy8eKHfntxxtZpnozs8P5o71QDpdsM= 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.45 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-f45.google.com with SMTP id 5b1f17b1804b1-49b0d78a801so6749435e9.2 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=AM1ncVZkuIMcdEMCDtz3gwPFysaYyALrpHtQAzpHE80EoaUl3dAoghFWHm717ziNZ3 j4Xa2Xwjv80oBL++Sp6JX2g6ORb7J+pxUEM+sDJxddc153viSbINSRhz8VzcdnjkeZ5i tvr8t8oYM6+QJ5koU9Hm4mJBYPy+gbikWtbmMttPUDIZ0h995EWwTMbqs71p6cxfC8a8 S5he0o/s2vaPhZMS0uYfSTAnS9/D/S72zh/LPec7mt/0oeoaUzNSptQfY9NpwXY1YEXB atjKUDpCvZKT5/pt/kw0SsaU0qcuHImAmhNtUR7f1OrfS2FubltuYWeJhgMMO3GfYUTi JoNQ== X-Forwarded-Encrypted: i=1; AKwUvBz0OEXuMzYkWd1RuIXEk5JQzfYKFKeVP0U7QYLhiUbEPmFL+LlT794V0Txpvwx403YX1VHWxlCYRPsAIg==@vger.kernel.org X-Gm-Message-State: AFuF++k09PWHTuadLLM4wEfjARVBHoQFHgXx+QLN8+bFWv9x3v6aZ1Dg v0D10RLjpT3nZ89q8TzPYSxZHspGQN1RhNq1IgudK4Y0hjIq0Vpew9Kd X-Gm-Gg: AYBFou0QT0uEIW36ZPzaq/NDC7tiZD9kfiE6Qxe6FfOcqMjtKlvUwyXje4gREZCarM0 uSTQBYsr0Ydi+aMn5pzXATzb4KJBvVrkqdB9DWGa5u4GmJqLTr/dGNqPsy6yLHTSBXTzr+1CUg8 K/CKd24O7vcb+3eRfgGuMQhRuFxOfMqELeJlpxShuA0Z1XXnZFJNzb4bacRIcvwDMUllZHVj3d3 /KrEIHNDaGB7ezTIo+0Am8okAdhSX1NMHYkMYISiJbZOFqB0MhFsuzP8Nr4qb8x/GAkV+z+HM3j s5EaBaEp9eS2CoDExIAoCTVc3E9i/2qNndimKfn0PunXpXEuoj7XenPFupwhws4XJU3kLL+B/3n xDc5dXrsk/ukvFCIQxlC0zOilLpn33UTMjuzFJkX1Mn3P8dhVhO2MqInlQNZdBUC6HdvYbU5rER UoISJnxuq4h+W9jx1lGXzgx/9RtipxtzBZRoICZtLIZCaPcs9aZsn/57d076j3LACpBZdmBkm2V b857QaBaMItJOgY5JA= 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-input@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