Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85542C6FA99 for ; Sat, 4 Mar 2023 22:35:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229519AbjCDWdr (ORCPT ); Sat, 4 Mar 2023 17:33:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjCDWdp (ORCPT ); Sat, 4 Mar 2023 17:33:45 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DF9C1025C for ; Sat, 4 Mar 2023 14:33:42 -0800 (PST) Date: Sat, 4 Mar 2023 22:33:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1677969220; bh=KFyhLwQsTeEVsLuUHKYhCEX6M3NsGkyXVzG3z+JFODQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EfgODp01ZW/Klcjt7alZ6ap2h4emrVHDOI9TRqDhNiB1Wmivc/aJcVeA7FgYNi57f RP8oTBHt59Nb6SBHHT6cY2WwAsZxam0wx4CInzvlhgfREM0G4+2xJ4vyoDRRIzi589 kocwygdURYvtOn6F9lm95TWhqOV82/FdHuUqzq9k= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Storm Dragon Cc: George Kennedy , Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org, Randy Dunlap Subject: Re: [PATCH] vc_screen: don't clobber return value in vcs_read Message-ID: <58af4510-13cd-4f4c-9199-b6b59b2f2bff@t-8ch.de> References: <20230220064612.1783-1-linux@weissschuh.net> <00e5aee7-c7b3-4077-8c9f-4f28ec220567@t-8ch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 04, 2023 at 02:58:46PM -0500, Storm Dragon wrote: > On Fri, Mar 03, 2023 at 11:25:00PM +0000, Thomas Weißschuh wrote: > > > Does this mean the screenreader now works correctly or is it still > > broken somehow? > > > > Thomas > > I have still been testing this kernel. Most things work as expected, but > the pasting functionality for Fenrir's clipboard is broken. After > checking into the problem, it seems that tiocsti is disabled, and that > is causing the problem. Was that something done in this test kernel > only, or will that be the default for all new Arch kernels? If it is the > default, is there a way to turn it back on? By now this package has been promoted to [core] so it is in fact the default ArchLinux kernel. As a workaround you can use the "linux-lts" package that now also carries the fix for your original problem but not the code responsible for the new issue. pacman -Sy linux-lts > I tried the following: > > [storm@mjollnir ~] $ sudo sysctl dev.tty.legacy_tiocsti=1 > sysctl: setting key "dev.tty.legacy_tiocsti": Invalid argument This is indeed the correct way to enable the feature again. It seems that the commit that introduced this sysctl[0] depends on another commit [1] to be applied. But the 6.2.2 stable kernel is missing the requirement. I'll validate that this indeed is the issue and will then send a formal request for backporting. [0] 83efeeeb3d04 ("tty: Allow TIOCSTI to be disabled") [1] f1aa2eb5ea05 ("sysctl: fix proc_dobool() usability")