Re: No success with EchoAudio FireWire 12

2009-11-29 Thread S. Josey
From: Asmo Koskinen 
Reply-To: Ubuntu Studio Users Help and Discussion

Date: Sat, 28 Nov 2009 09:44:26 +0200
To: Ubuntu Studio Users Help and Discussion

Subject: Re: No success with EchoAudio FireWire 12

asmo.koski...@arkki.info kirjoitti:

> sudo chmod 777 /dev/raw1394

> There is more correct way to do that in Karmic.
> 
> 1. Before.
> 
> as...@ubuntu-studio:~$ ls -al /dev/raw1394
> crw-rw 1 root root 171, 0 2009-11-28 08:53 /dev/raw1394
> as...@ubuntu-studio:~$
> 
> 2. Add new file with this line in correct directory.
> 
> as...@ubuntu-studio:~$ cat /etc/udev/rules.d/50-raw-firewire.rules
> KERNEL=="raw1394", NAME="raw1394", GROUP="audio"
> 
> 3. After REBOOT.
> 
> as...@ubuntu-studio:~$ ls -al /dev/raw1394
> crw-rw 1 root audio 171, 0 2009-11-28 09:30 /dev/raw1394
> as...@ubuntu-studio:~$
> 
> as...@ubuntu-studio:~$ /usr/bin/jackd -R -m -dfirewire -r48000 -p64 -n3
> no message buffer overruns
> jackd 0.116.1
> Copyright 2001-2005 Paul Davis 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
> 
> JACK compiled with System V SHM support.
> loading driver ..
> SSE2 detected
> 00080663620:  (ffado.cpp)[  92] ffado_streaming_init: libffado 1.999.43
> built Sep 17 2009 20:06:09
> 
> 4. We have now correct group (audio) for device raw1394 and it is
> persistent.
> 
> Best Regards Asmo Koskinen.

I have followed your instructions above. It didn¹t help. After creating the
50-raw-firewire.rules file with GROUP=²audio² I did the ls command and still
got

crw-rw 1 root video 171, 0 2009-11-29 21:02 /dev/raw1394

Which is what I have seen all along. I then changed the GROUP name in the
50-raw-firewire.rules file to ³video² and made sure that I was a member of
³video². Still no luck. This is what is still happening:

sje...@ubuntu-studio:~$ ls -al /dev/raw1394
crw-rw 1 root video 171, 0 2009-11-29 21:02 /dev/raw1394
sje...@ubuntu-studio:~$ groups sjelly
sjelly : sjelly adm dialout cdrom audio video plugdev lpadmin admin
sambashare
sje...@ubuntu-studio:~$ /usr/bin/jackd -R -m -dfirewire -r48000 -p64 -n3
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis 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

JACK compiled with System V SHM support.
loading driver ..
00394670338:  (ffado.cpp)[  92] ffado_streaming_init: libffado 1.999.43
built Sep 17 2009 20:03:51
firewire ERR: Error creating FFADO streaming device
cannot load driver module firewire
no message buffer overruns

I have found something suspicious, and 2 days ago I wrote to the ffado users
mailing list with a new query. I haven¹t had a satisfactory answer yet, so I
will raise it here. When I ran ffado-test Discover command I got the
following output:

sje...@ubuntu-studio:~$ ffado-test ListDevices
---
FFADO test and diagnostic utility
Part of the FFADO project -- www.ffado.org
Version: 1.999.43
(C) 2008, Daniel Wagner, Pieter Palmers
This program comes with ABSOLUTELY NO WARRANTY.
---

=== 1394 PORT 0 ===
  Node id  GUID  VendorId ModelId   Vendor - Model
   0   0x660050c500023f4b  0x00660050  0x   Linux - ohci1394
- 
   1   0x0014860bbd34eaef  0x1486  0xAF12   Echo Digital Audio
- AudioFire12
no message buffer overruns

But now we come to what might be the interesting part - at least it
appears to be an error message to one who is ignorant such as myself:

sje...@ubuntu-studio:~$ ffado-test Discover
---
FFADO test and diagnostic utility
Part of the FFADO project -- www.ffado.org
Version: 1.999.43
(C) 2008, Daniel Wagner, Pieter Palmers
This program comes with ABSOLUTELY NO WARRANTY.
---

02452526211: Debug (devicemanager.cpp)[ 332] discover: Starting
discovery...
02452532531: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read
failed: node 0xFFC1, addr = 0xF400, length = 256
02452533756: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read
failed: node 0xFFC1, addr = 0xF400, length = 256
02452534979: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read
failed: node 0xFFC1, addr = 0xF400, length = 256
02452536183: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read
failed: node 0xFFC1, addr = 0xF400, length = 256
02452537416: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read
failed: node 0xFFC1, addr = 0xF400, length = 256
02452592920: Debug (ieee1394service.cpp)[ 521] readNoLock: raw1394_read
failed: node 0

Re: No success with EchoAudio FireWire 12

2009-11-27 Thread Asmo Koskinen
asmo.koski...@arkki.info kirjoitti:

> sudo chmod 777 /dev/raw1394

There is more correct way to do that in Karmic.

1. Before.

as...@ubuntu-studio:~$ ls -al /dev/raw1394
crw-rw 1 root root 171, 0 2009-11-28 08:53 /dev/raw1394
as...@ubuntu-studio:~$

2. Add new file with this line in correct directory.

as...@ubuntu-studio:~$ cat /etc/udev/rules.d/50-raw-firewire.rules
KERNEL=="raw1394", NAME="raw1394", GROUP="audio"

3. After REBOOT.

as...@ubuntu-studio:~$ ls -al /dev/raw1394
crw-rw 1 root audio 171, 0 2009-11-28 09:30 /dev/raw1394
as...@ubuntu-studio:~$

as...@ubuntu-studio:~$ /usr/bin/jackd -R -m -dfirewire -r48000 -p64 -n3
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis 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

JACK compiled with System V SHM support.
loading driver ..
SSE2 detected
00080663620:  (ffado.cpp)[  92] ffado_streaming_init: libffado 1.999.43 
built Sep 17 2009 20:06:09

4. We have now correct group (audio) for device raw1394 and it is 
persistent.

Best Regards Asmo Koskinen.

-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: No success with EchoAudio FireWire 12

2009-11-23 Thread asmo . koskinen

> Very frustrated and very disappointed.

I'm sorry for that. Echo AudioFire 4 works for me, I think that I just
can't help you more here.

Best Regards Asmo Koskinen.


-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: No success with EchoAudio FireWire 12

2009-11-23 Thread Michael Sullivan
S. Josey wrote:
>
> S. Josey kirjoitti:
>
> > I have recently made a fresh install of Ubuntu Studio 9.10 and
> tried to get
> > it to work with my EchoAudio 12.
>
> > cannot load driver module firewire
>
> > Can anyone advise me how to overcome this error and get JACK working.
>
> This is laptop and Echo AudioFire 4.
>
> i.
> as...@ubuntu:~$ cat /etc/issue
> Ubuntu 9.10 \n \l
>
> ii.
> as...@ubuntu:~$ uname -a
> Linux ubuntu 2.6.31-9-rt #152-Ubuntu SMP PREEMPT RT Thu Oct 15
> 05:01:14
> UTC 2009 i686 GNU/Linux
>
> iii.
> as...@ubuntu:~$ ls -al /dev/raw1394
> crwxrwxrwx 1 root root 171, 0 2009-11-22 16:38 /dev/raw1394
>
> iv.
> as...@ubuntu:~$ ffado-test ListDevices
> ---
> FFADO test and diagnostic utility
> Part of the FFADO project -- www.ffado.org
> Version: 1.999.43
> (C) 2008, Daniel Wagner, Pieter Palmers
> This program comes with ABSOLUTELY NO WARRANTY.
> ---
>
> === 1394 PORT 0 ===
> Node id GUID VendorId ModelId Vendor - Model
> 0 0x00a0d1a0d1a38156 0xA0D1 0x Linux -
> ohci1394 -
> === 1394 PORT 1 ===
> Node id GUID VendorId ModelId Vendor - Model
> 0 0x0014860968bc006a 0x1486 0x0AF4 Echo Digital
> Audio - AudioFire4
> 1 0x00a0d1a0d1a38155 0xA0D1 0x Linux -
> ohci1394 -
> no message buffer overruns
>
> v.
>
> as...@ubuntu:~$ /usr/bin/jackd -R -P89 -m -dfirewire -dhw:1
> -r44100 -p64 -n3
> no message buffer overruns
> jackd 0.116.1
> Copyright 2001-2005 Paul Davis 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
>
> JACK compiled with System V SHM support.
> loading driver ..
> 00526802280: (ffado.cpp)[ 92] ffado_streaming_init: libffado 1.999.43
> built Sep 17 2009 20:03:51
>
> -
>
> Just do.
>
> sudo chmod 777 /dev/raw1394
>
> And check where is your fw card, mine is in hw:1 - not hw:0!
>
> "User running jackd/FFADO needs read-write access to /dev/raw1394"
>
> Page 21 - http://lca2009.linux.org.au/slides/77.pdf
>
> Best Regards Asmo Koskinen.
>
>
> Well, I have done exactly what was written above and got the output of 
> the various commands to exactly match what is shown above (except my 
> 1394 card shows the Echo box on hw:0), but I’m still getting the same 
> error. I am now completely re-installing UbuntuStudio for a fresh 
> start tomorrow night. Will attempt to make it work “out of the box”. 
> Very frustrated and very disappointed.
>
> SJ
>
>
Hmm I am no expert but you said that your firewire card lists the echo 
box as hw:0 but your jackd command seems to be pointing to hw:1

if you have done a fresh install you will need to re-do the sudo chmod 
777 /dev/raw1394 command

good luck


-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: No success with EchoAudio FireWire 12

2009-11-23 Thread S. Josey
> S. Josey kirjoitti:
> 
>> > I have recently made a fresh install of Ubuntu Studio 9.10 and tried to get
>> > it to work with my EchoAudio 12.
> 
>> > cannot load driver module firewire
> 
>> > Can anyone advise me how to overcome this error and get JACK working.
> 
> This is laptop and Echo AudioFire 4.
> 
> i.
> as...@ubuntu:~$ cat /etc/issue
> Ubuntu 9.10 \n \l
> 
> ii.
> as...@ubuntu:~$ uname -a
> Linux ubuntu 2.6.31-9-rt #152-Ubuntu SMP PREEMPT RT Thu Oct 15 05:01:14
> UTC 2009 i686 GNU/Linux
> 
> iii.
> as...@ubuntu:~$ ls -al /dev/raw1394
> crwxrwxrwx 1 root root 171, 0 2009-11-22 16:38 /dev/raw1394
> 
> iv.
> as...@ubuntu:~$ ffado-test ListDevices
> ---
> FFADO test and diagnostic utility
> Part of the FFADO project -- www.ffado.org
> Version: 1.999.43
> (C) 2008, Daniel Wagner, Pieter Palmers
> This program comes with ABSOLUTELY NO WARRANTY.
> ---
> 
> === 1394 PORT 0 ===
>Node id  GUID  VendorId ModelId   Vendor - Model
> 0   0x00a0d1a0d1a38156  0xA0D1  0x   Linux -
> ohci1394  -
> === 1394 PORT 1 ===
>Node id  GUID  VendorId ModelId   Vendor - Model
> 0   0x0014860968bc006a  0x1486  0x0AF4   Echo Digital
> Audio - AudioFire4
> 1   0x00a0d1a0d1a38155  0xA0D1  0x   Linux -
> ohci1394  -
> no message buffer overruns
> 
> v.
> 
> as...@ubuntu:~$ /usr/bin/jackd -R -P89 -m -dfirewire -dhw:1 -r44100 -p64 -n3
> no message buffer overruns
> jackd 0.116.1
> Copyright 2001-2005 Paul Davis 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
> 
> JACK compiled with System V SHM support.
> loading driver ..
> 00526802280:  (ffado.cpp)[  92] ffado_streaming_init: libffado 1.999.43
> built Sep 17 2009 20:03:51
> 
> -
> 
> Just do.
> 
> sudo chmod 777 /dev/raw1394
> 
> And check where is your fw card, mine is in hw:1 - not hw:0!
> 
> "User running jackd/FFADO needs read-write access to /dev/raw1394"
> 
> Page 21 - http://lca2009.linux.org.au/slides/77.pdf
> 
> Best Regards Asmo Koskinen.

Well, I have done exactly what was written above and got the output of the
various commands to exactly match what is shown above (except my 1394 card
shows the Echo box on hw:0), but I¹m still getting the same error. I am now
completely re-installing UbuntuStudio for a fresh start tomorrow night. Will
attempt to make it work ³out of the box². Very frustrated and very
disappointed.

SJ



-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


RE: No success with EchoAudio FireWire 12

2009-11-22 Thread asmo . koskinen

> jackd... is starting Jack1, I think you need to run
> Jack2 for firewire, which may need to be compiled.

> I hope that helps,
> Bob Hamil

Please - Echo is fully supported out of box with jackd 0.116.1
/FFADO in Ubuntu Studio 9.10.

Please, just do what I told to do:

sudo chmod 777 /dev/raw1394

It is really that easy, do not mess around with svn or something...

Best Regards Asmo Koskinen.



-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


RE: No success with EchoAudio FireWire 12

2009-11-22 Thread Bob Hamil
Simon, 
I am far from one of the experts here, so they may
have better info, but this is what I see: 

jackd... is starting Jack1, I think you need to run
Jack2 for firewire, which may need to be compiled.  

I run a PreSonus FireStudio 26x26 on firewire which
needs FFADO and Jack2 compiled from SVN.  Echo is
supported in FFADO, but I don't know how much less
work that means you need to do.  

I hope that helps, 
Bob Hamil



--- Original Message ---
>From: S. Josey[mailto:s...@mr-goster.com]
Sent: 11/22/2009 8:40:57 AM
To  : ubuntu-studio-users@lists.ubuntu.com
Cc  : 
Subject : RE: No success with EchoAudio FireWire 12

 
Hello,



I have recently made a fresh install of Ubuntu Studio
9.10 and tried to get it to work with my EchoAudio 12.



I have followed the instructions at Ubuntu Studio
Preparation (
https://help.ubuntu.com/community/UbuntuStudioPreparation)
and FireWire Audio in Ubuntu Studio (
https://help.ubuntu.com/community/FireWire) and
everything checks out correctly.



However, when I try to start JACK, this is the error
message I get:



21:28:44.769 Patchbay deactivated.

21:28:44.773 Statistics reset.

21:28:44.823 ALSA connection graph change.

21:28:45.020 ALSA connection change.

21:28:48.791 Startup script...

21:28:48.792 artsshell -q terminate

sh: artsshell: not found

21:28:49.195 Startup script terminated with exit
status=32512.

21:28:49.195 JACK is starting...

21:28:49.196 /usr/bin/jackd -R -P70 -t1000 -dfirewire
-dhw:0 -r44100 -p128 -n2 -i12 -o12

no message buffer overruns

jackd 0.116.1

Copyright 2001-2005 Paul Davis 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

JACK compiled with System V SHM support.

21:28:49.215 JACK was started with PID=2848.

loading driver ..

01024651260:  (ffado.cpp)[  92] ffado_streaming_init:
libffado 1.999.43 built Sep 17 2009 20:03:51

firewire ERR: Error creating FFADO streaming device

cannot load driver module firewire

no message buffer overruns

21:28:49.533 JACK was stopped successfully.

21:28:49.534 Post-shutdown script...

21:28:49.534 killall jackd

jackd: no process found

21:28:49.946 Post-shutdown script terminated with
exit status=256.

21:28:51.232 Could not connect to JACK server as
client. - Overall operation failed. - Unable to
connect to server. Please check the messages window
for more info.



Can anyone advise me how to overcome this error and
get JACK working.



Thank you in advance.



Simon





-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: No success with EchoAudio FireWire 12

2009-11-22 Thread Asmo Koskinen
S. Josey kirjoitti:

> I have recently made a fresh install of Ubuntu Studio 9.10 and tried to get
> it to work with my EchoAudio 12.

> cannot load driver module firewire

> Can anyone advise me how to overcome this error and get JACK working.

This is laptop and Echo AudioFire 4.

i.
as...@ubuntu:~$ cat /etc/issue
Ubuntu 9.10 \n \l

ii.
as...@ubuntu:~$ uname -a
Linux ubuntu 2.6.31-9-rt #152-Ubuntu SMP PREEMPT RT Thu Oct 15 05:01:14 
UTC 2009 i686 GNU/Linux

iii.
as...@ubuntu:~$ ls -al /dev/raw1394
crwxrwxrwx 1 root root 171, 0 2009-11-22 16:38 /dev/raw1394

iv.
as...@ubuntu:~$ ffado-test ListDevices
---
FFADO test and diagnostic utility
Part of the FFADO project -- www.ffado.org
Version: 1.999.43
(C) 2008, Daniel Wagner, Pieter Palmers
This program comes with ABSOLUTELY NO WARRANTY.
---

=== 1394 PORT 0 ===
   Node id  GUID  VendorId ModelId   Vendor - Model
0   0x00a0d1a0d1a38156  0xA0D1  0x   Linux - 
ohci1394  -
=== 1394 PORT 1 ===
   Node id  GUID  VendorId ModelId   Vendor - Model
0   0x0014860968bc006a  0x1486  0x0AF4   Echo Digital 
Audio - AudioFire4
1   0x00a0d1a0d1a38155  0xA0D1  0x   Linux - 
ohci1394  -
no message buffer overruns

v.

as...@ubuntu:~$ /usr/bin/jackd -R -P89 -m -dfirewire -dhw:1 -r44100 -p64 -n3
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis 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

JACK compiled with System V SHM support.
loading driver ..
00526802280:  (ffado.cpp)[  92] ffado_streaming_init: libffado 1.999.43 
built Sep 17 2009 20:03:51

-

Just do.

sudo chmod 777 /dev/raw1394

And check where is your fw card, mine is in hw:1 - not hw:0!

"User running jackd/FFADO needs read-write access to /dev/raw1394"

Page 21 - http://lca2009.linux.org.au/slides/77.pdf

Best Regards Asmo Koskinen.

-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: No success with EchoAudio FireWire 12

2009-11-22 Thread mac
On Sun, 2009-11-22 at 21:40 +0800, S. Josey wrote:
> Hello,
> 
> I have recently made a fresh install of Ubuntu Studio 9.10 and tried
> to get it to work with my EchoAudio 12.
> 
> I have followed the instructions at Ubuntu Studio Preparation
> ( https://help.ubuntu.com/community/UbuntuStudioPreparation) and
> FireWire Audio in Ubuntu Studio
> ( https://help.ubuntu.com/community/FireWire) and everything checks
> out correctly.
> 
> However, when I try to start JACK, this is the error message I get:
> 
> 21:28:44.769 Patchbay deactivated.
> 21:28:44.773 Statistics reset.
> 21:28:44.823 ALSA connection graph change.
> 21:28:45.020 ALSA connection change.
> 21:28:48.791 Startup script...
> 21:28:48.792 artsshell -q terminate
> sh: artsshell: not found
> 21:28:49.195 Startup script terminated with exit status=32512.
> 21:28:49.195 JACK is starting...
> 21:28:49.196 /usr/bin/jackd -R -P70 -t1000 -dfirewire -dhw:0 -r44100
> -p128 -n2 -i12 -o12
> no message buffer overruns
> jackd 0.116.1
> Copyright 2001-2005 Paul Davis 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
> JACK compiled with System V SHM support.
> 21:28:49.215 JACK was started with PID=2848.
> loading driver ..
> 01024651260:  (ffado.cpp)[  92] ffado_streaming_init: libffado
> 1.999.43 built Sep 17 2009 20:03:51
> firewire ERR: Error creating FFADO streaming device
> cannot load driver module firewire
> no message buffer overruns
> 21:28:49.533 JACK was stopped successfully.
> 21:28:49.534 Post-shutdown script...
> 21:28:49.534 killall jackd
> jackd: no process found
> 21:28:49.946 Post-shutdown script terminated with exit status=256.
> 21:28:51.232 Could not connect to JACK server as client. - Overall
> operation failed. - Unable to connect to server. Please check the
> messages window for more info.
> 
> Can anyone advise me how to overcome this error and get JACK working.
> 
> Thank you in advance.
> 
> Simon

I have not attempted 9.10 as yet. So I have no help to offer.

I have two AF12's running fine under 9.04 (32bit) with
2.6.29.1-rt8-custom kernel (the so called Luke kernel). I was never able
to get it to run with no xruns with UBStudio with the 32 or 64 bit
UBStudio 9.04 "out of the box".

In fact, if I remember correctly, I installed 9.04 from Conanical, and
added the UBStudio package, and added the rt custom kernel.

I thought UBStudio install handled the "re-config" to the old firewire
stack, but you might verify that that indeed has been done. Others here
probably know the commands to do that off the top of their heads.

Mac




-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users