Bug 49933

Summary: Samsung Galaxy Nexus
Product: media-player-info Reporter: bjorn.ottervik
Component: New deviceAssignee: Martin Pitt <martin.pitt>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium CC: bjorn.ottervik
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description bjorn.ottervik 2012-05-14 17:32:13 UTC
Maker: Samsung
Model: Galaxy Nexus
Accessable as;
    Media player by MTP
    Camera by PTP
Plays;
    MP3
    WAV
    eAAC+
    AC3
    Vorbis
    FLAC
    MP4
    H.264
    H.263
    WebM
Shoots:
    JPEG
    MP4
Playlist: .pla

Storage;
    Playlists: Playlists/
    Music: Internal Storage/Music/
    Movies: Internal Storage/Movies/
    Pictures: Internal Storage/Pictures/

MTP:
$ udevadm info --query=all --path=/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1
P: /devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1
N: bus/usb/002/009
S: libmtp-2-2.1
E: BUSNUM=002
E: COLORD_DEVICE=1
E: COLORD_KIND=camera
E: DEVLINKS=/dev/libmtp-2-2.1
E: DEVNAME=/dev/bus/usb/002/009
E: DEVNUM=009
E: DEVPATH=/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1
E: DEVTYPE=usb_device
E: DRIVER=usb
E: GPHOTO2_DRIVER=proprietary
E: ID_BUS=usb
E: ID_GPHOTO2=1
E: ID_MEDIA_PLAYER=1
E: ID_MODEL=Galaxy
E: ID_MODEL_ENC=Galaxy
E: ID_MODEL_ID=685c
E: ID_MTP_DEVICE=1
E: ID_REVISION=0216
E: ID_SERIAL=samsung_Galaxy_0149C6F40700F007
E: ID_SERIAL_SHORT=0149C6F40700F007
E: ID_USB_INTERFACES=:ffff00:
E: ID_VENDOR=samsung
E: ID_VENDOR_ENC=samsung
E: ID_VENDOR_ID=04e8
E: MAJOR=189
E: MINOR=136
E: PRODUCT=4e8/685c/216
E: SUBSYSTEM=usb
E: TAGS=:udev-acl:
E: TYPE=0/0/0
E: USEC_INITIALIZED=1696494417

PTP:
$ udevadm info --query=all --path=/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1
P: /devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1
N: bus/usb/002/009
S: libmtp-2-2.1
E: BUSNUM=002
E: COLORD_DEVICE=1
E: COLORD_KIND=camera
E: DEVLINKS=/dev/libmtp-2-2.1
E: DEVNAME=/dev/bus/usb/002/009
E: DEVNUM=009
E: DEVPATH=/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1
E: DEVTYPE=usb_device
E: DRIVER=usb
E: GPHOTO2_DRIVER=proprietary
E: ID_BUS=usb
E: ID_GPHOTO2=1
E: ID_MEDIA_PLAYER=1
E: ID_MODEL=Galaxy
E: ID_MODEL_ENC=Galaxy
E: ID_MODEL_ID=685c
E: ID_MTP_DEVICE=1
E: ID_REVISION=0216
E: ID_SERIAL=samsung_Galaxy_0149C6F40700F007
E: ID_SERIAL_SHORT=0149C6F40700F007
E: ID_USB_INTERFACES=:ffff00:
E: ID_VENDOR=samsung
E: ID_VENDOR_ENC=samsung
E: ID_VENDOR_ID=04e8
E: MAJOR=189
E: MINOR=136
E: PRODUCT=4e8/685c/216
E: SUBSYSTEM=usb
E: TAGS=:udev-acl:
E: TYPE=0/0/0
E: USEC_INITIALIZED=1696494417

... Did I miss anything?
Comment 1 bjorn.ottervik 2012-05-14 17:38:11 UTC
Doh! MTP info was pasted into PTP above by mistake.

Proper PTP:

$ udevadm info --query=all --path=/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1
P: /devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1
N: bus/usb/002/008
E: BUSNUM=002
E: COLORD_DEVICE=1
E: COLORD_KIND=camera
E: DEVNAME=/dev/bus/usb/002/008
E: DEVNUM=008
E: DEVPATH=/devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1
E: DEVTYPE=usb_device
E: DRIVER=usb
E: GPHOTO2_DRIVER=PTP
E: ID_BUS=usb
E: ID_GPHOTO2=1
E: ID_MODEL=Galaxy
E: ID_MODEL_ENC=Galaxy
E: ID_MODEL_ID=6865
E: ID_REVISION=0216
E: ID_SERIAL=samsung_Galaxy_0149C6F40700F007
E: ID_SERIAL_SHORT=0149C6F40700F007
E: ID_USB_INTERFACES=:060101:
E: ID_VENDOR=samsung
E: ID_VENDOR_ENC=samsung
E: ID_VENDOR_ID=04e8
E: MAJOR=189
E: MINOR=135
E: PRODUCT=4e8/6865/216
E: SUBSYSTEM=usb
E: TAGS=:udev-acl:
E: TYPE=0/0/0
E: USEC_INITIALIZED=1564667928

Images are stored in DCIM/Camera/
Comment 2 Martin Pitt 2012-05-23 08:34:44 UTC
media-player-info does not have MTP or PTP devices, as they describe themselves already and are handled by libmtp/libgphoto2. It only handles mass-storage devices (MSC), i. e. which look like an USB stick. If it does not work in MTP mode, please file a bug against libmtp or Rhythmbox.

Thanks!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.