[Samsung Epic 4G Touch] rmstock:
Heimdall 1.4.0 ERROR: Setting up interface failed!

Here's my troubles with heimdall 1.4.0 on Mandriva when trying to flash a Samsung Galaxy Ace GT-S5830i

[acer20:root]:(~)# heimdall version
v1.4.0
[acer20:root]:(~)# heimdall detect
Device detected
[acer20:root]:(~)# heimdall print-pit
Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:

Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...
libusbx: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
Releasing device interface...

[acer20:root]:(~)#
[acer20:root]:(~)# rpm -q -a | grep usb
x11-driver-video-sisusb-0.9.4-5-mdv2011.0.x86_64
lib64usbmuxd1-1.0.7-1-mdv2011.0.x86_64
usbmuxd-1.0.7-1-mdv2011.0.x86_64
usbutils-0.91-2-mdv2011.0.x86_64
lib64usb-compat0.1_4-0.1.3-5-mdv2011.0.x86_64
lib64usb-compat0.1-devel-0.1.3-5-mdv2011.0.x86_64
lib64usb-compat0.1-static-devel-0.1.3-5-mdv2011.0.x86_64
libusbx-devel-doc-1.0.14-1-mdv2011.0.noarch
lib64usbx1.0_0-1.0.14-1-mdv2011.0.x86_64
lib64usbx1.0-devel-1.0.14-1-mdv2011.0.x86_64
lib64usbx1.0-static-devel-1.0.14-1-mdv2011.0.x86_64
[acer20:root]:(~)# rpm -q -a | grep usbx
libusbx-devel-doc-1.0.14-1-mdv2011.0.noarch
lib64usbx1.0_0-1.0.14-1-mdv2011.0.x86_64
lib64usbx1.0-devel-1.0.14-1-mdv2011.0.x86_64
lib64usbx1.0-static-devel-1.0.14-1-mdv2011.0.x86_64
[acer20:root]:(~)# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 064e:a219 Suyin Corp.
Bus 001 Device 004: ID 046d:c05f Logitech, Inc.
Bus 001 Device 009: ID 04e8:685d Samsung Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 0489:e011 Foxconn / Hon Hai
[acer20:root]:(~)# heimdall print-pit --verbose --stdout-errors --usb-log-level debug
Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:

Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.000387] [00001303] libusbx: debug [libusb_get_device_list]
[ 0.000470] [00001303] libusbx: debug [sysfs_scan_device] scan usb1
[ 0.000587] [00001303] libusbx: debug [sysfs_scan_device] bus=1 dev=1
[ 0.000644] [00001303] libusbx: debug [enumerate_device] busnum 1 devaddr 1 session_id 257
[ 0.000665] [00001303] libusbx: debug [enumerate_device] allocating new device for 1/1 (session 257)
[ 0.000804] [00001303] libusbx: debug [sysfs_scan_device] scan usb2
[ 0.000939] [00001303] libusbx: debug [sysfs_scan_device] bus=2 dev=1
[ 0.000976] [00001303] libusbx: debug [enumerate_device] busnum 2 devaddr 1 session_id 513
[ 0.001006] [00001303] libusbx: debug [enumerate_device] allocating new device for 2/1 (session 513)
[ 0.001116] [00001303] libusbx: debug [sysfs_scan_device] scan 1-1
[ 0.001279] [00001303] libusbx: debug [sysfs_scan_device] bus=1 dev=2
[ 0.001318] [00001303] libusbx: debug [enumerate_device] busnum 1 devaddr 2 session_id 258
[ 0.001351] [00001303] libusbx: debug [enumerate_device] allocating new device for 1/2 (session 258)
[ 0.001417] [00001303] libusbx: debug [sysfs_scan_device] scan 2-1
[ 0.001552] [00001303] libusbx: debug [sysfs_scan_device] bus=2 dev=2
[ 0.001594] [00001303] libusbx: debug [enumerate_device] busnum 2 devaddr 2 session_id 514
[ 0.001619] [00001303] libusbx: debug [enumerate_device] allocating new device for 2/2 (session 514)
[ 0.001726] [00001303] libusbx: debug [sysfs_scan_device] scan 1-1.1
[ 0.001877] [00001303] libusbx: debug [sysfs_scan_device] bus=1 dev=3
[ 0.001920] [00001303] libusbx: debug [enumerate_device] busnum 1 devaddr 3 session_id 259
[ 0.001946] [00001303] libusbx: debug [enumerate_device] allocating new device for 1/3 (session 259)
[ 0.002059] [00001303] libusbx: debug [sysfs_scan_device] scan 1-1.2
[ 0.002248] [00001303] libusbx: debug [sysfs_scan_device] bus=1 dev=4
[ 0.002305] [00001303] libusbx: debug [enumerate_device] busnum 1 devaddr 4 session_id 260
[ 0.002332] [00001303] libusbx: debug [enumerate_device] allocating new device for 1/4 (session 260)
[ 0.002457] [00001303] libusbx: debug [sysfs_scan_device] scan 2-1.5
[ 0.002618] [00001303] libusbx: debug [sysfs_scan_device] bus=2 dev=3
[ 0.002662] [00001303] libusbx: debug [enumerate_device] busnum 2 devaddr 3 session_id 515
[ 0.002689] [00001303] libusbx: debug [enumerate_device] allocating new device for 2/3 (session 515)
[ 0.002822] [00001303] libusbx: debug [sysfs_scan_device] scan 1-1.4
[ 0.002905] [00001303] libusbx: debug [sysfs_scan_device] bus=1 dev=9
[ 0.002925] [00001303] libusbx: debug [enumerate_device] busnum 1 devaddr 9 session_id 265
[ 0.002942] [00001303] libusbx: debug [enumerate_device] allocating new device for 1/9 (session 265)
[ 0.003092] [00001303] libusbx: debug [libusb_get_device_descriptor]
[ 0.003183] [00001303] libusbx: debug [libusb_get_device_descriptor]
[ 0.003233] [00001303] libusbx: debug [libusb_get_device_descriptor]
[ 0.003277] [00001303] libusbx: debug [libusb_get_device_descriptor]
[ 0.003321] [00001303] libusbx: debug [libusb_get_device_descriptor]
[ 0.003375] [00001303] libusbx: debug [libusb_get_device_descriptor]
[ 0.003422] [00001303] libusbx: debug [libusb_get_device_descriptor]
[ 0.003479] [00001303] libusbx: debug [libusb_get_device_descriptor]
[ 0.003534] [00001303] libusbx: debug [libusb_unref_device] destroy device 1.1
[ 0.003569] [00001303] libusbx: debug [libusb_unref_device] destroy device 2.1
[ 0.003599] [00001303] libusbx: debug [libusb_unref_device] destroy device 1.2
[ 0.003620] [00001303] libusbx: debug [libusb_unref_device] destroy device 2.2
[ 0.003645] [00001303] libusbx: debug [libusb_unref_device] destroy device 1.3
[ 0.003670] [00001303] libusbx: debug [libusb_unref_device] destroy device 1.4
[ 0.003716] [00001303] libusbx: debug [libusb_unref_device] destroy device 2.3
[ 0.003739] [00001303] libusbx: debug [libusb_open] open 1.9
[ 0.003769] [00001303] libusbx: debug [op_open] opening /dev/bus/usb/001/009
[ 0.003838] [00001303] libusbx: debug [op_open] /dev/bus/usb/001/009: getcap not available
[ 0.003871] [00001303] libusbx: debug [usbi_add_pollfd] add fd 6 events 4
[ 0.003926] [00001303] libusbx: debug [libusb_get_device_descriptor]
[ 0.003991] [00001303] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.004076] [00001303] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.004115] [00001303] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 1.004045] [00001303] libusbx: debug [handle_events] poll() returned 1
[ 1.004136] [00001303] libusbx: debug [handle_events] timerfd triggered
[ 1.004335] [00001303] libusbx: debug [libusb_cancel_transfer]
[ 1.004427] [00001303] libusbx: debug [disarm_timerfd]
[ 1.004455] [00001303] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 1.004484] [00001303] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 1.004507] [00001303] libusbx: debug [handle_events] poll() returned 1
[ 1.004526] [00001303] libusbx: debug [reap_for_handle] urb type=2 status=-2 transferred=0
[ 1.004552] [00001303] libusbx: debug [handle_control_completion] handling completion status -2
[ 1.004578] [00001303] libusbx: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 1.004601] [00001303] libusbx: debug [disarm_timerfd]
[ 1.004620] [00001303] libusbx: debug [usbi_handle_transfer_completion] transfer 0x224fe18 has callback 0x7fe2470ebe50
[ 1.004640] [00001303] libusbx: debug [ctrl_transfer_cb] actual_length=0
[ 1.004687] [00001303] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 1.004725] [00001303] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 1.004755] [00001303] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 2.004741] [00001303] libusbx: debug [handle_events] poll() returned 1
[ 2.004857] [00001303] libusbx: debug [handle_events] timerfd triggered
[ 2.004910] [00001303] libusbx: debug [libusb_cancel_transfer]
[ 2.005102] [00001303] libusbx: debug [disarm_timerfd]
[ 2.005122] [00001303] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 2.005193] [00001303] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 2.005224] [00001303] libusbx: debug [handle_events] poll() returned 1
[ 2.005250] [00001303] libusbx: debug [reap_for_handle] urb type=2 status=-2 transferred=0
[ 2.005279] [00001303] libusbx: debug [handle_control_completion] handling completion status -2
[ 2.005301] [00001303] libusbx: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 2.005344] [00001303] libusbx: debug [disarm_timerfd]
[ 2.005357] [00001303] libusbx: debug [usbi_handle_transfer_completion] transfer 0x224fe18 has callback 0x7fe2470ebe50
[ 2.005381] [00001303] libusbx: debug [ctrl_transfer_cb] actual_length=0
[ 2.005418] [00001303] libusbx: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 2.005467] [00001303] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 2.005505] [00001303] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.005516] [00001303] libusbx: debug [handle_events] poll() returned 1
[ 3.005585] [00001303] libusbx: debug [handle_events] timerfd triggered
[ 3.005627] [00001303] libusbx: debug [libusb_cancel_transfer]
[ 3.005783] [00001303] libusbx: debug [disarm_timerfd]
[ 3.005812] [00001303] libusbx: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 3.005832] [00001303] libusbx: debug [handle_events] poll() 3 fds with timeout in 60000ms
[ 3.005852] [00001303] libusbx: debug [handle_events] poll() returned 1
[ 3.005887] [00001303] libusbx: debug [reap_for_handle] urb type=2 status=-2 transferred=0
[ 3.005906] [00001303] libusbx: debug [handle_control_completion] handling completion status -2
[ 3.005934] [00001303] libusbx: debug [usbi_handle_transfer_cancellation] detected timeout cancellation
[ 3.005956] [00001303] libusbx: debug [disarm_timerfd]
[ 3.005973] [00001303] libusbx: debug [usbi_handle_transfer_completion] transfer 0x224fe18 has callback 0x7fe2470ebe50
[ 3.006001] [00001303] libusbx: debug [ctrl_transfer_cb] actual_length=0

length: 18
device class: 2
S/N: 3
VID:PID: 04E8:685D
bcdDevice: 0001
iMan:iProd:iSer: 2:1:3
nb confs: 1
[ 3.006121] [00001303] libusbx: debug [libusb_get_config_descriptor] index 0

interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 83
max packet size: 0040
polling interval: 05

interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 20
endpoint[1].address: 02
max packet size: 0200
polling interval: 20
Claiming interface...
[ 3.006520] [00001303] libusbx: debug [libusb_claim_interface] interface 1
Setting up interface...
[ 3.006586] [00001303] libusbx: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0
[ 8.006331] [00001303] libusbx: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
ERROR: Setting up interface failed!
Releasing device interface...
[ 8.006488] [00001303] libusbx: debug [libusb_release_interface] interface 1

[ 8.006556] [00001303] libusbx: debug [libusb_close]
[ 8.006585] [00001303] libusbx: debug [usbi_remove_pollfd] remove fd 6
[ 8.006624] [00001303] libusbx: debug [libusb_unref_device] destroy device 1.9
[ 8.006657] [00001303] libusbx: debug [libusb_exit]
[ 8.006708] [00001303] libusbx: debug [libusb_exit] destroying default context
[acer20:root]:(~)#