/etc/udev/rules.d/60.alsa.rules
다음 내용으로 파일을 만들었습니다.
KERNEL=="0000:00:1b.0", SUBSYSTEM=="pci", ATTR{label}=="Realtek High Definition Audio Device", ATTR{vendor}=="0x8086", SYMLINK+="jumanji"
/dev/jumanji
그런 다음 init.d를 사용하여 udev를 다시 시작했지만 심볼릭 링크가 생성되지 않았습니다.
어떻게 해야 합니까?
추가 정보:
udevadm info -a -n /dev/snd/by-path/pci-0000\:00\:1b.0
looking at device '/devices/pci0000:00/0000:00:1b.0/sound/card0/controlC0':
KERNEL=="controlC0"
SUBSYSTEM=="sound"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:1b.0/sound/card0':
KERNELS=="card0"
SUBSYSTEMS=="sound"
DRIVERS==""
ATTRS{id}=="PCH"
ATTRS{number}=="0"
looking at parent device '/devices/pci0000:00/0000:00:1b.0':
KERNELS=="0000:00:1b.0"
SUBSYSTEMS=="pci"
DRIVERS=="snd_hda_intel"
ATTRS{irq}=="45"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x040300"
ATTRS{index}=="1"
ATTRS{label}=="Realtek High Definition Audio Device"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="ff"
ATTRS{device}=="0x1c20"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-7"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x2042"
ATTRS{d3cold_allowed}=="1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
답변1
ATTR
ATTR{vendor}
in 끝 과 끝에 ATTR{label}
"S"가 있어야 합니다 SUBSYSTEM
.
이것은 매우 쉬운 실수이고 나 자신도 화상을 입었습니다.