Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA Dual soundcard M-Audio FastTrack Pro
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mody
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 176

PostPosted: Tue Nov 06, 2012 5:32 am    Post subject: ALSA Dual soundcard M-Audio FastTrack Pro Reply with quote

Hi

Got three sound cards on my system.
Disabled the on-board sound interface in the BIOS.

USB card 0 is an RME Babyface, known to not work in GNU/Linux.
USB card 1 is the M-Audio Fast Track Pro that I'm trying to get working for just playback.

I've compiled ALSA into the kernel, should I be using modules?
I tried them as modules, didn't work since I got something else wrong too :?

Haven't any experience with ALSA, would be very grateful for any help :)

Thanks,
Mody

/proc/asound/cards
Code:
 0 [U0x46d0x821    ]: USB-Audio - USB Device 0x46d:0x821
                      USB Device 0x46d:0x821 at usb-0000:00:1a.7-2, high speed
 1 [Pro            ]: USB-Audio - FastTrack Pro
                      M-Audio FastTrack Pro at usb-0000:00:1a.2-1, full speed


kernel config
Code:
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
# CONFIG_SOUND_OSS_CORE_PRECLAIM is not set
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_HRTIMER=y
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_DYNAMIC_MINORS=y
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_DMA_SGBUF=y
CONFIG_SND_RAWMIDI_SEQ=y
# 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_PCSP is not set
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_ALOOP is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PCI is not set
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_USB_6FIRE is not set
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not set



/etc/modules.d/alsa.conf
Code:
# Alsa kernel modules' configuration file.
alias char-major-116 snd
alias snd-card-1 snd-usb-audio
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-1
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-1 snd_usb_audio

##  OSS/Free portion
alias sound-slot-0 snd-card-1


# OSS/Free portion - card #1
#alias sound-service-0-0 snd-mixer-oss
#alias sound-service-0-1 snd-seq-oss
#alias sound-service-0-3 snd-pcm-oss
#alias sound-service-0-8 snd-seq-oss
#alias sound-service-0-12 snd-pcm-oss
##  OSS/Free portion - card #2

alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss


alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
#options snd cards_limit=1
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Tue Nov 06, 2012 7:07 pm    Post subject: Re: ALSA Dual soundcard M-Audio FastTrack Pro Reply with quote

mody wrote:

USB card 1 is the M-Audio Fast Track Pro that I'm trying to get working for just playback.

I've compiled ALSA into the kernel, should I be using modules?


Yes. It's easier to unload and reload them without having to reboot.

mody wrote:

I tried them as modules, didn't work since I got something else wrong too :?


What else went wrong?

What kind of audio work do you want to accomplish with this sound card?
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
mody
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 176

PostPosted: Wed Nov 07, 2012 4:41 am    Post subject: Reply with quote

Ah, that's a great point you make, def more manageable as a module. Thank you for that wisdom.

As for what else went wrong, honestly I really don't know actually since ALSA mixer doesn't report any playback device for either sound card. No sound basically. I just need it to playback audio. I could keep trying different things, though I posted here thinking I might save myself some time and learn something towards the right direction.

Thanks for reading... much appreciated. if you can help further and need more info do let me know.

Cheers :)
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Wed Nov 07, 2012 3:07 pm    Post subject: Reply with quote

I might be able to help. If you're looking to produce music and audio of your own with your Gentoo box, you should check out the "Gentoo Studio" guide linked in my sig. Feel free to pick my brains. I don't have all the answers, but hopefully I can help with basic setup and get your M-audio working.
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum