gtkpod 2.0.2 April 2015

Audio editors, music players, video players, burning software, etc.
Message
Author
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#16 Post by tempestuous »

EDIT Nov 2014 - deleted.
Correct iPod configuration is now tested, and instructions updated in the 3rd post.
Last edited by tempestuous on Sat 22 Nov 2014, 06:13, edited 1 time in total.

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

#17 Post by redandwhitestripes »

Don't thank me, sir. The thanks is all in your direction :D

Interestingly, the mount point *was* /mnt/sdb3 until I installed your hotfix.then it changed to /sdb1. (Maybe it was just because I had rebooted (?))

There's no error message. The sysinfo file as exactly as before however there is a new file called extendedsysinfo. It gives me the following:

<key>FireWireGUID</key>
<string>000A2700249C347B</string>


gtkpod is still returning the same errors, however.

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

#18 Post by tempestuous »

EDIT Nov 2014 - deleted.
Correct iPod configuration is now tested, and instructions updated in the 3rd post.
Last edited by tempestuous on Sat 22 Nov 2014, 06:13, edited 1 time in total.

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

#19 Post by redandwhitestripes »

Thanks again,

I apologise for getting the file name back to front. That was sloppy of me.

I have followed your instructions, the serial numbers match, but the outcome is the same. Could it simply be that gtkpod doesn't support the new nanos yet?

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

#20 Post by tempestuous »

EDIT Nov 2014 - deleted.
Correct iPod configuration is now tested, and instructions updated in the 3rd post.
Last edited by tempestuous on Sat 22 Nov 2014, 06:14, edited 1 time in total.

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.

Post Reply