After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 531927 - iPod is not recognized
iPod is not recognized
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Device - iPod
0.99.1
Other Linux
: Normal normal
: 1.4
Assigned To: Aaron Bockover
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-07 11:07 UTC by Andrea Cimitan
Modified: 2008-09-22 21:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
podsleugh --rescan output (43 bytes, text/plain)
2008-05-07 21:19 UTC, Andrea Cimitan
  Details
hal-device output (127.11 KB, text/plain)
2008-05-07 21:20 UTC, Andrea Cimitan
  Details
Proposed patch (against SVN not 0.6.0) (611 bytes, patch)
2008-05-09 14:30 UTC, Nigel Jones
none Details | Review
hal-device output for iPOD Shuffle 512 (140.61 KB, text/plain)
2008-05-24 19:33 UTC, Ariel
  Details
Result of running ipod-debug-dump.sh on my computer with my iPod mounted. (1.12 KB, text/plain)
2008-05-28 02:51 UTC, Ryan Lovelett
  Details
output of podsleuth (1.79 KB, application/octet-stream)
2008-09-01 01:17 UTC, Andrea Cimitan
  Details
podsleuth debug for ipod nano 2nd generation green (9.13 KB, application/octet-stream)
2008-09-22 21:58 UTC, Daniel Lombraña González
  Details

Description Andrea Cimitan 2008-05-07 11:07:53 UTC
My ipod is correctly recognized by gnome and rhythmbox, but banshee doesn't see it. Ipod Plugin is loaded, ipod-sharp is 0.8.0.

My iPod is a 3° version B&W 20GB
Comment 1 Gabriel Burt 2008-05-07 21:02:51 UTC
Can you run podsleuth --rescan and put the output here?  Can you attach the full result of running hal-device?
Comment 2 Andrea Cimitan 2008-05-07 21:19:37 UTC
Created attachment 110548 [details]
podsleugh --rescan output
Comment 3 Andrea Cimitan 2008-05-07 21:20:02 UTC
Created attachment 110549 [details]
hal-device output
Comment 4 Gabriel Burt 2008-05-07 21:59:40 UTC
Podsleuth seems to be messed up.
Comment 5 Andrea Cimitan 2008-05-07 22:02:09 UTC
something is wrong with my installation or you've found a mistake in the trunk?
I've compiled podsleuth (yesterday) as in the wiki with --prefix=/usr snd make install (no other flags)
Comment 6 Gabriel Burt 2008-05-07 22:38:15 UTC
I mean something is wrong inside podsleuth - not with your install.
Comment 7 Nigel Jones 2008-05-07 23:22:48 UTC
Hi guys,

I'm the Fedora Maintainer for banshee/podsleuth, and we've been having a similar issue under F9/F10, we thought it might have been SELinux but that doesn't appear to be the problem.  Makes me wonder if it's something higher up the food chain.

For reference:https://bugzilla.redhat.com/show_bug.cgi?id=445611
Comment 8 Andrea Cimitan 2008-05-08 02:17:09 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=486661
With that *patch* (don't know if it is ugly or not) my iPod (which is 3° Version, Classic B&W) started working
Comment 9 Peter de Kraker 2008-05-09 14:01:15 UTC
I am having trouble too with my ipod (banshee SVN trunk, also tested 0.99.1 from getdeb.net). Running Ubuntu Hardy x86_64.

Ipod is getting detected with "ipod --list" and rhythmbox and gnome do show them both. Banshee-1 doesn't. Running podsleuth results in: No iPods were found in the HAL device tree.

My Ipod (nano 1gb black) does appear in http://banshee-project.org/files/podsleuth/ipod-model-table. 
Nano	1	Black	1	A352     None    UPR

No Raid bug problems, according to the testing script.

"ipod --list" output
   Device Path:      /dev/sdc2
   Mount Point:      /media/IPOD VAN PE
   Control Path:     /media/IPOD VAN PE/iPod_Control/
   HAL ID:           /org/freedesktop/Hal/devices/volume_uuid_57C3_142A
Device Info
   Model Number:     xA352
   Device Model:     Nano (Black)
   iPod Generation:  First (1)
   Adv. Capacity:    1 GB
   Is New:           YES
   Writable:         YES
   Serial Number:    YM630NR5UPR
   Firmware Version: (null)
   Manufacturer ID:  YM
   Production Year:  2006
   Production Week:  30
   Production Index: 27511
Volume Info
   Volume Size:      937681920
   Volume Used:      620016640
   Available         317665280
   UUID:             57C3-142A
   Label             IPOD VAN PE
User-Provided Info
   Device Name:      (null)
   User Name:        (null)
   Host Name:        (null)
Supported Artwork Formats
   Cover:            100x100
   Cover:            42x42
   Photo:            41x37
   Photo:            176x132


If I need to open another bug for this, please let me know.
Comment 10 Nigel Jones 2008-05-09 14:30:03 UTC
Created attachment 110643 [details] [review]
Proposed patch (against SVN not 0.6.0)

I think this is two different problems, but the good news is, I have a fix for the Fedora/Ubuntu problem (it seems).

The problem appears to stem from a change in hal-info, in particular the change between releases 20080310 20080313.

I noticed this change (http://gitweb.freedesktop.org/?p=hal-info.git;a=commitdiff;h=24ed7559180d02e7e389a09a1e56b7536086181f) and after a bit of experimenting I have come up with a stupid little patch that actually works.

I like the idea of using model id over device type for this exact reason.  But I'm going to use this to close the Red Hat bug v.soon.
Comment 11 Nigel Jones 2008-05-15 07:13:16 UTC
Just an update on the patch...

I'm a bit concerned I may have ended up my removing iPhone support (if there was any in the first place).

Other than that, I recently added the patch to the Fedora RPM and it seems to be working okay.
- Nigel
Comment 12 Peter de Kraker 2008-05-16 16:09:47 UTC
Am now back on Ubuntu 7.10 i386. Mono 1.9.1 from source. Applied both patches mentioned in this thread. 
Updated all ipod related stuff to svn latest.

Result now is (and without those patches):

Podsleuth:
Found an iPod device, but it is not known by PodSleuth:
   Error: org.podsleuth.* properties are missing
   UDI:          /org/freedesktop/Hal/devices/volume_uuid_AE63_2D4C
   Block Device: /dev/sdc2
   Mount Point:  /media/IPOD PETER

   Cause: PodSleuth may not be installed properly, the HAL daemon may need
          to be restarted and/or the device needs to be refreshed.

Also Podsleuth --update doesn't work and gives me:
Downloading PodSleuth table update... Error (org.freedesktop.DBus.Error.UnknownMethod: Method "UpdateModelTable" with signature "" on interface "org.podsleuth" doesn't exist

Some other people with this: http://markmail.org/message/so765ck76cuq7arz

Is there something going wrong here with my podsleuth install?
Comment 13 Ariel 2008-05-24 19:30:15 UTC
Same problem, ipod not detected by banshee-1 beta 2.

I have an ipod shuffle, 512M, works fine with rythmbox under ubuntu 8.04. When I plug in my ipod, rhythmbox pops up automatically and I can drag and drop content.

No fun with banshee-1 unfortunately.

ipod --list output below. hal-device output attached (my ipod is indeed seen by hal)




~$ ipod --list
Path Info
   Device Path:      /dev/sdc1
   Mount Point:      /media/IPOD_
   Control Path:     /media/IPOD_/iPod_Control/
   HAL ID:           /org/freedesktop/Hal/devices/volume_uuid_70F6_8271
Device Info
   Model Number:     x9724
   Device Model:     Shuffle
   iPod Generation:  First (1)
   Adv. Capacity:    512 MB
   Is New:           YES
   Writable:         YES
   Serial Number:    5E508K8GRS9
   Firmware Version: (null)
   Manufacturer ID:  5E
   Production Year:  2005
   Production Week:  08
   Production Index: 23408
Volume Info
   Volume Size:      512197120
   Volume Used:      263680512
   Available         248516608
   UUID:             70F6-8271
   Label             IPOD
User-Provided Info
   Device Name:      (null)
   User Name:        (null)
   Host Name:        (null)



----------
not sure what podsleuth is, but it doesn't see my ipod.

~$ podsleuth --rescan
No iPods were found in the HAL device tree


Comment 14 Ariel 2008-05-24 19:33:49 UTC
Created attachment 111475 [details]
hal-device output for iPOD Shuffle 512
Comment 15 Ryan Lovelett 2008-05-28 02:48:39 UTC
I too am having an issue with my iPod being found, mine is an 3g Nano 4gb (silver).  After running 'podsleuth --rescan', the system says "No iPods where found in the HAL device tree"; though I should say that Banshee 0.99.2 does see my iPod on the list to the left, I just cannot interact with it at all infact just clicking on the iPod causes Banshee to crash.

I attached the ipod-debug-dump.sh results...if you need more information I will gladly give it.
Comment 16 Ryan Lovelett 2008-05-28 02:51:50 UTC
Created attachment 111645 [details]
Result of running ipod-debug-dump.sh on my computer with my iPod mounted.
Comment 17 Aaron Bockover 2008-06-04 20:22:38 UTC
Nigel: okay, there are two separate issues here.

a) There is a legitimate bug in the podsleuth front end command line client, which your patch addresses

b) This command line client does not come into play at all when HAL runs the podsleuth callout.

That is, I don't understand why or how your patch actually fixes the problem of podsleuth properties being merged into the HAL device tree (other than those specified by the FDI file).

In openSUSE 11, the slew of podsleuth properties show up even without your patch, even though openSUSE 11 has the same bug in with the command line client.

And just to clarify, this bug is *not* for 3G iPods, which have a separate issue altogether.
Comment 18 Aaron Bockover 2008-06-04 23:28:25 UTC
Alright, so I just installed Podsleuth from svn on Ubuntu 8.04, also reported to have the bug, and reverted Nigel's patch to test. Sure enough, Podsleuth works fine regarding the HAL tree population. And as expected, with the patch reverted, the command line client reports no iPods.

So the reality is this patch does nothing to actually help with iPod detection from the Banshee point of view - the patch only fixes a bug in the debugging client (the utility called 'podsleuth').

If the podsleuth properties are not getting merged in the HAL tree, it's likely a distro/packaging bug, as I've said all along.

Comment 19 Ariel 2008-06-20 23:17:53 UTC
Just to report that Banshee-1 final still fails to detect my ipod under ubuntu 8.04

Still can't find workarounds for Banshee-1. If anyone could make this work... hints would be appreciated.
Comment 20 Andrew Conkling 2008-07-29 12:41:05 UTC
Any reason this is still NEEDINFO?
Comment 21 Andrea Cimitan 2008-09-01 01:17:00 UTC
Created attachment 117739 [details]
output of podsleuth

Nothing happenes when plugging my iPod with banshee 1.2.1, using ubuntu PPA.
This is the output of podsleuth
Comment 22 Andrea Cimitan 2008-09-01 01:18:04 UTC
And it says it is an ipod but an unknown ones. 3G
Comment 23 Andrea Cimitan 2008-09-01 01:32:09 UTC
The only way to make it working is applying the patch from this banshee bugreport:
http://bugzilla.gnome.org/show_bug.cgi?id=486661
Comment 24 Gabriel Burt 2008-09-03 23:30:58 UTC
Andrea, your issue is not the same then, it's under that other bug.  With Aaron's fix to the client and my fix (just committed today, will be in the next release) for podsleuth to work with devices that were plugged in at bootup, this bug should be closed.
Comment 25 Andrea Cimitan 2008-09-04 00:33:45 UTC
and the other one? #486661
Comment 26 Daniel Lombraña González 2008-09-22 21:58:44 UTC
Created attachment 119197 [details]
podsleuth debug for ipod nano 2nd generation green
Comment 27 Daniel Lombraña González 2008-09-22 21:59:44 UTC
podsleuth for hardy is not detecting my iPod. At the beginning everything was working and suddenly not. Gtkpod is working perfectly well.