From: Bradley Reed on 16 Jan 2006 16:45 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15 Jan 2006 14:11:58 -0800, klee12 wrote: > Hello, > > I got an Apple iPod for Christmas, and I wonder if it is possible to > transfer MP3 files to the iPod. I'm running Slackware 10.0 presently. I > plugged the iPod into the USB port, boot up the computer, and when I do > a mount command it says > If you have never plugged it into a Windows machine, it is still probably formatted for Apple, with a HFS+ filesystem on it. You may have to modprobe hfsplus to read/write to it. If you tried using it on Windows, it was reformmatted to vfat. In ether case you should have no problem using it with Slackware. I have been using mine using hfs+ and accessing my wife's via vfat for over a year now. I do run a 2.6 kernel, but if I recall that isn't required. It may be easier though. I generally use grip to get the music off CDs and then use gtkpod to transfer the music, make playlists, etc. I strongly recommend gtkpod. There are several new interfaces that have started using the library from gtkpod (libgpod) but I prefer the original. The one thing gtkpod lacks that some of the newer interfaces are adding is a method of downloading or subscribing to podcasts. gtkpod (currently) requires to download a podcast first, then transfer it. If you are using a 2.6 kernel, udev can automagically create a /dev/ipod that can always be mounted the same way, rather than as sda2, sdb2, etc depending if you have a camera, thumbdrive or something else plugged in. > 1. Can I write files to the iPod and delete files from the iPod within > Slackware.? > Yep. > 2. Can I use the iPod as a file transfer device, i.e. store and > rectrieve tar files on it. Yep. Brad -----BEGIN PGP SIGNATURE----- iD8DBQFDzDAmkDp4KjYna1ARAsXlAJ9rk0pgOXkHhi8g9h2BYmEYz6k5xwCeJAwj NJlARV84fWV3n9+PyoOtf8g= =wNO4 -----END PGP SIGNATURE-----
From: klee12 on 17 Jan 2006 01:33 Thanks everyone for your help. I'm not running KDE so I'll probably not use the ioslave. I got gtkpod and looked at its installation instructions. It seems that there may be a few libraries I'm missiing. Before getting the missing libraries I looked around to understand USB (should have done that before I asked the question). The looking around gave rise to some questions which I hope you can help me with. I have ripped my CDs to mp3's on the hard disk. When I play music, I play complete CDs rather than individual tracks, and I would like to do that with the iPod too. I would like somehow to copy my mp3s to the iPod and play the whole album. Now, I'm running Slackware 10.0, with 2.4.26 with, I think, no scsi support. I also prefer to run usb instead of firewire since I may get other usb hardware in the future and I want to understand usb.I was hoping I could just load a few modules, mount my iPod on mountpoint and treat it like a hard disk. I have the modules usbcore, usb-uhci, usb-storage and ehci-hcd. 1. Do I need any other modules? Is it much easier to use a 2.6 kernel? 2. Is scsi support necessary. Is there an scsi emulation module like the one for IDE? Or must I use a kernel with scsi support? 3. After I get all the modules (assuming I can) , is it possible to mount the iPod on a mount point and have it look like a disk? Thanks in advance for your help klee12
From: Eef Hartman on 17 Jan 2006 06:50 klee12 <klee12(a)alum.mit.edu> wrote: > that with the iPod too. I would like somehow to copy my mp3s to the > iPod and play the whole album. Now, I'm running Slackware 10.0, with > 2.4.26 with, I think, no scsi support. You will need at least "scsi disk support" (module sd_mod) as USB flash drives (and SATA drives, and ...) are emulated AS scsi disks. This can be as a module, or built-in. Pat's standard "kernel-ide" already has got it built-in: # SCSI support # CONFIG_SCSI=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y (from the 9.1 "kernel-ide-2.4.26" package). If you build your own kernel, of course, you will have to answer either "yes" or "module" to the question for SCSI disk support (the BLK_DEV_SD from above). > 1. Do I need any other modules? Is it much easier to use a 2.6 kernel? You need the usb-uhci (when that one's the right one for YOUR USB controller), it will load usbcore automaticcally (when using modprobe). ehci-hcd is for USB 2.0 _only_, must be loaded to use "the high speed" on that bus. And usb-storage, of course, adds the disc emulation support for "usb storage devices", like memory sticks, MP3 players and iPod's. So no, you don't need any other modules and 2.6 isn't all that much different (although usb-uhci has been renamed to uhci-hcd in that kernel). > 2. Is scsi support necessary. Is there an scsi emulation module like > the one for IDE? Or must I use a kernel with scsi support? If your kernel doesn't have it built, yes, you DO need scsi support and the sd-mod kernel module. > 3. After I get all the modules (assuming I can) , is it possible to > mount the iPod on a mount point and have it look like a disk? That's the whole idea. To show from MY system (a memory stick, not a iPod): usb_storage 67136 1 uhci_hcd 28528 0 ehci_hcd 27176 0 usbcore 100000 4 usb_storage,uhci_hcd,ehci_hcd (this is from "/bin/lsmod", with a 2.6 kernel); $ cat /proc/scsi/scsi ( shows which (maybe emulated) scsi devices are currently known): Attached devices: Host: scsi0 Channel: 00 Id: 04 Lun: 00 Vendor: HP Model: C5683A Rev: C005 Type: Sequential-Access ANSI SCSI revision: 02 (tape unit, REAL scsi) Host: scsi1 Channel: 00 Id: 06 Lun: 00 Vendor: IOMEGA Model: ZIP 100 Rev: D.09 Type: Direct-Access ANSI SCSI revision: 02 (IOmega ZIP-drive, emulated SCSI, becomes device "sda") Host: scsi19 Channel: 00 Id: 00 Lun: 00 Vendor: USB 2.0 Model: Flash Disk Rev: PROL Type: Direct-Access ANSI SCSI revision: 02 (my memory stick, device sdb, this one does NOT use partitions). And the mount then looks like: /dev/sdb on /mnt/memstick type vfat (rw,noexec,nosuid,nodev,fmask=0133) using THIS entry in the /etc/fstab: /dev/sdb /mnt/memstick vfat users,noauto,fmask=0133 0 0 The fmask (which as far as I know only works in the 2.6 kernel) removes all the x bits from the attributes of "normal files" on the stick (and the w bits for other people than the userid that mounted the stick). As people already told you, with a iPod you _may_ have to use hfsplus instead of vfat for the filesystem (3rd column in the fstab). -- ******************************************************************** ** Eef Hartman, Delft University of Technology, dept. EWI/TW ** ** e-mail: E.J.M.Hartman(a)math.tudelft.nl, fax: +31-15-278 7295 ** ** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands ** ********************************************************************
From: Bradley Reed on 17 Jan 2006 17:11 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16 Jan 2006 22:33:16 -0800, klee12 wrote: > Thanks everyone for your help. I'm not running KDE so I'll probably not > use the ioslave. I got gtkpod and looked at its installation > instructions. It seems that there may be a few libraries I'm missiing. > Before getting the missing libraries I looked around to understand USB > (should have done that before I asked the question). The looking > around gave rise to some questions which I hope you can help me with. You seem to want to do two things which are mostly mutually exclusive. You can easily mount and access your ipod as a usb (or firewire) external harddrive, and copy mp3 files to it to your heart's content. It basically is a really huge memory stick if you do this. You will NOT be able to play any of these songs via the ipod though. The ipod needs to have its database updated with the songs loaded, playlists, etc. It can only play the music in its database, and music merely copied to the harddrive is inaccessable. You really need to use one of the ipod related tools to write the ipod formatted database in order to play the songs through the ipod earbuds. > I have ripped my CDs to mp3's on the hard disk. When I play music, I > play complete CDs rather than individual tracks, and I would like to do > that with the iPod too. I would like somehow to copy my mp3s to the > iPod and play the whole album. Now, I'm running Slackware 10.0, with > 2.4.26 with, I think, no scsi support. I also prefer to run usb instead > of firewire since I may get other usb hardware in the future and I want > to understand usb.I was hoping I could just load a few modules, mount > my iPod on mountpoint and treat it like a hard disk. I have the modules > usbcore, usb-uhci, usb-storage and ehci-hcd. You can load usb-storage, and possibly hfsplus (if still in apple format) and mount the ipod just like any other harddisk. This is easy. Unfortunately, you can't use it to play the music you copy in this manner as I explained above. > 1. Do I need any other modules? Is it much easier to use a 2.6 kernel? > Your kernel needs to be able to read the filesystem the ipod harddrive is formatted in. Out of the box, this is hfsplus, if it has been accessed from windows, it gets reformatted to vfat. If you are going to build a 2.6 kernel, make sure CONFIG_EFI_PARTITION is disabled. > 2. Is scsi support necessary. Is there an scsi emulation module like > the one for IDE? Or must I use a kernel with scsi support? From gtkpod docs: * General Setup -> Support for hot-pluggable devices - y * Device Drivers -> SCSI device support - y * -> SCSI device support -> SCSI disk support - y * -> SCSI device support -> SCSI generic support - y > 3. After I get all the modules (assuming I can) , is it possible to > mount the iPod on a mount point and have it look like a disk? Extremely easily, but if you want to listen to music use gtkpod or similar. Brad -----BEGIN PGP SIGNATURE----- iD8DBQFDzWtgkDp4KjYna1ARApruAKCmHK6PoHDRcy11JCEbdiFZAvmjPgCdE+tC MGsHfL2BiZ7Gr00cbGPxU+I= =hAgP -----END PGP SIGNATURE-----
From: klee12 on 19 Jan 2006 01:40 Thanks to everyone for all their help. I think I got it working. Since I got a new iPod there may have been some changes that not everyone is aware of. First my ipod came with a USB connector and, I think, a vfat file system out of the box. I plugged in my usb connector and did mount -t [hfsplus|vfat] /dev/[sda|sda1|sda2] /mnt/ipod in all combinations and vfat and dev/sda2 work. I think that was before I put it on the PC. (By the way, does anyone know why it should by dev/sda2 and not dev/sda1? Are the scsi device numbers related to the usb port? Would not the scsi device numbers change if I used another device that needed scsi emulation like the iPod?) Next I brought up gtkpod, and clicked on Read from the gtkpod toolbar. I got an error message saying that the iTunesDB could not be found (should have copied it down). I then did an ls -R /mnt/ipod and the output was /mnt/ipod: Calendars/ Contacts/ Notes/ iPod_Control/ /mnt/ipod/Calendars: /mnt/ipod/Contacts: ipod_created_instructions.vcf* ipod_created_sample.vcf* /mnt/ipod/Notes: Instructions* /mnt/ipod/iPod_Control: Device/ iTunes/ /mnt/ipod/iPod_Control/Device: Preferences* SysInfo* clock* /mnt/ipod/iPod_Control/iTunes: firsttime* (I saved the above in a file). It looks like I would have to run /mnt/ipod/iPod_Control/firsttime, probably in Windows. I booted up in Windows, installed the saftware that came with the iPod and fooled around a little. I then went back to Linux and gtkpod worked. It took some doing. After I exit from gtkpod, I unmounted /mnt/ipod but the iPod says do not disconnect. To be safe I rebooted, and discounted right before bootup. I suspect that once /mnt/ipod had been dismounted I could safely disconnect. Am I right? Is there some magical way to get rid of the "do not dismount" warning. Itunes did it by clicking on eject. Anyway, now I think I can do anything I want. I'm still in the learning stage, but everything should be doable in principle. Thanks everyone klee12
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: NTP issue - time drifting, ntpd crashing? Next: Samsung ML-1610 |