{"id":762,"date":"2011-05-29T21:25:57","date_gmt":"2011-05-30T02:25:57","guid":{"rendered":"http:\/\/abrammorphew.com\/notes\/?p=762"},"modified":"2011-05-29T21:50:55","modified_gmt":"2011-05-30T02:50:55","slug":"external-audio-with-usb-1-1-and-gentoo-linux-ppc","status":"publish","type":"post","link":"http:\/\/abrammorphew.com\/notes\/2011\/05\/29\/external-audio-with-usb-1-1-and-gentoo-linux-ppc\/","title":{"rendered":"External audio with USB 1.1 and Gentoo Linux PPC&#8230;"},"content":{"rendered":"<p>In the event that anyone decides to use a junked iBook in a Linux environment, I&#8217;m hoping that this article might save someone a lot of experimentation. <\/p>\n<p><b>The Problem:<\/b><br \/>\nStarted having trouble getting packet information through <a href=\"http:\/\/www.baycom.org\/~tom\/ham\/soundmodem\/\">Soundmodem<\/a> after a system upgrade to Kernel version 2.6.36-gentoo-r8. I began to investigate the sound card using <a href=\"http:\/\/audacity.sourceforge.net\/\">Audacity<\/a> then arecord\/aplay to see if audio was even getting through ALSA into the external USB audio interface (snd-usb-audio). The audio was almost unintelligible through the distortion and crackling. After some playing around, I realized that audio recorded through the internal card (snd-powermac) was fine but USB audio was crap. The iBook conveniently has no TRS inputs. Therefore, I&#8217;m required to use USB.<\/p>\n<p><b>The Solution:<\/b><br \/>\nI opted to upgrade the kernel from scratch. I disabled the EHCI (USB 2.0) support in the kernel since the iBook has no USB 2.0 support. Secondly (and this is where I think the problem really stemmed from), I enabled both the Big Endian\/Little Endian option for the OHCI (USB 1.1) driver after reading about <a href=\"http:\/\/en.wikipedia.org\/wiki\/Endianness\">Endianness<\/a>.<\/p>\n<p>My \/etc\/modprobe.d\/alsa.conf file looks something like this:<\/p>\n<pre class=\"brush:shell\">\r\nalias \/dev\/mixer snd-mixer-oss\r\nalias \/dev\/dsp snd-pcm-oss\r\nalias \/dev\/midi snd-seq-oss\r\nalias char-major-116 snd\r\nalias char-major-14 soundcore\r\n\r\noptions snd cards_limit=1\r\n\r\n# ALSA portion\r\nalias snd-card-0 snd-usb-audio\r\nalias sound-slot-0 snd-card-0\r\n\r\n# card #1\r\noptions snd-usb-audio nrpacks=1 index=0\r\nalias sound-service-0-0 snd-mixer-oss\r\nalias sound-service-0-1 snd-seq-oss\r\nalias sound-service-0-3 snd-pcm-oss\r\nalias sound-service-0-8 snd-seq-oss\r\nalias sound-service-0-12 snd-pcm-oss\r\nalias \/dev\/dsp snd-usb-oss\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>In the event that anyone decides to use a junked iBook in a Linux environment, I&#8217;m hoping that this article might save someone a lot of experimentation. The Problem: Started having trouble getting packet information through Soundmodem after a system upgrade to Kernel version 2.6.36-gentoo-r8. I began to investigate the sound card using Audacity then [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[88,25,84,85,72,89,87,86],"class_list":["post-762","post","type-post","status-publish","format-standard","hentry","category-notes","tag-audacity","tag-audio","tag-gentoo","tag-kernel","tag-linux","tag-opensource","tag-soundmodem","tag-usb"],"_links":{"self":[{"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/posts\/762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/comments?post=762"}],"version-history":[{"count":4,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/posts\/762\/revisions"}],"predecessor-version":[{"id":766,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/posts\/762\/revisions\/766"}],"wp:attachment":[{"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/media?parent=762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/categories?post=762"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/abrammorphew.com\/notes\/wp-json\/wp\/v2\/tags?post=762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}