====== iPod and the eeePC ======
This guide is for people either having problems with an iPod(especially the newer ones) or having sound skipping issues with the eeePC or people that just like to read up on things.
As a precursor you should follow the guides in the wiki for doing the following.
Once you've done these things you should be ready to begin preparing the eeePC for your iPod.
“So what's the problem here? Can't I just hook my iPod up now?” you might ask. Well, if your iPod is an older model(gen 5.5 or older) then you might be able to do just that. The iPod will auto mount and amarok will automatically launch.
However, if you have an iPod classic like I do, hooking up your iPod to the eeePC without first modifying it will mean you just hosed the itunes database. Your iPod will tell you that no music exists and you'll feel like a moron. Believe me, I know.
So what do you do? Well there are several options.
1. “I want to keep amarok. What do I do?”
This is the simple and easy path. If you've added the xepc.org repository, those fine folks were nice enough to put amarok version 1.4.8 in their repository. Just use synaptic to force the version to 1.4.8 and install it. If you've got advanced mode working then this just means hitting the launch button and going to applications → system → synaptic package manager. Update it so it loads everything from the new repositories and do a search for amarok. Select the amarok base package and use the package → force version option to select 1.4.8. You'll need to also do this for the amarok-xine and amarok-engines packages. Make sure those 3 are selected and have 1.4.8 for the version listed and then apply. Synaptic will update them and now amarok won't hose your iPod. If this is your only issue fell free to stop here.
2. “I absolutely hate amarok. What alternatives do I have?”
This is the slightly more difficult path. In my own case, I hated amarok and just removed it. I wanted something that would play audio better(I'll put more on that below). Again we're going to open up synaptic. I chose two different options here. gtkpod and rhythmbox. Install these with synaptic.
“But what about amarok? Everytime I plug the iPod in amarok runs and I can't make it stop.”
Yeah, amarok is a pain. What's worse is that the eeePC wants to run /usr/bin/amarok even if you remove it. There's 2 ways to deal with that. First, I uninstalled amarok and then created a new amarok using
sudo kwrite /usr/bin/amarok
In that file you need to make a mounting script for your iPod. Run this.
sudo mount -l
In the list you should find your ipod. It will be /dev/sdc1 or /dev/sdd1 or something along those lines)
In your amarok file just add this line. change /dev/sdd1 to whatever your iPod is.
sudo mount /dev/sdd1 /media/ipod
Then I did
sudo chmod +x amarok
Now when you plug your iPod in you should see it auto mount and you can run rhythmbox or gtkpod and have it work. gtkpod might require you to change the settings for the folder you mount the iPod to. Rhythmbox will figure it out easily on it's own.
“But shizknight, that seems really hacky and stupid. Isn't there a less hacky and stupid way?”
Why yes there is and you can thank forum user tpdi for it. In this post (http://forum.eeeuser.com/viewtopic.php?pid=360456#p360456) he hit on a easy way to fix the problem with amarok autorunning.
The problem is that the eeepc has a specific script it runs for when you plug in an iPod device. This script is /etc/udev/rules.d/99-ipod.rules And the magic fix is to delete the file.
sudo rm /etc/udev/rules.d/99-ipod.rules
Once you remove the file, plugging in an iPod acts just the same as plugging in an external drive. It will mount to your machine using whatever drive letter you have next available(in my case it was /media/d: )
This was perfect for me and exactly how I wanted it to work. Again you might need to update gtkpod so it knows the folder to find the iPod in.
“Okay, I've followed these instructions and I got my iPod working. Now I have a new problem. My sound absolutely sucks. It skips horribly and I don't know what to do!”
Don't worry. I can cover that a bit too. So which program are you using?
1. Amarok - I found that amarok is slow for me and seems to skip on audio. But luckily you can change the settings in amarok to use a different sound system. It will default to pulseaudio, and pulseaudio seems to be pretty horrible on these eeePCs. Go into amarok settings and change to OSS or ALSA. Either option should perform better.
2. gtkpod - gtkpod would be great if it was quicker at reading the iPod. It takes about 4 or 5 minutes to load all the songs on my iPod(I have 10,460 songs). But once it's done it runs xmms to play the music. (If gtkpod doesn't have xmms set as it's play option in the preferences just set that to xmms %s). Hopefully you'll find that xmms is already set to use OSS. I've only had xmms skip a few times playing back mp3s on my eee. If it skips though, xmms allows you to change the output plugin as well as modify it.
3. rhythmbox - This one vexed me for a while. Then I got lucky. It seems rhythmbox uses the sound system you have set up in kde. By default that will probably be pulseaudio. If you change it and then reopen rhythmbox, you should be good to go. Open up control center and then go to the sound system tab in sounds and multimedia. Increase the buffer to maximum, check the box for “run with highest possible priority” and then go to the hardware tab. In the drop down box choose Advanced Linux Sound Architecture(ALSA) or Open Sound System(OSS). That part is up to you. Both will likely skip less than whatever is selected. Apply that and your sound system will be automatically restarted. Now reopen rhythmbox and it should now skip much less when playing audio. (I'm getting about 1 minor skip per song right now while typing this up and listening to music off the iPod all while running off battery.)
Anyway, that's about everything I can think of. Good luck to you and here's hoping you are able to get your iPod working like you want in on the eeePC too!