Remastersys and AVLinux Forum
May 19, 2013, 03:21:48 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Current Version of AV Linux - 6.0 "The Now"

http://www.bandshed.net/DownloadInstall.html
 
   Home   Remastersys Home Remastersys downloads Donate Login Register AV LINUX Home Help Search  
Pages: [1]
  Print  
Author Topic: HowTO: Run 2 M-Audio 1010LT's on AV Linux  (Read 6689 times)
0 Members and 1 Guest are viewing this topic.
GMaq
Administrator
Hero Member
*****
Offline Offline

Posts: 2160


A/V 'Nixer


WWW
« on: January 13, 2011, 12:40:15 PM »

Hi,

By far one of the most inexpensive and Linux-friendly ways to get 16 Channels of I/O into a Linux Audio Workstation is to use 2 M-Audio 1010LT Audio cards. A big thanks to John Rigg http://www.jrigg.co.uk/linuxaudio/ice1712multi.html who has made the key '.asoundrc.' configuration file available to help Linux users take advantage of multiple cards.

This guide assumes:


- A fresh AV Linux 4.2 install was used, however this guide should work for previous versions.
- The 1010LT's are being used as the only Audio devices on the system (Disable any onboard Audio chipsets in your BIOS)
- The SPDIF Channels are not mapped giving 16 A-D Converters going in and 16 D-A Converters coming out.
- SPDIF is being used for Word Clock Syncronization (A must for all 16 channels to be in Sync)
- A 44100k Sample Rate is used for the purposes of this Guide, other higher Sample Rates should be supported but are untested.
- The jackd default of 1024fpp is being used, YMMV at lower latencies.


Hardware Setup: (The Easy Part)

As always disconnect the power supply cable to the PC and observe all of the regular anti-static guidelines. Place the 1010LTs side by side starting at the closest PCI slot to the Video Card slot and make sure they are completely aligned and inserted into the PCI slots.


Connect the SPDIF/Word Clock/MIDI breakout cables to both Cards. Using a digital ready RCA Cable of 3ft/1metre OR LESS connect the WHITE RCA SPDIF-Out connector from the 1010LT closest to the Video Card to the RED RCA SPDIF-In Connector on the second 1010LT.


Hardware part is done for now...


Software Setup Part 1: (Don't worry not that bad)

In order to make things a little graphically simpler I've created some launchers and icons, before we get into the rest of the setup grab them here and follow the instructions:

http://bandshed.net/files/M-Audio1010LTfunpack.zip

1. Download and extract the 'M-Audio1010LTfunpack' in your user's home and then open it in the file manager.

2. Hit the F4 Key on your keyboard to open a Terminal in the 'M-Audio1010LTfunpack' folder. Type 'su' into the Terminal and enter your Root password.

3. Copy the 'pcm_multi.png' icon to /usr/share/icons with this command:
Code:
cp pcm_multi.png /usr/share/icons


4. With the Root terminal still open copy the PCM Multi launcher and the Mudita24 (Card2) launcher to /usr/share/applications with this:
Code:
cp envy24_controlcard2.desktop pcm_multi.desktop /usr/share/applications

5. You can close the Root Terminal now. Right-click and copy and paste the 'asoundrc.txt' file to your user's home folder.

6. Move to your user's home, right-click on the 'asoundrc.txt' file and rename the file '.asoundrc' (The DOT(.) is important, don't use the quotes).

7. If the file disappears from view that is normal, to see it check off 'Show Hidden' in the 'View' menu of the file manager to make sure it's there.


Software Setup Part 2: (We're gettin' there...)

To make sure our 1010LT's are correctly setup we need to do some checks from the Terminal and correctly route the Word Clock via SPDIF.

1. First check the presence and IRQ's of the 2 1010LT's. Open a terminal and use this command:
Code:
cat /proc/asound/cards

You should see something like this:



This is good news, the system sees 2 distinct cards on separate IRQ's (we don't want anything Audio related sharing IRQ's). If you are seeing any other Audio devices at this point you need to make sure any onboard Audio devices are disabled in your BIOS. If any other devices are present the rest of this guide will NOT work properly!

2. SPDIF Routing: Go to your Menu-->Soundcard Utilities, If you've installed the M-Audio funpack above you should see 2 entries for 'Mudita24 control' - one for Card 1 and a second 'Mudita24 control (Card2)' for the second card. For now Click on 'Mudita24 control' and the Mixer for Card 1 will open....scroll over to the 'Hardware Settings' tab and set Card 1 like this:



3. Now from the Soundcard Utilities menu click on 'Mudita24 control (Card 2)' and set Card 2 like this (notice the different IRQ's listed in the Window names):




Software Test and Verify Running JACK:

1. Let's see if JACK is happy, open a Terminal and enter this. If you want a higher Sample Rate then change the '-r' value to a higher supported number. If you do change the Sample Rate make sure the matching change is also made in the Card 1 Hardware Settings above :
Code:
jackd -R -d alsa -r 44100 -C multi_capture -P multi_playback

You should see something like the following:



If you see an error message at the bottom saying 'jackd watchdog: killing jackd' then it is most likely due to Word Clock not being set up properly with your SPDIF routing. Check your SPDIF Cable and connections again and retry. If the terminal shows no errors we can check if our 16 channels of I/O are available to the system.

2. Go to Menu-->JACK Plugins and open linuxDSP's 'JACK Patchbay' if everything is working correctly you should see a beautiful list of 16 Inputs and 16 Outputs available to use in Sequencer or any other JACK app of your choosing like this:



**NOTE**

The M-Audio funpack also has supplied a quick launcher to graphically execute the jackd command above, you can find it in the 'Soundcard Utilities' menu as 'PCM_Multi Start'. This launcher will open a little xterm window to show you what JACK is doing, don't close the xterm unless you want to shut down JACK. To modify the launcher for a different Sample Rate simply edit the 'Exec=' line of the launcher file. To do this go to the 'Accessories' menu and open a Root Terminal and use this command:
Code:
gedit /usr/share/applications/pcm_multi.desktop

This will open the gedit text editor with the launcher and you can modify the 'Exec=' line (within the quotations) as wanted and then hit 'Save' in gedit.

Code:
[Desktop Entry]
Type=Application
Name=PCM_Multi Start
GenericName=
Comment=Start JACK with Multiple 1010LTs
Icon=pcm_multi
Exec=xterm -e "jackd -R -d alsa -r 44100 -C multi_capture -P multi_playback"
Terminal=false
Categories=Soundcard
« Last Edit: January 19, 2011, 07:55:12 AM by GMaq » Logged

AV Linux, Proudly created with Remastersys: http://www.bandshed.net/AVLinux.html
PeteC
Full Member
***
Offline Offline

Posts: 27


« Reply #1 on: April 25, 2011, 05:38:49 AM »

Hi GMaq,

would this work for 2 disimmilar MAudio cards ?  - I already have a Delta 66 with Omni breakout box,  but am contemplating adding a Delta 101o Lt to my set up

Rgds
PeteC
Logged
GMaq
Administrator
Hero Member
*****
Offline Offline

Posts: 2160


A/V 'Nixer


WWW
« Reply #2 on: April 25, 2011, 07:33:16 AM »

Hi,

To be honest I'm not sure. It is a must to have the word clocks linked by SPDIF otherwise the 2 separate cards will drift out of sync. You would also need to edit the .asoundrc so the total number of channels appeared correctly. Since both cards are M-Audio it may be possible.
Logged

AV Linux, Proudly created with Remastersys: http://www.bandshed.net/AVLinux.html
PeteC
Full Member
***
Offline Offline

Posts: 27


« Reply #3 on: April 25, 2011, 03:09:21 PM »

Thx GMaq,
as it turns out I managed to pick up a second Delta 66 Omni off ebay today - for my other DAW - but I might try yoking the 2 Deltas in the new machine and see how it turns out - I'll let you knw in a couple of weeks when its done.

Thanks
Pete
Logged
douglane
Newbie
*
Offline Offline

Posts: 3


« Reply #4 on: January 31, 2012, 08:35:21 AM »

I am running 5.0.2 and everything seems to be going well -- I run the PCM Multistart and can see the inputs and outputs in the patchbay, no errors, and ardour has no errors.  I just can't seem to get the second card to record.  Inputs 9-16 are not working.  I checked all of the connections and still it isn't working, the IRQs and the card assignments, hardware settings in the Mudita 24 controls for both cards and everything looks good.

Any thoughts would be appreciated.

Doug
Logged
GMaq
Administrator
Hero Member
*****
Offline Offline

Posts: 2160


A/V 'Nixer


WWW
« Reply #5 on: January 31, 2012, 11:56:39 AM »

Hi

Sounds like you've done your homework! I currently have my 1010LT's removed because I use a different interface however if you can bear with me I'll try and pop them back in an a day or so and see if I can help and reproduce your issue.
Logged

AV Linux, Proudly created with Remastersys: http://www.bandshed.net/AVLinux.html
douglane
Newbie
*
Offline Offline

Posts: 3


« Reply #6 on: January 31, 2012, 12:27:46 PM »

Much appreciated.  I will still work on my end, too.

Thanks again.
Logged
GMaq
Administrator
Hero Member
*****
Offline Offline

Posts: 2160


A/V 'Nixer


WWW
« Reply #7 on: February 01, 2012, 04:31:56 PM »

Hi,

Unfortunately I'm right smack dab in the middle of getting the 5.0.3 ISO update out the door so I probably won't have time to look at the 1010LT's until after the weekend. It's just a bad timing thing but I will have a look as soon as I can, I don't want to leave you hanging...
Logged

AV Linux, Proudly created with Remastersys: http://www.bandshed.net/AVLinux.html
douglane
Newbie
*
Offline Offline

Posts: 3


« Reply #8 on: February 01, 2012, 04:46:53 PM »

No problem.  Don't let me distract you -- updating AV is much more important!  Keep up the good work!
Logged
troathscream
Newbie
*
Offline Offline

Posts: 9


« Reply #9 on: April 23, 2012, 11:29:41 AM »

Hi Gmaq,

first tnx for the great AVLINUX distro, it rocks!!!
But a little problem here, i've got 2 hoontech dsp24 Cports in my HP XEON XW8200 workstation,
after a clean install of AVLINUX TUBE, i followed al the steps to get the two cards setup. After the setup PCM multi start fired up just fine,i can get sound output of both cards and switch the master output of ardour between the 2 cards outputs so that seems to be allright! Only i can not get any input signal, in the mudita control of card 1 and 2 there is also no meter movement,and below the meters there is a text (OFF)  i set all sliders to nominal level, but still nothing.  in the terminal with cat /proc/asound/cards, i see both cards as HW0 and HW1, so that seems fine too..... Do i maybe have to change a config file, because maybe they are configured for the M-audio delta 1010...

I hope maybe someone on this forum has a clue how to solve this.

Grtz troathscream
Logged
GMaq
Administrator
Hero Member
*****
Offline Offline

Posts: 2160


A/V 'Nixer


WWW
« Reply #10 on: April 24, 2012, 09:11:58 AM »

Hi,

I haven't tested the Hoontechs but the chipset is supposed to be the same so I wouldn't guess the .asoundrc is the issue right off the bat. In the 'Patchbay/Router' tab of Mudita 24 do you have the 'H/W In 1' etc selected for each channel you want input for? Next in the 'Analog Volume' Tab do you have the  appropriate 'ADC 1' etc sliders set for the input you are trying to use?
Logged

AV Linux, Proudly created with Remastersys: http://www.bandshed.net/AVLinux.html
troathscream
Newbie
*
Offline Offline

Posts: 9


« Reply #11 on: April 24, 2012, 10:22:21 AM »

Hi, Tnx for the quick reply, i'll let you know how it works out as soon as i have time to get to my rehearsal space. I think i missed out on the analog section of Mudita24!!! Embarrased

Grtz
Logged
troathscream
Newbie
*
Offline Offline

Posts: 9


« Reply #12 on: April 26, 2012, 02:02:34 PM »

Hi Gmaq,

i just got to my rehearsal space and noticed that i don't have the analog input section and the dac section in mudita......
Both Mudita card1 and card 2 miss these sections!

Grtz Troathscream

Logged
GMaq
Administrator
Hero Member
*****
Offline Offline

Posts: 2160


A/V 'Nixer


WWW
« Reply #13 on: April 30, 2012, 01:07:50 PM »

Hi,

Well they do appear here on my 1010LT's so I wonder if that is a Mudita bug with the Hoontech cards or whether the chipset is different with Hoontech. Can you try it with the envy24control gui and see if it is the same?
Logged

AV Linux, Proudly created with Remastersys: http://www.bandshed.net/AVLinux.html
troathscream
Newbie
*
Offline Offline

Posts: 9


« Reply #14 on: May 02, 2012, 08:55:26 AM »

Yep, the same thing...
Strange...

Grtz
Logged
troathscream
Newbie
*
Offline Offline

Posts: 9


« Reply #15 on: May 03, 2012, 01:02:51 AM »

Hi Gmaq,

A little progress here, i got one of the two cards up and running. I still miss the analog input section and the dac section. I finally saw some meter movement in the monitor input section of card one. I changed some settings and sliders in the gnome alsamixer.
Even the lights on my breakoutbox (adc&dac2000) went on, after changing the dipswitch for the box assignment (i can connect up to four on one card). The second card however still no go, no light on the breakoutbox light up and no meter movement. I tryd the same settings in the gnome alsamixer, but nothing, tryd both boxes on card 1 and that works, so the breakoutbox is not faulty. I can still see both cards, but now i cant start pcmmulti anymore, if i try it from the commandline as written in your manual, i get a alsa not found or loaded error? Gonna try a fresh install with both cards inside the pc, cauz i tryd it now with only one card inserted, after the install i inserted the second card, so maybe that's causing trouble setting up.

Grtz
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!