Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 07:37
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
gtkpod 2.0.2 (outdated 2011 version)
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 7 [95 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Mon 09 Apr 2012, 08:08    Post subject:  

Lobster wrote:
Code:
# ifuse /mnt/ipod
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option

OK, when you see this error, use ROX to browse to /mnt/ipod
and check if you can see any files/directories. If so, it might be that gtkpod has automatically run the ifuse command, and you can skip this step ...

but I suspect you will see nothing in /mnt/ipod
or maybe a few strange leftover files from a previous unsuccessful mount attempt,
so go ahead and use the "nonempty" parameter, to force ifuse to mount the device. So this is the command (I think) -
Code:
ifuse -o nonempty /mnt/ipod
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Tue 10 Apr 2012, 03:42    Post subject:  

Really appreciate this help.
I iz having fun. Smile

OK, there were files. I deleted them.
See what happens when I use the suggested Ifuse command.
A directory reading of the ipad.
Now it disappeared soon after the screenshot (so flaky)
. . . but it is there.
Is it possible that Pupcamera (which seems to be running from a deamon)
is conflicting?
ipoad.jpg
 Description   
 Filesize   9.28 KB
 Viewed   1841 Time(s)

ipoad.jpg


_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Tue 10 Apr 2012, 11:05    Post subject:  

Lobster, yes, I think that Pcamera may be interfering with gtkpod - they both try to claim your iPad's USB deivce ID.

I don't normally use Slacko, but I will shortly pull out a Slacko CD and investigate how to disable Pcamera.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Tue 10 Apr 2012, 22:45    Post subject:  

OK, to disable Pcamera, you need to open /etc/udev/rules.d/88-puppy-autodetect.rules
and comment out (by adding an asterisk to the beginning of) this line -
Code:
ACTION=="add", SUBSYSTEM=="usb", ENV{INTERFACE}=="6/1/*", RUN+="/usr/sbin/pupautodetect camera"


Alternatively, you could simply move 88-puppy-autodetect.rules out of /etc/udev/rules.d/
to somewhere else out of the way, like /root for example.

In either case, reboot,
then Pcamera will not be automatically launched.

Now gtkpod has a better chance of communicating with your iPad.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Fri 22 Jun 2012, 08:03    Post subject:  

UPDATE June 2012
From about late 2011 Apple has progressively released new models which include a new hash code, which is used to verify "official" file transfers.
You will see from the last several pages in this forum thread that I have updated gtkpod to the very latest cutting-edge libraries, but no luck! gtkpod and its underlying libraries cannot presently accommodate the new hash code, so you cannot use gtkpod to transfer music onto these new devices. The devices in question are:
iPhone4/4S (5th gen and recent 4th gen)
iPod Touch - recent 4th gen
iPad - 3rd gen
Nano - 6th gen
and possibly also older i-devices which have been upgraded to iOS 5.

The situation is explained by the developers here -
http://marcansoft.com/blog/2011/01/syncing-music-in-new-idevices-with-linux/

You will see that there is a workaround - you can "jailbreak" your device, then change your device's DBVersion value from "5" to "4". This downgrades the method that your device uses to interact with other software.

Until the developers perform a major update to gtkpod, this is the only way recent devices can be used.
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Fri 20 Jul 2012, 12:52    Post subject: ipod trouble?  

I’m having trouble using GTKpod and hope somebody can help.

The ipod is model MA147LL (Black 60GB) -- on the web sometimes these are referred to as 5th Gen, sometimes as Video-1st Gen.

I’m using Lucid 528, and installed the GTKPod pets at the beginning of this thread.

After installing GTKpod, I started it and followed these instructions:

Quote:
“IMPORTANT UPDATE - iPod devices are not automatically detected by gtkpod !
You must go to Edit > Configure Repositories
and press the "+ Add New ..." button. You need to create a new repository, with the following:
Repository type: iPod
Repository name: <choose a name for your iPod>
iPod mountpoint: /mnt/ipod
iTunesDB backup: /root/.gtkpod/iTunesDB.bak (we created this file earlier)
Model: select your EXACT model. You will see that the latest iTouch/iPhone/iPad models are all listed.

Now go ahead and add some music.”


But upon plugging in the Ipod, nothing happens (on the computer. The ipod lights up and tells me not to unplug it from the computer).

When in GTKPOD I rightclick on the ipod repository I created, and select “load ipod” it states Ipod directory structure not found, and asks if I want to make one. (Should I do this?)

Afraid to create the new directory structure, I decided to try these instructions (listed for ipads, but they seemed useful for diagnostics):
Quote:

“After installing this dotpet, reboot. That will make sure pupevent/udev is restarted and will detect your device.

Connect your iPod/iPhone/iPad to Puppy via USB. Puppy should automatically launch the usbmuxd daemon.
To check, go to Menu > System > System Status and Config > Pprocess process manager
You should see "/usr/sbin/usbmuxd -u -U root -v -v" listed somewhere near the end of the list.
If so, that's good. “


I don’t see anything like that. Which I assume is not good. So I continue following:

Quote:
“If not, you will need to launch it manually each time, as such -
Code:
/usr/sbin/usbmuxd -u -U root -v -v


Now open /var/log/messages in Geany, and at the end you should see that your device has been recognised, with text like this -
Code:
usbmuxd[12707]: [4] Initializing USB
Found new device with v/p 05ac:1290 at 3-68
...
Connected to v1.0 device 1 on location 0x30044 with serial number be2975afb30b6db9025f95261b9e0a7041044661

If so, we can proceed. “

I don’t see anything like that in geany. Instead I see

Quote:
“Jul 20 12:18:53 puppypc user.notice usbmuxd[25765]: [3] usbmuxd v1.0.7 starting up
Jul 20 12:18:53 puppypc user.notice usbmuxd[25765]: [3] Another instance is already running (pid 2785). Telling it to check for devices.
Jul 20 12:18:53 puppypc user.notice usbmuxd[25765]: [3] Sending signal SIGUSR2 to instance with pid 2785
Jul 20 12:18:53 puppypc user.info usbmuxd[2785]: [4] Caught SIGUSR2, scheduling device discovery
Jul 20 12:18:53 puppypc user.info usbmuxd[2785]: [4] Device discovery triggered by udev”


Looking around the log, I do seem to see some sort of mention of the ipod:
Quote:
ul 21 03:25:30 puppypc user.info kernel: usb 1-1: USB disconnect, address 4
Jul 21 03:39:41 puppypc user.info kernel: usb 1-1: new high speed USB device using ehci_hcd and address 5
Jul 21 03:39:41 puppypc user.info kernel: scsi5 : usb-storage 1-1:1.0
Jul 21 03:39:41 puppypc user.debug kernel: usb-storage: device found at 5
Jul 21 03:39:41 puppypc user.debug kernel: usb-storage: waiting for device to settle before scanning
Jul 21 03:39:46 puppypc user.notice kernel: scsi 5:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0
Jul 21 03:39:46 puppypc user.notice kernel: sd 5:0:0:0: Attached scsi generic sg2 type 0
Jul 21 03:39:46 puppypc user.debug kernel: usb-storage: device scan complete
Jul 21 03:39:46 puppypc user.notice kernel: sd 5:0:0:0: [sdb] 117210240 512-byte logical blocks: (60.0 GB/55.8 GiB)
Jul 21 03:39:46 puppypc user.notice kernel: sd 5:0:0:0: [sdb] Write Protect is off
Jul 21 03:39:46 puppypc user.debug kernel: sd 5:0:0:0: [sdb] Mode Sense: 68 00 00 08
Jul 21 03:39:46 puppypc user.err kernel: sd 5:0:0:0: [sdb] Assuming drive cache: write through
Jul 21 03:39:46 puppypc user.err kernel: sd 5:0:0:0: [sdb] Assuming drive cache: write through
Jul 21 03:39:46 puppypc user.info kernel: sdb: [mac] sdb1 sdb2 sdb3
Jul 21 03:39:46 puppypc user.err kernel: sd 5:0:0:0: [sdb] Assuming drive cache: write through
Jul 21 03:39:46 puppypc user.notice kernel: sd 5:0:0:0: [sdb] Attached SCSI removable disk


I’m not a very experienced user. Any suggestions?

(One oddity--perhaps a false lead: In user/var/log/messages I noticed that sometimes the dates are for July 21 and somtimes for July 20. Is that normal?)

(The ipod was given to me, and apparently works fine, as I can play the music and videos the previous user already installed on it.)
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Fri 20 Jul 2012, 22:54    Post subject:  

When I first posted this package back in 2010, I was very focussed on the special requirements and setup for the Ipod-Touch, iPhone and iPad.

So my instructions don't cover the "conventional" iPod models very well, so I will add some info now:

First, I think you need to mount your iPod's filesystem, and Puppy should be able to do this just by clicking on the drive icon which (hopefully) appears on your desktop when you plug in the iPod.
There might be more than one drive listed - for example, sdb1 and sdb2. Mount both, and try to see where all your music files are.
Also it's very important that the iPod is mounted as "VFAT". Hover your mouse over the icon, and you will see the filesystem listed.

OK, let's assume that sdb2 is the correct drive - when you go to "Configure Repositories" you must therefore set the iPod mountpoint as /mnt/sdb2
... not /mnt/ipod

Hopefully you will now see the contents of your iPod listed in gtkpod.
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Fri 20 Jul 2012, 23:50    Post subject:  

Quote:
by clicking on the drive icon which (hopefully) appears on your desktop when you plug in the iPod.


Unfortunately no drive icon appears on the screen. (The Ipod however whirs to life, and says "do not disconnect" on the screen-- so at least it detects that it is connected).

Quote:
you must therefore set the iPod mountpoint as /mnt/sdb2
... not /mnt/ipod


there is no /mnt/sdb2 to be found.

I tried running pmount drive mounter a couple of times, hoping it would give the computer a kick in the pants, but no dice. (although, if drive mounter is running, when I unplug the ipod drivemounter blinks as if has just refreshed itself)

Thanks in advance for any further suggestions.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Sat 21 Jul 2012, 05:08    Post subject:  

First I suggest you check if usbmuxd is running, and if so, kill it.
usbmuxd shouldn't be necessary for conventional iPods, and may be causing problems. Go to
Menu > System > System Status and Config > Pprocess process manager

Now try to mount your iPod partitions manually -
Code:
mkdir /mnt/sdb1
mkdir /mnt/sdb2
mount /dev/sdb1 -t vfat /mnt/sdb1
mount /dev/sdb2 -t vfat /mnt/sdb2


If this fails, try this fix from -
http://www.gtkpod.org/wiki/Getting_started#Troubleshooting_FAQ
under the heading "Solution (by Ingo Reimann):"
Basically, it means unloading the ehci_hcd (USB) driver, with this command -
Code:
rmmod ehci_hcd

Then try mounting the iPod partitions again ... it might be necessary to first disconnect/reconnect the iPod.
Oh ... and I suggest you kill usbmuxd again.
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Sat 21 Jul 2012, 11:26    Post subject:  

Thanks for the help. However I tried and it didn't seem to work. Below are the steps I took:

Quote:
“First I suggest you check if usbmuxd is running, and if so, kill it.
usbmuxd shouldn't be necessary for conventional iPods, and may be causing problems. Go to
Menu > System > System Status and Config > Pprocess process manager “


--I plugged in the Ipod and checked this. But I did not see usbmuxd.


Quote:
"Now try to mount your iPod partitions manually -

Code:
mkdir /mnt/sdb1
mkdir /mnt/sdb2
mount /dev/sdb1 -t vfat /mnt/sdb1
mount /dev/sdb2 -t vfat /mnt/sdb2


I entered each of the codes above and got this:

Quote:
sh-4.1# mkdir /mnt/sdb1
sh-4.1# mkdir /mnt/sdb2
sh-4.1# mount /dev/sdb1 -t vfat /mnt/sdb1
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

sh-4.1# mount /dev/sdb2 -t vfat /mnt/sdb2
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

sh-4.1# “


So I went on to this:
Quote:
“f this fails, try this fix from -
http://www.gtkpod.org/wiki/Getting_started#Troubleshooting_FAQ
under the heading "Solution (by Ingo Reimann):" “


--But this was too far over my head. I didn’t understand any of it.
so I tried this:

Quote:
“Basically, it means unloading the ehci_hcd (USB) driver, with this command -

Code:
rmmod ehci_hcd


I did this and then:
Quote:
“Then try mounting the iPod partitions again ..”

But got these errors again:

Quote:
“sh-4.1# rmmod ehci_hcd
sh-4.1# mount /dev/sdb1 -t vfat /mnt/sdb1
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

sh-4.1# mount /dev/sdb2 -t vfat /mnt/sdb2
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so”


so I tried . . .

Quote:
"it might be necessary to first disconnect/reconnect the iPod. “


I disconnected and reconnected, and then tried commands again:

Quote:
“sh-4.1# rmmod ehci_hcd
ERROR: Module ehci_hcd does not exist in /proc/modules
sh-4.1# mount /dev/sdb1 -t vfat /mnt/sdb1
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

sh-4.1# mount /dev/sdb2 -t vfat /mnt/sdb2
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

sh-4.1# “

No dice. Perhaps I missed something? Other suggestions?
(and thanks so much for your help so far!)
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Sat 21 Jul 2012, 12:09    Post subject:  

hold the press!
So I found a windows (vista) computer that has Itunes on it and plugged in the ipod just to see what would happen. I got an error from itunes saying that the ipod is formatted for a macintosh computer. (I was given the ipod used by an acquaintance)

I suspect (??) that I need to reformat the ipod for windows before using gtkpod?

i guess this puts me in the situation of this thread
http://www.murga-linux.com/puppy/viewtopic.php?p=338363

Basically it would be easy enough for me to reformat the ipod usng the windows-based itunes. The only problem is I would lose all of the music on it (which might be an acceptable loss, since only about 1/2 the music is worth keeping).

The above thread ended with the OP (maddox ) saying that he was able to mount the ipod and tried copying the music files. But he never said if he was able to successfully use them afterwords . . . .

Tempestous-- does this seem like a possible reason for the trouble I've been having?
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Sat 21 Jul 2012, 16:38    Post subject:  

sfeeley wrote:
I got an error from itunes saying that the ipod is formatted for a macintosh computer.

Yes, there's your problem - your iPod has the HFS+ filesystem, not FAT32. Actually, Puppy can mount and read HFS+ filesystems, but some special setup is necessary.

So Option 1 would be to continue using HFS+
but you would also need to temporarily connect the iPod to a Mac computer to disable journalling of the HFS+ filesystem - otherwise Puppy will only be able to read from the iPod, not write to it.
Option 2 would be to reformat the iPod with FAT32 - and you can copy your existing music files from the iPod prior to the reformat.

If you intend to use the iPod sometimes with Puppy, sometimes with a Mac and iTunes, go with option 1.
If you intend to use the iPod sometimes with Puppy, sometimes with Windows and iTunes, go with option 2.

If you intend to use the iPod exclusively with Puppy, the decision lies with you. HFS+ is less prone to fragmentation and eventual corruption.

Let me know what you decide, and I will give you instructions.
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Sun 22 Jul 2012, 13:49    Post subject:  

Quote:
If you intend to use the iPod sometimes with Puppy, sometimes with a Mac and iTunes, go with option 1.


I choose door number 1 Very Happy

For what its worth, the Mac would be an older PCC running Leopard (my wife's machine).
And be gentle with me-- I don't use a Mac much

thanks
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5293
Location: Australia

PostPosted: Sun 22 Jul 2012, 19:54    Post subject:  

OK, first you need to disable HFS+ journalling. Connect the iPod to your Mac, then refer to these instructions -
http://castyour.net/disable-hfs-journaling-leopard-use-disks-readwrite-linux
The details look messy - but go to the end of that page and see the "UPDATE" paragraph - apparently in Leopard's Disk Utility you can hold down the option key while clicking the menu, and this will present you with the option to disable journalling.
Otherwise you will need to follow those messy manual instructions.
Be aware that there's likely to be 3 partitions on the iPod - the third partition should contain the music files.

Once HFS+ journalling has been disabled on the iPod, you can mount the iPod in Puppy -
first load the two kernel modules we need (this step can be automated later) -
Code:
modprobe hfs
modprobe hfsplus


Now it would be worth checking what partitions Puppy can see -
Code:
fdisk -l

I think that the relevant partition will be /dev/sdb3 (??)
I will press on assuming this to be the case -
Code:
mkdir /mnt/sdb3
mount /dev/sdb3 -t hfsplus /mnt/sdb3


Or you might prefer to have your iPod mounted at the more intuitively labelled "/mnt/ipod"
in which case the mount command would be -
Code:
mount /dev/sdb3 -t hfsplus /mnt/ipod


Once the iPod is mounted, you can launch gtkpod and proceed to "Configure Repositories"
set the iPod mountpoint as whatever you chose earlier - /mnt/sdb3 or /mnt/ipod
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 809

PostPosted: Wed 25 Jul 2012, 09:51    Post subject:  

thanks for the instructions. FYI it might be several days before I'm able to get at the wife's Mac to carry this out. I'll report when I do.

thanks
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 7 [95 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

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
[ Time: 0.1321s ][ Queries: 13 (0.0072s) ][ GZIP on ]