LinuxQuestions.org
Review your favorite Linux distribution.
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 09-16-2005, 06:41 AM   #1
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Rep: Reputation: 16
Just got an IPod


I got an I Pod as a gift. Now I pod does everything through the USB. Any help on how to get it up and running. I would like to put some music on it and get it all working well.

My system Fedora Core 3
Kernel 2.6.12-something.


Any help would be great. Or is this one where I pretty much should always ask to borrow a windows or apple pc.
 
Old 09-16-2005, 06:46 AM   #2
Calltor
Member
 
Registered: Aug 2005
Location: Jerusalem, Israel
Distribution: Slackware 10.1
Posts: 42

Rep: Reputation: 15
I think this will work on Slackware... maybe on ur distro too...

Plug in the Ipod

Open /var/log/messages
scroll all the way down...

now recognize the device... (e.g. /dev/uba1)

create folder /mnt/ipod

mount /dev/uba1 /mnt/ipod

now drop ur files there... I think it'll work
 
Old 09-16-2005, 06:51 AM   #3
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Original Poster
Rep: Reputation: 16
Yeah I went through the mountable stuff and did some more searches and found that my kernel already mounts it as a storage device.

I did more searches and found that GTKpod is supposed to work like I tunes..

So now I need to start putting music on my pc so this will be fun.

Thankyou. Your commands shows me more I can do. This is the first time I have started using my laptop for music so it will be interesting. I also thankyou for your fast response. This is one of the main reasons I love Linuxquestions.org fast reliable responses.
 
Old 09-16-2005, 09:21 AM   #4
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Original Poster
Rep: Reputation: 16
Ok I got GTKpod. I got Grip. I downloaded all he libraries. I can rip my cd's but still for some reason cant get the music onto the Ipod. I created the directory for ipod files.

My problems so far are that grip is encoding everything in .ogg files. and nothing else is showing up.

Help. Any other software that will rip my cds and turn them to mp3s and add the right ide encoding so that Ipod will work with them? Or help me configure my gtkpod and grip to do that . Thankyou
 
Old 09-16-2005, 10:28 AM   #5
Calltor
Member
 
Registered: Aug 2005
Location: Jerusalem, Israel
Distribution: Slackware 10.1
Posts: 42

Rep: Reputation: 15
I don't have any portable MP3 player, so I don't know a lot about it... Maybe this will help: http://www.linux.com/howtos/MP3-HOWTO-7.shtml


edit: btw, isn't it enough to put the files as .mp3 on the iPod HD and it'll play them?

Last edited by Calltor; 09-16-2005 at 10:32 AM.
 
Old 09-16-2005, 09:10 PM   #6
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Original Poster
Rep: Reputation: 16
Ok I got the Ipod formated to windows and I see the ipod and its mounted well. But now when I tried to use gtkpod to put an mp3 into it it said it didnt have mserv.

What is mserv?

If I just drag and drop the file into ipod folder where would I drop it into Calendars, Contacts, iPod_Control, Notes, or in the main folder part of the ipod.

Can dragging and droping the mp3 songs I make into the ipod work?

Also when I try to sync with gtkpod it tells me that it cant because there is a problem creating a directory in the iPod calanars folder.
 
Old 09-17-2005, 03:07 AM   #7
chrisyc
LQ Newbie
 
Registered: May 2005
Location: scotland
Distribution: SuSE 10.1 - OSS
Posts: 17

Rep: Reputation: 0
Hi, if you want grip to make mp3s, you have to install lame,
first grab this http://prdownloads.sourceforge.net/l...ar.gz?download
then extract and do the usual $ ./configure && make && sudo make install
then open grip and go to the tab config, then the tab encode and in the dropdown list in encoder select lame, and then it encodes your music to mp3s

and as far as i know you can't just place mp3s onto an ipod hard drive, as it uses a database, so you have to use a program like itunes :'( such as gtkpod, or i use amarok which worked very well on SuSE 9.3, however on SuSE 10 it doesnt work for me has any one else got it working on SuSE 10? If so could you tell me if you have?

hope that helps
chris
 
Old 09-17-2005, 09:07 AM   #8
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
You really should read how to's for software.
Grip has excellent how to's and faq's plus third party how to's all over the net.

Gtkpod also has excellent help pages how tos faq's etc etc.

Add files button is what you need but make a directory first called music or whatever you want in gtkpod.
 
Old 09-18-2005, 02:11 AM   #9
blufire
Member
 
Registered: Jul 2004
Location: Japan
Distribution: Fedora
Posts: 148

Original Poster
Rep: Reputation: 16
Actually I spent over 6 hours reading them. Most of them talk about installing things or converting from mac to windows for the ipod. As for grip for some reason doesnt make mp3 files it only makes ogg files. It tells though I can set the settings to make mp3 files it still makes them into .ogg files.

As for an update. For some reason gtkpod started working and I can see the ipod and everything. As for making the mp3's I have found that lame is alot easier to use than most. I will now just make a script to let me covert the wav files I make with cd juicer. gtkpod works fine now.

Please do not make assumptions just cause I sound un-informed or slow or ask an easy question for you that I did not spend time reading the help faqs. I do read them. Cause the first thing I did by accident was delete my ipod mac OS firmware. Then had to get it updated again. I did learn from my mistakes.
 
Old 09-21-2005, 12:34 PM   #10
chrisyc
LQ Newbie
 
Registered: May 2005
Location: scotland
Distribution: SuSE 10.1 - OSS
Posts: 17

Rep: Reputation: 0
hi,
the only thing i could think of for your grip problem is you havent installed lame properly?
and yes lame is easy lame -h <input> <output>
couldnt get any easier,
if you use amarok also, there is an excellent script to convert oggs to mp3s, it worked for me very well
just go to tools>scripts>install new, and its called format converter, does lots of formats and it worked well for me,

hope that helps
chris
 
Old 09-21-2005, 06:20 PM   #11
davidnye
LQ Newbie
 
Registered: Sep 2005
Location: Eau Claire, WI USA
Distribution: Mandriva 10.2
Posts: 16

Rep: Reputation: 0
I'm in the same boat, having just gotten an iPod for my birthday Saturday. I got it working pretty quickly using grip with the lame plugin to turn CDs into mpegs and gtkpod to transfer them to the iPod. I didn't have to create any directories or edit fstab. My distro (Mandriva 10.2) may have a little more iPod support - just plugging the iPod in brought up an icon on the desktop labeled 'Apple iPod'. I just had to tell gtkpod where to find the mpegs and that the iPod is mounted as /mnt/IPOD

One problem remains: I can't eject the iPod. I've been living dangerously, just unplugging it despite the flashing "Do not disconnect" warning, but doing this one time too many clobbered the iPod's directory and I had to start over. Just unmounting it doesn't work. I've tried 'eject /mnt/IPOD' as root but no luck. Here's the output:

[root@Pavilion ~]# eject -v /mnt/IPOD
eject: device name is `/mnt/IPOD'
eject: expanded name is `/mnt/IPOD'
eject: `/dev/sdb2' is mounted at `/mnt/IPOD'
eject: unmounting device `/dev/sdb2' from `/mnt/IPOD'
eject: `/dev/sdb2' is a multipartition device
eject: trying to eject `/dev/sdb2' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/sdb2' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/sdb2' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/sdb2' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument

Here's the fstab entry, which disappears when the iPod is removed and reappears when it is plugged back in:

/dev/sdb2 /mnt/IPOD vfat pamconsole,exec,noauto,codepage=850,iocharset=iso8859-1,managed 0 0

And here is part of the output of dmesg:

usb 1-2: new full speed USB device using uhci_hcd and address 5
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
Vendor: Apple Model: iPod Rev: 1.62
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 39063024 512-byte hdwr sectors (20000 MB)
sda: Write Protect is off
sda: Mode Sense: 64 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 39063024 512-byte hdwr sectors (20000 MB)
sda: Write Protect is off
sda: Mode Sense: 64 00 00 08
sda: assuming drive cache: write through
/dev/scsi/host3/bus0/target0/lun0: p1 p2
Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
usb-storage: device scan complete
usb 1-2: USB disconnect, address 5
scsi3 (0:0): rejecting I/O to dead device
FAT bread failed in fat_clusters_flush
scsi3 (0:0): rejecting I/O to dead device
usb 1-2: new full speed USB device using uhci_hcd and address 6
...
The above repeats for addresses 5-14 which seems a little odd.

Any ideas? Are the rest of you successfully ejecting your iPods? And this should probably be another thread, but I've never been able to get USB flash drives to eject properly either. Since these are both USB devices, I wonder if there is a connection. Unfortunately my PC doesn't do firewire. Thanks!
 
Old 09-21-2005, 07:45 PM   #12
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
I have the option...."let gtkpod handle mounting and unmounting" ticked.
If it flags an error saying it was unable to unmount then leave it unticked and just remove it.
Your distro supports it quite well if it supplied icons and recognised everything just from boot.
The usb-storage script is ok with just unplugging a device.Im not sure which script your distro uses.
 
Old 09-22-2005, 12:08 AM   #13
davidnye
LQ Newbie
 
Registered: Sep 2005
Location: Eau Claire, WI USA
Distribution: Mandriva 10.2
Posts: 16

Rep: Reputation: 0
Quote:
Originally posted by ironwalker
I have the option...."let gtkpod handle mounting and unmounting" ticked.
If it flags an error saying it was unable to unmount then leave it unticked and just remove it.
Your distro supports it quite well if it supplied icons and recognised everything just from boot.
The usb-storage script is ok with just unplugging a device.Im not sure which script your distro uses.
Thanks for your reply. I have that checked as well. Exiting gtkpod unmounts the iPod fine but just unmounting it doesn't stop the flashing 'Do not disconnect' message - it apparently also needs to be ejected. The gtkpod documentation indicates that this can be automated by adding the appropriate eject command to the gtkpod.out file, but I can't seem to make the eject command work. Do you have your iPod connected via USB or firewire?

Plugging in my USB Flashdrive brings up another nice desktop icon identifying it. I can right click on this and select 'unmount', which I guess is good enough. Pulling the thing out when the light is still yellow hadn't clobbered it yet. Still, I'd feel better if I could make it green.
 
Old 09-22-2005, 12:22 AM   #14
ironwalker
Member
 
Registered: Feb 2003
Location: 1st hop-NYC/NewJersey shore,north....2nd hop-upstate....3rd hop-texas...4th hop-southdakota(sturgis)...5th hop-san diego.....6th hop-atlantic ocean! Final hop-resting in dreamland dreamwalking and meeting new people from past lives...gd' night.
Distribution: Siduction, the only way to do Debian Unstable
Posts: 506

Rep: Reputation: Disabled
I understand the feeling.
I am connected via USB.
The only way I have my ipod show the "ok checkmark" is when my pc reboots.
I guess you could make the ipod read only if you fear file corruption via illegal unplugging.
I haven't heard about the eject command in gtkpod.out file....I will look into it.
 
Old 09-22-2005, 10:57 PM   #15
davidnye
LQ Newbie
 
Registered: Sep 2005
Location: Eau Claire, WI USA
Distribution: Mandriva 10.2
Posts: 16

Rep: Reputation: 0
I've come up two related ways that work to eject either the USB Flashdrive or the iPod. Unmount first, then in a root terminal, type '/etc/init.d/hotplug stop' and the iPod's 'Do not disconnect' message goes away and the USB drive's light turns green! (Yay!). After unplugging the unit, turn hotplug back on with '/etc/init.d/hotplug start'. Or temporarily unload the module 'uhci-hcd' (rmmod uhci-hcd, wait 15 secs., then modprobe uhci-hcd) with the same effect.

So, next I need to write a little script to sudo one of the above methods and save it as gtkpod.out to automate this. Hopefully a new version of eject will include better support for these USB drives.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
IPod canuck_barlow Linux - Newbie 4 05-15-2005 09:29 PM
ipod/ipod shuffle woes (lack of permissions to edit files) Lechium Linux - Software 1 04-13-2005 03:14 PM
mini Ipod patch usb (the mini iPOD thread) Phyrexicaid Linux - Hardware 6 03-22-2005 01:07 AM
Install Suse on Ipod and boot from Ipod??? lemuel Linux - Newbie 4 12-27-2004 07:04 AM
ipod detected and added by kudzu but no files in /mnt/ipod gtan Linux - Hardware 5 08-31-2004 09:19 AM


All times are GMT -5. The time now is 11:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration