:: Re: [DNG] Pulling my hair out over …
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Rainer Weikusat
日付:  
To: dng
題目: 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.