<div>Dear All,</div><div><br></div><div>Thanks to the USB patch ( <a href="http://goo.gl/qc7ry" target="_blank">http://goo.gl/qc7ry</a> ) , I have a chance to try weather there is some way to use my usbkey on my Linux. After applying the patch and setting follow the wiki , I still fail to use my usbkey.As I know, the USB patch just work for a few devices, I wonther if my usbkey works too. If possible , I&#39;d like to help to test everything about the wine USB patch to make the usbkey works, also I need your help. Thank you very much :)</div>



<div><br></div><div>First of all, let&#39;s see something about the usbkey.</div><div><br></div><div>My usbkey is also called G&amp;D USB-Shield, it is required by ICBC persional internet banking while online trading. Unfortunately, ICBC website is IE-only, ActiveX and VBscript are required. </div>

<div>Here is the login entry: <a href="http://goo.gl/gWW7Q">http://goo.gl/gWW7Q</a></div><div>and the G&amp;D USB-Shield driver for Windows, <meta http-equiv="content-type" content="text/html; charset=utf-8">safesign_icbc_per.exe : <a href="http://goo.gl/LM588">http://goo.gl/LM588</a> ( from <a href="http://goo.gl/Ft4Ub">http://goo.gl/Ft4Ub</a>)</div>

<div><meta http-equiv="content-type" content="text/html; charset=utf-8">Infact, we don&#39;t have to login ICBC for testing the usbkey,because there is a tool called Token Administration Utility, it allow us manager the usbkey with a client program. After install the USB-Shield driver, we can see tokenadmin.exe in &quot;Program Files/ICBCEbankTools/G&amp;D/Management Utility&quot;, and that is the Token Administration Utility.</div>

<div>Here is the screenshot of tokenadmin.exe on Windows XP:  <a href="http://goo.gl/raKOm">http://goo.gl/raKOm</a></div><div>(Sorry for the Chinese in the screenshot, I don&#39;t know how to display English in a Chinese version Windows, if anyone know please tell me,</div>

<div>I will upload a new screenshot , thanks :)</div><div><br></div><div>Here is more infomation about the G&amp;B usbkey:</div><div>lsusb -v</div><div><a href="http://goo.gl/iOBW7" target="_blank">http://goo.gl/iOBW7</a></div>

<div><br></div><div>However, while installing G&amp;B usbkey driver on wine, something is wrong like below:</div><div>cannot start service &#39;SCardSvr&#39;:win error code:0x00000424</div><div><br></div><div>Now, here is the whole process:</div>

<div><br></div><div>My enviroment:</div><div>Ubuntu 10.10 x86_64;</div><div>wine1.3.11 from git;</div><div>Applying latest usb patch followed Wine USB wiki;</div><div>configure &amp; make &amp; install success, no error;</div>

<div><br></div><div>Step 1:</div><div><div>winetricks-alpha -q mfc42</div><div>winetricks-alpha -q crypt32</div><div>( mfc42 and native crypt32.dll are required to install safesign_icbc_per.exe )</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>

<br></div><div>Step 2:</div><div>wine &#39;safesign_icbc_per.exe&#39; </div></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">The full log is here : <a href="http://goo.gl/fpu3j" target="_blank">http://goo.gl/fpu3j</a></div>

<div><br></div><div>After this step, we can see the *.sys files:</div><div><div>~/.wine/drive_c/windows/system32/drivers$ ls</div><div>Chip_smc.sys  eps2kt1.sys   mountmgr.sys  usbic2k.sys</div><div>Chip_usb.sys  ic2kenum.sys  usbhub.sys</div>

</div><div><br></div><div>Step 3:</div><div>Follow the wiki, copy the regist key-value from Windows XP to WIne:</div><div>Here are all the reg files I imported: <a href="http://goo.gl/ZHXfo">http://goo.gl/ZHXfo</a></div>
<div>
<br></div><div>Step 4:</div><div>wine tokenadmin.exe </div><div>It will open a window without  useful information,unlike that in Windows XP , here is the screenshot: <a href="http://goo.gl/YPYtz">http://goo.gl/YPYtz</a></div>

<div>And here is the log:</div><div><div>wine tokenadmin.exe </div><div>fixme:winscard:SCardReleaseStartedEvent stub</div><div>fixme:winscard:SCardEstablishContext (2,(nil),(nil),0x32f2f4) stub</div><div>fixme:winscard:SCardEstablishContext (2,(nil),(nil),0x659130) stub</div>

</div><div><br></div><div><br></div><div>I have tryed to remove ~/.wine and copy the scardsvr.exe from Windows to wine system32 folder,then do all the thing again, but it seems not work, there is no difference.</div><div>

<br></div><div>Would you tell me what shall i do next ?</div><div><br></div><div>Thanks!</div><div><br></div><div>Best Wishes!</div><div><br></div><div><br></div><br>-- <br>Regards,<br>Qian Hong<br>-<br>Send from Ubuntu<br>

<a href="http://www.ubuntu.com/" target="_blank">http://www.ubuntu.com/</a><br>