Announcement

Collapse
No announcement yet.

MTP media device not seen at all?!?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MTP media device not seen at all?!?

    I have a new MP3 player - Samsung P2 - that is not recognized by my Gutsy. It's not in "storage media", and is not seen by Amarok.
    I tried installing mtp-tools, then running mtp-detect, but it's not detected.
    I tried
    Code:
    sudo apt-get install libmtp2
    but I get
    Code:
    Package libmtp2 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package libmtp2 has no installation candidate
    What does it mean? What repository should I enable to install libmtp?
    I tried downloading the sources, but ./configure fails with
    Code:
    configure: error: I can't find the libusb libraries on your system. You
        may need to set the LDFLAGS environment variable to include the
        search path where you have libusb installed before running
        configure (e.g. setenv LDFLAGS=-L/usr/local/lib)
    I tried typing the setenv command, but it says "bash: setenv: command not found".

    So... Would installing the libmtp solve my problem? if so, how do I install them? If not... what else can I try?

    Of course the player is working fine with Vista...

    Thanks,
    Cristian

    #2
    Re: MTP media device not seen at all?!?

    On my computer I have libmtp6 and libmtp7 installed. I have a sandisk mp3 player and it is detected fine. libmtp2 is not in the repos, as far as I can tell.

    Comment


      #3
      Re: MTP media device not seen at all?!?

      I checked, and libmtp6 seems to be installed on my system. Not libmtp7 though, which is not in the repos.
      Anyway, as libmtp6 IS on my pc, what should I try to make my player work with Linux? And is there a way to know for sure that libmtp6 is really installed well? I only tried to "sudo apt-get install" it, and the console replied
      Code:
      Reading state information... Done
      libmtp6 is already the newest version.
      libmtp6 set to manual installed.
      Any help greatly appreciated!

      Comment


        #4
        Re: MTP media device not seen at all?!?

        A couple things to check. My mp3 player has 2 modes, mtp and another mode called msc. You need to make sure you put your mp3 player in the correct mode before connecting. I'm not sure all players have multiple modes, but it's worth looking into. MTP mode should turn your player into a storage device, whereas msc is for connecting to music services like in amarok, etc.

        In my kde4 setup I usually see my player show up in Dolphin, in the Places panel. You could also check your /media directory or your /mnt directory.

        Comment


          #5
          Re: MTP media device not seen at all?!?

          Nate,
          My player has no MSC mode. It's purely MTP. And by the way, MSC (Media Storage Class) means that the device is seen as a regular detachable hard disk (like pen drives); this makes them more compatible but you loose the advantages of MTP libraries... Anyway I have no choice, I'm MTP only.
          And yes, I've checked in /media and /mnt - nothing there.

          Cristian

          Comment


            #6
            Re: MTP media device not seen at all?!?

            I managed to install libmtp. But still no player detection.
            This time when I type
            Code:
            mtp-detect
            I get:
            Code:
            cristian@A26:~$ mtp-detect
            libmtp version: 0.2.6.1
            
            Attempting to connect device(s)
            usb_claim_interface(): Operation not permitted
            LIBMTP PANIC: Unable to initialize device 1
            LIBMTP PANIC: configure_usb_devices() error code: 7 on line 1599
            Detect: There has been an error connecting. Exiting
            And of course the player isn't detected by Amarok or anywhere else.
            Any ideas?

            Cristian

            Comment


              #7
              Re: MTP media device not seen at all?!?

              Update - After following some advice at this link:http://www.anythingbutipod.com/forum...ighlight=mtpfs
              I was "sort of" able to connect. Now, mtp-detect doesn't fail straight away, but gives lots of output:
              Code:
              libmtp version: 0.2.6.1
              
              Attempting to connect device(s)
              PTP: Opening session
              Detect: Successfully connected 1 devices
              USB low-level info:
                Using kernel interface "usbfs"
                bcdUSB: 512
                bDeviceClass: 0
                bDeviceSubClass: 0
                bDeviceProtocol: 0
                idVendor: 04e8
                idProduct: 5083
                IN endpoint maxpacket: 512 bytes
                OUT endpoint maxpacket: 512 bytes
                Device flags: 0x00000008
              Microsoft device descriptor 0xee:
                  0000: 1203 4d00 5300 4600 5400 3100 3000 3000  ..M.S.F.T.1.0.0.
                  0010: 0100                   ..
              Device info:
                Manufacturer: SAMSUNG
                Model: P2
                Device version: 3.15
                Serial number: 9733107100006832CD309E05F0008F16
                Vendor extension ID: 0x00000006
                Vendor extension description: microsoft.com/WMPPD: 11.0;microsoft.com/WMDRMPD: 10.1;audible.com: 1.0;microsoft.com/WMPPD: 10.0;
                Detected object size: 64 bits
              Supported operations:
                1001: get device info
                1002: Open session
                1003: Close session
                1004: Get storage IDs
                1005: Get storage info
                1006: Get number of objects
                1007: Get object handles
                1008: Get object info
                1009: Get object
                100b: Delete object
                100c: Send object info
                100d: Send object
                100f: Format storage
                1010: Reset device
                1014: Get device property description
                1015: Get device property value
                1016: Set device property value
                9810: Get object references
                9811: Set object references
                9802: Get object property description
                9801: Get object properties supported
                9803: Get object property value
                9804: Set object property value
                9805: Get object property list
                9806: Set object property list
                101b: Get partial object
                9201: Report Added/Deleted Items
                9202: Report Acquired Items
                9101: Get secure time challenge
                9102: Get secure time response
                9103: Set license response
                9104: Get sync list
                9105: Send meter challenge query
                9106: Get meter challenge
                9107: Get meter response
                9108: Clean data store
                9109: Get license state
                910a: Send WMDRM-PD Command
                910b: Send WMDRM-PD Request
              Events supported:
                0x4004
                0x4005
              Device Properties Supported:
                0xd401: Synchronization Partner
                0xd402: Friendly Device Name
                0xd101: Secure Time
                0xd102: Device Certificate
              Playable File (Object) Types and Object Properties Supported:
                3001: Association/Directory
                 dc44: Name STRING data type GET/SET
                 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
                 dc04: ObjectSize UINT64 data type READ ONLY
                 dc07: ObjectFileName STRING data type GET/SET
                 dc09: DateModified STRING data type GET/SET
                 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
                 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
                 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
                 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
                 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
                 dc97: EffectiveRating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET
                 dc8a: Rating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET
                 dc91: UseCount UINT32 data type ANY 32BIT VALUE form GET/SET
                 d901: BuyFlag UINT8 data type ANY 8BIT VALUE form GET/SET
                 dc0d: Hidden UINT16 data type enumeration: 0, 1, GET/SET
                 dc9a: AlbumName STRING data type GET/SET
                3009: MP3
                 dc44: Name STRING data type GET/SET
                 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
                 dc04: ObjectSize UINT64 data type READ ONLY
                 dc07: ObjectFileName STRING data type GET/SET
                 dc09: DateModified STRING data type GET/SET
                 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
                 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
                 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
                 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
                 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
                 dc97: EffectiveRating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET
                 dc8a: Rating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET
                 dc91: UseCount UINT32 data type ANY 32BIT VALUE form GET/SET
                 d901: BuyFlag UINT8 data type ANY 8BIT VALUE form GET/SET
                 dc0d: Hidden UINT16 data type enumeration: 0, 1, GET/SET
                 dc89: Duration UINT32 data type range: MIN 0, MAX 10000000, STEP 1 GET/SET
                 de93: SampleRate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY
                 de9a: AudioBitRate UINT32 data type range: MIN 8000, MAX 320000, STEP 1 READ ONLY
                 de99: AudioWAVECodec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222, GET/SET
                 de94: NumberOfChannels UINT16 data type enumeration: 1, 2, GET/SET
                 de92: BitRateType UINT16 data type enumeration: 0, 1, 2, 3, GET/SET
                 dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET
                 dc99: OriginalReleaseDate STRING data type GET/SET
                 dc46: Artist STRING data type GET/SET
                 dc8c: Genre STRING data type GET/SET
                 dc9a: AlbumName STRING data type GET/SET
                 dc9b: AlbumArtist STRING data type GET/SET
                 dc42: SyncID STRING data type GET/SET
                b901: WMA
                 dc44: Name STRING data type GET/SET
                 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
                 dc04: ObjectSize UINT64 data type READ ONLY
                 dc07: ObjectFileName STRING data type GET/SET
                 dc09: DateModified STRING data type GET/SET
                 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
                 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
                 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
                 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
                 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
                 dc97: EffectiveRating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET
                 dc8a: Rating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET
                 dc91: UseCount UINT32 data type ANY 32BIT VALUE form GET/SET
                 d901: BuyFlag UINT8 data type ANY 8BIT VALUE form GET/SET
                 dc0d: Hidden UINT16 data type enumeration: 0, 1, GET/SET
                 dc89: Duration UINT32 data type range: MIN 0, MAX 10000000, STEP 1 GET/SET
                 de93: SampleRate UINT32 data type range: MIN 8000, MAX 48000, STEP 50 READ ONLY
                 de9a: AudioBitRate UINT32 data type range: MIN 5000, MAX 320000, STEP 1 READ ONLY
                 de99: AudioWAVECodec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222, GET/SET
                 de94: NumberOfChannels UINT16 data type enumeration: 1, 2, GET/SET
                 de92: BitRateType UINT16 data type enumeration: 0, 1, 2, 3, GET/SET
                 dc8b: Track UINT16 data type ANY 16BIT VALUE form GET/SET
                 dc99: OriginalReleaseDate STRING data type GET/SET
                 dc46: Artist STRING data type GET/SET
                 dc8c: Genre STRING data type GET/SET
                 dc9a: AlbumName STRING data type GET/SET
                 dc9b: AlbumArtist STRING data type GET/SET
                 dc42: SyncID STRING data type GET/SET
                3801: JPEG
                 dc44: Name STRING data type GET/SET
                 dc01: StorageID UINT32 data type ANY 32BIT VALUE form READ ONLY
                 dc04: ObjectSize UINT64 data type READ ONLY
                 dc07: ObjectFileName STRING data type GET/SET
                 dc09: DateModified STRING data type GET/SET
                 dc4f: NonConsumable UINT8 data type enumeration: 0, 1, GET/SET
                 dc02: ObjectFormat UINT16 data type ANY 16BIT VALUE form READ ONLY
                 dc0b: ParentObject UINT32 data type ANY 32BIT VALUE form READ ONLY
                 dc41: PersistantUniqueObjectIdentifier UINT128 data type READ ONLY
                 dc03: ProtectionStatus UINT16 data type enumeration: 0, 1, READ ONLY
                 dc97: EffectiveRating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET
                 dc8a: Rating UINT16 data type range: MIN 0, MAX 100, STEP 1 GET/SET
                 dc91: UseCount UINT32 data type ANY 32BIT VALUE form GET/SET
                 d901: BuyFlag UINT8 data type ANY 8BIT VALUE form GET/SET
                 dc0d: Hidden UINT16 data type enumeration: 0, 1, GET/SET
                 dc87: Width UINT32 data type range: MIN 1, MAX 480, STEP 1 GET/SET
                 dc88: Height UINT32 data type range: MIN 1, MAX 270, STEP 1 GET/SET
                b981: WMV
              
              [... Clipped to save space]
              
                 StorageDescription: Internal Storage
                 VolumeIdentifier: 9733107100006832CD309E05F0008F16
              Special directories:
                Default music folder: 0x20000003
                Default playlist folder: 0x20000007
                Default picture folder: 0x20000005
                Default video folder: 0x20000004
                Default organizer folder: 0x00000000
                Default zencast folder: 0x20000008
                Default album folder: 0x2000000f
                Default text folder: 0x20000006
              MTP-specific device properties:
                Friendly name: P2
                Synchronization partner: {A82C22BA-400E-4494-8AEE-1FCC134A10E5}
              libmtp supported (playable) filetypes:
                ISO MPEG-1 Audio Layer 3
                Microsoft Windows Media Audio
                JPEG file
                Microsoft Windows Media Video
                Microsoft Advanced Systems Format
                Firmware file
              
              Secure Time:
              <DRMCLOCK type="status"><VALUE>#20080404 15:36:04Z#</VALUE><FLAG>DRM_CLK_SET</FLAG></DRMCLOCK>AG></DRMCLOCK>
              
              [... Clipped]
              
              Device description WMPInfo.xml file:
              <DeviceInfo>
                <WMP DeviceID="{1B2BD4C5-B674-4FFC-8CC9-DE355ABC0742}" RelationshipID="{A82C22BA-400E-4494-8AEE-1FCC134A10E5}"/>
              </DeviceInfo>
              
              PTP: Closing session
              inep: usb_get_endpoint_status(): Connection timed out
              outep: usb_get_endpoint_status(): Connection timed out
              usb_clear_halt() on IN endpoint: Connection timed out
              usb_clear_halt() on OUT endpoint: Connection timed out
              usb_clear_halt() on INTERRUPT endpoint: Connection timed out
              OK.
              I can't make any sense of this. And still, the player's not seen by Amarok. Nor can it be found in /media or /mnt.

              Comment


                #8
                Re: MTP media device not seen at all?!?

                have you added a new udev rule for the device ?

                Comment


                  #9
                  Re: MTP media device not seen at all?!?

                  Yes, I have:

                  Code:
                  # Samsung YP-P2
                  ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="5083", SYMLINK+="libmtp-%k", MODE="666", GROUP="audio"

                  Comment

                  Working...
                  X