my USB sound interface (M-Audio Fast Track Ultra 8R) works fine but when I stop playing sound it seems to "shut down" after about 5 seconds (green lights pop up which happens on windows only if you start the device - and I get a huge sound pop which is quite annoying). Once I start a sound after it has "shut down", the same problem reoccurs (like it's "booting up"). It seems almost as if the driver tells the device to shut down due to no sound played.
Is there a way to fix this?
Here's some output:
$ for d in /sys/bus/usb/devices/[0-9]* ; do if [[ -e $d/product ]] ; then echo -e "`basename $d`\t`cat $d/power/control`\t`cat $d/speed`\t`cat $d/product`" ; fi ; done
1-1.4.1.1 on 480 Ultra Fast Media Reader
1-1.4.1.2 on 12 Razer DeathAdder
1-1.4.1.3 auto 480 USB2.0 Hub
1-1.4.1.3.1 on 1.5 G110 G-keys
1-1.4.1.3.3 on 1.5 Gaming Keyboard G110
1-1.4.3 on 12 Hua Xing
2-1.5 on 480 Fast Track Ultra 8R
$ cat /sys/bus/usb/devices/2-1.5/power/control
on
$ cat /sys/bus/usb/devices/2-1.5/power/level
on
$ cat /sys/bus/usb/devices/2-1.5/power/autosuspend_delay_ms
2000
$ cat /sys/bus/usb/devices/2-1.5/power/autosuspend
2
$ cat /sys/module/usbcore/parameters/autosuspend
2
$ cat /sys/module/usbcore/parameters/autosuspend
2
cat /lib/udev/rules.d/42-usb-hid-pm.rules
# do not edit this file, it will be overwritten on update
#
# Enable autosuspend for qemu emulated usb hid devices
# Note that there are buggy qemu versions which advertise remote
# wakeup support but don't actually implement it correctly. This
# is the reason why we need a match for the serial number here.
# The serial number "42" is used to tag the implementations where
# remote wakeup is working.
ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Mouse", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Tablet", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Keyboard", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
# Catch-all for Avocent HID devices. Keyed off interface in order to only
# trigger on HID class devices.
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0624", ATTR{bInterfaceClass}=="03", TEST=="../power/control", ATTR{../power/control}="auto"
# Dell DRAC 4
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="413c", ATTR{idProduct}=="2500", TEST=="power/control", ATTR{power/control}="auto"
# Dell DRAC 5
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="413c", ATTR{idProduct}=="0000", TEST=="power/control", ATTR{power/control}="auto"
# IBM remote access
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="04b3", ATTR{idProduct}=="4001", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="04b3", ATTR{idProduct}=="4002", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="04b3", ATTR{idProduct}=="4012", TEST=="power/control", ATTR{power/control}="auto"
# Raritan Computer, Inc KVM.
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="14dd", ATTR{idProduct}=="0002", TEST=="power/control", ATTR{power/control}="auto"
# USB HID devices that are internal to the machine should also be safe to autosuspend
ACTION=="add", SUBSYSTEM=="usb", SUBSYSTEMS=="usb", ATTRS{removable}=="removable", GOTO="usb_hid_pm_end"
ACTION=="add", SUBSYSTEM=="usb", SUBSYSTEMS=="usb", ATTRS{removable}=="unknown", GOTO="usb_hid_pm_end"
ACTION=="add", SUBSYSTEM=="usb", ATTR{bInterfaceClass}=="03", ATTRS{removable}=="fixed", TEST=="../power/control", ATTR{../power/control}="auto"
LABEL="usb_hid_pm_end"
Note that laptop-mode is not installed, it's a desktop pc with a fresh ubuntu 13.10 install.