:: Re: [DNG] Pulling my hair out over …
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Rainer Weikusat
Date:  
À: dng
Sujet: Re: [DNG] Pulling my hair out over a udev rule
Nate Bargmann <n0nb@???> writes:
> I may have swerved into the solution:
>
> ACTION=="add", KERNEL=="ttyUSB*", KERNELS=="1-1.4:1.0", SYMLINK+="ttyUSB99"
>
>
> Time will tell if it survives a reboot...


I think you shouldn't use the devpath in here as this means the rule
won't match anymore if the position of the device on the USB
changes. Matching against the product ID (vendor id/ model id/ revision,
leading zeroes not dropped) makes more sense.