Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
There's a lot of information on the net about how to use the iPod with linux, but all the descriptions come to this point:
"when you see the message, that the ieee1394 node is correctly added (dmesg output), just mount the ipod and everything is fine. Just have a look at /proc/bus/ieee1394 to see the device and mount it."
My Problem: even though my ieee1394/sbp2/ohci1394 modules seem to work and I can see (dmesg) that the node is added, my /proc/bus directory doesn't contain the ieee1394 directory (only input/pci/usb). I therefore can't find out the name of the device (in order to mount it)
the most commonly used /dev/sda2 doesn't exist in my case, so this is not working.
how can i find out the device of my plugged-in iPod?
some information:
Dist.: Fedora Core 3
Kernel: 2.6.9-1.681_FC3
iPod: 20GB, windows version (fat)
some of the running modules: (loaded in this order)
I'm having pretty much the same problem as you, but I just thought I should add that under the 2.6 kernel most device info is moving towards sysfs, so the bus/device information for firewire devices is in /sys/bus/ieee1394/
However, nothing changes in that directory when I add or remove my iPod, so that gets us no further. I have updated my kernel to the testing one - 2.6.10-1.727, and that hasn't improved matters.
First to check where your iPod is, with it plugged in:
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "/sbin/fdisk -l"
Password:
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/hda2 1276 4865 28836675 5 Extended
/dev/hda5 1276 2044 6176961 83 Linux
/dev/hda6 2045 2145 811251 82 Linux swap
/dev/hda7 2146 3419 10233373+ 83 Linux
/dev/hda8 3420 4865 11614963+ 83 Linux
Disk /dev/hdb: 61.4 GB, 61492838400 bytes
16 heads, 63 sectors/track, 119150 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 119150 60051568+ b W95 FAT32
Disk /dev/sdb: 20.0 GB, 20000010240 bytes
255 heads, 63 sectors/track, 2431 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 5 40131 0 Empty
/dev/sdb2 * 6 2431 19486845 b W95 FAT32
[don@x1-6-00-0a-e6-91-be-32 don]$
be patient, I'll be editing this to finish instructions, just figuring out how to use some of the forum post formatting stuff....................Cool, so that is how they do the code boxes,.........by the way, this is with a first generation 20gig iPod with firewire.
Create a mount point
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "mkdir -p /mnt/ipod"
Mount it- note:your device may be sda,sdb(whatever), but make sure you use the number 2, not 1
[don@x1-6-00-0a-e6-91-be-32 don]$ ls /mnt/ipod
autorun.inf Calendars Contacts iPod_Control
[don@x1-6-00-0a-e6-91-be-32 don]$
unmount it
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "umount /mnt/ipod"
Password:
[don@x1-6-00-0a-e6-91-be-32 don]$
Then modify /etc/fstab, and add the following to allow non-root write permission
Code:
/dev/sdb2 /mnt/ipod vfat user,noauto,umask=0 0 0
mount it again- at this point you will be able to access it as mass storage device or my preference is using GTKPod
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ mount /mnt/ipod
[don@x1-6-00-0a-e6-91-be-32 don]$ ls -l /mnt/ipod
total 20
-rwxrwxrwx 1 don don 1632 Feb 21 2004 bootex.log*
drwxrwxrwx 2 don don 4096 Jan 1 1980 Calendars/
drwxrwxrwx 2 don don 4096 Jan 1 1980 Contacts/
drwxrwxrwx 2 don don 4096 Feb 21 2004 found.000/
drwxrwxrwx 5 don don 4096 Apr 22 2009 iPod_Control/
[don@x1-6-00-0a-e6-91-be-32 don]$
to get ok to disconnect message
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "/sbin/rmmod sbp2"
Password:
[don@x1-6-00-0a-e6-91-be-32 don]$
Thereafter just remember these three commands:
mount /mnt/ipod
su -c "/sbin/modprobe sbp2"
su -c "/sbin/rmmod sbp2"
It seems you are trying to use the firewire connection, have you tried using the USB? I am not familiar with older version iPods but the 4th Gen iPods have both 1394 and USB connectivity.
Ok... got a little further, if I put the iPod into force-disk mode (hold down Menu+Play to force reboot, then hold down FF and REW whilst it reboots) and boot up PC whilst in that mode, *then* kudzu finds it, and mounts it correctly as a disk. So it seems that detection/probing is not being done correctly, as the iPod is not going into disk mode by itself. (not a iPod fault as it performs fine connected to a Windows laptop)
Thanks for your detailed instructions Lakota, but we're failing before step one, fdisk -l shows nothing but the main hard disk :-(
This is a 3G ipod. It can use USB, but can't draw power from it.... (they don't ship with the USB cable either, it's an extra)
I am out of ideas. For me, with iPod off, I plug firewire into iPod and it turns on, then goes to "do not disconnect" screen. I unload sbp2 and get the "OK to disconnect" screen, and can reload sbp2 and it is connected again. Sorry I can't help more..........Have you thought about dual boot with Fedora & Mandrake 10.1 Official? Just kidding, I found set up was easy on my sys, don't know if it is due to my distro or the generation of iPod or what. I have read, the guys with the new iPod mini's must recompile kernel to get them working. Who knows, I wish you luck.
Well, I've upgraded to kernel version 2.6.10-1.741_FC3, and this has improved matters greatly. Inserting the iPod now puts it to "Do not disconnect" disk mode, and the /dev/sda nodes get created. If inserted before boot it gets mounted too. Not 100% perfect yet, but at least useable. I might consider going back to Mandrake at some point - I've used it before, but was wanting to try out Gnome 2.8 to see the new features..
I am using kernel 2.6.8.1-12mdk in Mandrake 10.1. I am suprised kernel upgrade fixed things, as I believe Fedora Core 3 uses a 2.6.9 version, which is higher than mine.
I suppose there can be a great many differences between distros though. {I was just reading "Media is now mounted in /media, rather than /mnt as previously done. So, a typical CDROM drive gets mounted into /media/cdrom, and a typical CD-RW drive is mounted as /media/cdrw." under Common Gotchas in Fedora Core 3}.
Always a good feeling when things start to work.
hey everyone,
i am having the same problems as the original post. ive searched everywhere i could find (google`ing) and cant find any way to get ipod to work with fedora 3. hopefully someone here can help.
anyway, this is the stuff i get:
when i plug it in (firewire) dmesg gives me:
Code:
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node resumed: ID:BUS[0-01:1023] GUID[000a2700025fba34]
ieee1394: The root node is not cycle master capable; selecting a new root node and resetting...
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
SELinux: initialized (dev hdc, type iso9660), uses genfs_contexts
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node suspended: ID:BUS[0-00:1023] GUID[000a2700025fba34]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node resumed: ID:BUS[0-00:1023] GUID[000a2700025fba34]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ok, now once i fdisk i get:
Code:
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 14593 117113850 8e Linux LVM
which isnt showing the ipod anywhere. =\
im at a loss. any help would be most appreciated... if i cant get this to work before tuesday, im gona go back to XP;__; so someone pls make this work for me. lol
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.