[alsa-devel] Patch for Digidesign Mbox 2 (set sample rate)

Takashi Iwai tiwai at suse.de
Wed May 3 12:16:02 CEST 2017


On Fri, 28 Apr 2017 22:36:09 +0200,
Viktor Radnai wrote:
> 
> Hi there,
> 
> I have recently bought a Digidesign Mbox 2 Mini and found the lack of
> support for 44100Hz sample rate in the driver limiting (the sample rate was
> hard-set to 48000Hz by the original author even though the device supports
> it, because he couldn't get the frame rate switching to work reliably).
> 
> I had a go at hacking the driver and came up with the following patch which
> appears to work on the MBox 2 Mini:
> https://pastebin.com/kzzTDj9T
> 
> I have built and tested this with Linux 4.8.15 without any realtime
> patches. I am planning to pick up a "full size" Mbox 2 as well, in the
> meantime if anyone on the list owns one I would appreciate if you could
> test this and let me know the result. There is a possibility that it will
> not work without the "magic" init sequence that I have removed because it
> does not look like it's needed on the Mini. Although I would be a bit
> surprised because the two devices are apparently identical to the point
> that the Mini allows the use of it's physically nonexistent features.
> 
> Once someone could confirm that this works, I would like to get it merged.
> This is my first attempt at submitting a patch for any Linux device driver
> so please let me know if I need to do anything else :)

At least it'd be better to the original author in the loop.
Damien, could you take a look if you still have the device?


thanks,

Takashi


More information about the Alsa-devel mailing list