{"id":250,"date":"2008-09-21T23:57:54","date_gmt":"2008-09-21T23:57:54","guid":{"rendered":"http:\/\/livemorelightly.com\/?p=250"},"modified":"2008-09-21T23:57:54","modified_gmt":"2008-09-21T23:57:54","slug":"ubuntu-hardy-free-firewire-drivers-jackd","status":"publish","type":"post","link":"https:\/\/livemorelightly.com\/Tech\/2008\/09\/ubuntu-hardy-free-firewire-drivers-jackd\/","title":{"rendered":"Ubuntu Hardy + Free Firewire Drivers + Jackd"},"content":{"rendered":"<div id=\"content_div-250\">\n<!-- google_ad_section_start --><p>Since I came back from Seattle the Saffire audio device has been firmly installed at Waterlou Studios where it works very well with the G4 OSX 10.3.9 and G5 quad-core OSX 10.4. It has been challenging to get all the applications working on this newly installed platform and I have not had much time to putter away on my home system. Paul, our friend Barry and I also spent time going to a demo of the WAVES Logic plug-ins with Eddie Kramer as the keynote speaker, which was fun. I couldn&#8217;t resist making a few comments to the Apple reps about the new Logic Studio. It is an inspiring tool for Paul and I to have in our musical hands, but I still want to pursue my own mobile recording set-up.<\/p>\n<p><a href=\"https:\/\/livemorelightly.com\/Tech\/wp-content\/uploads\/2008\/09\/saffire_firewire.png\"><img loading=\"lazy\" decoding=\"async\" width=\"200\" height=\"226\" class=\"aligncenter size-full wp-image-251\" title=\"saffire_firewire\" src=\"https:\/\/livemorelightly.com\/Tech\/wp-content\/uploads\/2008\/09\/saffire_firewire.png\" alt=\"Supported by ffado\" \/><\/a><\/p>\n<p>Remember the WordPress motto when reading this: &#8220;Code is poetry.&#8221;<\/p>\n<p>The last steps I took on activating the music recording capabilities of my ASUS notebook included installing the ffado drivers and (with help from Robin B. in Seattle) making sure the &#8220;raw1394&#8221; kernel module is loaded on boot. This can be checked in terminal (sudo modprobe raw1394) and I did find that the Ubuntu Studio control that I installed was not a reliable indicator that the raw kernel module was in fact loaded. Even after checking the box in the GUI loaded from System&gt;Administration&gt;Ubuntu Studio, I still was asked for my password to activate the raw kernel in terminal.<\/p>\n<p>There is a post on the ffado site that describes how to check if jackd is reading the ffado driver from terminal<a title=\"ffado - is it working?\" href=\"http:\/\/www.ffado.org\/?q=node\/622\" target=\"_blank\"> here<\/a>. Unfortunately, I get the reading:<\/p>\n<p style=\"text-align: left; padding-left: 90px;\">victoria@u-live:~$ jackd -R -d firewire -v4<br \/>\njackd: unknown driver &#8216;firewire&#8217;\n<\/p>\n<p style=\"text-align: left;\">I think my problem might be with jackd rather than with the ffado driver itself. I was following the install instructions on the <a title=\"fast compilation guide to ffado\" href=\"http:\/\/subversion.ffado.org\/wiki\/PietersFastCompilationGuide\" target=\"_blank\">ffado trac site<\/a> &#8212; Pieter writes encouragingly at the top &#8220;It&#8217;s very easy&#8221;, but forgets to add &#8220;&#8230;if you are a Linux programmer&#8221;. I have the latest RT (realtime) kernel installed and all of the dependencies except the python-qt.<\/p>\n<p style=\"text-align: left; padding-left: 60px;\">victoria@u-live:~$ sudo apt-get install scons libiec61883-0 libiec61883-dev libavc1394-0 libavc1394-dev libxml++2.6c2a libxml++2.6-dev liblo0 liblo0-dev docbook-utils libexpat-dev libdbus-1-dev pyqt-tools python-dbus python-qt<br \/>\nReading package lists&#8230; Done<br \/>\nBuilding dependency tree<br \/>\nReading state information&#8230; Done<br \/>\nscons is already the newest version.<br \/>\nlibiec61883-0 is already the newest version.<br \/>\nlibiec61883-dev is already the newest version.<br \/>\nlibavc1394-0 is already the newest version.<br \/>\nlibavc1394-dev is already the newest version.<br \/>\nlibxml++2.6c2a is already the newest version.<br \/>\nlibxml++2.6-dev is already the newest version.<br \/>\nliblo0 is already the newest version.<br \/>\nliblo0-dev is already the newest version.<br \/>\ndocbook-utils is already the newest version.<br \/>\nNote, selecting libexpat1-dev instead of libexpat-dev<br \/>\nlibexpat1-dev is already the newest version.<br \/>\nlibdbus-1-dev is already the newest version.<br \/>\npyqt-tools is already the newest version.<br \/>\npython-dbus is already the newest version.<br \/>\nE: Couldn&#8217;t find package python-qt\n<\/p>\n<p style=\"text-align: left;\">Robin fixed this later and I have no idea what he did. I had already checked that I had python-qt3 installed and somehow he made Ubuntu see it. Next I downloaded the ffado sources and placed them in the directory and tried to compile using Scons. I had never tried to compile anything before so I did not realize that scons had to be run from inside the folder of the program that you wish to compile.<\/p>\n<p style=\"text-align: left; padding-left: 60px;\">victoria@u-live:~$ scons DEBUG=yes<\/p>\n<p>scons: *** No SConstruct file found.<br \/>\nFile &#8220;\/usr\/lib\/scons\/SCons\/Script\/Main.py&#8221;, line 825, in _main<br \/>\nvictoria@u-live:~$ scons install<\/p>\n<p style=\"text-align: left;\">Scons cannot find the SConstruct file unless it is run in the directory folder that the text file lives in. I figured this out and I was pleased to see a string of code scroll down the terminal screen.\u00a0 I was less happy when the install terminated with the error message:<\/p>\n<p style=\"text-align: left; padding-left: 60px;\">xdg-icon-resource install &#8211;size 64 &#8211;context apps support\/xdg\/hi64-apps-ffado.png<br \/>\nscons: *** DirNodeInfo instance has no attribute &#8216;csig&#8217;<br \/>\nscons: building terminated because of errors.\n<\/p>\n<p style=\"text-align: left;\">I tried to continue and received some help from the guide posted <a title=\"ffado install help\" href=\"http:\/\/www.ffado.org\/?q=node\/613\" target=\"_blank\">here<\/a>. I decided not to try to hack the code in the SConstruct file as they suggest and looked for another method. There is now some new information posted by<a title=\"Scons install bug fix\" href=\"http:\/\/www.ffado.org\/?q=node\/621\" target=\"_blank\"> Pieter here<\/a>, but at that time, after a bit of searching, I gave up and decided to continue with the install instructions. Later Robin came to my rescue and said something that contained the words &#8220;usr home folder&#8221;. I did not understand what he said and he types quickly into the terminal, but the result was positive and the driver is installed.<\/p>\n<p style=\"text-align: left; padding-left: 90px;\">victoria@u-live:\/usr\/share\/applications$ cd \/usr\/local<br \/>\nvictoria@u-live:\/usr\/local$ ls<br \/>\nbin\u00a0 etc\u00a0 games\u00a0 include\u00a0 lib\u00a0 man\u00a0 sbin\u00a0 share\u00a0 src<br \/>\nvictoria@u-live:\/usr\/local$ cd bin<br \/>\nvictoria@u-live:\/usr\/local\/bin$ ls<br \/>\nffado-bridgeco-downloader\u00a0 ffado-fireworks-downloader<br \/>\nffado-dbus-server\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ffadomixer<br \/>\nvictoria@u-live:\/usr\/local\/bin$ ffado<br \/>\nffado-bridgeco-downloader\u00a0\u00a0 ffado-fireworks-downloader<br \/>\nffado-dbus-server\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ffadomixer<br \/>\nvictoria@u-live:\/usr\/local\/bin$ ffadomixer\n<\/p>\n<p style=\"text-align: left; padding-left: 90px;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p style=\"text-align: left;\">Another frustrating bit of business with the command:<\/p>\n<p style=\"text-align: left; padding-left: 30px;\"><code>$ sudo apt-get install subversion libtool automake<\/code><\/p>\n<p style=\"text-align: left;\">I could not get it to run, but I installed jack from the trunk in a separate folder and I think that is the source of my present problems. Jack installed very well, but now I think I am running two versions of Jacd and that is confusing to my OS. I do not have Robin B. to help me now, so I just tried running the above cmnd again. Surprised and pleased, I watched the install proceed:<\/p>\n<p style=\"text-align: left; padding-left: 60px;\">victoria@u-live:~$ sudo apt-get install subversion libtool automake<br \/>\n[sudo] password for victoria:<br \/>\nReading package lists&#8230; Done<br \/>\nBuilding dependency tree<br \/>\nReading state information&#8230; Done<br \/>\nsubversion is already the newest version.<br \/>\nlibtool is already the newest version.<br \/>\nThe following NEW packages will be installed:<br \/>\nautomake<br \/>\n0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br \/>\nNeed to get 519kB of archives.<br \/>\nAfter this operation, 1712kB of additional disk space will be used.<br \/>\nGet:1 http:\/\/ca.archive.ubuntu.com hardy\/main automake 1:1.10.1-2 [519kB]<br \/>\nFetched 519kB in 2s (182kB\/s)<br \/>\nSelecting previously deselected package automake.<br \/>\n(Reading database &#8230; 245531 files and directories currently installed.)<br \/>\nUnpacking automake (from &#8230;\/automake_1%3a1.10.1-2_all.deb) &#8230;<br \/>\nSetting up automake (1:1.10.1-2) &#8230;\n<\/p>\n<p style=\"text-align: left;\">Now I have the automake application installed jackd may work better or I might have to remove it from the system and reinstall. I plan to use this post to ask for help with my lack of success, but I feel I am making some progress because my terminal reads:<\/p>\n<p style=\"text-align: left; padding-left: 60px;\">victoria@u-live:~$ cd libffado<br \/>\nvictoria@u-live:~\/libffado$ tests\/test-ffado Discover<br \/>\nverbose level = 0<br \/>\nUsing ffado library version: libffado 2.0.900-1319<\/p>\n<p>06565751473: Debug (devicemanager.cpp)[ 555] discover: Discovery finished&#8230;<br \/>\n06565751641: Debug (devicemanager.cpp)[1045] showDeviceInfo: ===== Device Manager =====<br \/>\n06565751717: Debug (Element.cpp)[ 109] show: Element DeviceManager<br \/>\n06565751769: Debug (devicemanager.cpp)[1053] showDeviceInfo: &#8212; IEEE1394 Service\u00a0 0 &#8212;<br \/>\nIso handler info:<br \/>\nDumping IsoHandlerManager Stream handler information&#8230;<br \/>\nState: 2<br \/>\nno message buffer overruns\n<\/p>\n<p style=\"text-align: left; padding-left: 60px;\">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/p>\n<p style=\"text-align: left; padding-left: 60px;\">Thanks Robin B. for your hospitality and your help! Here are some flowers for you.<\/p>\n<p style=\"text-align: left; padding-left: 60px;\"><a href=\"https:\/\/livemorelightly.com\/Tech\/wp-content\/uploads\/2008\/09\/1765_impatients1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"225\" height=\"300\" class=\"aligncenter size-full wp-image-253\" title=\"1765_impatients1\" src=\"https:\/\/livemorelightly.com\/Tech\/wp-content\/uploads\/2008\/09\/1765_impatients1.png\" alt=\"A bouquet of flowers for Robin\" \/><\/a><\/p>\n<p style=\"text-align: left; padding-left: 60px;\">\n<!-- google_ad_section_end --><h3>Related Images:<\/h3><\/div>\n<div class=\"translate_block\" style=\"display: none;\">\n<hr class=\"translate_hr\" \/>\n<a class=\"translate_translate\" id=\"translate_button_post-250\" lang=\"en\" xml:lang=\"en\" href=\"javascript:show_translate_popup('en', 'post', 250);\">[Translate]<\/a><img src=\"https:\/\/livemorelightly.com\/Tech\/wp-content\/plugins\/google-ajax-translation\/transparent.gif\" id=\"translate_loading_post-250\" class=\"translate_loading\" style=\"display: none;\" width=\"16\" height=\"16\" alt=\"\" \/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start --><p>Since I came back from Seattle the Saffire audio device has been firmly installed at Waterlou Studios where it works very well with the G4 OSX 10.3.9 and G5 quad-core OSX 10.4. It has been challenging to get all the applications working on this newly installed platform and I have not had much time to [&hellip;]<\/p>\n<!-- google_ad_section_end -->","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[20,5,15,17],"tags":[25,34,41,58,59,72,95,105],"class_list":["post-250","post","type-post","status-publish","format-standard","hentry","category-digital-audio","category-internet-and-technology","category-ubuntu-linux","category-vix-at-work","tag-alsa","tag-automake","tag-compile","tag-ffado","tag-firewire-audio","tag-jackd","tag-scons","tag-ubuntu"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1IW6E-42","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/livemorelightly.com\/Tech\/wp-json\/wp\/v2\/posts\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/livemorelightly.com\/Tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/livemorelightly.com\/Tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/livemorelightly.com\/Tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/livemorelightly.com\/Tech\/wp-json\/wp\/v2\/comments?post=250"}],"version-history":[{"count":0,"href":"https:\/\/livemorelightly.com\/Tech\/wp-json\/wp\/v2\/posts\/250\/revisions"}],"wp:attachment":[{"href":"https:\/\/livemorelightly.com\/Tech\/wp-json\/wp\/v2\/media?parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/livemorelightly.com\/Tech\/wp-json\/wp\/v2\/categories?post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/livemorelightly.com\/Tech\/wp-json\/wp\/v2\/tags?post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}