| 
      
      
      From: Dan E. <Dan...@ne...> - 2006-05-19 12:32:47
      
     | 
| You should only be trying to set the configuration using usb_set_configuration, doing using usb_control_msg could potentially bypass the USB stack and cause problems. Dan. Fouzi Belhadj wrote: > Hi Stephan, >=20 > Thank you for your quick answer ! >=20 > I'm trying to run my program with the last release of the > libusb-win32 and the problem still happens !=20 > I tried also to send a set_configuration to an other device, the > program freeze too (with an USB keyboard ).=20 > The problem happens also when I try to set configuration with > usb_control_msg.=20 >=20 > Regards. >=20 > Fouzi >=20 >=20 >> The current CVS version should fix this problem. >> For your convenience, I just released a new development snapshot. >> See: >> http://sourceforge.net/project/showfiles.php?group_id=3D78138&package_id >> =3D121441&release_id=3D417945 =20 >>=20 >> Please let me know if it works or not. >>=20 >> Stephan >>=20 >>=20 >>> Hi, >>>=20 >>> I'm trying to write a little program to communicate with a USB >>> device (ChipCard Reader) through the libusb-win32.First, I tried to >>> send a usb_bulk_write message without setting configuration, I had a >>> "invalid configuration -1" error; so I tried to set configuration >>> with bConfigurationValue before sending the bulk message but when I >>> run the program, it freeze totally until I detach the device >>> physically or reboot the computer ! I tried also to set >>> configuration with other values, the program doesn't freeze but I >>> had a "wrong parameter" error.=20 >>>=20 >>> thank you for your help in advance. >>>=20 >>> Fouzi Belhadj >=20 >=20 >=20 > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security?=20 > Get stuff done quickly with pre-integrated technology to make your > job easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > _______________________________________________ =20 > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel |