60-persistent-alsa.rules 616 B

1234567891011121314
  1. # do not edit this file, it will be overwritten on update
  2. ACTION=="remove", GOTO="persistent_alsa_end"
  3. SUBSYSTEM!="sound", GOTO="persistent_alsa_end"
  4. KERNEL!="controlC[0-9]*", GOTO="persistent_alsa_end"
  5. SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{builtin}="usb_id"
  6. ENV{ID_SERIAL}=="?*", ENV{ID_USB_INTERFACE_NUM}=="?*", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_USB_INTERFACE_NUM}"
  7. ENV{ID_SERIAL}=="?*", ENV{ID_USB_INTERFACE_NUM}=="", SYMLINK+="snd/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
  8. IMPORT{builtin}="path_id"
  9. ENV{ID_PATH}=="?*", SYMLINK+="snd/by-path/$env{ID_PATH}"
  10. LABEL="persistent_alsa_end"