Udev rule for MTP with nvidia Shield

Bug #1487471 reported by Jaufré Aligé
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmtp (Ubuntu)
Fix Released
High
Unassigned
Trusty
Fix Released
High
Unassigned

Bug Description

* Impact
the device is not listed in the desktop interface

* Test case
somebody owning the device there should connect it to an ubuntu desktop and check that it's correctly list

* Regression potential
check that mtp devices keep working as they should (listed in nautilus, can copy files, etc)

--------

Hello,

Nvidia shield tab won't connect with mtp protocol on Ubuntu 14.04.3
It's a big trouble, many users tell me cameras or Svidia Shield are not supported.

To fix it for Nvidia Shield, we need to add the following Udev rule :

in file /lib/udev/rules.d/69-libmtp.rules

add this line :
ATTR{idVendor}=="0955", ATTR{idProduct}=="cf07", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

then of course restart udev service :
sudo service udev restart

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: udev 204-5ubuntu20.13
ProcVersionSignature: Ubuntu 3.13.0-62.101-generic 3.13.11-ckt24
Uname: Linux 3.13.0-62-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.12
Architecture: amd64
CurrentDesktop: Unity
CustomUdevRuleFiles: 60-vboxdrv.rules
Date: Fri Aug 21 15:20:08 2015
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-62-generic root=UUID=e057ab66-ce6b-4072-9fdb-59d76882e7cd ro quiet splash
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/17/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1503
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8H77-M PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1503:bd03/17/2014:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8H77-MPRO:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Jaufré Aligé (jaufre) wrote :
Martin Pitt (pitti)
affects: systemd (Ubuntu) → libmtp (Ubuntu)
Revision history for this message
Martin Pitt (pitti) wrote :

This was fixed upstream in March: http://sourceforge.net/p/libmtp/code/ci/dfdaa822

Changed in libmtp (Ubuntu):
status: New → Fix Committed
Revision history for this message
Jaufré Aligé (jaufre) wrote :

As always, useless if not updated in Ubuntu LTS .

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in libmtp (Ubuntu):
importance: Undecided → High
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

should be backported to trusty next

description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Jaufré, or anyone else affected,

Accepted libmtp into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libmtp/1.1.6-20-g1b9f164-1ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libmtp (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Jaufré Aligé (jaufre) wrote :

Tested libmtp9 1.1.6-20-g1b9f164-1ubuntu2.1
Nice, all the devices I could test connected without problem. Thank you.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libmtp - 1.1.6-20-g1b9f164-1ubuntu2.1

---------------
libmtp (1.1.6-20-g1b9f164-1ubuntu2.1) trusty; urgency=medium

  * debian/patches/updated_devices_list.patch:
    updated devices list using the wily version, includes
    - nvidia Shield (lp: #1487471)
    - Lenovo S90 (lp: #1455626)
    - BQ E4.5 (lp: #1376212)

 -- Sebastien Bacher <email address hidden> Thu, 01 Oct 2015 11:41:24 +0200

Changed in libmtp (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for libmtp has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Mathew Hodson (mhodson)
Changed in libmtp (Ubuntu Trusty):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.