Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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==""
share|improve this question
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 '13 at 12:33
1  
It would help if you provided udevadm info -a on the device. –  Patrick Sep 6 '13 at 12:33
    
Tried with this much SUBSYSTEM=="pci", SYMLINK+="jumanji" but /dev/jumanji was not created –  ganeshredcobra Sep 6 '13 at 12:38
    
:/ Instead of restarting via init try udevadm control --reload-rules. –  goldilocks Sep 6 '13 at 12:54
2  
Cross-posted on Askubuntu. –  Andrea Corbellini Sep 6 '13 at 12:59

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.