The time now is Sat 25 May 2013, 15:29
All times are UTC - 4 |
| Author |
Message |
keniv
Joined: 06 Oct 2009 Posts: 145 Location: Scotland
|
Posted: Mon 17 Sep 2012, 16:17 Post subject:
|
|
Hi tempestuous et al
I have been given an iPhone 3gs by my sister in law as she got an upgrade. I do not have an iTunes account. I loaded the .pets on the first post into Puppy 528 and followed your instructions to set gtkpod up for an iPhone. I found that the iTunes_Control/Device directory already existed on this device and the path to it slightly different to the one given for the iPod. However all went well and I have been able to add music to my iPhone and the database seems to have been updated as the the music shows up on the phone and is playable on it. I can also play the music on it through this laptop. I have also been able to export a copy of all the music on it to my HD. I am using your gtkpod_run script from a desktop icon to startup and this is working fine but when I use "eject ipod" I see the phone syncing but it is not unmounted. If I go to mnt/ipod I can still see and access the files on the phone. I have to use
| Code: | | fusermount -u /mnt/ipod |
to unmount the phone. Is this the way its supposed to work or should the phone be unmounted with "eject ipod"?
I also have another problem. The phone came with a lot of pictures in an album none of which I want. I could not find a way to delete them. On searching the web I found I needed an iTunes account to do this. However I found "Open photo editor" by right clicking and found I could open this album but I could not delete it. I could delete individual images. I proceeded to do this although I did not delete them all. I then used "save changes" and "eject ipod" and saw the syncing message on the phone then unmounted the phone using the above code. When I re-opened my phone and started "photos" I got an error stating that high resolution photographs had been deleted. I rebooted the phone but got the same message. When I looked at the images left in the album I found they were very low resolution images. On looking directly at the phone file system using mnt/ipod I can find the original high resolution images which can be viewed on the Puppy viewer and look normal. I also tried adding high resolution images using the photo editor. This seemed to work but again when viewed on the phone they seem to be low resolution. I am bemused by this. I thought with your much greater knowledge you might have an idea of what has happened here and how to fix it. I would appreciate any help with this. I am afraid I am a complete novice with iPhones.
Regards,
Ken.
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4944 Location: Australia
|
Posted: Tue 18 Sep 2012, 08:10 Post subject:
|
|
| keniv wrote: | I have been able to add music to my iPhone and the database seems to have been updated as the the music shows up on the phone and is playable on it.
I can also play the music on it through this laptop. |
That's great - you have a recent i-device, which appears to be working perfectly with gtkpod.
I strongly suggest you don't upgrade the firmware on that device! This is likely to break compatibility with gtkpod.
| keniv wrote: | | but when I use "eject ipod" I see the phone syncing but it is not unmounted. |
Ah, thanks for that important feedback ...
I wonder why no one else has reported this??
OK, I did some digging, mainly here -
http://sourceforge.net/tracker/index.php?func=detail&aid=1243276&group_id=67873&atid=519273
and I see that the "eject ipod" command was never meant to unmount the device. Oops.
I remind everyone that I don't own an iPod myself.
So I guess the "eject ipod" command simply clears the device's listing in gtkpod???
| keniv wrote: | I have to use
| Code: | | fusermount -u /mnt/ipod |
to unmount the phone. |
Yep, that's the correct thing to do.
Now we need some way to automatically run that command when gtkpod exits -
this can be achieved with a script which gtkpod runs at exit; /root/.gtkpod/gtkpod.out
I now attach this shutdown script as a dotpet, in the next forum post.
And I have updated the HOWTO in the first few posts in this thread.
Sorry, I know nothing about photos on iPhones.
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4944 Location: Australia
|
Posted: Tue 18 Sep 2012, 08:12 Post subject:
|
|
Attached is a shutdown script which will unmount your Ipod-Touch/iPhone/iPad as gtkpod exits.
(I have also attached this hotfix to an earlier post in this thread).
Remember, this applies only to iPhone/Touch/iPads, it does not apply to conventional iPod models.
| Description |
|

Download |
| Filename |
iphone-unmount-hotfix.pet |
| Filesize |
420 Bytes |
| Downloaded |
92 Time(s) |
|
|
Back to top
|
|
 |
keniv
Joined: 06 Oct 2009 Posts: 145 Location: Scotland
|
Posted: Wed 19 Sep 2012, 15:49 Post subject:
|
|
Hi tempestuous
Thanks for your reply, link and the .pet. I have just installed and tested the .pet. However, when I try "eject pod" it still does not unmount the iphone. I can still see and access the file system through /mnt/ipod. I thought this was because I had not rebooted my machine but doing this did not help. I looked in /root/.gtkpod to see if gtkpod.out was there and was executable and it was. When I clicked it it ran and the iphone was unmounted. Below is the script I have in gtkpod.out.
| Code: | #!/bin/sh
if [ -e /var/run/usbmuxd.pid ];then
fusermount -u /mnt/ipod
fi |
Is this what should be there? Could there be some reason that it does not run when I "eject pod"?
| Quote: | | Sorry, I know nothing about photos on iPhones. |
Well that makes at least two of us.
I did wonder if I could manually delete them together with the db file. Do you know if this would work if the files were music files? I also thought of moving the db file in the hope it would not be read. At least I could put it back if this caused a problem.
Thanks again for your help.
Ken.
Edit. I went back to this to see if I could get it to work. I am glad to report that "eject pod" is now unmounting the iphone. I did try running gtkpod.out again by clicking on it and I also ran the script in a terminal but I don't see how this could have any affect.
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4944 Location: Australia
|
Posted: Wed 19 Sep 2012, 23:37 Post subject:
|
|
I guess I should have been more clear:
The eject function is not really critical.
The most important thing is to unmount your iPhone before disconnecting it
... however ...
if you attempt to unmount the iPhone while gtkpod is still running, the unmount will probably fail, since the device will be seen as busy.
| keniv wrote: | | when I try "eject pod" it still does not unmount the iphone. |
Correct - the "eject" function simply stops gtkpod from accessing the device (I think), which then makes it possible to unmount the device - even if gtkpod is still running.
But with the shutdown script installed, the best practice would be simply to wait until gtkpod has exited, then go ahead and disconnect.
As gtkpod is exiting, it will unmount the device.
"Eject" becomes completely unnecessary.
| keniv wrote: | Below is the script I have in gtkpod.out.
| Code: | #!/bin/sh
if [ -e /var/run/usbmuxd.pid ];then
fusermount -u /mnt/ipod
fi |
Is this what should be there? |
Yes, that's the script provided by my dotpet.
| keniv wrote: | | I did wonder if I could manually delete them together with the db file. Do you know if this would work if the files were music files? |
The process of directly deleting music files from the device's filesystem will almost certainly mess up the database. That's the whole reason gtkpod exists as an application - it manages the addition and deletion of music files, and updates the database.
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1605 Location: South Australia
|
Posted: Thu 20 Sep 2012, 04:39 Post subject:
|
|
Tempestuous has there been any advancement for the iPod nano gen6.
I never did get it working and lost interest.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
keniv
Joined: 06 Oct 2009 Posts: 145 Location: Scotland
|
Posted: Thu 20 Sep 2012, 13:42 Post subject:
|
|
Hi tempestuous
Thanks for the explanation.
Ken.
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4944 Location: Australia
|
Posted: Fri 21 Sep 2012, 02:48 Post subject:
|
|
| smokey01 wrote: | | has there been any advancement for the iPod nano gen6. |
Unfortunately, no.
But as I mentioned on the previous page, there's a workaround by "jailbreaking" your device.
If you're happy to hack your Nano's firmware, I can provide some advice via PM.
All I can say on a public forum is that the hacked firmware for a Nano is called "Nan0hail".
I can't post hacking instructions, or links to hacked firmware, because this (arguably) contravenes Apple's intellectual property, and they have been known to issue takedown notices to webpages which publish such information.
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|