Received: by 10.223.176.5 with SMTP id f5csp238079wra; Tue, 30 Jan 2018 10:41:34 -0800 (PST) X-Google-Smtp-Source: AH8x227bMGscHJJqFvkvxvKBDv/wU4zxw7LsKFHlu+64Uo1WiPm0UR5b/zXVB51KXS0JsFlHt27O X-Received: by 10.98.248.75 with SMTP id c11mr31278635pfm.54.1517337694393; Tue, 30 Jan 2018 10:41:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517337694; cv=none; d=google.com; s=arc-20160816; b=OoZjFXiTjoG+uFOUZV8+jP2Bmt7je6bKc2BXDs+FlIsKHoPAsfup78qOpwpqjs1NcH kZ5SNnqzUhp9dk7UGGd6VSwJEe6xlIQPMYVRrES8Ahty3tUd4T33kJ/c1lsNL81jJ6sz RsEZ0T0EHv74jNZWyjOu/btOWcdRsehVJsBX3V9LNRzolhk4FiOvVWmlYMfoW3PdL7Uu 5NZrERJ5HA3unmmLGLUjCi5vAnB36TnuKJcvs5zrGBxl35ChknpcabbpL7LsU2emFfXb MmB3UHOXkIJUobwu/R0jWXYIzeSTCrq/rXL4zJ7fWZfcmPbNyEj+KEWENzDXZGqN+i77 pxng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:subject:cc:to:from:date:arc-authentication-results; bh=aNAoGwFdTXQcJpDT7qEltNKt9rA6KL/py+/dHuPGf1I=; b=dDirS0LsskTUHv5sQdoNEII3vdwBFwaaCKUhPfvIXjgKSfko0qBSkcyv9oeB9cDOvZ G/JSK4OTQC8+n3iCzZYgdCCURY/DOQyK+TMl65d6oU5bHsfLpyMH3srulJRrppdA3WDy DLOh0o4srq91sTJugFQUadvEI8cdkKQBjKeeBQjGaNCuclPHheis5/Ge7CrXIMqokT0q AUl0dTm1XSSfvxs2agdjuXz0uGgewpLVupk0iusuYvloZjy2iWLt0YG+iba+z1kwFN/u jQg1NB2WM5mcpHdkmty6OjB+y5cviKTVDs+xy57x//SXNtUqiy2gdRGw024iDymonokX b/AA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f30-v6si2762955plj.658.2018.01.30.10.41.19; Tue, 30 Jan 2018 10:41:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752520AbeA3SOV convert rfc822-to-8bit (ORCPT + 99 others); Tue, 30 Jan 2018 13:14:21 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:53982 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122AbeA3SOU (ORCPT ); Tue, 30 Jan 2018 13:14:20 -0500 Received: from dinghy.localdomain ([89.15.196.161]) by mrelayeu.kundenserver.de (mreue103 [212.227.15.183]) with ESMTPSA (Nemesis) id 0Lr4bL-1fC3UA2nWV-00eeL0; Tue, 30 Jan 2018 19:14:17 +0100 Date: Tue, 30 Jan 2018 19:14:16 +0100 From: Lukas Senger To: giometti@enneenne.com Cc: linux-kernel@vger.kernel.org Subject: pps-gpio falsely reporting echo capability? Message-ID: <20180130191416.175d4550@dinghy.localdomain> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT X-Provags-ID: V03:K0:oWM4XWSVtquVxoHOGfQ+rVv/RqyTfGGoxjRwiosRU0glMbkczHs ukh0XioospcNYE3IGXgZ0IM2SlgB8w+f00FG2RSMbDyTeaEFVMjEl3mc2PJWc4X11lbQdPb HUY+GJDcipASVPlO2CQu2zCBK7H04dBIiMouFfrsEVopEssq8OWZzpxX2KjcS3dMJLZ3jje lwh7ULk3q7oDCJ53jrBLg== X-UI-Out-Filterresults: notjunk:1;V01:K0:/asgbUfy7+M=:DOMhJDHapTx1fjwqQAtkA5 EFUaNNM4t8mjB+VXIqR8OnNrHEhDYybMTFNFVJRT4niXIPyKsBxg6kj1TIz/W/MVZD2KBNmq7 BRgU+JsWqBfmohsJq3kXCTiaTa7m5GLpebtYEYIe+TdR5grt1IfcTdULjgnLsceu3Xv0Lz81T pY9VKhUwTTdsGpnvg0v5Uip/HHqDKN9FJqA9zydjLh8nyTbAgIs64E/zgfTtUteIGX4htuxAB 33G/eQaQ3CmVKR12pEho6vZ/ac0XFtZ6uN5aJHvVwgxA0wqbF2JSU4DDuQzVPGBcLw54BCSH5 y49+7R7N2lAXIMIkGhEt3anyOFdlYmwx/RXgZ8S54jks5W6ZCNJIoGDB1WEYsdzMTxIJybDLs jbCvdDv+ypflUlvQJTCAzh6xPDM2QedoAVEi49khTm/fFFAubSYBmMLV+3kv89xFI1VYDrmIh HOdbm3A8yPkr0Z97MOUmgRSzOD/gHhwjNv6IlqzT4UbR0VnTRQT7gJVAm/zZr0JGjKthqOdy1 RVlMeR39pdFGSdPpAZ1pa3iuImW+iElur7mIPGXavqHSjsqpi2Wjn6cmkSSK4aszlK8ELhoRX wNTdH0GtWHI9AeeeMbp79ztCaZ93MaqD5A9z8VT+WxEwCjc3yrx+XIrXukvlgfx0Nua51wof4 HUfiWxRRXF5u/9zUtUE+YdDmVhYVB+gNbg9q9w9M5JyQCHeBCZXRLuwS6iDQxrxe0CmyU+3B7 +CcgcxaNvGgaplyRnYrRNDkllb2S6iNd7LN2c59buuuYtvNRedZxc2SjWTQ= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I'm trying to use PPS_ECHOASSERT with the GPIO pins on a Raspberry Pi. /sys/class/pps/pps0/echo reports 1, however looking at pps-gpio.c, no echo-callback is registered. Am I missing something or should either sysfs report 0 or pps echo be implemented in the client? From a quick glance at the other clients, the same might be true for pps-ktimer and pps_parport. They both report PPS_ECHO* in info.mode but never define info.echo. Cheers, Lukas