X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev.config;h=8d77099ca827314d129423c21abc0be468e397d4;hb=1ac5204774c4080d16f308ac3077db0dae8d221c;hp=a0c6f9d1e87b72fd03230b148a1d1b1ff7884eee;hpb=d41120879358f783eb1a457f340c1a4b538a9410;p=elogind.git diff --git a/udev.config b/udev.config index a0c6f9d1e..8d77099ca 100644 --- a/udev.config +++ b/udev.config @@ -1,5 +1,14 @@ +# There are a number of modifiers that are allowed to be used in the NAME field. +# They provide the following subsitutions: +# %n - the "kernel number" of the device. +# for example, 'sda3' has a "kernel number" of '3' +# %M - the kernel major number for the device +# %m - the kernel minor number for the device +# %b - the bus id for the device +# + # My usb camera... -LABEL, BUS="usb", vendor="FUJIFILM", NAME="camera" +LABEL, BUS="usb", vendor="FUJIFILM", NAME="camera%n" # USB Epson printer to be called lp_epson LABEL, BUS="usb", serial="HXOLL0012202323480", NAME="lp_epson" @@ -22,5 +31,5 @@ TOPOLOGY, BUS="usb", place="2.4", NAME="mouse2" # ttyUSB1 should always be called visor REPLACE, KERNEL="ttyUSB1", NAME="visor" -#REPLACE, KERNEL="ttyUSB0", NAME="pl2303" +REPLACE, KERNEL="ttyUSB0", NAME="pl2303"