{"action":"created","issue":{"url":"https://api.github.com/repos/libyal/libsmdev/issues/2","repository_url":"https://api.github.com/repos/libyal/libsmdev","labels_url":"https://api.github.com/repos/libyal/libsmdev/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/libyal/libsmdev/issues/2/comments","events_url":"https://api.github.com/repos/libyal/libsmdev/issues/2/events","html_url":"https://github.com/libyal/libsmdev/issues/2","id":142274170,"number":2,"title":"make more error tollerant","user":{"login":"joachimmetz","id":3888750,"avatar_url":"https://avatars.githubusercontent.com/u/3888750?v=3","gravatar_id":"","url":"https://api.github.com/users/joachimmetz","html_url":"https://github.com/joachimmetz","followers_url":"https://api.github.com/users/joachimmetz/followers","following_url":"https://api.github.com/users/joachimmetz/following{/other_user}","gists_url":"https://api.github.com/users/joachimmetz/gists{/gist_id}","starred_url":"https://api.github.com/users/joachimmetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joachimmetz/subscriptions","organizations_url":"https://api.github.com/users/joachimmetz/orgs","repos_url":"https://api.github.com/users/joachimmetz/repos","events_url":"https://api.github.com/users/joachimmetz/events{/privacy}","received_events_url":"https://api.github.com/users/joachimmetz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libyal/libsmdev/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"joachimmetz","id":3888750,"avatar_url":"https://avatars.githubusercontent.com/u/3888750?v=3","gravatar_id":"","url":"https://api.github.com/users/joachimmetz","html_url":"https://github.com/joachimmetz","followers_url":"https://api.github.com/users/joachimmetz/followers","following_url":"https://api.github.com/users/joachimmetz/following{/other_user}","gists_url":"https://api.github.com/users/joachimmetz/gists{/gist_id}","starred_url":"https://api.github.com/users/joachimmetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joachimmetz/subscriptions","organizations_url":"https://api.github.com/users/joachimmetz/orgs","repos_url":"https://api.github.com/users/joachimmetz/repos","events_url":"https://api.github.com/users/joachimmetz/events{/privacy}","received_events_url":"https://api.github.com/users/joachimmetz/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-21T07:21:46Z","updated_at":"2016-04-08T11:45:34Z","closed_at":null,"body":"In combination with libewf don't make this error blocking:\r\n```\r\nDevice information:\r\nUnable to print media information.\r\nlibsmdev_string_trim_copy_from_byte_stream: string too small.\r\nlibsmdev_internal_handle_determine_media_information: unable to set serial number.\r\nlibsmdev_handle_get_bus_type: unable to determine media information.\r\ndevice_handle_media_information_fprint: unable to retrieve bus type.\r\nUnable to retrieve media type from device.\r\nlibsmdev_string_trim_copy_from_byte_stream: string too small.\r\nlibsmdev_internal_handle_determine_media_information: unable to set serial number.\r\nlibsmdev_handle_get_media_type: unable to determine media information.\r\ndevice_handle_get_media_type: unable to retrieve media type.\r\n```"},"comment":{"url":"https://api.github.com/repos/libyal/libsmdev/issues/comments/207396359","html_url":"https://github.com/libyal/libsmdev/issues/2#issuecomment-207396359","issue_url":"https://api.github.com/repos/libyal/libsmdev/issues/2","id":207396359,"user":{"login":"eoyslebo","id":1457947,"avatar_url":"https://avatars.githubusercontent.com/u/1457947?v=3","gravatar_id":"","url":"https://api.github.com/users/eoyslebo","html_url":"https://github.com/eoyslebo","followers_url":"https://api.github.com/users/eoyslebo/followers","following_url":"https://api.github.com/users/eoyslebo/following{/other_user}","gists_url":"https://api.github.com/users/eoyslebo/gists{/gist_id}","starred_url":"https://api.github.com/users/eoyslebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eoyslebo/subscriptions","organizations_url":"https://api.github.com/users/eoyslebo/orgs","repos_url":"https://api.github.com/users/eoyslebo/repos","events_url":"https://api.github.com/users/eoyslebo/events{/privacy}","received_events_url":"https://api.github.com/users/eoyslebo/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T11:45:33Z","updated_at":"2016-04-08T11:45:33Z","body":"Same issue with Kingston Datatraveller thumb drive:\r\n\r\nBus 001 Device 004: ID 0951:1666 Kingston Technology\r\nDevice Descriptor:\r\n  bLength                18\r\n  bDescriptorType         1\r\n  bcdUSB               2.10\r\n  bDeviceClass            0 (Defined at Interface level)\r\n  bDeviceSubClass         0\r\n  bDeviceProtocol         0\r\n  bMaxPacketSize0        64\r\n  idVendor           0x0951 Kingston Technology\r\n  idProduct          0x1666\r\n  bcdDevice            1.00\r\n  iManufacturer           1 Kingston\r\n  iProduct                2 DataTraveler 3.0\r\n  iSerial                 3 644ABEA1B35E60A44CB42739\r\n  bNumConfigurations      1\r\n  Configuration Descriptor:\r\n    bLength                 9\r\n    bDescriptorType         2\r\n    wTotalLength           32\r\n    bNumInterfaces          1\r\n    bConfigurationValue     1\r\n    iConfiguration          0\r\n    bmAttributes         0x80\r\n      (Bus Powered)\r\n    MaxPower              300mA\r\n    Interface Descriptor:\r\n      bLength                 9\r\n      bDescriptorType         4\r\n      bInterfaceNumber        0\r\n      bAlternateSetting       0\r\n      bNumEndpoints           2\r\n      bInterfaceClass         8 Mass Storage\r\n      bInterfaceSubClass      6 SCSI\r\n      bInterfaceProtocol     80 Bulk-Only\r\n      iInterface              0\r\n      Endpoint Descriptor:\r\n        bLength                 7\r\n        bDescriptorType         5\r\n        bEndpointAddress     0x81  EP 1 IN\r\n        bmAttributes            2\r\n          Transfer Type            Bulk\r\n          Synch Type               None\r\n          Usage Type               Data\r\n        wMaxPacketSize     0x0200  1x 512 bytes\r\n        bInterval               0\r\n      Endpoint Descriptor:\r\n        bLength                 7\r\n        bDescriptorType         5\r\n        bEndpointAddress     0x02  EP 2 OUT\r\n        bmAttributes            2\r\n          Transfer Type            Bulk\r\n          Synch Type               None\r\n          Usage Type               Data\r\n        wMaxPacketSize     0x0200  1x 512 bytes\r\n        bInterval               0\r\nBinary Object Store Descriptor:\r\n  bLength                 5\r\n  bDescriptorType        15\r\n  wTotalLength           22\r\n  bNumDeviceCaps          2\r\n  USB 2.0 Extension Device Capability:\r\n    bLength                 7\r\n    bDescriptorType        16\r\n    bDevCapabilityType      2\r\n    bmAttributes   0x00000006\r\n      Link Power Management (LPM) Supported\r\n  SuperSpeed USB Device Capability:\r\n    bLength                10\r\n    bDescriptorType        16\r\n    bDevCapabilityType      3\r\n    bmAttributes         0x00\r\n    wSpeedsSupported   0x000e\r\n      Device can operate at Full Speed (12Mbps)\r\n      Device can operate at High Speed (480Mbps)\r\n      Device can operate at SuperSpeed (5Gbps)\r\n    bFunctionalitySupport   2\r\n      Lowest fully-functional device speed is High Speed (480Mbps)\r\n    bU1DevExitLat          10 micro seconds\r\n    bU2DevExitLat        2047 micro seconds\r\nDevice Status:     0x0000\r\n  (Bus Powered)"}}