Coder Social home page Coder Social logo

hsmtp's People

Contributors

joachifm avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

muratozsoyler

hsmtp's Issues

calling getSupportedFileTypes causes segmentation fault

Hello! I'm trying to use your mtp lib.

It's ok, but calling getSupportedFileTypes causes segmentation fault. Other functions from Device management section work fine.

Prelude MTP> MTP.init
Loading package filepath-1.1.0.3 ... linking ... done.
Loading package unix-2.4.0.0 ... linking ... done.
Loading package mtp-0.1.1.1 ... linking ... done.

Prelude MTP> MTP.withFirstDevice MTP.getDeviceVersion
Device 0 (VID=041e and PID=4157) is a Creative ZEN.
ignoring usb_claim_interface = -16ignoring usb_claim_interface = -22PTP_ERROR_IO: Trying again after re-initializing USB interface
inep: usb_get_endpoint_status(): Device or resource busy
outep: usb_get_endpoint_status(): Device or resource busy
usb_clear_halt() on IN endpoint: Device or resource busy
usb_clear_halt() on OUT endpoint: Device or resource busy
usb_clear_halt() on INTERRUPT endpoint: Device or resource busy
"1.21.03_0.03.01"

Prelude MTP> MTP.withFirstDevice MTP.getManufacturerName
Device 0 (VID=041e and PID=4157) is a Creative ZEN.
"Creative Technology Ltd"

Prelude MTP> MTP.withFirstDevice MTP.getModelName
Device 0 (VID=041e and PID=4157) is a Creative ZEN.
"Creative ZEN"

Also getFoulderList behaves in a strange way:

Prelude> MTP.withFirstDevice MTP.getFolderList
Device 0 (VID=041e and PID=4157) is a Creative ZEN.
Prelude>

But there are some folders on device.

I'm using Ubuntu 10.04, GHCi version 6.12.1, libmtp version 1.0.2-1ubuntu1, MTP version 0.1.1.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.