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 667981 - Galaxy Nexus MTP Device Not Recognized
Galaxy Nexus MTP Device Not Recognized
Status: RESOLVED DUPLICATE of bug 664855
Product: banshee
Classification: Other
Component: Device - MTP
2.2.0
Other Linux
: Normal normal
: ---
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-16 01:17 UTC by rbmj
Modified: 2012-01-16 10:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rbmj 2012-01-16 01:17:22 UTC
I am able to mount my android galaxy nexus phone with mtpfs.  Everything has been set up fine.

I'm using the latest libmtp release (1.1.2) and the latest svn trunk of mtpfs, as older versions of both of these didn't work.

I have in the root of my phone (mounted on /media/mtp with a fuse entry in fstab) a .is_audio_player file.  I have tried it with both a blank version and a completed version:

name=GalaxyNexus
audio_folders=Music/
output_formats=application/ogg
cover_art_file_type=jpeg
cover_art_file_name=AlbumArt.jpg
cover_art_size=640
playlist_format=audio/x-scpls,audio/x-mpegurl
playlist_path=Music/Playlist/

I get the same error either way.  Banshee says "ignoring unmounted volume mtp" when I leave mtp unmounted, and doesn't do anything, so I assume I have to have mtp already mounted.  If I'm wrong, well, it doesn't work either way.

Mounted, i get the following error message:

[Warn  19:03:10.751] Caught an exception - System.ArgumentNullException: Argument cannot be null. (in `mscorlib')
  at System.Int32.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0 
  at System.Int32.Parse (System.String s, NumberStyles style) [0x00000] in <filename unknown>:0 
  at Banshee.Hardware.Gio.UsbDevice.GetVendorId (IUsbDevice device) [0x00000] in <filename unknown>:0 
  at Banshee.Hardware.Gio.UsbDevice.get_VendorId () [0x00000] in <filename unknown>:0 
  at Banshee.Dap.MassStorage.DeviceMapper.Map (Banshee.Dap.MassStorage.MassStorageSource source) [0x00000] in <filename unknown>:0 
  at Banshee.Dap.MassStorage.MassStorageSource.DeviceInitialize (IDevice device) [0x00000] in <filename unknown>:0 
  at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00000] in <filename unknown>:0 

I can confirm that this only happens when I have mtp (on /media/mtp, 777 root root) mounted, so I suppose it's trying to read something from the device.

If I'm misunderstanding and Banshee has its own method for dealing with MTP devices that for some reason isn't working (both with and without an entry in fstab and with and without the volume mounted), I'm not sure what I should be doing.

I've looked on google and it seems to work fine for everyone else as soon as they add the .is_audio_player file, but even with the file it still isn't recognized.
Comment 1 rbmj 2012-01-16 01:20:45 UTC
Actually I just saw the following.  Sorry for opening a duplicate :-/

https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/896376
https://bugzilla.gnome.org/show_bug.cgi?id=664855
Comment 2 André Klapper 2012-01-16 10:37:29 UTC

*** This bug has been marked as a duplicate of bug 664855 ***