LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-12-2005, 02:25 PM   #1
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Rep: Reputation: 30
mini Ipod patch usb (the mini iPOD thread)


Okay okay I know that there are a gazillion posts about ipod and linux but this is different (promise!)

This thread is only for the mini iPOD. NO 20gb, NO 40gb, NO photo, NO u2. I just don't care about them (since I don't own them )

Now, the reason for this post. I am about to get my mini iPOD, and have been installing all the software in preparation (yes I'm excited) like faad2 and gtkpod etc.

HOWEVER, it seems like its going to be a struggle after reading all the posts here, seems like the mini iPOD is less than honest about its weight (must be the FAT filesystem).

One of the recommendations is to rebuild the kernel. I don't feel like doing that because I've had issues with the NVIDIA driver and my monitor and everything is hunky dorey now. So let's let the kernel just be.

The other recommendation is to run a patch which magically fixes the linux problems that occur when trying to mount the mini iPOD over USB. I want that patch! I have searched and searched but to no avail. I came across an email from Avi Kivity on a sourceforge mailing list saying the patch is attached, but I saw no attachment. So close yet so far.

Anyone know where I can get this magic patch? If it works for mini iPOD?

Please, no posts on other ipod versions, let's keep one thread for the mini, how cool would that be? Then the next person who wants to install there mini can just come to one thread that will have all the info they want! And they won't have to sift through 100 posts on other ipod versions.

Dave.
 
Old 02-13-2005, 09:36 PM   #2
MXS
LQ Newbie
 
Registered: Feb 2005
Location: Texas
Distribution: Suse 9.2
Posts: 1

Rep: Reputation: 0
2.6.8-24.11 kernel already has the patch, doesn't work. Product id is different so you have to install the kernel source, add another unusual_devs.h entry, and recompile the kernel. Might as well disable EFI support too just to be double sure.

This is what I did and iPod mini works fine.

This is the entry the patch adds to /usr/src/linux/drivers/usb/storage/unusual_devs.h

UNUSUAL_DEV( 0x05ac, 0x1203, 0x0001, 0x0001,
"Apple",
"iPod",
US_SC_DEVICE, US_PR_DEVICE, NULL,
US_FL_FIX_CAPACITY ),

1202 = iPod Mini

Last edited by MXS; 02-14-2005 at 01:49 AM.
 
Old 02-14-2005, 10:10 AM   #3
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
Alright, so I have to add the lines

UNUSUAL_DEV( 0x05ac, 0x1202, 0x0001, 0x0001,
"Apple",
"iPod",
US_SC_DEVICE, US_PR_DEVICE, NULL,
US_FL_FIX_CAPACITY ),

because the mini is 1202?

I'll go off and give it a try
 
Old 02-14-2005, 11:39 AM   #4
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
okay, I didn't add those lines, I bit the bullet and did a kernel recompile....

IT WORKED!

Bloody fantastic. I'm running Suse 9.2 and these are the steps I followed

$cd /usr/src/linux
$sudo cp .config /tmp
$make mrproper
$sudo /boot/config /usr/src/linux/.config
$sudo make xconfig
{had to do it with sudo to save changes and couln't use su (something to do with x11); make sure Qt libraries are installed}
Search for EIF_partition and unmark it, it will be with all the other partition info


I didn't have to edit the makefile
#make install

Rebooted, and added this line to fstab:
/dev/sda2 /mnt/ipod subfs fs=vfat, procuid, nodev, nosuid 0 0
Had to update my ipod mini on a windows computer first (don't know why)

But not as painful as I expected, now after my ipod has synched, I shall go and re-install the Nvidia drivers

[EDIT] forgot to add EIF_partition removal

BTW haven't succesfully transferred songs to it yet

Last edited by Phyrexicaid; 02-15-2005 at 07:45 AM.
 
Old 02-23-2005, 05:38 AM   #5
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
For those who have the ipod mini working now, here are my suggestions,

when you start gtkpod, and it pops up a warning about the gtk version, just leave it open, don't click OK, just seems to make it freeze more often. Leaving it as is stops gtk from freezing (as much )

I had to have an existing itunes db before I could transfer songs. Without one, trying to create directories just resulted in "Unable to create ipod directories"

Once you're done transfering, type
$eject /dev/sda (or b depending on where the ipod has been mounted)
and it will get rid of the annoying "Do not disconnect"

Hope this is all helping someone out there

dave
 
Old 03-21-2005, 01:27 PM   #6
ljfrazee
LQ Newbie
 
Registered: Mar 2005
Location: Dallas (if you call this living)
Distribution: suse 9.2
Posts: 3

Rep: Reputation: 0
Angry ipod mini on suse 9.2

This is my first posting - ever

I have kids with ipod minis and, as you know, it is difficult (to say the least) to get them to work on linux.

There was a post with sudo commands that I tried.
I killed my kernel doing it.
I suspect that my level of retardation is to blame.

Does anyone have a true "step by step" suggestion on how to modify the kernel (or whatever it is that I am supposed to do) so that the mini will work with suse 9.2?

You help will be greatly appreciated. Thank you in advance.

Lew(ser)
 
Old 03-22-2005, 01:07 AM   #7
Phyrexicaid
Member
 
Registered: Aug 2004
Location: JHB - South Africa
Distribution: Kubuntu 7.04; openSUSE 10.1
Posts: 176

Original Poster
Rep: Reputation: 30
Firstly, your kernel sources must be installed. Goto YaST, click on install and remove software. A search bar should come up, search for 'kernel' and install the kernel sources. Then follow my instructions above. The only thing you need to change in the kernel is the EIF_PARTITION

dave
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I just need help with my ipod mini 4g KenMang Linux - Software 4 10-17-2005 06:48 AM
ipod mini - usb on a SuSE system diemaco Linux - Hardware 87 10-02-2005 01:01 PM
Getting Linux on an iPod Mini NotYourJanitor Linux - Newbie 4 04-08-2005 11:57 PM
iPod Mini FunkyRes Fedora 0 12-27-2004 10:05 PM
mini ipod (usb & windows) on mdk10 jaybee Linux - Hardware 0 08-17-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration