1 # do not edit this file, it will be overwritten on update
3 ACTION!="add|change", GOTO="kernel_compat_end"
10 # needed for kernels <2.6.29-rc1
11 SUBSYSTEM=="dvb", ENV{DVB_ADAPTER_NUM}=="", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c", GROUP="video"
14 # module loading rules
16 ACTION!="add", GOTO="kernel_compat_end"
18 # No need for more code, as MODALIAS is present
19 ENV{MODALIAS}=="?*", GOTO="kernel_compat_end"
21 # needed for kernel <2.6.30-rc1
22 SUBSYSTEM=="scsi", ATTR{type}=="8", RUN+="/sbin/modprobe -b ch"
23 SUBSYSTEM=="mmc", RUN+="/sbin/modprobe -b mmc_block"
25 # needed for kernel <2.6.27-rc5
26 # acpi will do on newer kernels
27 SUBSYSTEM=="pnp", DRIVER!="?*", \
28 RUN{ignore_error}+="/bin/sh -c '/sbin/modprobe -a $$(while read id; do echo pnp:d$$id; done < /sys$devpath/id)'"
30 LABEL="kernel_compat_end"