:: Re: [DNG] Pulling my hair out over …
Etusivu
Poista viesti
Vastaa
Lähettäjä: Rainer Weikusat
Päiväys:  
Vastaanottaja: dng
Aihe: 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.