gtkpod 2.0.2 April 2015

Audio editors, music players, video players, burning software, etc.
Message
Author
redandwhitestripes
Posts: 179
Joined: Fri 02 Jan 2009, 06:49

#21 Post by redandwhitestripes »

Tried without any joy. :)

Not to worry, I can annoy the wife and borrow her laptop when I change my music until Nano 7th gen support is introduced.

Many thanks for your help tempestuous. You really know your stuff.
Greg

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#22 Post by tempestuous »

UPDATE Oct 30 2014

I just recompiled gtkpod with the latest underlying libraries. Most significantly, libimobiledevice is now at version 1.1.7.
See the first post for details.

Note that this latest gtkpod package is compatible with Slacko 5.7, and also older Slacko versions back to 5.4.
Puppy Precise 5.7.x is also compatible - with the addition of a library-compatibility dotpet. See the first post for details.

I would be very interested to learn if anyone can successfully add music tracks to these recent i-devices -
iPhone4 / iPhone5
iPod Touch 4th gen
iPad 3rd gen / 4th gen
Nano 6th gen / 7th gen

For these models you will need to additionally install the "libhashab" library as I explained in the fifth post -
http://www.murga-linux.com/puppy/viewto ... 167#780167

taca0
Posts: 123
Joined: Thu 07 May 2009, 00:57

Nano Touch not save

#23 Post by taca0 »

I have ipod nano touch xC691.

Formatted on Mac with hfsplus.

I dont want to erase all for change the partition so I think in linux.

I want to add music to it , but ...

First, I can:

Mount with "mount -t hfsplus -o force,rw "

Install gtkpod 2.0.2 october2014 and the blob libhashab..

Start gtkpod and see the ipod playlists and songs.

Now what I can't:

Save the music , even the mp3 files transfer or create a new playlist.

Show this error at start "Import Repository Errors" .

Then when want to save changes give this error "Fail to generate sqlite database: an error occurred during Locations.itdb.cbk generation"

I can't do the ifuse. I dont know if that is important.



How I can solve this for save music in this device?


Thanks!

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#24 Post by tempestuous »

Yes, forget about ifuse - the Nano does't require it.
I see that there may be an extra step involved - I think you need to generate a "SysInfoExtended" file ...
... but first, two things to check -

1. Did you disable journalling on the Nano's hfsplus filesystem, using a Mac computer?

2. Did you use the correct version of the libhashab file?
For the Nano 6gen the correct file is "libhashab32.so".
You must rename it "libhashab.so"
and move it to /usr/lib/libgpod


OK, now connect your Nano to Puppy, and mount the relevant partition. In the following instructions I will guess/assume that your mountpoint is /mnt/sdb3
Next we need to know the USB bus number and device number of the Nano, as seen by Puppy. Run this command -

Code: Select all

lsusb
The relevant line for your Nano will be something like this -

Code: Select all

Bus 002 Device 004: ID 05ac:1266 Apple, Inc. iPod Nano 6.Gen
In this case the bus number is 002 and the device number is 004. To generate a SysInfoExtended file the command syntax is -

Code: Select all

ipod-read-sysinfo-extended <USB bus number> <device number> <mountpoint>
So using the values from the examples above, the command would be -

Code: Select all

ipod-read-sysinfo-extended 002 004 /mnt/sdb3
Obviously substitute your own values.
This command is required only once, at the initial setup stage.

Now run gtkpod and see how you go.

taca0
Posts: 123
Joined: Thu 07 May 2009, 00:57

problem solved

#25 Post by taca0 »

ok thanks,
Did you disable journalling on the Nano's hfsplus filesystem, using a Mac computer?
I can't do it because that's the problem I don't have Mac comp... But I think it not necessary because "mount -t hfsplus -o force,rw" works.

I follow that steps and finally works and save the music. Problem Solved!!


Thanks Tempestuous!

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#26 Post by tempestuous »

taca0 wrote:I think it not necessary because "mount -t hfsplus -o force,rw" works.
OK, that's interesting. I just did some more reading now, and it seems that even though the "force,rw" option works, it's not considered entirely safe.
I still recommend disabling journalling, where feasible.

taca0 wrote:I follow that steps and finally works and save the music. Problem Solved!!
Great news. Yours is the first report of success with a Nano 6g.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#27 Post by tempestuous »

Thanks to good testing (and reporting of results) by forum member taca0, we now know there's an important configuration step required for the iPod Classic, Shuffle, Mini, and Nano.
I have just updated the instructions in the 3rd post in this thread.

In short, early iPod models require this configuration command -

Code: Select all

ipod-read-sysinfo-extended <device node> <mountpoint>
and later iPod models require this configuration command -

Code: Select all

ipod-read-sysinfo-extended <USB bus number> <device number> <mountpoint>

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#28 Post by tempestuous »

I recently learned that tahrpup 6 is an "official" Puppy release, so I checked its compatibility with this gtkpod package.
All that's required is the addition of the "gtkpod-Precise-libs" dotpet.
I have added this information to the first post.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#29 Post by tempestuous »

UPDATE April 06 2015

I just recompiled gtkpod with the latest libraries. libimobiledevice is now at version 1.2.0, which means gtkpod should now support iOS 8 devices, including the latest iPhone 6/6+, iPad Mini 3/Air 2 and Apple TV 2G/3G. See the first post for details.

In the process I discovered an error with the previous (OCT 2014) package: by default usbmuxd is configured to use systemd as its activation method, even though Puppy does not include systemd !! So with the OCT 2014 gtkpod package, usbmuxd would certainly fail to launch automatically. It's strange that no one reported this.
In any case, it's now fixed in this latest package - when you plug in a compatible Apple device, usbmuxd should now be activated by Puppy's udev daemon.

Also I explicitly compiled all python bindings this time. So it's possible to integrate this package with other media player applications such as Exaile, Banshee or Clementine, such that these more comprehensive applications then have iPod support.

redandwhitestripes
Posts: 179
Joined: Fri 02 Jan 2009, 06:49

#30 Post by redandwhitestripes »

Something's gone wrong. I can connect and gtkpod can see and play my music and playlists. I tried to transfer a song and now my ipod says it has no music. When I reconnect to gtkpod the music is still there.

I'm still using Precise 5.3 and my latest gen ipod nano touch.
I had the correctly downloaded and renamed libhashab.so in position.
Here's the readout (sorry if it's not helpful)

Code: Select all



** (gtkpod:26042): CRITICAL **: itdb_splr_validate: assertion `at != ITDB_SPLAT_UNKNOWN' failed
libitdbprep: itdb_sqlite_generate_itdbs called with file /mnt/sdg1/iPod_Control/iTunes/iTunesCDB and uuid 000A2700249C347B
itlp directory='/mnt/sdg1/iPod_Control/iTunes/iTunes Library.itlp'
*.itdb files will be stored in '/mnt/sdg1/iPod_Control/iTunes/iTunes Library.itlp'
[mk_Dynamic] Processing '/tmp/fileDYjAkn/Dynamic.itdb'
[mk_Dynamic] creating table structure
[mk_Dynamic] - processing 647 tracks
[mk_Dynamic] - processing 5 playlists
[mk_Dynamic] done.
[mk_Extras] Processing '/tmp/fileDYjAkn/Extras.itdb'
[mk_Extras] re-building table structure
[mk_Extras] done.
[mk_Genius] Processing '/tmp/fileDYjAkn/Genius.itdb'
[mk_Genius] re-building table structure
[mk_Genius] done.
library_persistent_id = 0xd883382fc814c117
[mk_Library] Processing '/tmp/fileDYjAkn/Library.itdb'
[mk_Library] building table structure
[mk_Library] compiling SQL statements
[mk_Library] - inserting into "version_info"
[mk_Library] - inserting into "genre_map"
[mk_Library] - inserting songs into "item_to_container"
[mk_Library] - inserting playlist 'User’s iPod' into "container"
[mk_Library] - inserting songs into "item_to_container"
[mk_Library] - inserting playlist 'Run 1' into "container"
[mk_Library] - inserting songs into "item_to_container"
[mk_Library] - inserting playlist 'Run2' into "container"
[mk_Library] - inserting songs into "item_to_container"
[mk_Library] - inserting playlist 'Genius' into "container"
[mk_Library] - inserting songs into "item_to_container"
[mk_Library] - inserting playlist 'Podcasts' into "container"
library_persistent_id = 0xd883382fc814c117
device name = User’s iPod
[mk_Library] - inserting into "db_info"
[mk_Library] - processing 647 tracks
[mk_Library] done.
[mk_Locations] Processing '/tmp/fileDYjAkn/Locations.itdb'
[mk_Locations] re-building table structure
[mk_Locations] Processing 647 tracks...
[mk_Locations] done.
[run_post_process_commands] Getting SQL post process commands
[run_post_process_commands] binding functions
[run_post_process_commands] Running 125 post process commands now
[run_post_process_commands] ERROR when executing 'CreateRentalExpiredColumn': duplicate column name: rental_expired
[run_post_process_commands] ERROR when executing 'AddGenreMapCompilationCount': duplicate column name: compilation_count_calc
[run_post_process_commands] 123 out of 125 post process commands successfully executed
[run_post_process_commands] done.
itdbprep: copying 'Dynamic.itdb'
itdbprep: copying 'Extras.itdb'
itdbprep: copying 'Genius.itdb'
itdbprep: copying 'Library.itdb'
itdbprep: copying 'Locations.itdb'
itdbprep: copying 'Locations.itdb.cbk'


tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#31 Post by tempestuous »

I don't know the full history of your gtkpod installations. You first posted in this thread back in August 2014, when my gtkpod package was 2 versions earlier.
I'm guessing you now have the latest version installed, but didn't reconfigure.

In general, gtkpod interacts with your i-device's database, and there's a necessary setup step which establishes this relationship. See the 3rd post in this thread. You will need to run this command -

Code: Select all

ipod-read-sysinfo-extended <USB bus number> <device number> <mountpoint>

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Couldn't write SysInfoExtended to /mnt/sdb3 on Nano 1st gen

#32 Post by sindi »

1st gen iPod nano 1GB, given to use and probably initialized on a Mac. I can modprobe hfs and hfsplus, and mount -t hfsplus /dev/sdb3.

I have not disabled journaling since I do not have a Mac.

Can I instead re-initialize (format and set up file system?) in XP to FAT32? This should wipe out the existing music.
The older iTunes are only 20MB instead of 130MB.

instructions worked until:

ipod-read-sysinfo-extended /dev/sdb3 /mnt/sdb3

returns error message
Couldn't write SysInfoExtended to /mnt/sdb3

Probably because I cannot write to journaled file system on sdb3.

Apple offers to replace all 1GB 1st gen ipods (some of which had bad batteries) with 6th gen, which seem more difficult to use with gtkpod but offer
probably 8GB instead of 1GB storage. Hopefully unused and with new battery. I note that 1st gen's sell on ebay for slightly more than 6th gen's.
Any opinions on these two models?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#33 Post by tempestuous »

sindi wrote:I have not disabled journaling since I do not have a Mac.
In theory, then, you cannot successfully write files to your Nano ...
however in practice, as forum member taca0 reports, during the mount process you can forcibly enable write capability, with this command -

Code: Select all

mount /dev/sdb3 -t hfsplus -o force,rw /mnt/sdb3
sindi wrote:Can I instead re-initialize (format and set up file system?) in XP to FAT32?
Yes, this would be a better option in my opinion. Though I may not have explained it properly, you can only fully achieve this process while running iTunes. ie. you can't use the standard "format" option under Windows.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

No help file in puppy gtkpod

#34 Post by sindi »

Thanks for the info but I cannot yet even play music with gtkpod. I
will find instructions online. I can play files with deadbeef (default
Tahr music player) or mplayer. I installed gstreamer after gtkpod and
tried to enable the media player (it was already checked off), then
uninstalled and reinstalled gtkpod so it would find gstreamer. I have
never used an iPod or iTunes - nothing is intuitive so I made lots of
wrong guesses. /dev/sdb3 is presumably the mount point and I chose the
iPod model and clicked OK and nothing seems to happen.

The iPod also plays music to headphones when not mounted to sdb3.
The switch on top (power?) does nothing.
The touchpad (center) often does not respond. I should trade but want
to get the 1st gen working before tackling 6th gen and new problems.

I hope iTunes (20MB version) works with MicroXP (free) to reformat with.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#35 Post by tempestuous »

sindi wrote:/dev/sdb3 is presumably the mount point
No. /dev/sdb3 is the device name, but you must choose the corresponding directory location ie. /mnt/sdb3
... then again, it might be /mnt/sdb1
once you plug in the Nano, an icon (or several icons) will appear on the desktop. These will tell you which mountpoint is correct.

I suggest you get your Nano reformatted under iTunes/Windows before proceeding.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

gtkpod does not find the ipod

#36 Post by sindi »

/dev/sdb3 is presumably the mount point.

"No. /dev/sdb3 is the device name, but you must choose the corresponding directory location ie. /mnt/sdb3
... then again, it might be /mnt/sdb"

I chose /mnt/sdb3 and the 1GB black 1st gen nano as the device.

once you plug in the Nano, an icon (or several icons) will appear on the desktop. These will tell you which mountpoint is correct.

No icons appeared. I could mount -t hfsplus /dev/sdb3 /mnt/sdb3 and play the files with non-gtkpod-related music players. gtkpod at one point found the first of three directories and I could see the .m4a file names, greyed out. (I forget what I was doing at the time).

"I suggest you get your Nano reformatted under iTunes/Windows before proceeding"

I spent a few hours installing iTunes 6.0.5 (35MB, postdates the 1st gen nano) to an XP computer which complained about a newer library despite multiple uninstalls. I finally manually deleted the contents of an itunes directory in My Documents/My Music and it now loads without complaint.
(I had uninstalled some newer version when I got the computer but uninstall does not appear to delete that library despite rebooting).

But when I plug in the iPod:

'An iPod has been detected but the iPod software is not installed'. And says to install files from my CD (which I never had) or the latest (130MB) iTunes from 2015 (should not be needed for a 2005 device). So what version iTunes do I need for this Sept 2005 (or possibly as late as Sept 2006) 1st Gen 1GB nano? It qualifies for a recall of Sept-Dec 2005 models (which may overheat).

It came from a rummage sale and may have some problem (one of the 30 connectors went bad though it still charges, plays, and acts as a USB storage device, but does not cooperate with gtkpod). I jwanted to practice using it before tackling the more difficult 6th gen replacement.
I appreciate all the help.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Trying to Restore ipod using iTunes 7.01 for Windows

#37 Post by sindi »

Version 7 from two years later than the 1st Gen ipod detected the ipod, did not complain about lacking ipod software, but said it is Mac formatted and I need to Restore.

'The ipod update server could not be contacted' (twice).

Same problem if I try to sign in with my (newly created) Apple ID to the Apple Store, which someone else reported co-occurred with the update problem. Their solution was to uninstall iTunes 10 and delete the library file and install 9. Do I really need Version 9 to contact their update server? y

I will try plugging the thing into an OS 10.4 Mac laptop just to see if it actually communicates with any OS. And try a friend's iPod with gtkpod.[/code]

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

ipod 1st generation works on a Mac

#38 Post by sindi »

I could play music with a white Mac laptop upgraded to OS 10.4.11, iTunes 9.2.1, Quicktime 7.5.5. It could not access the itunes store or a radio station. It offered to 'sync' by replacing music on the iPod with what it found on the laptop.
It was about 160MB download.
I tried a few other ways to make Restore work in XP with iTunes 7 and may try 9.
On a Mac, restore appears to work by writing to the iPod an image file that you download. Can I download one some place for FAT32 and write it with dd?
The recall program now replaced 1st with 7th gen - 16GB, video player, FM radio. I may give up and trade and hope it comes without a file system so I can initialize to FAT32 (without contact the update server).
No ipod icon appears in Tahr or Precise, but I think BEFORE installing gtkpod I briefly had sdb1 sdb2 and sdb3 on the desktop and could mount sdb3.
Is it worth installing Slacko 5.7 to try gtkpod in?

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

various assertions failed for ipod-read-sysinfo-extended

#39 Post by sindi »

Boot Precise 5.7.1 after installing gstreamer, gtkpod and the Precise libs.
Plug in iPod 1st gen black 1GB ("Do not disconnect").
modprobe hfs
modprobe hfsplus
mount /dev/sdb3 -t hfsplus -o force,rw /mnt/sdb3
(no icons appear for sdb1 2 or 3)
ipod-read-sysinfo-extended /dev/sdb3 /mnt/sdb3

The following appears in the terminal (manually retyped)

(gtkpod 15939): CRITICAL ** (repeated before the following four lines)

......IA__gtk_entry_set_text: assertion `text !=NULL' failed
.... repository_ipod_init: assertion `gtk_combo-box_get_active_iter' (cb, &iter) failed
.... on_export_tracks_to_file_system: assertion `tracks' failed
......gq_load_ipod: assertion `'itbd_->usertype &GP_ITBD_TYPE_IPOD' failed

Does this mean gtkpod is not working with my ipod? Or my laptop (P III) with lovely screen and keyboard)?

If so, I can't lose much by trading for a 7th generation one. They include an adapter to a new model charger.

Is it worth installing Slacko 5.7? The links to the earlier files for Lupu and Wary (which I usually use on this laptop) appear to be broken (or at least do not work with lynx browser). I have already installed many 100 MB of linux, Windows and Mac operating systems and files today. It would be much easier to just use an old smartphone (I have several Palm, Blackberry and Android models) to play music to the iPod speakers but we are stubborn.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

gtkpod also not working on a newer laptop

#40 Post by sindi »

I shrank Windows 7 and used the Windows method to dual boot a 2008 ASUS laptop with grub4dos, Tahr 6,0.2 and Slacko 5.7
I installed gstreamer and gtkpod and modprobed and mounted as above.
I get the same error messages as before from gtkpod, and also comlains from gst-plugin-scanner about failure to load plugins lib libgstcdio.so and libgstneonhttpsrc.so and libgsta52dec.so

Had to enlarge save file and reboot after it ran out of space then remove gtkpod from the list of installed packages before it would actually fully install in Slacko 5.7.
Mounted it and no icons appear.
Same error message when I start gtkpod, also "Import Repositroy Error" Extended info will not be used" (in Slacko). I presume I did something wrong. ???
BUT, this time the program found 'Alison Berger's iPod' and lists various files.
I will try in Slacko on my 1GHz laptop.
Did you actually install and test the program in Precise and Tahr?

It actually plays a file! Without me trying to initialize it.
It also identifies the mountpoint and model without my input. OK still does not work.
Still no icons.

The terminal shows lots more CRITICAL errors for line 503 after I played one file and was unable to play any others.

My partner has an OS 10.5 Mac laptop to use if Slacko and gtkpod won't work with the 7th generation iPod.

Post Reply