Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Unable to identify devices #71

@Srilatha-Mada-Bose

Description

@Srilatha-Mada-Bose

Hi,
I am trying to issue python adb.zip devices to find the devices and get the following error. I have installed the dependencies(libusb1, python-libusb1, python-rsa). I also had issues with installing M2Crypto. I am working on Windows10.
Error:
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 174, in run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "adb.zip_main
.py", line 178, in
File "adb.zip_main
.py", line 161, in main
File "adb.zip_main_.py", line 52, in Devices
File "adb.zip\adb\common.py", line 133, in serial_number
File "C:\Python27\lib\site-packages\usb1_init_.py", line 2040, in getSerialNumber
self.device_descriptor.iSerialNumber)
File "C:\Python27\lib\site-packages\usb1_init_.py", line 2017, in getASCIIStringDescriptor
return self.open().getASCIIStringDescriptor(descriptor)
File "C:\Python27\lib\site-packages\usb1_init
.py", line 2067, in open
mayRaiseUSBError(libusb1.libusb_open(self.device_p, byref(handle)))
File "C:\Python27\lib\site-packages\usb1_init_.py", line 133, in mayRaiseUSBError
_raiseUSBError(value)
File "C:\Python27\lib\site-packages\usb1_init
.py", line 125, in raiseUSBError
raise __STATUS_TO_EXCEPTION_DICT.get(value, __USBError)(value)
usb1.USBErrorNotSupported: LIBUSB_ERROR_NOT_SUPPORTED [-12]

I also installed winusb driver. Does this application work on windows?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions