Re: [Jack-Devel] JACK2 for Android newly released!
On Wed, January 29, 2014 9:10 pm, Patrick Shirkey wrote:
>
> On Wed, January 29, 2014 10:32 am, Bradley Justice wrote:
>> modprobe does not exist in any version of Android I have looked at.
>> Google
>> is fond of monolithic kernels.
>>
>
> Your right, I don't have modprobe here but I do have insmod :-)
>
> insmod /sys/module/....
>
> However the kernel config for the Android SDK has snd-usb-audio disabled
> by default.
>
> It can be enabled in the following section of "make menuconfig" :
>
> Device Drivers -> Sound card support ->Advanced Linux Sound
> Architecture -> USB Sound Devices -> USB Audio/Midi Driver
>
> Might be a good idea to also enable "Sequencer Support" so we can port
> apps that use ALSA midi sequencer API without having to make too many
> changes.
>
>
I have built and installed a kernel with snd-usb-audio and snd-seq-midi
modules on my android device.
The modules reside in /system/vendor/modules/
You can add the following commands to your /init.rc file
insmod /system/vendor/modules/snd-hwdep.ko
insmod /system/vendor/modules/snd-rawmidi.ko
insmod /system/vendor/modules/snd-seq.ko
insmod /system/vendor/modules/snd-usb-audio.ko
insmod /system/vendor/modules/snd-seq-device.ko
insmod /system/vendor/modules/snd-seq-midi-event.ko
insmod /system/vendor/modules/snd-seq-midi.ko
insmod /system/vendor/modules/snd-usbmidi-lib.ko
The order might need to be changed to load them correctly. They add an
additional 1.5MB to the system.img size on my device so that seems like a
reasonable price to pay.
--
Patrick Shirkey
Boost Hardware Ltd
1391090996.15587_0.ltw:2,a <54778.86.105.95.182.1391091058.squirrel at boosthardware dot com>