2

I created a file /etc/udev/rules.d/60.alsa.rules with the following content:

KERNEL=="0000:00:1b.0", SUBSYSTEM=="pci", ATTR{label}=="Realtek High Definition Audio Device", ATTR{vendor}=="0x8086", SYMLINK+="jumanji"

Then I restarted udev using init.d but the symbolic link /dev/jumanji was not created.

What should I do?

Additional information:

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==""
7
  • 1
    Narrow it down to the just the broadest qualification (I think SUBSYSTEM="pci"), see if that works, then start adding stuff back in.
    – goldilocks
    Sep 6, 2013 at 12:33
  • 1
    It would help if you provided udevadm info -a on the device.
    – phemmer
    Sep 6, 2013 at 12:33
  • Tried with this much SUBSYSTEM=="pci", SYMLINK+="jumanji" but /dev/jumanji was not created Sep 6, 2013 at 12:38
  • :/ Instead of restarting via init try udevadm control --reload-rules.
    – goldilocks
    Sep 6, 2013 at 12:54
  • 2
    Cross-posted on Askubuntu. Sep 6, 2013 at 12:59

1 Answer 1

2

You need an 'S' at the end of ATTR in ATTR{vendor} and ATTR{label}, and at the end of SUBSYSTEM.

An easy mistake to make, I just got burnt myself.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .