From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A16AFC433EF for ; Wed, 8 Sep 2021 18:09:42 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC0A861051 for ; Wed, 8 Sep 2021 18:09:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DC0A861051 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=us.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4H4VXN3KkMz2yKW for ; Thu, 9 Sep 2021 04:09:40 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=cyEb+/8S; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=us.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=miltonm@us.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=cyEb+/8S; dkim-atps=neutral Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4H4VWV1nKZz2xvN for ; Thu, 9 Sep 2021 04:08:53 +1000 (AEST) Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 188I3Ti7075543; Wed, 8 Sep 2021 14:08:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=in-reply-to : from : to : cc : date : message-id : content-transfer-encoding : content-type : mime-version : references : subject; s=pp1; bh=iqVpuBtbluPILGTSBsLjd4FyeMnWUfgZ84HLd7yGTtA=; b=cyEb+/8S7Rqb0JWXkoXctYE19KyZOXbDucYnVDEH/l2J4koYmGfA3a6wzm+FFaXJC+ON RAxo5VKuICWRIQg2FtZiWHWdQIKPoiVoGF89Bdh/ia3M9YoitFL9U7fEQ8Jo4FaT/Sl4 lbAEiJ14pkBnUv61IGKpRVaWW44BBFt+G9JoT+iYMWy9H6mDcuJ+c5cV1JwzjLfy+PJn xPjBA2MXNeeCK38uBdYSDijdpd5LnqkwWecMIR6e8+VdCwXBsSSXMjzzusAkL4gYFk93 5nQrln9/qjJ5jsIc/T/5wH/s2vfLxhhwc36dtpkDovTHVVFdhQNGEsIn+4fSJadGS8rU ZQ== Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0b-001b2d01.pphosted.com with ESMTP id 3axxm36vf5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Sep 2021 14:08:46 -0400 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 188I8111029002; Wed, 8 Sep 2021 18:08:45 GMT Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by ppma02dal.us.ibm.com with ESMTP id 3axcnj8gp0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Sep 2021 18:08:45 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 188I8hNH44040656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Sep 2021 18:08:43 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8E50C7805F; Wed, 8 Sep 2021 18:08:43 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 85C4D7805C; Wed, 8 Sep 2021 18:08:43 +0000 (GMT) Received: from mww0332.dal12m.mail.ibm.com (unknown [9.208.69.80]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTPS; Wed, 8 Sep 2021 18:08:43 +0000 (GMT) In-Reply-To: From: "Milton Miller II" To: "Ren, Zhikui" Date: Wed, 8 Sep 2021 18:08:41 +0000 Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Sensitivity: Importance: Normal X-Priority: 3 (Normal) References: , X-Mailer: Lotus Domino Web Server Release 11.0.1FP2HF97 July 2, 2021 X-MIMETrack: Serialize by http on MWW0332/03/M/IBM at 09/08/2021 18:08:41, Serialize complete at 09/08/2021 18:08:41 X-Disclaimed: 27247 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: I5SYzYxB-NdicaptDo1QlF-xTGS-V6oU X-Proofpoint-ORIG-GUID: I5SYzYxB-NdicaptDo1QlF-xTGS-V6oU Subject: RE: beep code manager for openbmc X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-09-08_06:2021-09-07, 2021-09-08 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 adultscore=0 malwarescore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 clxscore=1011 phishscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109080113 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "openbmc@lists.ozlabs.org" , Brad Bishop Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Ren, Zhikuui wrote: >Patrick Williams wrote:>>On Thu, Sep 02, 2021 at 08:15:21PM +0000, Ren, Zh= ikui wrote: >>> Hi All, >>> >>> Beepcode manager is a stand-alone beep code service should be >created to >>manage the beeper hardware, and provide D-Bus methods to expose the >>beeper function globally, all other services can use the beeper >hardware by >>calling the beep methods. >>> >>> This package has been included in our distribution. Now we would >like to >>upstream it and make it available to the community. >>> >>> >>> Since it is now a very light service that only have one source >file and a service >>file. I am wondering whether this service can go to an existing >repository. >>> If not, we would like to request a new repository for it. >>> My thought is perhaps with our progress code logging and 7-segment=20 post code display in phosphor-host-postd ? I could see several of the events mentioned be triggered by writing=20 a post code, and there are already a few separate programs in that=20 repository, one to record codes and one to display on some 7-segment=20 led hardware. The phosphor-post-code-manager which records the=20 history is in its own repository (before the desire to combine them). I'm certianally open to other suggestions just thought I'd plant a=20 seed for discussion. >>> Thanks,>>> Zhikui >>> [various other discussions on interfaces , making the beep codes=20 configurable , etc] >[Ren, Zhikui] To summarize, I think the following steps can be taken:>1. F= ind an existing home or create a new one for Beep code manager >2. Upstream existing code as initial check in >3. create phosphor-dbus-interfaces for it=20 >4. update to use phosphor-dbus-interface >5. further improvements including the two discussed above > >Any comments/feedback?=20 > >Thanks, >Zhikui milton