Bug 914935

Summary: Add support for Google (LG) Nexus 4
Product: [Fedora] Fedora Reporter: JYundt <jyundt>
Component: libmtpAssignee: Linus Walleij <triad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 17CC: jyundt, triad
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-27 20:36:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to add support for Nexus 4 devices in libmtp-1.1.5
none
spec that includes Nexus 4 patch
none
SRPM I built with new spec and patch none

Description JYundt 2013-02-23 15:20:28 UTC
Created attachment 701643 [details]
Patch to add support for Nexus 4 devices in libmtp-1.1.5

Description of problem:
libmtp-1.1.5 lacks support for Google (LG) Nexus 4 phones.


Version-Release number of selected component (if applicable):
libmtp-1.1.5

How reproducible:
Always

Steps to Reproduce:
1. Connect Nexus 4 phone (in MTP mode)
2. Attempt to access phone via MTP (e.g. simple-mtpfs)
3.
  
Actual results:
Device 0 (VID=18d1 and PID=4ee1) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team

Expected results:
Successful mount

Additional info:
I'm attaching a patch that includes support for 4ee1 (Nexus 4) and 4ee2 (Nexus 4 in MTP+ADB mode).  I rebuild the F17 SRPM with this patch and verified that it works.

Comment 1 JYundt 2013-02-23 15:24:31 UTC
Created attachment 701644 [details]
spec that includes Nexus 4 patch

Comment 2 JYundt 2013-02-23 15:25:26 UTC
Created attachment 701645 [details]
SRPM I built with new spec and patch

Comment 3 JYundt 2013-02-23 15:26:34 UTC
> Additional info:
> I'm attaching a patch that includes support for 4ee1 (Nexus 4) and 4ee2
> (Nexus 4 in MTP+ADB mode).  I rebuild the F17 SRPM with this patch and
> verified that it works.

%s/rebuild/rebuilt/g

Comment 4 Linus Walleij 2013-03-15 08:32:02 UTC
Sorry for slow reactions.

This will be included properly in the libmtp 1.6.0 upgrade due soon-ish.

Comment 5 Fedora Update System 2013-03-18 07:46:49 UTC
libmtp-1.1.6-0.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/libmtp-1.1.6-0.fc17

Comment 6 Fedora Update System 2013-03-19 20:11:34 UTC
Package libmtp-1.1.6-0.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libmtp-1.1.6-0.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-4035/libmtp-1.1.6-0.fc17
then log in and leave karma (feedback).

Comment 7 JYundt 2013-03-19 20:41:03 UTC
I installed libmtp-1.1.6-0.fc17.i686 and was able to mount a nexus 4 successfully.  Leaving karma shortly.

[root@etg9q6cm mnt]# simple-mtpfs /mnt/nexus4/
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/10 (MTP).
Android device detected, assigning default bug flags
[root@etg9q6cm mnt]# rpm -qi libmtp
Name        : libmtp
Version     : 1.1.6
Release     : 0.fc17
Architecture: i686
Install Date: Tue 19 Mar 2013 04:37:11 PM EDT
Group       : System Environment/Libraries
Size        : 387821
License     : LGPLv2+
Signature   : (none)
Source RPM  : libmtp-1.1.6-0.fc17.src.rpm
Build Date  : Mon 18 Mar 2013 03:42:20 AM EDT
Build Host  : buildvm-22.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://libmtp.sourceforge.net/
Summary     : A software library for MTP media players
Description :
This package provides a software library for communicating with MTP
(Media Transfer Protocol) media players, typically audio players, video
players etc.
[root@etg9q6cm mnt]#

Comment 8 Fedora Update System 2013-03-27 20:36:59 UTC
libmtp-1.1.6-0.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.