# Rule to load the firmware on the "generic" usb device ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02ad", RUN+="/usr/local/sbin/upload_fw /usr/local/share/usb/kinect/UACFirmware.C9C6E852_35A3_41DC_A57D_BDDEB43DFD04" # Rule to set the profile for the USB Audio Class device after reenumeration SUBSYSTEM!="sound", GOTO="pulseaudio_end" ACTION!="change", GOTO="pulseaudio_end" KERNEL!="card*", GOTO="pulseaudio_end" SUBSYSTEMS=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="02bb", ENV{PULSE_PROFILE_SET}="kinect-audio.conf" LABEL="pulseaudio_end"