📄 60-pcmcia.rules
字号:
# PCMCIA devices:## modprobe $env{MODALIAS} loads all possibly appropriate modulesACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \ RUN+="/sbin/modprobe $env{MODALIAS}"# Very few CIS firmware entries (which we use for matching)# are so broken that we need to read out random bytes of it# instead of the manufactor, card or product ID. Then the# matching is done in userspace.ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \ RUN+="/sbin/pcmcia-check-broken-cis"# However, the "weak" matching by func_id is only allowed _after_ modprobe# returns, so that "strong" matches have a higher priority.ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \ RUN+="/bin/sh -c 'echo 1 > /sys/$devpath/allow_func_id_match'"# PCMCIA sockets:## modprobe the pcmcia bus module so that 16-bit PCMCIA devices workACTION=="add", SUBSYSTEM=="pcmcia_socket", \ RUN+="/sbin/modprobe pcmcia"# if this is a PCMCIA socket which needs a resource database,# pcmcia-socket-startup sets it upACTION=="add", SUBSYSTEM=="pcmcia_socket", \ RUN+="/sbin/pcmcia-socket-startup"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -