![](https://secure.gravatar.com/avatar/cc3aeb35334992dbbd80910f3fdfeca7.jpg?s=120&d=mm&r=g)
Cyrus,
There's an automated patcher for the UR22 on Ubuntu @ Steinberg forums - maybe you can adapt it for your purposes.
http://pastebin.com/awiG30Eh http://www.steinberg.net/forums/viewtopic.php?t=62290
~Vlad
On Thu, 2014-11-06 at 08:54 -0800, Cyrus Harmon wrote:
That's what I was looking for!
Thanks!
On 11/06/2014 08:49 AM, Takashi Iwai wrote:
At Thu, 06 Nov 2014 08:05:43 -0800, Cyrus Harmon wrote:
On a somewhat related note, is there a way to apply changes to things in, say, sound/usb and compile/install those changes without a few kernel rebuild/install? Or, even better, without a reboot? Would certainly shorting the debug cycle time for me. In this case I'm interested in finding out what quirk->type is when it gets to snd_usb_create_quirk as it looks like the function in the quirk_funcs table that gets called here produces the first suspect error. Adding a dev_info, followed by a kernel rebuild, reinstall, reboot (and the fact that my broken nvidia drivers require reinstalling the video driver every time I install a new kernel) makes for a tedious process!
It's a standard procedure, something like...
% mkdir /somewhere % cd /somewhere % cp -a /there/linux/sound . % patch -p1 < your-usb.patch % make -C /lib/modules/`uname -r`/build M=$PWD/sound/usb % su # make -C /lib/modules/`uname -r`/build M=$PWD/sound/usb modules_install # modprobe -r snd-usb-audio # modprobe snd-usb-audio
Takashi
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel