this is the log with level 4 verbosity : [timestamp] [threadID] facility level [function call] <message> -------------------------------------------------------------------------------- [ 0.068004] [00000dfc] libusbx: debug [libusb_get_device_list] [ 0.072004] [000023cc] libusbx: debug [windows_clock_gettime_threaded] hires timer available (Frequency: 2857441 Hz) [ 0.074004] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [136] [ 0.074004] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [254] [ 0.074004] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [35C] [ 0.074004] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [3A2] [ 0.075004] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [AD] [ 0.075004] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [1B8] [ 0.087005] [00000dfc] libusbx: debug [get_api_type] driver(s): usbhub [ 0.087005] [00000dfc] libusbx: debug [get_api_type] matched driver name against HUB API API [ 0.087005] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [77] [ 0.087005] [00000dfc] libusbx: debug [get_api_type] driver(s): usbhub [ 0.088005] [00000dfc] libusbx: debug [get_api_type] matched driver name against HUB API API [ 0.088005] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [268] [ 0.088005] [00000dfc] libusbx: debug [get_api_type] driver(s): usbhub [ 0.088005] [00000dfc] libusbx: debug [get_api_type] matched driver name against HUB API API [ 0.088005] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [2B8] [ 0.089005] [00000dfc] libusbx: debug [get_api_type] driver(s): usbhub [ 0.089005] [00000dfc] libusbx: debug [get_api_type] matched driver name against HUB API API [ 0.089005] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [1BD] [ 0.090005] [00000dfc] libusbx: debug [get_api_type] driver(s): usbhub [ 0.090005] [00000dfc] libusbx: debug [get_api_type] matched driver name against HUB API API [ 0.090005] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [2A] [ 0.090005] [00000dfc] libusbx: debug [get_api_type] driver(s): usbhub [ 0.091005] [00000dfc] libusbx: debug [get_api_type] matched driver name against HUB API API [ 0.091005] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [228] [ 0.093005] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [77] (0.0) [ 0.093005] [00000dfc] libusbx: debug [init_device] (bus: 3, addr: 1, depth: 0, port: 0): '\\.\USB#ROOT_HUB#4&17C486D&0' [ 0.094005] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [268] (0.0) [ 0.094005] [00000dfc] libusbx: debug [init_device] (bus: 5, addr: 1, depth: 0, port: 0): '\\.\USB#ROOT_HUB#4&2821A223&0' [ 0.094005] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [2B8] (0.0) [ 0.094005] [00000dfc] libusbx: debug [init_device] (bus: 2, addr: 1, depth: 0, port: 0): '\\.\USB#ROOT_HUB#4&3644110B&0' [ 0.095005] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [1BD] (0.0) [ 0.095005] [00000dfc] libusbx: debug [init_device] (bus: 4, addr: 1, depth: 0, port: 0): '\\.\USB#ROOT_HUB#4&F9EB755&0' [ 0.095005] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [2A] (0.0) [ 0.095005] [00000dfc] libusbx: debug [init_device] (bus: 1, addr: 1, depth: 0, port: 0): '\\.\USB#ROOT_HUB20#2&2BC00B&1' [ 0.096005] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [228] (0.0) [ 0.096005] [00000dfc] libusbx: debug [init_device] (bus: 6, addr: 1, depth: 0, port: 0): '\\.\USB#ROOT_HUB20#4&F44A198&0' [ 0.096005] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [72] [ 0.096005] [00000dfc] libusbx: debug [init_device] found 1 configurations (active conf: 1) [ 0.109006] [00000dfc] libusbx: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes) [ 0.109006] [00000dfc] libusbx: debug [init_device] (bus: 4, addr: 2, depth: 1, port: 1): '\\.\USB#VID_0461&PID_4D81#5&29792A7&0&1' [ 0.110006] [00000dfc] libusbx: debug [windows_get_device_list] extra GUID: {80C98E21-B9CF-4BB5-B597-A17BFB2C1525} [ 0.110006] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [9C] [ 0.110006] [00000dfc] libusbx: debug [init_device] found 1 configurations (active conf: 1) [ 0.111006] [00000dfc] libusbx: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 39 bytes) [ 0.111006] [00000dfc] libusbx: debug [init_device] (bus: 6, addr: 3, depth: 1, port: 7): '\\.\USB#VID_0525&PID_A4A0#1_00000000' [ 0.111006] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [C3] [ 0.111006] [00000dfc] libusbx: debug [init_device] found 1 configurations (active conf: 1) [ 0.137008] [00000dfc] libusbx: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 693 bytes) [ 0.137008] [00000dfc] libusbx: debug [init_device] (bus: 6, addr: 2, depth: 1, port: 4): '\\.\USB#VID_093A&PID_2700#5&165678CE&0&4' [ 0.137008] [00000dfc] libusbx: debug [discovered_devs_append] need to increase capacity [ 0.138008] [00000dfc] libusbx: debug [windows_get_device_list] allocating new device for session [36B] [ 0.138008] [00000dfc] libusbx: debug [init_device] found 1 configurations (active conf: 1) [ 0.151008] [00000dfc] libusbx: debug [cache_config_descriptors] cached config descriptor 0 (bConfigurationValue=1, 34 bytes) [ 0.151008] [00000dfc] libusbx: debug [init_device] (bus: 4, addr: 3, depth: 1, port: 2): '\\.\USB#VID_413C&PID_2106#5&29792A7&0&2' [ 0.154009] [00000dfc] libusbx: debug [get_api_type] driver(s): HidUsb [ 0.154009] [00000dfc] libusbx: debug [get_api_type] matched driver name against HID API API [ 0.154009] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [72] (4.2) [ 0.155009] [00000dfc] libusbx: debug [get_api_type] driver(s): WinUSB [ 0.155009] [00000dfc] libusbx: debug [get_api_type] matched driver name against WinUSB API [ 0.155009] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [9C] (6.3) [ 0.155009] [00000dfc] libusbx: debug [get_api_type] driver(s): usbccgp [ 0.156009] [00000dfc] libusbx: debug [get_api_type] matched driver name against Composite API API [ 0.156009] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [C3] (6.2) [ 0.156009] [00000dfc] libusbx: debug [get_api_type] driver(s): HidUsb [ 0.156009] [00000dfc] libusbx: debug [get_api_type] matched driver name against HID API API [ 0.156009] [00000dfc] libusbx: debug [windows_get_device_list] found existing device for session [36B] (4.3) [ 0.158009] [00000dfc] libusbx: debug [windows_get_device_list] setting HID interface for [72]: [ 0.158009] [00000dfc] libusbx: debug [set_hid_interface] interface[0] = \\.\HID#VID_0461&PID_4D81#6&F9AFD2A&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030} [ 0.158009] [00000dfc] libusbx: debug [windows_get_device_list] setting HID interface for [36B]: [ 0.158009] [00000dfc] libusbx: debug [set_hid_interface] interface[0] = \\.\HID#VID_413C&PID_2106#6&1E7B4CE8&0&0000#{4D1E55B2-F16F-11CF-88CB-001111000030} [ 0.159009] [00000dfc] libusbx: debug [get_api_type] driver(s): WinUSB [ 0.159009] [00000dfc] libusbx: debug [get_api_type] matched driver name against WinUSB API [ 0.159009] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 1.0 [ 0.160009] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 2.0 [ 0.160009] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 3.0 [ 0.160009] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 4.0 [ 0.160009] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 5.0 [ 0.162009] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 6.0 [ 0.165009] [00000dfc] libusbx: debug [libusb_get_device_descriptor] 8086:27c9 (bus 3, device 1) [ 0.169009] [00000dfc] libusbx: debug [libusb_get_device_descriptor] 8086:27cb (bus 5, device 1) [ 0.173010] [00000dfc] libusbx: debug [libusb_get_device_descriptor] 8086:27c8 (bus 2, device 1) [ 0.177010] [00000dfc] libusbx: debug [libusb_get_device_descriptor] 8086:27ca (bus 4, device 1) [ 0.181010] [00000dfc] libusbx: debug [libusb_get_device_descriptor] 1414:0004 (bus 1, device 1) [ 0.185010] [00000dfc] libusbx: debug [libusb_get_device_descriptor] 8086:27cc (bus 6, device 1) [ 0.190011] [00000dfc] libusbx: debug [libusb_get_device_descriptor] 0461:4d81 (bus 4, device 2) [ 0.194011] [00000dfc] libusbx: debug [libusb_get_device_descriptor] 0525:a4a0 (bus 6, device 3) [ 0.198011] [00000dfc] libusbx: debug [libusb_open] open 6.3 [ 1.201068] [00000dfc] libusbx: debug [libusb_close] [ 2.201126] [00000dfc] libusbx: debug [libusb_open] open 6.3 [ 2.201126] [00000dfc] libusbx: error [winusbx_open] could not open device \\.\USB#VID_0525&PID_A4A0#1_00000000#{A5DCBF10-6530-11D2-901F-00C04FB951ED} (interface 0): [5] AccÞs refusÚ. [ 2.202126] [00000dfc] libusbx: debug [libusb_open] could not open device: LIBUSB_ERROR_ACCESS [ 3.204183] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 3.1 [ 3.204183] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 5.1 [ 3.206183] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 2.1 [ 3.208183] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 4.1 [ 3.210183] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 1.1 [ 3.212184] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 6.1 [ 3.214184] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 4.2 [ 3.216184] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 6.3 [ 3.218184] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 6.2 [ 3.220184] [00000dfc] libusbx: debug [libusb_unref_device] destroy device 4.3 [ 3.222184] [00000dfc] libusbx: debug [libusb_exit] [ 3.224184] [00000dfc] libusbx: debug [libusb_exit] destroying default context
Thanks for your help. Mohamed On Wed, Jan 2, 2013 at 9:45 AM, Xiaofan Chen <xiaof...@gmail.com> wrote: > On Wed, Jan 2, 2013 at 4:27 PM, Mohamed HAMZAOUI <requin...@gmail.com> wrote: >> Hi, >> I use libusb1.0.14/WinUSB (v6.1.7600.16385) >> This is a simple program which can reproduce the problem (output is in >> the last) : > > Thanks. I can try this program by myself later to see if I can > reproduce the issue. > >> libusb_set_debug(context, 3); > > Could you change 3 to 4 and then post the debug log? > > > > -- > Xiaofan > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > libusbx-devel mailing list > libusbx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/libusbx-devel ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel