Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp938218rwe; Thu, 1 Sep 2022 09:48:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR51G5dMWslVMKZYFc2LGJ1lT3zxlr07Ca3OJx7uhb7ix+PxIYz0IxQkwtqI98519WEg4hG5 X-Received: by 2002:a17:902:9894:b0:172:ca00:f305 with SMTP id s20-20020a170902989400b00172ca00f305mr31850667plp.107.1662050918934; Thu, 01 Sep 2022 09:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662050918; cv=none; d=google.com; s=arc-20160816; b=npII3pGAJGhm1G+Km/nD8bGCtMkFf1zXSylat7IGLzqQTKBwNfz0dg/Ny347vV1/A3 4JrsvHG7trM2lsNQyTBM5YB2sA4PsvYPVPMvb9OrqxsRKBi9muMx6OnHoP86QK6wEQGD 3Vvx8e6UI/Iq8eU5UEwvSK+YZ7GAJBB/8cJYgQJ8Sus4usdVzZDDH9Jq/to3BcKTmwmN 0K73hTr8SdIuT+tZ4G/jjb7XDDPsWC6mJdHQ+aFoM4WUDl1cSqZg/kT2RAlF4zMAcO9w TKcA/dDlYFabzVx1o2g1OFZC5VJtYgiSchNn7gsZgjI0Z09PBQ3h9OzjUWySuCjPYUbt cJzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MPSZ8oD8PiA6Vv1rocUqdp8RH+E06J0jh3EOqpfTVD8=; b=D3Bv5rAuMHgW6gmn9s3UJFK1iWlwayKfFd/bcW9TdgLQHb455B5Zdl1eJl9QdUg5ng QVKqi9SiOj027LcvDQOZ0OpvALooUrcnBATNQ54U8u1N2j1qXba0bjWTCUmTJT/Mh1c0 fl+zXfMNCfMUzYCtDMLODkADjsJoUpDhxCwc1TeC7hDZeKIQUaR105MKMahsBOFe1vz/ SLfJYaoI1pger0bN3BleZ+OcUEKnwMzfeVel2zxQHXKzjeUvjY+eWdi3OLw4ZnZ1CfXs ANFqbUnTEUjV7qinW1hetZfI/pcTbYwEhvUBJcFiLpbfHhOsbWymW7SOHEK+NHldAih2 o0Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G8tnSuUr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kb1-20020a17090ae7c100b001fdaee0dfa0si4070398pjb.172.2022.09.01.09.48.25; Thu, 01 Sep 2022 09:48:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G8tnSuUr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232776AbiIAO7f (ORCPT + 99 others); Thu, 1 Sep 2022 10:59:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234002AbiIAO7d (ORCPT ); Thu, 1 Sep 2022 10:59:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0FAF83069 for ; Thu, 1 Sep 2022 07:59:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7C68261DEF for ; Thu, 1 Sep 2022 14:59:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7666AC433C1; Thu, 1 Sep 2022 14:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662044371; bh=cwXudkcBfgOofXhOP04Ksqp/0Zgj9ETlnaXlX5SpIJU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G8tnSuUrBFqj6u/qHbWGyP832BF5++vnOE+bVFAtpF8ppKpJrYreI+6vKUQJaJEYZ C79MeXMsodT8EYwVEeF9YX63W2xm1PV5cMWbJnZ/F05kogymvqlBEDhbjDO7F3C7vn 0PX0R3M3afy3HNOFCQhvoPbELZ2UQLVbXun222gk= Date: Thu, 1 Sep 2022 16:59:28 +0200 From: Greg KH To: Samuel Thibault Cc: linux-kernel@vger.kernel.org, speakup@linux-speakup.org Subject: Re: [patch 1/2] speakup-dummy: Add support for PUNCT variable Message-ID: References: <20220823222501.483597563@ens-lyon.org> <20220823222514.929670068@ens-lyon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220823222514.929670068@ens-lyon.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 24, 2022 at 12:25:02AM +0200, Samuel Thibault wrote: > This allows to debug the update of the punctuation level. > > Signed-off-by: Samuel Thibault > > Index: linux/drivers/accessibility/speakup/speakup_dummy.c > =================================================================== > --- linux.orig/drivers/accessibility/speakup/speakup_dummy.c > +++ linux/drivers/accessibility/speakup/speakup_dummy.c > @@ -27,6 +27,7 @@ static struct var_t vars[] = { > { INFLECTION, .u.n = {"INFLECTION %d\n", 8, 0, 16, 0, 0, NULL } }, > { VOL, .u.n = {"VOL %d\n", 8, 0, 16, 0, 0, NULL } }, > { TONE, .u.n = {"TONE %d\n", 8, 0, 16, 0, 0, NULL } }, > + { PUNCT, .u.n = {"PUNCT %d\n", 0, 0, 3, 0, 0, NULL } }, > { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, > V_LAST_VAR > }; > @@ -42,6 +43,8 @@ static struct kobj_attribute pitch_attri > __ATTR(pitch, 0644, spk_var_show, spk_var_store); > static struct kobj_attribute inflection_attribute = > __ATTR(inflection, 0644, spk_var_show, spk_var_store); > +static struct kobj_attribute punct_attribute = > + __ATTR(punct, 0644, spk_var_show, spk_var_store); > static struct kobj_attribute rate_attribute = > __ATTR(rate, 0644, spk_var_show, spk_var_store); > static struct kobj_attribute tone_attribute = > @@ -69,6 +72,7 @@ static struct attribute *synth_attrs[] = > &caps_stop_attribute.attr, > &pitch_attribute.attr, > &inflection_attribute.attr, > + &punct_attribute.attr, > &rate_attribute.attr, > &tone_attribute.attr, > &vol_attribute.attr, > Don't we also need a Documentation/ABI/ update for this new sysfs file? Can you send that as a follow-on patch? thanks, greg k-h