<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>geekbin.net &#187; Rhythmbox</title>
	<atom:link href="http://www.geekbin.net/main/category/rhythmbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geekbin.net/main</link>
	<description></description>
	<lastBuildDate>Fri, 02 Jul 2010 05:37:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>iPhone 3G(s) 3.1.2 Sync&#8217;ed in Gentoo</title>
		<link>http://www.geekbin.net/main/2009/12/iphone-3gs-3-1-2-synced-in-gentoo/</link>
		<comments>http://www.geekbin.net/main/2009/12/iphone-3gs-3-1-2-synced-in-gentoo/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 21:27:52 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Amarok]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Jailbreak]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Rhythmbox]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=243</guid>
		<description><![CDATA[Yep, that&#8217;s right.  Sync&#8217;ed, finally.  It took a little work, and thanks to Marcan and his team of helpers, this can finally be done. The following guide is for gentoo users, but can be tailored to work for any linux OS. I successfully got Rhythmbox and Amarok to play all of the music from my [...]]]></description>
			<content:encoded><![CDATA[<p>Yep, that&#8217;s right.  Sync&#8217;ed, finally.  It took a little work, and thanks to <a href="http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux/" target=new>Marcan</a> and his team of helpers, this can finally be done.  The following guide is for gentoo users, but can be tailored to work for any linux OS.  I successfully got Rhythmbox and Amarok to play all of the music from my iPhone.  </p>
<p>Step 1: First, you need add the Rion overlay from layman.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge -va layman<br />
# layman -a rion<br />
# layman -S<br />
# echo `PORTDIR_OVERLAY=&quot;/usr/local/portage/layman/rion&quot;` &gt;&gt; /etc/make.conf<br />
# env-update<br />
# eix-update</div></div>
<p>(if you have a PORTDIR_OVERLAY line already, then just add it manually with your favorite editor)</p>
<p>Step 2: You will need to emerge a couple of packages, if you have them installed, it is best to remove them first, then emerge the new ones.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge -C libusb usbmuxd libplist libiphone ifuse</div></div>
<p>You will need the following packages in order for this to work right.  Note that the version DOES matter.  If you have older versions, they need to go, but same or later versions are good.</p>
<ul>
<li>1. dev-libs/libusb-1.0.5
<li>virtual/libusb-1
<li>2. app-pda/ifuse-0.9.4
<li>3. app-pda/libplist-0.16
<li>4. app-pda/libiphone-0.9.4
<li>5. app-pda/usbmuxd-1.0.0_rc2
</ul>
<p>The 9999 packages of any of these really didn&#8217;t work for me, so I suggest masking them out.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># echo &quot;=app-pda/libplist-9999&quot; &gt;&gt; /etc/portage/package.mask<br />
# echo &quot;=app-pda/libiphone-9999&quot; &gt;&gt; /etc/portage/package.mask<br />
# echo &quot;=app-pda/ifuse-9999&quot; &gt;&gt; /etc/portage/package.mask<br />
# echo &quot;dev-libs/libusb **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/ifuse **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/libplist **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/libiphone **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# echo &quot;app-pda/usbmuxd **&quot; &gt;&gt; /etc/portage/package.keywords<br />
# emerge -va libusb libiphone ifuse libplist usbmuxd libgpod</div></div>
<p>Additionally, I would make sure that amarok and/or rhythmbox are built with ipod support (USE=&#8221;ipod&#8221;).  Just add the &#8216;ipod&#8217; use flag to your USE line in /etc/make.conf.</p>
<p>Now, we have to create the usbmux user so that usbmuxd will work properly.  You will have to make sure that this user has access to usb and plugdev.  I added wheel too, but it isn&#8217;t necessary.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># useradd -G usb,plugdev,wheel -s /bin/bash usbmux</div></div>
<p>Once everything is emerged successfully, you need to test out and make sure that your iphone is being registered when it connects.  First you will have to modify the udev rules so that you can see the output.  Increase the syslog debug level by editing &#8220;/lib/udev/rules.d/85-usbmuxd.rules&#8221; and adding &#8220;-v -v&#8221; flags to the end of both RUN statements.  Now you can run the following and see if usbmuxd is seeing your iphone.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># tail -f /var/log/messages<br />
Dec 12 11:39:27 ghost kernel: [450381.899021] usb 2-4: New USB device found, idVendor=05ac, idProduct=1292<br />
Dec 12 11:39:27 ghost kernel: [450381.899024] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br />
Dec 12 11:39:27 ghost kernel: [450381.899026] usb 2-4: Product: iPhone<br />
Dec 12 11:39:27 ghost kernel: [450381.899028] usb 2-4: Manufacturer: Apple Inc.<br />
Dec 12 11:39:27 ghost kernel: [450381.899030] usb 2-4: SerialNumber: 69a4294a91a56958927f3fafe0086bf90ccd2d2b<br />
Dec 12 11:39:27 ghost kernel: [450381.899134] usb 2-4: usb_probe_device<br />
Dec 12 11:39:27 ghost kernel: [450381.899137] usb 2-4: configuration #1 chosen from 4 choices<br />
Dec 12 11:39:27 ghost kernel: [450381.900385] usb 2-4: adding 2-4:1.0 (config #1, interface 0)<br />
Dec 12 11:39:27 ghost kernel: [450381.900413] usb 2-4:1.0: uevent<br />
Dec 12 11:39:27 ghost kernel: [450381.900485] drivers/usb/core/inode.c: creating file '012'<br />
Dec 12 11:39:27 ghost kernel: [450381.900505] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0010<br />
Dec 12 11:39:27 ghost kernel: [450381.905696] usb 2-4: usb_disable_device nuking non-ep0 URBs<br />
Dec 12 11:39:27 ghost kernel: [450381.905701] usb 2-4: unregistering interface 2-4:1.0<br />
Dec 12 11:39:27 ghost kernel: [450381.905782] usb 2-4:1.0: uevent</div></div>
<p>If you are seeing your phone come up, then everything was done right.  The last thing to do is mount the phone.  simply use ifuse, and mount it to a specified mount point.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:750px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># ifuse /mnt/to/location</div></div>
<p>Again, you can now browse the entire filing system, and when you import the music, it should convert so that it isn&#8217;t in the hashed/encrypted form.  Rhythmbox even got the album art.</p>
<p>I am working on how to copy music to the iphone now, so if anyone got that down, please let me know. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/12/iphone-3gs-3-1-2-synced-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
