From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EEegHNWcK2ED0gAAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 16:42:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uI9UGNWcK2FmcwAA1q6Kng (envelope-from ) for ; Sun, 29 Aug 2021 14:42:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DCCFB128E0 for ; Sun, 29 Aug 2021 16:42:28 +0200 (CEST) Received: from localhost ([::1]:60262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKM0x-0000Ce-79 for larch@yhetil.org; Sun, 29 Aug 2021 10:42:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKM0j-0000CV-Kw for help-guix@gnu.org; Sun, 29 Aug 2021 10:42:13 -0400 Received: from pelzflorian.de ([5.45.111.108]:36894 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKM0h-0003JR-0G for help-guix@gnu.org; Sun, 29 Aug 2021 10:42:13 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id CF4AD360674; Sun, 29 Aug 2021 16:42:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1630248128; bh=e1BwTbgK3aoddl3dLD6qsApicRFEzhfKLBaIq7EfS7Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=wSB7PPQAHZn86Q3KQsaqRDZjCTEQIpZVEJAbaHiciy2fZFu1WWXdKyckQr4ruAq8/ uhYGbfgfRp9YeoLzML8tLy4g4E+SVwOa6F1kbJql3HIHZ4CGiEOjp7UYbqK24Q6h3m 9o2bjCINpNzFFGv7GM1iYsShSksgDFpOa55RfqTw= Date: Sun, 29 Aug 2021 16:42:00 +0200 From: "pelzflorian (Florian Pelz)" To: Antwane Mason Subject: Re: Udev Rule Not Triggered Message-ID: <20210829144200.3rzxztcm7q4z2hkq@pelzflorian.localdomain> References: <20210829135351.t74ak2maimzfckro@pelzflorian.localdomain> <20210829142808.7wsitnwrmsxudynn@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210829142808.7wsitnwrmsxudynn@pelzflorian.localdomain> Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630248149; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Gut89LBliSQ5T2BF6MG1H7dyat+JllwG8Ywx6KvGxuo=; b=sg3KC9LjTHhwjNXl+sAlFytQ7vIMQZ7GiyCQPgJss4Fr8YcYw9aBiJnJb1Cg3gzwiFcT9w EIH1XgwZnDUCXC2Ts+1tS9+RmTV6ILg0LBLUxX7sGVeT8t8tGT7lZZY7dYHCGPG8HoaMpd IejAoQA8Jka2g/kDYsIQaSKvzM229k7u5XiXRWf4WWS3UA81Qi0SezGFIZlDkJKOmtS9YF 2F4p/00Gbadjz8VWAqjAB1pynqyKW0Sr07Zd/tH80TZIrTLHenbw52odGldReWgLirxsuR Cu+1tHsk/qptaBb84WOUIBUopnN0u1iL9t0Qp7vEBrk7fpkCBM7Lyj3OUbxgqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630248149; a=rsa-sha256; cv=none; b=iZNKLB2nRilUMpsTFDmEvkuUaTuqreCANI9DnmRpWwjtdJ659E5dLCjjTS5KeSrnOd7DUC L66vmTi0iHRGVr3UYMVGy0IY4DdzCFqXGnDkv060SBLkhemBFpjXPEg1Gtgf3JkcUo44hX V9FmUINjm7FHWF2AiQV/NQvM2BR9sEB+h58BLETlDH/bTCU8pZhfYCVqk4O099WfQWiO/u M6TWmyXAvLcGq4F4JOMg6HCCrkYs7JpfBCES/rQy6JJDlYvxhFR0sU6H5bEfrcC/JKB4Ff lfqtO8tgLfdbrFlLTnj5M7v8PGdDH1hk8C9kL+8c9X1aKI0czPjSRHFCg2hQlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=wSB7PPQA; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=wSB7PPQA; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: DCCFB128E0 X-Spam-Score: 0.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: tfT5Td0giDto On Sun, Aug 29, 2021 at 04:28:08PM +0200, pelzflorian (Florian Pelz) wrote: > > (string-append > > "ACTION==\"add\", SUBSYSTEM==\"usb\", " > > "ATTR{product}==\"Example\", " > > "RUN+=\"/path/to/script\""))) > > The difference is that the manual uses spaces at the end of each > string except the last. > > You can use string-append instead of string-join, but then you need a > space at the end of the strings. P.S. Or for testing just use one big one-line string instead: (define %onlykey-udev-rule (udev-rule "49-onlykey.rules" "ATTRS{idVendor}==\"1d50\", ATTRS{idProduct}==\"60fc\", ENV{ID_MM_DEVICE_IGNORE}=\"1\" ATTRS{idVendor}==\"1d50\", ATTRS{idProduct}==\"60fc\", […]" )) You can also use newlines in the string if syntax requires it. Regards, Florian