I happen to have a Focusrite Scarlett interface too. It doesn’t work either. I wonder if this is an issue with my older Raspberry Pi 1, which only has 256MB of ram.
A Pi1 with 256M of ram is very limited in what can be done with kodi (many add-ons and skins will send it into swapping hell due to the limited memory) and upgrading would be recommended.
However it shouldn’t affect the auto card showing up in audio settings. Can you ssh in and report output of:
I went out and upgraded to a Pi3. I still have problems using the NI Audio 2 DJ. Focusrite Scarlett seems to work fine so far.
I can upload a logfile from paste.osmc.io. Or I can try to post the output you’ve asked for. However, I get “command not found” for lsusb and aplay -l. Same goes for sudo lsusb and sudo aplay.
for lsusb do sudo apt-get install usbutils
for aplay I would assume that you had alsa installed as part of activating your usb soundcard. If not do sudo apt-get install alsa-utils
I have no experience of the product, but I quickly read-up on the link you gave.
Just to clarify, the link from the Native Instruments site to the ALSA Project site leads you to quite a bit of configuration information. You didn’t mention if you followed it to the letter.
There were also a few things that might be relevant here:
Note also that the kernel module soundcore has been renamed in Debian kernels >2.6.23 into snd. A workaround is to put a symlink at /lib/modules/x.x.xx/kernel/sound/soundcore.ko pointing to snd.ko
and
Systemd users need to save this information into a file in the /etc/modprobe.d/ directory terminating with .conf (eg. /etc/modprobe.d/alsa.conf).
Just for the avoidance of doubt, OSMC is Debian-based and uses systemd.
Perhaps you could clarify what you have done to configure your system, WRT the information provided on ALSA Project page.
It looks like it is detected as an alsa device. Can you remove the line “dtparam=audio=on” in config.txt so there is only one alsa device and see if that helps.
The Audio 2 DJ is reported to work with ALSA out of the box in linux, so to be honest I did not try to make any changes to the modules or linux kernel.
It’s possible that I have to modify the .asoundrc to explicitly define the outputs, thanks for pointing me in that direction dillthedog.
I’ll also take a look a the config.txt file, thanks popcornmix.
That was interesting. I added dtparam=audio=off and the Audio DJ 2 showed up as an option in system-settings-audio. However, after choosing it, the audio continued to come out through hdmi. I rebooted and osmc reverted to the hdmi output.
I’m using the direct osmc install.
I may have to play with the .asound.rc file a bit more.
FWIW, I just tried a live Ubuntu drive on my PC. Ubuntu 14.04, linux 3.16. The Audio 2 DJ worked out of the box and didn’t have an .asoundrc file. The .asoundrc file might be used by some particular software in linux (Mixx), which obviously I’m not using. .asoundrc may not apply to osmc/kodi.