music players are shown as usb drive not devices

Bug #1051951 reported by Dave Morley on 2012-09-17
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs
Fix Released
Medium
gvfs (Ubuntu)
High
Martin Pitt
Quantal
High
Martin Pitt

Bug Description

In quantal my sansa fuze and samsung s3 both show up as usb drives but not devices thus not triggering the system open with option.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gvfs 1.13.7-0ubuntu6
ProcVersionSignature: Ubuntu 3.5.0-14.19-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Mon Sep 17 13:58:50 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120916)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gvfs
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Dave Morley (davmor2) wrote :
Dave Morley (davmor2) wrote :

Could be linked to bug 952933 from precise.

Dave Morley (davmor2) wrote :

udevadm info --export-db|grep ID_MEDIA_PLAYER
E: ID_MEDIA_PLAYER=sandisk_sansa-fuze
E: ID_MEDIA_PLAYER=sandisk_sansa-fuze
E: ID_MEDIA_PLAYER=sandisk_sansa-fuze

Martin Pitt (pitti) wrote :

Can you please attach the output of "gvfs-mount -li" while the player is connected and mounted?

Changed in gvfs (Ubuntu):
status: New → Incomplete
Dave Morley (davmor2) wrote :

davmor2@stryder:~$ gvfs-mount -li
Drive(0): 256 GB Disk
  Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
  ids:
   unix-device: '/dev/sda'
  themed icons: [drive-harddisk] [drive]
  symbolic themed icons: [drive-removable-media-symbolic] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=0
  has_media=1
  is_media_check_automatic=1
  can_poll_for_media=0
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown
  sort_key=00coldplug/00fixed/sd____a
Drive(1): CD/DVD Drive
  Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
  ids:
   unix-device: '/dev/sr0'
  themed icons: [drive-optical] [drive]
  symbolic themed icons: [drive-removable-media-symbolic] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=1
  can_poll_for_media=0
  can_eject=1
  can_start=0
  can_stop=0
  start_stop_type=unknown
  sort_key=00coldplug/11removable/sr0
Drive(2): Drive
  Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
  ids:
   unix-device: '/dev/sdc'
  themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
  symbolic themed icons: [drive-removable-media-symbolic] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=1
  can_poll_for_media=0
  can_eject=1
  can_start=0
  can_stop=0
  start_stop_type=unknown
  sort_key=01hotplug/1349081826493243
Drive(3): 8.2 GB Drive
  Type: GProxyDrive (GProxyVolumeMonitorUDisks2)
  ids:
   unix-device: '/dev/sdb'
  themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
  symbolic themed icons: [drive-removable-media-symbolic] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=1
  has_media=1
  is_media_check_automatic=1
  can_poll_for_media=0
  can_eject=1
  can_start=0
  can_stop=0
  start_stop_type=unknown
  sort_key=01hotplug/1349081826742621
  Volume(0): 8.2 GB Volume
    Type: GProxyVolume (GProxyVolumeMonitorUDisks2)
    ids:
     class: 'device'
     unix-device: '/dev/sdb'
     uuid: '0123-4567'
    themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
    symbolic themed icons: [folder-remote-symbolic] [folder-remote] [folder]
    can_mount=1
    can_eject=1
    should_automount=1
    sort_key=gvfs.time_detected_usec.1349081826847899
    Mount(0): 8.2 GB Volume -> file:///media/davmor2/0123-4567
      Type: GProxyMount (GProxyVolumeMonitorUDisks2)
      default_location=file:///media/davmor2/0123-4567
      themed icons: [drive-removable-media-usb] [drive-removable-media] [drive-removable] [drive]
      symbolic themed icons: [folder-remote-symbolic] [folder-remote] [folder]
      can_unmount=1
      can_eject=1
      is_shadowed=0
      sort_key=gvfs.time_detected_usec.1349081826890863

Martin Pitt (pitti) on 2012-10-01
Changed in gvfs (Ubuntu):
status: Incomplete → New
Martin Pitt (pitti) wrote :

debian/patches/06_music-player-mimetype.patch is still against the gdu backend, but we need to rewrite it against the udisks2 backend now. This is a regression (we break this for every release...)

Changed in gvfs (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
status: New → In Progress
summary: - sansa fuze and samsung s3 phone are both shown as usb drive not devices
+ music players are shown as usb drive not devices
Martin Pitt (pitti) wrote :

Sent patch upstream.

Martin Pitt (pitti) wrote :

Fix uploaded to quantal unapproved queue.

Changed in gvfs (Ubuntu Quantal):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gvfs - 1.14.0-0ubuntu3

---------------
gvfs (1.14.0-0ubuntu3) quantal; urgency=low

  * 06_music-player-mimetype.patch: Drop old kludge against the now unused
    gdu backend, and replace with a proper and upstreamable patch against the
    udisks2 backend. This brings back media player detection in nautilus and
    other gvfs clients. (LP: #1051951)
 -- Martin Pitt <email address hidden> Thu, 04 Oct 2012 22:29:06 +0200

Changed in gvfs (Ubuntu Quantal):
status: Fix Committed → Fix Released
Changed in gvfs:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in gvfs:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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