LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Linux and...well the iPod Nano? (https://www.linuxquestions.org/questions/linux-hardware-18/linux-and-well-the-ipod-nano-363962/)

TheCowboy 01-02-2006 07:02 PM

And about the eject I get an error when I eject my ipod...

] eject /dev/sda1
eject: unable to eject, last error: Invalid argument

but the ipod still ejects... So if you get that error while ejecting I wouldnt worry about it... BTW the IPOD nano does work with a USB 1.0... many people told me that it wouldnt. but I havent had any problems then a lil slower transfer speeds and it doesnt charge the battery totally... Prolly bad for the recharge cycles on the NiMH battery in the nano... But I got mine for Free...

Next step im going to try putting linux on my ipod... I'll post when i have succeded in that...

mbeattie74 02-05-2006 08:08 AM

Hi,

Just thought I'd confirm that I have an iPod Nano working with Debian Sarge. It shows up in Konqueror when selecting Storage Media from the panel System Menu as IPOD. Clicking that will mount it and allow it to be browsed, but before being able to do anything with it gtkpod was needed to create the iPod directory structure. It first had to be told where the iPod was mounted, /media/sdf2.

Before Amarok could do anything with it though, a line had to be added to /etc/fstab like:

Code:

/dev/sdb2 /mnt/ipod auto rw,user,noauto 0 0
To find out which device the iPod appears as, ask dmesg which should say something like this just after plugging the iPod in:

Code:

usb 3-1: new high speed USB device using address 4
usb 3-1: configuration #1 chosen from 2 choices
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: Apple    Model: iPod              Rev: 1.62
  Type:  Direct-Access                      ANSI SCSI revision: 02
SCSI device sdb: 7999488 512-byte hdwr sectors (4096 MB)
sdb: assuming Write Enabled
sdb: assuming drive cache: write through
 /dev/scsi/host2/bus0/target0/lun0: p1 p2
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
USB Mass Storage device found at 4
usbcore: registered new driver usb-storage
USB Mass Storage support registered.


Then after first plugging in the iPod and clicking it's icon in Storage Media it will be mounted at /dev/ipod, and Amarok will gladly transfer files to it straight from your playlist.

My version of Amarok is 1.2.3-1, and it's only requirement for working with an iPod nano was for it to be mounted at /dev/ipod.

Unmounting and removing the iPod is not so clean, as mentioned in earlier posts. Selecting unmount, or even "Remove safely" from the device icon's right-click menu can unmount it, but to properly eject I've so far had to resort to issuing "eject /mnt/ipod" as root and ignoring the error message.

One more point worth mentioning, is that even though I'm running Sarge, I'm using KDE 3.4.2 from backports which is an experience I can highly recommend. Add these 2 lines to /etc/apt/sources.list and do an "apt-get update", and "apt-get upgrade" and then be prepared to spend a few hours manually installing all the packages that get held back:

cheers


All times are GMT -5. The time now is 08:43 AM.