gtkpod 2.0.2 April 2015

Audio editors, music players, video players, burning software, etc.
Message
Author
sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

ipod touch does not work with gtkpod

#46 Post by sindi »

The neighbor's ipod touch is not recognized by gtkpod. He will borrow his father's Classic to try eventually.
Apple emailed me that the replacement ipod 'MODEL NANO' will be here in about two business days.
Has anyone reading this actually used an ipod with gtkpod?

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

#47 Post by tempestuous »

sindi wrote:Has anyone reading this actually used an ipod with gtkpod?
Forum member taca0 has the Nano 6gen working with gtkpod, as he wrote earlier in this thread -
http://www.murga-linux.com/puppy/viewto ... 923#809923
Other forum members have reported success with other models of iPod in my earlier gtkpod releases in 2009 and 2011.
sindi wrote:The neighbor's ipod touch is not recognized by gtkpod.
The Touch requires special pre-configuration steps with gtkpod, in the same manner that iPhones and iPads need to be pre-configured.
See the 4th post in this thread, titled "INSTRUCTIONS for iPhone, iPad, and iPod Touch."
See also the 5th post, titled "Special requirements for recent iPhone, iPad, Touch, and Nano models."

No one has actually told me of success with the Nano 1gen, but from all of the feedback I've received about other models I'm 99% confident the Nano 1gen will work fine with gtkpod. Why? It's an older model with no special communication methods required, and no hash code verification issues. This, of course, assumes several conditions: the device is not faulty, and is initialised under a proper installation of Windows, using a proper installation of iTunes. Those conditions don't seem to be met in sindi's case.

I would be happy to test the Nano 1gen, myself, but I see these models are ridiculously expensive on the second hand market. If anyone wants to send me one for testing, I will be happy to do so, then return it.

User avatar
Packetteer
Posts: 73
Joined: Sat 12 May 2012, 19:33
Location: Long Island Ny

#48 Post by Packetteer »

HI tempestuous
Thank You Thank You Thank You,
Thanks to your pets and perfectly wonderful instructions I now have one
less reason to start up Windows.
I can now manage my First gen Ipod Touch thanks to your hard work.

Ipod touch first generation version 3.1.3 an oldie but a goodie.

Best Regards
John

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

#49 Post by tempestuous »

I only recently became aware that gtkpod's device compatibility is limited by the underlying libgpod library, which unfortunately stalled development in 2011.
So gtkpod device support goes up to:

- iPhone4 (but not 4S)
- iPod Touch 4th gen
- iPad 1st gen (both WiFi and 3G models)
- Nano 6th gen

- iPod Classic / Mini / Shuffle should be supported across their entire range of releases.

I have just updated this information in the first post.

mike001
Posts: 15
Joined: Thu 09 Mar 2017, 03:54

first gen ipod touch

#50 Post by mike001 »

Hope its alright to resurrect old threads like this. I found my old first gen ipod and it still works, it has version 1.1.5 (4B1) on it and it still works but only with older versions of itunes. (thanks Apple)
I was hoping to get it running in precise puppy using gtkpod, I got gtkpod downloaded and running but when it comes to the ipod I've had some trouble.
following directions in this thread I got it mounted but when I run [ipod-read-sysinfo-extended YOUR_UUID /mnt/ipod] it tells me ipod-read-sysinfo-extended is a command not found.
Any ideas what I'm doing wrong?
Im running Precise puppy 5.7.1 live on usb.

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

#51 Post by tempestuous »

mike001 wrote:when I run [ipod-read-sysinfo-extended YOUR_UUID /mnt/ipod] it tells me ipod-read-sysinfo-extended is a command not found.
Well the gtkpod dotpet (gtkpod-2.0.2-APRIL2015.pet) definitely contains that utility, so if your Precise installation cannot find it, then the dotpet is not installed properly.
How did you install gtkpod?
The correct method is to download it to your filesystem, then use Puppy's file browser (labelled "file" on the desktop) to locate it, then single-click to install it.

mike001
Posts: 15
Joined: Thu 09 Mar 2017, 03:54

#52 Post by mike001 »

I messed around with it yesterday, I had originally installed gtkpod using PPM, I went back and reinstalled it using the way you mentioned. Now I just can't get it to find my device. It shows up when I look under the hardware info option in the menu but when I run the 'ifuse /mnt/ipod' it says it cant find the device and asks if I am sure I have permission to access raw usb devices. It also says to try disconnecting and reattaching the device.
from what I understand I should be able to access usb devices just fine as long as I am not using puppy under spot or fido, correct?
I am still quite new to this so I will keep doing reading about it and perhaps I will figure something out.

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

#53 Post by tempestuous »

mike001 wrote:when I run the 'ifuse /mnt/ipod' it says it cant find the device
Whoa, you shouldn't be using the "ifuse" command for a conventional iPod - you're following the wrong section of instructions.
For iPods, the relevant posts are:

post 2. preparation
post 3. INSTRUCTIONS for "conventional" iPod models
post 6. gtkpod configuration

The critical part of post 3 is to run this command -

Code: Select all

ipod-read-sysinfo-extended <device node> <mountpoint>
Once you have run this command, and no error messages appear, you can move on to post 6, final configuration.

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

#54 Post by tempestuous »

Oops, I just realised you might not understand <device node> <mountpoint>
When you plug your iPod into a USB port, an icon should appear on the Puppy desktop indicating its mountpoint. Sometimes there might be more than one, if so, the last mountpoint is usually the one that contains the music files. Let's assume yours is "sdb3". The command to run is then -

Code: Select all

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

mike001
Posts: 15
Joined: Thu 09 Mar 2017, 03:54

#55 Post by mike001 »

Sorry I wasnt specific, I am using a first generation ipod touch.

mike001
Posts: 15
Joined: Thu 09 Mar 2017, 03:54

#56 Post by mike001 »

I have don the first two steps with the ipod touch including making sure it has been initialized on a mac computer with itunes.
So when I hook up my ipod touch and go to the process manager what I find is '/usr/sbin/usbmuxd --user root --udev'.
If I leave it like this and open /var/log/messages in Geany I find this.

May 2 11:36:28 puppypc1513 user.err usbmuxd[24351]: [1] preflight_worker_handle_device_add: ERROR: Could not get ProductVersion from device 94d0a177081d97f1939a21273965fc0892db0112, lockdown error -256

if I kill "/usr/sbin/usbmuxd --user root --udev" and then run "/usr/sbin/usbmuxd -u -U root -v -v"

then /var/log/messages reads;
May 2 11:45:01 puppypc1513 user.notice usbmuxd[506]: [3] usbmuxd v1.1.0 starting up
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] Creating socket
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] Not dropping privileges to root
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] Initializing USB
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] Found new device with v/p 05ac:1291 at 2-7
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] Found interface 1 with swapped endpoints 04/85 for device 2-7
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] Using wMaxPacketSize=512 for device 2-7
May 2 11:45:01 puppypc1513 user.notice usbmuxd[508]: [3] Connecting to new device on location 0x20007 as ID 1
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] 1 device detected
May 2 11:45:01 puppypc1513 user.notice usbmuxd[508]: [3] Initialization complete
May 2 11:45:01 puppypc1513 user.notice usbmuxd[508]: [3] Automatic device discovery on hotplug disabled.
May 2 11:45:01 puppypc1513 user.notice usbmuxd[508]: [3] Enabled exit on SIGUSR1 if no devices are attached. Start a new instance with "--exit" to trigger.
May 2 11:45:01 puppypc1513 user.notice usbmuxd[508]: [3] Connected to v1.0 device 1 on location 0x20007 with serial number 94d0a177081d97f1939a21273965fc0892db0112
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] preflight_worker_handle_device_add: Starting preflight on device 94d0a177081d97f1939a21273965fc0892db0112...
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] New client on fd 11
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] preflight_worker_handle_device_add: Device 94d0a177081d97f1939a21273965fc0892db0112 is not paired with this host.
May 2 11:45:01 puppypc1513 user.err usbmuxd[508]: [1] preflight_worker_handle_device_add: ERROR: Could not get ProductVersion from device 94d0a177081d97f1939a21273965fc0892db0112, lockdown error -256
May 2 11:45:01 puppypc1513 user.info usbmuxd[508]: [4] Disconnecting client fd 11

At this point if I try to run ifuse /mnt/ipod I get the error;
"No device found, is it connected?
If it is make sure that your user has permissions to access the raw usb device.
If you're still having issues try unplugging the device and reconnecting it"

Also when I initially hook up my ipod it does not show up on the desktop like other usb devices, nor does it show up if I open the "mount" icon on the desktop, when I tried a generic mp3 player in the same port that showed up and mounted just fine.
Also if I run lsusb in the console it shows up as
"Bus 002 Device 007: ID 05ac:1291 Apple, Inc. iPod Touch 1.Gen"

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

#57 Post by tempestuous »

Yes, a "first gen ipod" is a whole different animal to an iPod Touch 1st gen.
mike001 wrote:when I initially hook up my ipod it does not show up on the desktop like other usb devices, nor does it show up if I open the "mount" icon on the desktop
That's the correct behaviour for an iPhone, iPad, and Touch.

Despite the error messages generated by usbmuxd, it actually looks OK - usbmuxd has auto-launched with the correct parameters, and the 40 character UUID can clearly be seen.

Potential solution 1: if your Touch has a Passcode, this may interfere with USB permissions, so turn it off -
Settings > Touch ID & Passcode > Turn Passcode Off
It's then probably good to fully power down the device, then turn on again.

Potential solution 2: Google tells me this problem may relate to the way newer versions (or particular versions) of iOS interact with ifuse. Suggested fix -
i) install the attached dotpet - fuse-conf-0.1.pet - this is just a configuration file found at /etc/fuse.conf
ii) reboot Puppy.
iii) plug in your iPod Touch, wait a few seconds, then run (as before) -

Code: Select all

ifuse /mnt/ipod
if you still get the "no device found" message, try this -

Code: Select all

ifuse -o allow_other /mnt/ipod
and if still no success try this -

Code: Select all

ifuse -o allow_root /mnt/ipod
Attachments
fuse-conf-0.1.pet
(388 Bytes) Downloaded 206 times

mike001
Posts: 15
Joined: Thu 09 Mar 2017, 03:54

#58 Post by mike001 »

I am having trouble with the attached pet.
I downloaded it and attempted install and it get me an error telling me it was unable to install.
I ran

Code: Select all

petget /root/Downloads/fuse-conf-0.1.pet
and got this error

Code: Select all

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Google did not help me much, is there a way to change fomats? or should I be using different commands for install from command line?

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

#59 Post by tempestuous »

Mmm, I just did a clean boot to the TahrPupu 6.0.5 CD, then downloaded fuse-conf-0.1.pet, and it installed just fine.
It makes me wonder about the health of your Puppy installation ...
I don't suppose you're running as user "spot" by chance??
Or maybe you're downloading under Windows or Mac??

In the meantime, there's a quick and easy workaround;
- create a new document in Geany, containing just this single line of text-

Code: Select all

user_allow_other
Save it under /etc with the filename "fuse.conf". That's it.
Reboot, and continue testing with the ifuse commands.

mike001
Posts: 15
Joined: Thu 09 Mar 2017, 03:54

#60 Post by mike001 »

Alright, so I downloaded a fresh version of precise puppy 5.7.1 and did a fresh install to usb. I followed the directions at the beginning of this thread and this time it is having trouble at ifuse /mnt/ipod and telling me that the location is invalid.
So I downloaded a tahrpup 6.0 to try out, I installed the frugal version onto usb and am running it live, so fresh install with the only extras being the 3 pets mentioned at the beginning of this thread and then the one in your last post.
When I run lsusb in the console the ipod shows up in the readout so I know it is connected.
When initially hooked up and I go to process manager I find "/user/sbin/usbmuxd --user root --udev" Is this correct or should I be killing this process and using something else?
Below is what /var/log/messages is telling me.
"May 5 20:13:48 puppypc5544 user.err usbmuxd[7244]: [1] preflight_worker_handle_device_add: ERROR: Could not get ProductVersion from device 94d0a177081d97f1939a21273965fc0892db0112, lockdown error -256
May 5 20:13:57 puppypc5544 user.err gpod: No device found with uuid 94d0a177081d97f1939a21273965fc0892db0112, is it plugged in?"

I appreciate the help with it thus far, perhaps I will have to just have to keep using my wifes old mac with the ipod, I was just hoping I could get it set up with puppy.
[/code]

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

#61 Post by tempestuous »

Yes, that was a good idea to try Precise 5.7.1 / Tahrpup 6, since gtkpod is tried and tested under those environments.
mike001 wrote:this time it is having trouble at ifuse /mnt/ipod and telling me that the location is invalid.
The directory /mnt/ipod is created when gtkpod-2.0.2-APRIL2015.pet is installed, so I'm afraid to tell you that the error message you describe indicates, again, that the dotpet is not properly installed. I really don't know what you could be doing that's causing this, apart from maybe erroneously installing some old alternative gtkpod version from PPM.
Be aware that my gtkpod compilation is the only version ever contributed for Puppy which contains the libimobiledevice library, and thus the only version which supports iPhone/iPad/Touch.
mike001 wrote:When initially hooked up and I go to process manager I find "/user/sbin/usbmuxd --user root --udev" Is this correct or should I be killing this process and using something else?
No, that's perfect - it indicates that usbmuxd has auto-launched correctly.
mike001 wrote:Below is what /var/log/messages is telling me.
... lockdown error -256
... No device found ... is it plugged in?"
That might be a problem, might not. If we determine that it is a problem, I have another tweak that I found with Google ... but before we get to that point, it's critical that you first install fuse-conf-0.1.pet, and try -

Code: Select all

ifuse /mnt/ipod
or

Code: Select all

ifuse -o allow_other /mnt/ipod
or

Code: Select all

ifuse -o allow_root /mnt/ipod

mike001
Posts: 15
Joined: Thu 09 Mar 2017, 03:54

#62 Post by mike001 »

OK, I ran the update from 6.0 to 6.0.2, and then deleted and reinstalled the .pets from the beginning of this thread along with the last one you posted. I am now back to the "no device found, is it connected?" error, the message in /var/log/messages is still the same.
Also I double checked and I am not running under spot.
I tried the three different mnt commands.

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

#63 Post by tempestuous »

OK, so it's not a FUSE/ifuse configuration issue. Suspicion must now fall on usbmuxd, and Google tells me this might be a solution -
use Geany to open /lib/udev/rules.d/39-usbmuxd.rules
and change: OWNER="usbmux" to OWNER="usbmuxd"
Save.
Reboot.
Try again.

mike001
Posts: 15
Joined: Thu 09 Mar 2017, 03:54

#64 Post by mike001 »

I got that edited, rebooted, and its still giving me the same error, var/log/messages still says the same thing as well.

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

#65 Post by tempestuous »

It's looking like usbmuxd is interacting imperfectly with your iPod Touch. This would suggest that an upgraded usbmuxd might help ... but I just checked now, and I see that the very latest usbmuxd v1.1.0 is included in my gtkpod package.
In the process of checking this, I also discovered that my "gtkpod-Precise-libs" consists of symlinks to the Tahrpup/Precise libcrypto.so.1 library, and this library is critical to the functioning of usbmuxd ...
so I now suspect that Tahrpup and Puppy Precise may have compatibility problems with gtkpod. Oops.

I'm sorry to tell you this, but I now think you have better chance of success if you run gtkpod on Slacko 5.7.0. If you have the time and enthusiasm to do so, this would be a worthwhile investigation.

Post Reply