On Mon, Jul 16, 2012 at 10:40 PM, Xiaofan Chen <xiaof...@gmail.com> wrote: > More information. > It seems to me pyusb libusb0 backend is trying to enumerate > the device but somehow does not finish the job properly under > Mac OS X. > > mymacmini:test xiaofanc$ export PYUSB_DEBUG_LEVEL=debug > mymacmini:test xiaofanc$ export LIBUSB_DEBUG=4 > mymacmini:test xiaofanc$ cat test_libusb0.py > #!/usr/bin/env python > # > import usb > import usb.backend.libusb0 > > for d in > usb.core.find(find_all=True,backend=usb.backend.libusb0.get_backend()): > print type(d) > dev = d._ctx.dev > print type(dev)
If I use the libusb1 backend, then everything is fine. mymacmini:test xiaofanc$ cat test_libusb1.py #!/usr/bin/env python # import usb import usb.backend.libusb1 for d in usb.core.find(find_all=True,backend=usb.backend.libusb1.get_backend()): print type(d) dev = d._ctx.dev print type(dev) mymacmini:test xiaofanc$ python test_libusb1.py [timestamp] [threadID] facility level [function call] <message> -------------------------------------------------------------------------------- [ 0.000003] [00001507] libusbx: debug [libusb_init] created default context [ 0.000033] [00001507] libusbx: debug [libusb_init] libusbx v1.0.12.10538 [ 0.000083] [0000010f] libusbx: debug [event_thread_main] creating hotplug event source [ 0.000563] [0000010f] libusbx: debug [event_thread_main] thread ready to receive events [ 0.000618] [00001507] libusbx: debug [usbi_add_pollfd] add fd 4 events 1 2012-07-16 22:41:15,166 DEBUG:usb.backend.libusb1:_LibUSB.enumerate_devices() [ 0.000894] [00001507] libusbx: debug [libusb_get_device_list] [ 0.003467] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfa000000 [ 0.003498] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.003506] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.003513] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.003519] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09 [ 0.003525] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.003532] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01 [ 0.003538] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40 [ 0.003545] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac [ 0.003551] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8006 [ 0.003557] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0200 [ 0.003563] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x02 [ 0.003569] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x01 [ 0.003576] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.003582] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.003605] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.003618] [00001507] libusbx: debug [process_new_device] found device with address 1 port = 0 parent = 0x7fa014002ca8 at 0x0 [ 0.004036] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfa100000 [ 0.004237] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.004250] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.004257] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.004263] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09 [ 0.004269] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.004276] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x02 [ 0.004282] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40 [ 0.004289] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x0424 [ 0.004295] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x2513 [ 0.004301] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0bb3 [ 0.004308] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x00 [ 0.004314] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x00 [ 0.004320] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.004326] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.004351] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.004360] [00001507] libusbx: debug [process_new_device] found device with address 2 port = 1 parent = 0x7fa014002ac8 at 0x7fa014002c10 [ 0.004715] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfa110000 [ 0.004874] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe000404f. sleeping for 30 ms before trying again [ 0.036158] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again [ 0.067636] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe000404f. sleeping for 30 ms before trying again [ 0.098328] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again [ 0.129925] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe000404f. sleeping for 30 ms before trying again [ 0.161561] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again [ 0.192350] [00001507] libusbx: debug [darwin_cache_device_descriptor] could not retrieve device descriptor 0a5c:4500: device not responding. skipping device [ 0.192473] [00001507] libusbx: debug [libusb_unref_device] destroy device 0.0 [ 0.193529] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfa120000 [ 0.194831] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.194869] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.194890] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.194909] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x00 [ 0.194926] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.194938] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00 [ 0.194949] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x08 [ 0.194960] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x04f2 [ 0.194972] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x0760 [ 0.194983] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0100 [ 0.194994] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01 [ 0.195006] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02 [ 0.195017] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.195028] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.195076] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.195098] [00001507] libusbx: debug [process_new_device] found device with address 4 port = 2 parent = 0x7fa014001fe8 at 0x7fa014002a30 [ 0.195913] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfa130000 [ 0.196250] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.196293] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.196315] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.196335] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09 [ 0.196366] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.196386] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01 [ 0.196406] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40 [ 0.196429] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05e3 [ 0.196445] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x0606 [ 0.196459] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0702 [ 0.196475] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x00 [ 0.196490] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x01 [ 0.196505] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.196522] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.196584] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.196607] [00001507] libusbx: debug [process_new_device] found device with address 5 port = 3 parent = 0x106b7a5f8 at 0x7fa014002a30 [ 0.197519] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfa113000 [ 0.197765] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe000404f. sleeping for 30 ms before trying again [ 0.229317] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again [ 0.260193] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe000404f. sleeping for 30 ms before trying again [ 0.291644] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again [ 0.322697] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe000404f. sleeping for 30 ms before trying again [ 0.353611] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe00002ed. sleeping for 30 ms before trying again [ 0.384754] [00001507] libusbx: warning [darwin_cache_device_descriptor] could not retrieve device descriptor 05ac:8281: device not responding. skipping device [ 0.384858] [00001507] libusbx: debug [libusb_unref_device] destroy device 0.0 [ 0.385935] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfa132000 [ 0.386706] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.386761] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.386780] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.386801] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x00 [ 0.386820] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.386836] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00 [ 0.386855] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40 [ 0.386867] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x045e [ 0.386878] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x0773 [ 0.386890] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0674 [ 0.386901] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01 [ 0.386912] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02 [ 0.386923] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.386934] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.386985] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.387005] [00001507] libusbx: debug [process_new_device] found device with address 6 port = 2 parent = 0x106b74a18 at 0x106b7a560 [ 0.387847] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfa133000 [ 0.388439] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.388463] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.388475] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.388487] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x00 [ 0.388498] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.388515] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00 [ 0.388536] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x08 [ 0.388552] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x04d8 [ 0.388571] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0xfa2e [ 0.388590] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0001 [ 0.388607] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01 [ 0.388624] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02 [ 0.388642] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x03 [ 0.388661] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.388722] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.388750] [00001507] libusbx: debug [process_new_device] found device with address 7 port = 3 parent = 0x7fa014002888 at 0x106b7a560 [ 0.389495] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfa131000 [ 0.390307] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.390333] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.390350] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.390365] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x00 [ 0.390378] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.390390] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00 [ 0.390400] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x08 [ 0.390409] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x046d [ 0.390418] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0xc054 [ 0.390427] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x5400 [ 0.390435] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01 [ 0.390444] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02 [ 0.390453] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.390462] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.390498] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.390512] [00001507] libusbx: debug [process_new_device] found device with address 9 port = 1 parent = 0x7fa014002948 at 0x106b7a560 [ 0.391001] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfd000000 [ 0.391035] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.391045] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.391054] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.391064] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09 [ 0.391072] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.391081] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01 [ 0.391090] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40 [ 0.391099] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac [ 0.391108] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8006 [ 0.391117] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0200 [ 0.391126] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x02 [ 0.391135] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x01 [ 0.391143] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.391152] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.391183] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.391195] [00001507] libusbx: debug [process_new_device] found device with address 1 port = 0 parent = 0x106b87c98 at 0x0 [ 0.391727] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfd100000 [ 0.391868] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.391890] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.391905] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.391920] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x09 [ 0.391932] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.391944] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x02 [ 0.391953] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40 [ 0.391962] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x0424 [ 0.391974] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x2513 [ 0.391983] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0bb3 [ 0.391991] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x00 [ 0.392000] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x00 [ 0.392009] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.392018] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.392053] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.392068] [00001507] libusbx: debug [discovered_devs_append] need to increase capacity [ 0.392087] [00001507] libusbx: debug [process_new_device] found device with address 2 port = 1 parent = 0x106b6efb8 at 0x106b87c00 [ 0.392697] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfd110000 [ 0.494305] [00001507] libusbx: debug [darwin_cache_device_descriptor] kernel responded with code: 0xe000404f. sleeping for 30 ms before trying again [ 0.539943] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.539979] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.539990] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.540002] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0x00 [ 0.540010] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x00 [ 0.540019] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x00 [ 0.540028] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x08 [ 0.540037] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x05ac [ 0.540045] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x8242 [ 0.540054] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0016 [ 0.540063] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01 [ 0.540072] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02 [ 0.540081] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.540090] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.540131] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.540145] [00001507] libusbx: debug [process_new_device] found device with address 3 port = 1 parent = 0x7fa014002a08 at 0x106b6ef20 [ 0.540819] [00001507] libusbx: debug [process_new_device] allocating new device for location 0xfd130000 [ 0.541560] [00001507] libusbx: debug [darwin_cache_device_descriptor] device descriptor: [ 0.541582] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDescriptorType: 0x01 [ 0.541592] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdUSB: 0x0200 [ 0.541601] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceClass: 0xef [ 0.541610] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceSubClass: 0x02 [ 0.541623] [00001507] libusbx: debug [darwin_cache_device_descriptor] bDeviceProtocol: 0x01 [ 0.541644] [00001507] libusbx: debug [darwin_cache_device_descriptor] bMaxPacketSize0: 0x40 [ 0.541658] [00001507] libusbx: debug [darwin_cache_device_descriptor] idVendor: 0x0ac8 [ 0.541669] [00001507] libusbx: debug [darwin_cache_device_descriptor] idProduct: 0x3420 [ 0.541681] [00001507] libusbx: debug [darwin_cache_device_descriptor] bcdDevice: 0x0100 [ 0.541693] [00001507] libusbx: debug [darwin_cache_device_descriptor] iManufacturer: 0x01 [ 0.541704] [00001507] libusbx: debug [darwin_cache_device_descriptor] iProduct: 0x02 [ 0.541715] [00001507] libusbx: debug [darwin_cache_device_descriptor] iSerialNumber: 0x00 [ 0.541728] [00001507] libusbx: debug [darwin_cache_device_descriptor] bNumConfigurations: 0x01 [ 0.541770] [00001507] libusbx: debug [darwin_check_configuration] active config: 1, first config: 1 [ 0.541787] [00001507] libusbx: debug [process_new_device] found device with address 4 port = 3 parent = 0x7fa014003228 at 0x106b6ef20 2012-07-16 22:41:15,708 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106d94cd0>) [ 0.542241] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,708 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106d94e10>) [ 0.542445] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,708 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106d94ed0>) [ 0.542631] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,709 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106d94f90>) [ 0.542936] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,709 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106d94fd0>) [ 0.543116] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,709 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106da3150>) [ 0.543274] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,709 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106da3210>) [ 0.543428] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,709 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106da32d0>) [ 0.543591] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,709 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106da3390>) [ 0.543744] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,710 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106da3450>) [ 0.543890] [00001507] libusbx: debug [libusb_get_device_descriptor] 2012-07-16 22:41:15,710 DEBUG:usb.backend.libusb1:_LibUSB.get_device_descriptor(<usb.backend.libusb1._Device object at 0x106da3510>) [ 0.544040] [00001507] libusbx: debug [libusb_get_device_descriptor] <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> <class 'usb.core.Device'> <class 'usb.backend.libusb1._Device'> [ 0.544229] [00001507] libusbx: debug [libusb_unref_device] destroy device 253.3 [ 0.544253] [00001507] libusbx: debug [libusb_unref_device] destroy device 253.2 [ 0.544274] [00001507] libusbx: debug [libusb_unref_device] destroy device 253.1 [ 0.544293] [00001507] libusbx: debug [libusb_unref_device] destroy device 250.9 [ 0.544311] [00001507] libusbx: debug [libusb_unref_device] destroy device 250.7 [ 0.544329] [00001507] libusbx: debug [libusb_unref_device] destroy device 250.6 [ 0.544347] [00001507] libusbx: debug [libusb_unref_device] destroy device 250.5 [ 0.544365] [00001507] libusbx: debug [libusb_unref_device] destroy device 250.4 [ 0.544384] [00001507] libusbx: debug [libusb_unref_device] destroy device 250.2 [ 0.544401] [00001507] libusbx: debug [libusb_unref_device] destroy device 250.1 [ 0.545897] [00001507] libusbx: debug [libusb_unref_device] destroy device 253.4 [ 0.546282] [00001507] libusbx: debug [libusb_exit] [ 0.546296] [00001507] libusbx: debug [libusb_exit] destroying default context -- Xiaofan ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users