<?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; Media</title>
	<atom:link href="http://www.geekbin.net/main/category/media/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>DNS-321 Added to My Collection</title>
		<link>http://www.geekbin.net/main/2010/05/dns-321-added-to-my-collection/</link>
		<comments>http://www.geekbin.net/main/2010/05/dns-321-added-to-my-collection/#comments</comments>
		<pubDate>Mon, 17 May 2010 07:21:30 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[DNS-321]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Mods]]></category>
		<category><![CDATA[Scripts / Code]]></category>
		<category><![CDATA[UPnP]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=342</guid>
		<description><![CDATA[As I said earlier this weekend, I recently obtained an NAS drive. I was having problems streaming HD movies over my wireless network, and was seeking another solution. After reading some reviews about this drive, I was shocked to find out how it operated. Most of the cons that swayed me to purchase it was; [...]]]></description>
			<content:encoded><![CDATA[<p>As I said earlier this weekend, I recently obtained an NAS drive.  I was having problems streaming HD movies over my wireless network, and was seeking another solution.  After reading some reviews about this drive, I was shocked to find out how it operated.  Most of the cons that swayed me to purchase it was; </p>
<p>one, it basically (as in fully) runs a small linux OS<br />
two, it streams uPnP by default<br />
three, it can be modified (hacked) to allow more options (ssh, web server, MediaTomb, package manager for more goodies, etc)<br />
finally, which is obvious from the first reason, it doesn&#8217;t use NTFS or FAT for it&#8217;s partition, it uses EXT2 or EXT3.</p>
<p>Out of the box, I loaded it with all of my music and movies, and boom, it was sharing.  I later found that it supported NFS so that I could mount it locally, and transfer even faster than ftp.  All around, this was a GREAT purchase.</p>
<p>Not being satisfied, I ventured out a little, and started looking for modifications, after all, it isn&#8217;t perfect.  I stumbled across <a href="http://wiki.dns323.info/howto:fun_plug" target=new >fun_plug</a>.  This allows some great new features to be activated, and unlocks a lot of features that are locked otherwise.  To sum it up, you interrupt the boot process, and obtain access to the core.  This allows you to start ssh and unlock other features on the drive.  This can be down with a few steps, download and copy <a href="http://www.inreto.de/dns323/fun-plug/0.5/">the files</a> over,  reboot, and punch in a couple of commands.</p>
<p>A walkthrough will be under-way soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/05/dns-321-added-to-my-collection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mplayer, Dumpfile, and AVI</title>
		<link>http://www.geekbin.net/main/2010/05/mplayer-dumpfile-and-avi/</link>
		<comments>http://www.geekbin.net/main/2010/05/mplayer-dumpfile-and-avi/#comments</comments>
		<pubDate>Sat, 15 May 2010 23:25:46 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[DVD Ripping]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[PS3]]></category>
		<category><![CDATA[Xbox 360]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=338</guid>
		<description><![CDATA[Well, it has been some time since I posted anything and since I got a few new toys to play with, I figured I would let everyone know about my findings. I recently got a PS3 slim, but since I found out that you can&#8217;t stream HD over a wireless network, I invested in the [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it has been some time since I posted anything and since I got a few new toys to play with, I figured I would let everyone know about my findings.  I recently got a PS3 slim, but since I found out that you can&#8217;t stream HD over a wireless network, I invested in the DNS-321 NAS drive.  Two great purchases!  Talk about these systems will come with time, but for now, I wanted to share my new findings on how to get your DVD&#8217;s to AVI without any crazy scripting or code.  two simple lines, and you have a nice video that can stream from an NAS to a PS3 or Xbox 360 (believe it or not, no matter what encryption you use, file name is VERY important).</p>
<p>First you need the DVD or the ISO of the DVD.  From an older article, I talked about using vlc to do this, but updates have seemed to make this process useless, so now we just use the command line.</p>
<p>Simply:</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">mplayer dvd://1 -dumpstream</div></div>
<p>or</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">mplayer dvd:// -dvd-device DVD.ISO -dumpstream</div></div>
<p>After this, you have a &#8220;stream.dump&#8221; file.  All you have to do is&#8230;</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">mplayer stream.dump -dumpstream -dumpfile MOVIE.avi</div></div>
<p>(I do this is two steps to demonstrate that if you had a bunch of stream.dump files, you can easily convert them)</p>
<p>The size of this file is going to be big, but you have a DVD quality file with no extra encryption b.s. to mess with.</p>
<p>FYI, I tested this file out on my NAS and it streams perfect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/05/mplayer-dumpfile-and-avi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 3.x Sync&#8217;ed in Linux (Full Gentoo Guide)</title>
		<link>http://www.geekbin.net/main/2010/01/iphone-3-1-2-synced-in-linux-full-gentoo/</link>
		<comments>http://www.geekbin.net/main/2010/01/iphone-3-1-2-synced-in-linux-full-gentoo/#comments</comments>
		<pubDate>Sat, 09 Jan 2010 19:46:30 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[GTKPod]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=253</guid>
		<description><![CDATA[Okay, so This is the third (and hopefully final) walkthrough for getting your iPhone to sync with Gentoo and now I am incorporating file transfer and music management. The process is actually very simple, but you should make sure to follow all of the steps. I encountered some problems along the way as well; I [...]]]></description>
			<content:encoded><![CDATA[<p>Okay, so This is the third (and hopefully final) walkthrough for getting your iPhone to sync with Gentoo and now I am incorporating file transfer and music management.  The process is actually very simple, but you should make sure to follow all of the steps.  I encountered some problems along the way as well; I received an error from one of the commands that used in other walkthroughs &#8220;Couldn’t read xml sysinfo from uuid.&#8221;  I simply fixed it by <strong>&#8220;READING&#8221;</strong> all of the steps properly and everything worked, so if you don&#8217;t read, you won&#8217;t get it!</p>
<p>Even though I have thanked him once before, thanks again to <a href="http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux/">Marcan</a> and his blog.  His hard work has made this possible.  I recommend reading his walkthrough to get a better understanding of everything.  This walkthrough is a similar walkthrough to his, but targets Gentoo.  As stated in all other walkthroughs, you do not need to jailbreak your phone, but I recommend it, makes everything easier.  I nor any developer or provider is responsible for any damages that you cause by following our walkthroughs, so, if you brick, it is on you.  Lastly, your iPhone should have already been plugged into iTunes and received a song at least once.</p>
<p><strong>The way I did it might not be the way it SHOULD be done, but it did work.  If you know of a better way, please bring it to light.</strong></p>
<p>First, you will need the Rion overlay like I wrote in earlier posts.</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>Next, you will need to emerge a few needed packages.  I found that the libgpod package in portage isn&#8217;t going to work, so will have to manually install that one from the sourceforge project page.  In the mean time, I will try writing an ebuild for it so that it can be emerged. (I emerged it, an then built new one over it)  Additionally, the versions that you have will also matter, but the 9999 versions mostly don&#8217;t work yet, so a couple of entries into your package.keywords and package.use will be necessary.  Also, before emerging any of this, I would recommend adding &#8220;ipod&#8221; you your USE flags in your /etc/make.conf file.</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;dev-libs/libusb debug doc&quot; &gt;&gt; /etc/portage/package.use<br />
# echo &quot;media-libs/libgpod gtk hal python test&quot; &gt;&gt; /etc/portage/package.use<br />
# echo &quot;dev-util/gtk-doc debug doc&quot; &gt;&gt; /etc/portage/package.use<br />
<br />
# 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 />
<br />
# emerge -va libusb libiphone ifuse libplist usbmuxd libgpod gtk-doc gtkpod dev-util/git</div></div>
<p>Next, you will need to build the custom version of libgpod.  If everything is built right on your system, then you should be fine, but if you get any errors, of course you will need to fix them before you continue.  You will need git in order to obtain this build from the sourceforge repository.  Find a nice location on your drive, and as root, execute the following.</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"># git clone git://gtkpod.git.sourceforge.net/gitroot/gtkpod/libgpod<br />
# cd libgpod<br />
# CFLAGS=&quot;-g -O0&quot; sh autogen.sh --prefix=/usr<br />
# make<br />
# make install</div></div>
<p>Now, we have start testing everything out.  We need to make sure that your phone is fully connected once you plug it in, and we need to make sure that usbmuxd is detecting your phone.  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’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 “/lib/udev/rules.d/85-usbmuxd.rules” and adding “-v -v” 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">Jan &nbsp;9 12:43:24 ghost kernel: [139025.359653] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0004<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.359663] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001403 POWER sig=k CSC CONNECT<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.359670] hub 2-0:1.0: port 2, status 0501, change 0001, 480 Mb/s<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.385242] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001002 POWER sig=se0 CSC<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.463060] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.567304] hub 2-0:1.0: debounce: port 2: total 200ms stable 100ms status 0x501<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.618227] ehci_hcd 0000:00:1d.7: port 2 high speed<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.618232] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.669065] usb 2-2: new high speed USB device using ehci_hcd and address 14<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.720353] ehci_hcd 0000:00:1d.7: port 2 high speed<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.720358] ehci_hcd 0000:00:1d.7: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.785527] usb 2-2: skipped 3 descriptors after interface<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.785530] usb 2-2: skipped 2 descriptors after interface<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.785533] usb 2-2: skipped 1 descriptor after endpoint<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.785535] usb 2-2: skipped 1 descriptor after interface<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.788140] usb 2-2: default language 0x0409<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789388] usb 2-2: udev 14, busnum 2, minor = 141<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789391] usb 2-2: New USB device found, idVendor=05ac, idProduct=1292<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789393] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789395] usb 2-2: Product: iPhone<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789397] usb 2-2: Manufacturer: Apple Inc.<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789399] usb 2-2: SerialNumber: 69a4294a91a56958927f3fafe0086bf90ccd2d2b<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789469] usb 2-2: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789486] usb 2-2: usb_probe_device<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.789489] usb 2-2: configuration #1 chosen from 4 choices<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791263] usb 2-2: adding 2-2:1.0 (config #1, interface 0)<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791282] usb 2-2:1.0: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791351] drivers/usb/core/inode.c: creating file '014'<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791371] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0004<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791385] usb 2-2: usb_disable_device nuking non-ep0 URBs<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791388] usb 2-2: unregistering interface 2-2:1.0<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.791434] usb 2-2:1.0: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.793892] usb 2-2: adding 2-2:4.0 (config #4, interface 0)<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.793929] usb 2-2:4.0: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.793989] usb 2-2: adding 2-2:4.1 (config #4, interface 1)<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.794005] usb 2-2:4.1: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.794035] usb 2-2: adding 2-2:4.2 (config #4, interface 2)<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.794053] usb 2-2:4.2: uevent<br />
Jan &nbsp;9 12:43:24 ghost kernel: [139025.811303] usb 2-2: uevent</div></div>
<p>Now it is time to mount the device, create some required folders, and get your UUID.  Since you now have ifuse, you can easily mount your device, but in order to do this, it is required to be in a specific location.  Additionally, if you want your users (not root) to also have ifuse privileges, you will need to edit the config files to do that.</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;user_allow_other&quot; &gt;&gt; /etc/fuse.conf<br />
# mkdir /mnt/ipod<br />
# chmod 777 /mnt/ipod<br />
# ifuse /mnt/ipod<br />
# mkdir /mnt/ipod/iTunes_Control/Device</div></div>
<p>Now obtain your UUID either from the logs, or by running&#8230;</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"># lsusb -v | grep -i iSerial</div></div>
<p>Your UUID is a long hexadecimal string that is roughly 40 characters long.  In the longs above, mine is <strong>69a4294a91a56958927f3fafe0086bf90ccd2d2b</strong>.  Now, lets generate the XML file for your phone, simply run&#8230;</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">ipod-read-sysinfo-extended YOUR_UUID /mnt/ipod</div></div>
<p>This will create the file <strong>iTunes_Control/Device/SysInfoExtended</strong> file. Make sure there is stuff in it, and it is not empty.  It should be a large XML file with a bunch of info.</p>
<p>If there were no errors, then you are good to go.  You can now sync up with linux and transfer music.  In the future, when you plug your device in, you simply need to run&#8230;</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/ipod</div></div>
<p>I have been using GTKPod to transfer my music over to the device, however, it should work with other applications like RhythmBox or Amarok.  I haven&#8217;t tried them out yet, but I would be interested to see if anyone gets that working.</p>
<p>[singlepic id=20 w=320 h=240 float=left] [singlepic id=21 w=320 h=240 float=center]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2010/01/iphone-3-1-2-synced-in-linux-full-gentoo/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<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>
		<item>
		<title>iPhone 3.x Firmware and Amarok ?!?</title>
		<link>http://www.geekbin.net/main/2009/11/iphone-3-and-amarok/</link>
		<comments>http://www.geekbin.net/main/2009/11/iphone-3-and-amarok/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 19:41:05 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Amarok]]></category>
		<category><![CDATA[Jailbreak]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=213</guid>
		<description><![CDATA[There might be hope&#8230; http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux/ It seems as if there is a project underway to help us linux users get the best out of our iPhones!]]></description>
			<content:encoded><![CDATA[<p>There might be hope&#8230;</p>
<p>http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux/</p>
<p>It seems as if there is a project underway to help us linux users get the best out of our iPhones!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/11/iphone-3-and-amarok/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xbox 360 Media UPnP Server with uShare</title>
		<link>http://www.geekbin.net/main/2009/08/xbox-360-media-upnp-server-with-ushare/</link>
		<comments>http://www.geekbin.net/main/2009/08/xbox-360-media-upnp-server-with-ushare/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:16:22 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Media]]></category>
		<category><![CDATA[Xbox 360]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[UPnP]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=119</guid>
		<description><![CDATA[After a little work, I finally got my Xbox 360 to connect with my computer using uShare. uShare allows you to share music, movies and pictures to your Xbox via UPnP. For Gentoo/Funtoo users out there, it is a bit of a pain to get working. First, it isn&#8217;t in Gentoo&#8217;s official Portage, so you [...]]]></description>
			<content:encoded><![CDATA[<p>After a little work, I finally got my Xbox 360 to connect with my computer using uShare.  uShare allows you to share music, movies and pictures to your Xbox via UPnP.  For Gentoo/Funtoo users out there, it is a bit of a pain to get working.  First, it isn&#8217;t in Gentoo&#8217;s official Portage, so you have to get the overlay, and add&#8230; for Funtoo users though, the version listed in Portage has problems with the init scripts, so it is better to get the Overlay anyway.</p>
<p>Overlay: <a title="http://bugs.gentoo.org/192561" href="http://bugs.gentoo.org/192561" target="_blank">http://bugs.gentoo.org/192561</a></p>
<p>Next, the config files; if you had an old version of uShare, ditch it, and all of it&#8217;s config files(/etc/ushare.conf).  I used the following config for /etc/conf.d/ushare &#8230; and make sure that you add &#8216;-c&#8217; in front of the directories you plan on sharing, or uShare wont start up, and wont give you any proper error readout.</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"># Copyright 1999-2007 Gentoo Foundation<br />
# Distributed under the terms of the GNU General Public License v2<br />
# $Header: $<br />
<br />
# User to run ushare daemon (if none, root will be used)<br />
USHARE_USER=&quot;&quot;<br />
<br />
# UPNP Friendly Name:<br />
USHARE_NAME=&quot;reaper&quot;<br />
<br />
# The interface to bind to:<br />
USHARE_IFACE=&quot;eth0&quot;<br />
<br />
# A List of directories to share, each precieded by '-c':<br />
USHARE_DIRS=&quot;-c /home/roberts/media&quot;<br />
<br />
# Misc. options, like:<br />
#  -p $port        Use specific port to listen ($port)<br />
#  -x, --xbox        Use XboX 360 compliant profile<br />
#  -d, --dlna        Use DLNA compliant profile (PlayStation3 needs this)<br />
#  -w, --no-web        Disable the control web page (enabled by default)<br />
#  -t, --no-telnet    Disable the telnet control (enabled by default)<br />
USHARE_OPTS=&quot;-x -p 49152&quot;</div></div>
<p>After this, you should be good.  Start uShare with &#8216;/etc/init.d/ushare start&#8217;, point your browser to YOUR.IP:49152/web/ushare.html , and you can add more directories to share there.  </p>
<p>Overall, the web interface is really bare and has no automatic refresh option, so every time you add files to the share directories, you have to restart the service, or click the refresh button on the web interface, however, it works.  The only downfall is that it doesn&#8217;t perform transcoding, so you have to make sure you encode your videos in the right format.  (I am working on that now, because I can see all of the directories, but the files are the &#8220;wrong format&#8221;)</p>
<p>Another tip, when trying to connect from the Xbox, make sure that you are in the &#8220;Video Library&#8221;, &#8220;Music Library&#8221;, or &#8220;Picture Library&#8221; and not in the Windows Media Center section.  UPnP does not substitute WMC.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/08/xbox-360-media-upnp-server-with-ushare/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ipod Touch Sync&#8217;ed to Amarok in Gentoo</title>
		<link>http://www.geekbin.net/main/2009/04/ipod-touch-synced-to-amarok-in-gentoo/</link>
		<comments>http://www.geekbin.net/main/2009/04/ipod-touch-synced-to-amarok-in-gentoo/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 01:44:31 +0000</pubDate>
		<dc:creator>IAmWill</dc:creator>
				<category><![CDATA[Amarok]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.geekbin.net/main/?p=21</guid>
		<description><![CDATA[First, as always, I am not responsible for any damages done to your equipment, if you choose to jailbreak and modify your device, that is on you!! Now, you will need to obtain a version of the 2.x firmware, and your device will need to be jailbroken. After you have jailbroken the device, you need [...]]]></description>
			<content:encoded><![CDATA[<p>First, as always, I am not responsible for any damages done to your equipment, if you choose to jailbreak and modify your device, that is on you!!</p>
<p>Now, you will need to obtain a version of the 2.x firmware, and your device will need to be jailbroken. After you have jailbroken the device, you need to install ‘OpenSSH’ and ‘Mobile Terminal’ from Cydia or Installer. These allow the obvious, ssh access and a terminal on the device.</p>
<p>On your linux box, you will need Amarok 1.4.10 or before, sadly, Amarok 2.0 will not work yet. You will also need sshfs and fuse.</p>
<blockquote>
<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;media-sound/amarok ipod&quot; /etc/portage/package.use<br />
# emerge sys-fs/fuse sshfs-fuse =media-sound/amarok-1.4.10-r2</div></div>
</blockquote>
<p>Set a static ip address on the device to match your the network your linux box is on.</p>
<p>Now, ssh into the device, the root password is defaulted to <strong>alpine</strong>.</p>
<blockquote>
<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">$ ssh root@192.168.1.110</div></div>
</blockquote>
<p>Edit the /etc/ssh/ssh_config on the device, and add the following lines:</p>
<blockquote>
<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">iTouch# nano /etc/ssh/ssh_config</div></div>
</blockquote>
<blockquote>
<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">RSAAuthentication yes<br />
PubkeyAuthentication yes<br />
AuthorizedKeysFile .ssh/authorized_keys</div></div>
</blockquote>
<p>Next, you need to generate a ssh key for passwordless login into the device, and copy it to the device.</p>
<blockquote>
<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">$ ssh-keygen<br />
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.1.110</div></div>
</blockquote>
<p>Now to make sure that your permissions are set right for passwordless login:</p>
<blockquote>
<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">iTouch # cd ~<br />
iTouch # cp .ssh/authorized_keys .ssh/authorized_keys2<br />
iTouch # chmod 755 /var/root<br />
iTouch # chmod 700 /var/root/.ssh<br />
iTouch # chmod 644 /var/root/.ssh/authorized_keys<br />
iTouch # reboot</div></div>
</blockquote>
<p>After your device has rebooted, test your connection to make sure that you can log into your device without a password.</p>
<blockquote>
<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">$ ssh root@192.168.1.110</div></div>
</blockquote>
<p>If all is well, mount the device to your desired directory, or you can use ipod-touch-mount or iphone-mount in Ubuntu.</p>
<blockquote>
<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">$ mkdir ~/itouch<br />
$ sshfs root@192.168.1.110:/var/mobile/Media ~/itouch</div></div>
</blockquote>
<p>Next, we have to get and set the Firewire GUID:</p>
<blockquote>
<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">$ cd ~/itouch/iPod_Control/Device<br />
$ su<br />
# lsusb -v -d 05ac: | grep iSerial | awk '{print $3}' | cut -b1-16 | xargs printf &quot;FirewireGuid: 0x%s\n&quot; &amp;gt; SysInfo</div></div>
</blockquote>
<p>Reboot the device. Now, before we can continue with syncing and adding music to the device, we have to modify the database version. This will allow libgpod to recognize and sync your device to Amarok. Sadly, I haven’t gotten this to work with RhythmBox or Exile.</p>
<p>We are going to log into the device, and edit the checkpoint.xml file&#8230;</p>
<blockquote>
<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">$ ssh root@192.168.1.110<br />
iTouch # nano /System/Library/Lockdown/Checkpoint.xml</div></div>
</blockquote>
<p>Search for the DBVersion Key, and change the value from 4 to 2.</p>
<blockquote>
<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">iTouch # reboot</div></div>
</blockquote>
<p>The last thing we have to do is add your device to Amarok so that it will populate your music and you can sync your device.</p>
<ul>
<li>Launch Amarok, and go to Settings =&gt; Configure Amarok… </li>
<li> Click the ‘Media Devices’ botton at the bottom</li>
<li> Click ‘Add Device…’</li>
<li> Select ‘Apple iPod Media Device’</li>
<li> Name your Device</li>
<li> The mount point should be ‘/home/$USER/itouch’ (unless you are using ipod-touch-mount, then it is /media/ipod)</li>
<li> Click Ok, and your are all set. Once you are in Amarok, just go to the devices tab on the bottom left (printed sideways) and click the ‘Connect’ button on your device and your music will populate in that device window. You can drag and drop your music into that device from your Amarok music collection as well.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.geekbin.net/main/2009/04/ipod-touch-synced-to-amarok-in-gentoo/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
