Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to create an udev rule for when an usb device is plugged in to call a bash script that uses pulseaudio to load a module. The udev rule triggers when the USB is plugged in and I can load the module if I run the script manually but when I try to run the script with udev I usually get a message from pulseaudio saying "module load failed". If I run udevd in debug mode, however, it occasionally works. I'm looking for some suggestions on how this could be and where I should look to fix it. I've tried changing the udev rule number (95,99) and adding a delay of up to 60 seconds before the script runs, neither helped. Thanks.

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.