O dispositivo USB é reinicializado ao tentar executar o heimdall

0

Executando o heimdall 1.4.1 no Ubuntu 16.04LTS.

Quando tento baixar um arquivo PIT do meu dispositivo USB (um Samsung SM-P600), o dispositivo é redefinido e reconectado com o próximo número de dispositivo.

Alguma saída:

lance@kermit:~/Downloads/p600$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 138a:0050 Validity Sensors, Inc. Swipe Fingerprint Sensor
Bus 001 Device 003: ID 04f2:b40e Chicony Electronics Co., Ltd HP Truevision HD camera
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
****Bus 003 Device 034: ID 04e8:685d Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (Download mode)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lance@kermit:~/Downloads/p600$ sudo heimdall download-pit --output original.pit --no-reboot --verbose --usb-log-level debug
Heimdall v1.4.1

Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

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:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.002181] [0000140f] libusb: debug [libusb_get_device_list] 
[ 0.002202] [0000140f] libusb: debug [discovered_devs_append] need to increase capacity
[ 0.002217] [0000140f] libusb: debug [libusb_get_device_descriptor] 
[ 0.002219] [0000140f] libusb: debug [libusb_get_device_descriptor] 
[ 0.002220] [0000140f] libusb: debug [libusb_get_device_descriptor] 
[ 0.002223] [0000140f] libusb: debug [libusb_get_device_descriptor] 
[ 0.002224] [0000140f] libusb: debug [libusb_get_device_descriptor] 
[ 0.002225] [0000140f] libusb: debug [libusb_get_device_descriptor] 
[ 0.002226] [0000140f] libusb: debug [libusb_get_device_descriptor] 
[ 0.002228] [0000140f] libusb: debug [libusb_get_device_descriptor] 
[ 0.002231] [0000140f] libusb: debug [libusb_open] open 3.34
****[ 0.346036] [0000140f] libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/003/034: Input/output error
[ 0.346054] [0000140f] libusb: debug [libusb_open] open 3.34 returns -1
ERROR: Failed to access device. libusb error: -1
[ 0.346102] [0000140f] libusb: debug [libusb_exit] 
[ 0.346105] [0000140f] libusb: debug [libusb_exit] destroying default context
lance@kermit:~/Downloads/p600$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 138a:0050 Validity Sensors, Inc. Swipe Fingerprint Sensor
Bus 001 Device 003: ID 04f2:b40e Chicony Electronics Co., Ltd HP Truevision HD camera
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
****Bus 003 Device 035: ID 04e8:685d Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II] (Download mode)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub



lance@kermit:~/Downloads/p600$ tail -f /var/log/syslog
 ****Nov  9 17:04:50 kermit kernel: [721914.972583] usb 3-1: reset high-speed USB device number 34 using xhci_hcd**
Nov  9 17:04:50 kermit kernel: [721915.101175] usb 3-1: USB disconnect, device number 34
****Nov  9 17:04:50 kermit kernel: [721915.268464] usb 3-1: new high-speed USB device number 35 using xhci_hcd**
Nov  9 17:04:50 kermit mtp-probe: checking bus 3, device 35: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Nov  9 17:04:50 kermit mtp-probe: bus: 3, device: 35 was not an MTP device
Nov  9 17:04:50 kermit kernel: [721915.396848] usb 3-1: New USB device found, idVendor=04e8, idProduct=685d
Nov  9 17:04:50 kermit kernel: [721915.396851] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov  9 17:04:50 kermit kernel: [721915.396852] usb 3-1: Product: Gadget Serial
Nov  9 17:04:50 kermit kernel: [721915.396854] usb 3-1: Manufacturer: SAMSUNG

Minhas regras parecem estar corretas:

lance@kermit:~/Downloads/p600$ cat /lib/udev/rules.d/40-heimdall-flash.rules 
# Set ACLs for console users on Samsung Galaxy S devices

SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6601", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685d", TAG+="uaccess"
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="68c3", TAG+="uaccess"

Devido a este problema, não consigo baixar o arquivo PIT (ou, suspeito, fazer qualquer outra coisa com o heimdall). Este parece ser um erro USB / libusb.

Alguma opinião?

Obrigado!

    
por Lance Eck 10.11.2017 / 01:37

0 respostas