[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Udev Rule Not Triggered

From: pelzflorian (Florian Pelz)
Subject: Re: Udev Rule Not Triggered
Date: Sun, 29 Aug 2021 16:42:00 +0200

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
   "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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]