Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A10 => Topic started by: gbrault on February 24, 2015, 12:37:14 AM

Title: USB-AUDIO with A10
Post by: gbrault on February 24, 2015, 12:37:14 AM
I have a Terratec Aureon Dual Usb dongle, whcih works well on an Intel NUC with Debian (Jessie) and I can't find out how to use this dongle on A10: recompiling the kernel to enable USB-ADIO wasn't successful.
Any Idea?
Title: Re: USB-AUDIO with A10
Post by: Gerrit on February 24, 2015, 01:18:02 PM
Quote from: gbrault on February 24, 2015, 12:37:14 AM
I have a Terratec Aureon Dual Usb dongle, whcih works well on an Intel NUC with Debian (Jessie) and I can't find out how to use this dongle on A10: recompiling the kernel to enable USB-ADIO wasn't successful.
Any Idea?

No because you don't tel why recompiling did not work.
Title: Re: USB-AUDIO with A10
Post by: jlucius on February 25, 2015, 10:24:58 AM
Would be also interesting which kernel version has been used for the Intel and the A10.
Title: Re: USB-AUDIO with A10
Post by: gbrault on February 26, 2015, 04:11:55 PM
Quote from: Gerrit on February 24, 2015, 01:18:02 PM
No because you don't tel why recompiling did not work.

Sorry, I was not clear.

1- The kernel version I generated using cross-compile (using OLIMEX dircetives) is 3.4.103+
2- It was not booting, but I already managed to have such a kernel working (I either made a mistake or it's due to compiler version 4.9 insted of 4.8), not sure
3- What tells me it's a problem is that in the A10 generated kernel directory, there is no sound directory.
4- This directory is present in the 3.16.0-4-amd64/kernel directory where the AureonDualUsb works well
5- When I look in the internet, most thread says the sound directory is mandatory for USB based "sound cards"

Thanks
Title: Re: USB-AUDIO with A10
Post by: jlucius on February 26, 2015, 04:26:28 PM
Which Guide did you use? https://drive.google.com/file/d/0B-bAEPML8fwla21JNU12RnYxZmM/edit ?

Which kernel configuration did you use?

Have you tried reconfiguring the kernel with "make ARCH=arm menuconfig"?

Title: Re: USB-AUDIO with A10
Post by: Gerrit on February 26, 2015, 05:49:43 PM
i used this kernel https://github.com/linux-sunxi/linux-sunxi/archive/sunxi-v3.4.103-r1.tar.gz

compiled with USB AUDIO/MIDI driver, the kernel does boot and the driver also worked with a USB soundcard.

so you must have done something wrong.

.config (the part that has to do with sound)
CONFIG_SOUND=y
# CONFIG_SOUND_OSS_CORE is not set
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
# CONFIG_SND_SEQUENCER is not set
# CONFIG_SND_MIXER_OSS is not set
# CONFIG_SND_PCM_OSS is not set
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
CONFIG_SND_DRIVERS=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_ALOOP is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
CONFIG_SND_ARM=y
# CONFIG_SND_ARMAACI is not set
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_6FIRE is not set
CONFIG_SND_SOC=y
CONFIG_SOUND_SUNXI=y
CONFIG_SND_SUNXI_SOC_CODEC=y
CONFIG_SND_SUNXI_SOC_HDMIAUDIO=y
CONFIG_SND_SUNXI_SOC_SPDIF=y
CONFIG_SND_SUNXI_SOC_I2S_INTERFACE=y
CONFIG_SND_SOC_I2C_AND_SPI=y
# CONFIG_SND_SOC_ALL_CODECS is not set
# CONFIG_SOUND_PRIME is not set