Maximum 8 audio interfaces for kernel linux

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

Post Reply
lionnet
Established Member
Posts: 4
Joined: Mon Jul 07, 2014 4:52 am

Maximum 8 audio interfaces for kernel linux

Post by lionnet »

Like topic I wrote so anyone know how to change N usb sound for kernel linux or alsa driver( My ubuntu 14.04 and aplay just recognize 6 usb 3d sound, 1 on board and 1 optical on board. Please let me know how to do it. Thanks.
User avatar
sysrqer
Established Member
Posts: 2523
Joined: Thu Nov 14, 2013 11:47 pm
Has thanked: 320 times
Been thanked: 152 times
Contact:

Re: Maximum 8 audio interfaces for kernel linux

Post by sysrqer »

I don't really understand your question. When compiling my kernels I'm pretty sure I've seen the option for number of sound cards and I think the default is 32 or something.
lionnet
Established Member
Posts: 4
Joined: Mon Jul 07, 2014 4:52 am

Re: Maximum 8 audio interfaces for kernel linux

Post by lionnet »

sysrqer wrote:I don't really understand your question. When compiling my kernels I'm pretty sure I've seen the option for number of sound cards and I think the default is 32 or something.
My hardware is 6 usb sound with the same driver chip ( ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller) and 2 sound card on board. When i plug more usb sound (ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller) & type command aplay -l it not detect the index =8 ( only index 0 to 7 ) whatever I want to plug more ...But when I type lsusb , I can see the id usb sound number 8,9,10,...so I think not from kernel because you say 32 is default. Therefore, the problem it is from alsa, so how to do with alsa can run 32 devices.
Drumfix
Established Member
Posts: 299
Joined: Mon Jan 26, 2009 5:15 pm
Been thanked: 11 times

Re: Maximum 8 audio interfaces for kernel linux

Post by Drumfix »

add

Code: Select all

options snd cards_limit=<maximum number of cards you want to use>
at the beginning of your /etc/modprobe.d/alsa.conf

Then restart alsa (or reboot)
lionnet
Established Member
Posts: 4
Joined: Mon Jul 07, 2014 4:52 am

Re: Maximum 8 audio interfaces for kernel linux

Post by lionnet »

My alsa at /etc/modprobe.d/alsa-base.conf and I put options snd cards_limit=20 at the beginning of this file. But when I use aplay -l. It always show

**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Built-in Audio], device 0: Playback HiFi-0 []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Audio [Built-in Audio], device 1: Capture HiFi-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Device_1 [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 3: Device_2 [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 4: Device_3 [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 5: Device_4 [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 6: Device_5 [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 7: Device_6 [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Post Reply