agere systems fw322/323......

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

Moderators: MattKingUSA, khz

User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: agere systems fw322/323......

Post by autostatic »

Woohoo! Great! Do post the results. Did you compile FFADO yourself or use my packages?
User avatar
southpaw
Established Member
Posts: 28
Joined: Wed Jun 24, 2009 8:36 am

Re: agere systems fw322/323......

Post by southpaw »

Hey Auto,
I compiled it from source. I still have the version mismatch but the firmware upgrade definitely made the difference. Now that I have this procedure down I am gonna give another test run with your patch and see how that works with the firmware upgrade.

The funny thing is that the Sapphire Pro24 works beautifully with the onboard FW(Agere chip), but it wont work with the add on PCI FW card which uses a Via VT6307 chip.

Other than that, everything else seems to be doing well. Jack sees all the inputs and outputs. I was able to run my bass guitar through JackRack, 4 Calf plugins, Hydrogen and Ardour with only a few Xruns. But that's no biggie, just a little fat that needs to be trimmed back a bit :wink: .

I will post back in a bit with some more info.....

Thanks again Auto,

sp
"The modern day composer refuses to die" - FZ
User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: agere systems fw322/323......

Post by autostatic »

southpaw wrote:Hey Auto,
I compiled it from source. I still have the version mismatch but the firmware upgrade definitely made the difference. Now that I have this procedure down I am gonna give another test run with your patch and see how that works with the firmware upgrade.
A possible solution might be to uninstall the ffado-dbus server package first and then compile FFADO. My packages will overwrite all the FFADO stuff so you shouldn't get a version mismatch.
southpaw wrote:The funny thing is that the Sapphire Pro24 works beautifully with the onboard FW(Agere chip), but it wont work with the add on PCI FW card which uses a Via VT6307 chip.
That's correct, if you disable FireWire in your BIOS it should work with the PCI FireWire card. It should be possible to tell FFADO which controller to use but I don't have that info at hand or in my head.
southpaw wrote:Other than that, everything else seems to be doing well. Jack sees all the inputs and outputs. I was able to run my bass guitar through JackRack, 4 Calf plugins, Hydrogen and Ardour with only a few Xruns. But that's no biggie, just a little fat that needs to be trimmed back a bit :wink: .
With the help of the system configuration wiki page you can tweak your system to the max: http://wiki.linuxmusicians.com/doku.php ... figuration

I just added a FireWire specific paragraph to it.
User avatar
southpaw
Established Member
Posts: 28
Joined: Wed Jun 24, 2009 8:36 am

Re: agere systems fw322/323......

Post by southpaw »

Hey auto,
so after I rebuilt the system and installed your patch everything is working fine, actually a little better than before. However, I happen to do this right after the repos got updated to FFADO 2.0.1 I think. So once again I can't use ffado-tools unless I downgrade, which I honestly don't know how to do.

Here is the Jack output fwiw:

Code: Select all

19:22:03.424 Startup script...
19:22:03.425 artsshell -q terminate
sh: artsshell: not found
19:22:03.827 Startup script terminated with exit status=32512.
19:22:03.827 JACK is starting...
19:22:03.828 /usr/bin/jackd -P70 -dfirewire -dhw:0 -r44100 -p256 -n2
19:22:03.831 JACK was started with PID=1885.
jackd 0.118.0
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
Memory locking is unlimited - this is dangerous. You should probably alter the line:
     @audio   -  memlock    unlimited
in your /etc/limits.conf to read:
     @audio   -  memlock    2946294
no message buffer overruns
JACK compiled with System V SHM support.
loading driver ..
Enhanced3DNow! detected
SSE2 detected
04050984374:  (ffado.cpp)[  92] ffado_streaming_init: libffado 2.999.0- built Aug 18 2010 13:36:42
04051268931: [31mWarning (dice_eap.cpp)[1398] read: No routes found. Base 0x7, offset 0x4000
[0m04051295993: [31mWarning (dice_eap.cpp)[ 881] updateNameCache: What is this function about?
[0m04051399436:  (dice_avdevice.cpp)[ 626] showDevice:  DICE Parameter Space info:
04051399462:  (dice_avdevice.cpp)[ 627] showDevice:   Global  : offset=0x0028 size=0360
04051399472:  (dice_avdevice.cpp)[ 628] showDevice:   TX      : offset=0x0190 size=0568
04051399481:  (dice_avdevice.cpp)[ 629] showDevice:                 nb=   1 size=0280
04051399489:  (dice_avdevice.cpp)[ 630] showDevice:   RX      : offset=0x03C8 size=1128
04051399497:  (dice_avdevice.cpp)[ 631] showDevice:                 nb=   1 size=0280
04051399505:  (dice_avdevice.cpp)[ 632] showDevice:   UNUSED1 : offset=0x0830 size=0016
04051399513:  (dice_avdevice.cpp)[ 633] showDevice:   UNUSED2 : offset=0x0000 size=0000
04051399521:  (dice_avdevice.cpp)[ 635] showDevice:  Global param space:
04051400960:  (dice_avdevice.cpp)[ 638] showDevice:   Owner            : 0x00000000FFFF0000
04051402287:  (dice_avdevice.cpp)[ 641] showDevice:   Notification     : 0x00000040
04051406037:  (dice_avdevice.cpp)[ 644] showDevice:   Nick name        : Pro24-000ed9
04051407346:  (dice_avdevice.cpp)[ 648] showDevice:   Clock Select     : 0x01 0x0C
04051408887:  (dice_avdevice.cpp)[ 652] showDevice:   Enable           : false
04051410202:  (dice_avdevice.cpp)[ 656] showDevice:   Clock Status     : locked 0x01
04051411786:  (dice_avdevice.cpp)[ 659] showDevice:   Extended Status  : 0x00000000
04051413124:  (dice_avdevice.cpp)[ 662] showDevice:   Samplerate       : 0x0000AC44 (44100)
04051415035:  (dice_avdevice.cpp)[ 665] showDevice:   Version          : 0x01000400
04051416375:  (dice_avdevice.cpp)[ 674] showDevice:   Version          : 0x01000400 (1.0.4.0)
04051417951:  (dice_avdevice.cpp)[ 677] showDevice:   Clock caps       : 0x112C001E
04051419453:  (dice_avdevice.cpp)[ 680] showDevice:   Clock sources    :
04051419464:  (dice_avdevice.cpp)[ 686] showDevice:     AES1
04051419472:  (dice_avdevice.cpp)[ 686] showDevice:     AES2
04051419480:  (dice_avdevice.cpp)[ 686] showDevice:     SPDIF-OPT
04051419488:  (dice_avdevice.cpp)[ 686] showDevice:     SPDIF
04051419496:  (dice_avdevice.cpp)[ 686] showDevice:     AES_ANY
04051419503:  (dice_avdevice.cpp)[ 686] showDevice:     ADAT
04051419511:  (dice_avdevice.cpp)[ 686] showDevice:     ADAT_AUX
04051419519:  (dice_avdevice.cpp)[ 686] showDevice:     Word Clock
04051419527:  (dice_avdevice.cpp)[ 686] showDevice:     Unused
04051419534:  (dice_avdevice.cpp)[ 686] showDevice:     Unused
04051419542:  (dice_avdevice.cpp)[ 686] showDevice:     Unused
04051419550:  (dice_avdevice.cpp)[ 686] showDevice:     Unused
04051419558:  (dice_avdevice.cpp)[ 686] showDevice:     Internal
04051419565:  (dice_avdevice.cpp)[ 689] showDevice:  TX param space:
04051419573:  (dice_avdevice.cpp)[ 690] showDevice:   Nb of xmit        : 1
04051419581:  (dice_avdevice.cpp)[ 692] showDevice:   Transmitter 0:
04051421035:  (dice_avdevice.cpp)[ 695] showDevice:    ISO channel       :  -1
04051422374:  (dice_avdevice.cpp)[ 697] showDevice:    ISO speed         :   2
04051424784:  (dice_avdevice.cpp)[ 700] showDevice:    Nb audio channels :  16
04051426124:  (dice_avdevice.cpp)[ 702] showDevice:    Nb midi channels  :   1
04051427466:  (dice_avdevice.cpp)[ 705] showDevice:    AC3 caps          : 0x00000000
04051429015:  (dice_avdevice.cpp)[ 707] showDevice:    AC3 enable        : 0x00000000
04051430511:  (dice_avdevice.cpp)[ 710] showDevice:    Channel names     :
04051430522:  (dice_avdevice.cpp)[ 715] showDevice:      IP 1
04051430529:  (dice_avdevice.cpp)[ 715] showDevice:      IP 2
04051430538:  (dice_avdevice.cpp)[ 715] showDevice:      IP 3
04051430545:  (dice_avdevice.cpp)[ 715] showDevice:      IP 4
04051430553:  (dice_avdevice.cpp)[ 715] showDevice:      SPDIF L
04051430562:  (dice_avdevice.cpp)[ 715] showDevice:      SPDIF R
04051430570:  (dice_avdevice.cpp)[ 715] showDevice:      ADAT 1
04051430578:  (dice_avdevice.cpp)[ 715] showDevice:      ADAT 2
04051430586:  (dice_avdevice.cpp)[ 715] showDevice:      ADAT 3
04051430594:  (dice_avdevice.cpp)[ 715] showDevice:      ADAT 4
04051430604:  (dice_avdevice.cpp)[ 715] showDevice:      ADAT 5
04051430612:  (dice_avdevice.cpp)[ 715] showDevice:      ADAT 6
04051430619:  (dice_avdevice.cpp)[ 715] showDevice:      ADAT 7
04051430627:  (dice_avdevice.cpp)[ 715] showDevice:      ADAT 8
04051430635:  (dice_avdevice.cpp)[ 715] showDevice:      Loop 1
04051430644:  (dice_avdevice.cpp)[ 715] showDevice:      Loop 2
04051430652:  (dice_avdevice.cpp)[ 719] showDevice:  RX param space:
04051430660:  (dice_avdevice.cpp)[ 720] showDevice:   Nb of recv        : 1
04051430668:  (dice_avdevice.cpp)[ 722] showDevice:   Receiver 0:
04051432091:  (dice_avdevice.cpp)[ 725] showDevice:    ISO channel       :  -1
04051433908:  (dice_avdevice.cpp)[ 727] showDevice:    Sequence start    :   0
04051435220:  (dice_avdevice.cpp)[ 730] showDevice:    Nb audio channels :   8
04051436793:  (dice_avdevice.cpp)[ 732] showDevice:    Nb midi channels  :   1
04051438106:  (dice_avdevice.cpp)[ 735] showDevice:    AC3 caps          : 0x00000000
04051439422:  (dice_avdevice.cpp)[ 737] showDevice:    AC3 enable        : 0x00000000
04051441149:  (dice_avdevice.cpp)[ 740] showDevice:    Channel names     :
04051441160:  (dice_avdevice.cpp)[ 745] showDevice:      Mon 1
04051441167:  (dice_avdevice.cpp)[ 745] showDevice:      Mon 2
04051441175:  (dice_avdevice.cpp)[ 745] showDevice:      Line 3
04051441183:  (dice_avdevice.cpp)[ 745] showDevice:      Line 4
04051441190:  (dice_avdevice.cpp)[ 745] showDevice:      Line 5
04051441198:  (dice_avdevice.cpp)[ 745] showDevice:      Line 6
04051441206:  (dice_avdevice.cpp)[ 745] showDevice:      SPDIF L
04051441213:  (dice_avdevice.cpp)[ 745] showDevice:      SPDIF R
19:22:06.019 Server configuration saved to "/home/southpaw/.jackdrc".
19:22:06.022 Statistics reset.
19:22:06.137 Client activated.
19:22:06.141 JACK connection change.
19:22:06.149 JACK connection graph change.
Enhanced3DNow! detected
Does this look right?

The only other thing I am having a bit of trouble with is getting the RT kernel to boot up properly. I have been getting everything to work fine with the latest PREEMPT kernel:

Code: Select all

$ uname -a
Linux southpaw-desktop 2.6.32-25-preempt #44-Ubuntu SMP PREEMPT Fri Sep 17 22:21:55 UTC 2010 x86_64 GNU/Linux
The two available RT kernels (2.6.31 & 2.6.33) don't seem to boot up properly. I don't know if it is necessary to have an RT kernel at this point but I thought I would put that out there.

sp
"The modern day composer refuses to die" - FZ
User avatar
autostatic
Established Member
Posts: 1994
Joined: Wed Dec 09, 2009 5:26 pm
Location: Beverwijk, The Netherlands
Has thanked: 32 times
Been thanked: 104 times
Contact:

Re: agere systems fw322/323......

Post by autostatic »

southpaw wrote:However, I happen to do this right after the repos got updated to FFADO 2.0.1 I think.
Which repo's? Personally I prefer not to leave any PPA's enabled for the very reason you mention. Actually, I don't enable any PPA's at all, I just download the packages I need.
southpaw wrote:Does this look right?
Yes, looks good!
southpaw wrote:The two available RT kernels (2.6.31 & 2.6.33) don't seem to boot up properly. I don't know if it is necessary to have an RT kernel at this point but I thought I would put that out there.
It's not necessary to use a real-time kernel if your FireWire card runs well with your settings. But if you need to lower your latency or raise your sample rate and you start running into problems (xruns, ffado/jack errors) you might consider using a real-time kernel.
Post Reply