Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
On Mon, Jan 17, 2011 at 9:10 PM, Saulius Krasuckas wrote: > You should open new bug for this, I guess. > Just filed an issue: http://bugs.winehq.org/show_bug.cgi?id=25784 > Well, IIRC the USB patch you mentioned isn't officially supported by Wine > (for now), so you could ask it's author Alexander Morozov and then Wine > headquarters (here or on IRC) on how to integrate it public way (if > possible in short run at all). > > This would probably lead to several or even more additional bug reports. Thanks for your suggestion! -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
* On Mon, 17 Jan 2011, Qian Hong wrote: > > Dear all, after replacing winscard.dll by native windows dll and > setting the native winscard.dll by default with winecfg, > I got a new result,Screenshot here: http://goo.gl/7gWbt , > this is the same as that the regist is modified in Windows XP: > http://goo.gl/VNn2N Thanks for investigation:) You should open new bug for this, I guess. > wine tokenadmin.exe > > fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x > fixme:wtsapi:WTSQuerySessionInformationA Stub (nil) 0x 8 > 0x32f2c4 0x32f2c0 > fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x > fixme:win:RegisterDeviceNotificationA (hwnd=0x20072, > filter=0xe8e9c4,flags=0x) returns a fake device notification > handle! > fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x > fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x > fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x > fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB! ... > After using native wtsapi32.dll and winsta.dll, there is no > fixme:wtsapi message. It seems these fixmes are harmless, so none of these two overrides should be needed. This should be verified only after fixing previous stuff, IMHO. > $ wine tokenadmin.exe > fixme:win:RegisterDeviceNotificationA (hwnd=0x10090, > filter=0xe8e9c4,flags=0x) returns a fake device notification > handle! > fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB! > > I know that the native user32.dll is not compatible with wine. I'm > afraid that I have no idea now. What's not working now with this configuration for you? Probably could be reported with via separate bugreport:) > But if possible, I'll be gladly to help to test everything about wine > usb supporting. Well, IIRC the USB patch you mentioned isn't officially supported by Wine (for now), so you could ask it's author Alexander Morozov and then Wine headquarters (here or on IRC) on how to integrate it public way (if possible in short run at all). This would probably lead to several or even more additional bug reports. S.
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
> I have winedumped all the .sys files and tared them together here: > http://goo.gl/bEu03 Drivers import smclib.sys and wmilib.sys which are not implemented. And I doubt that they will be implemented soon (or ever). Also winscard way seems to me to be more right in this case.
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
After using native wtsapi32.dll and winsta.dll, there is no fixme:wtsapi message. $ wine tokenadmin.exe fixme:win:RegisterDeviceNotificationA (hwnd=0x10090, filter=0xe8e9c4,flags=0x) returns a fake device notification handle! fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB! I know that the native user32.dll is not compatible with wine. I'm afraid that I have no idea now. But if possible, I'll be gladly to help to test everything about wine usb supporting. Best wishes! On Mon, Jan 17, 2011 at 2:35 AM, Qian Hong wrote: > Dear all, after replacing winscard.dll by native windows dll and > setting the native winscard.dll by default with winecfg, -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
Dear all, after replacing winscard.dll by native windows dll and setting the native winscard.dll by default with winecfg, I got a new result,Screenshot here: http://goo.gl/7gWbt , this is the same as that the regist is modified in Windows XP: http://goo.gl/VNn2N Here is the log: wine tokenadmin.exe fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x fixme:wtsapi:WTSQuerySessionInformationA Stub (nil) 0x 8 0x32f2c4 0x32f2c0 fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x fixme:win:RegisterDeviceNotificationA (hwnd=0x20072, filter=0xe8e9c4,flags=0x) returns a fake device notification handle! fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x fixme:wtsapi:WTSRegisterSessionNotification Stub 0x50086 0x fixme:win:UnregisterDeviceNotification (handle=0xcafecafe), STUB! Best Wishes! -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
On Sun, Jan 16, 2011 at 8:37 PM, Qian Hong wrote: > Regist modifyed: http://goo.gl/VNn2N sorry,the one above is wrong, and this is write: http://goo.gl/P56PH > scardsvr.exe killed: http://goo.gl/UcYxp > > Here are all the reg files I imported: > http://goo.gl/z1v1q there are also a new version: http://goo.gl/JXqwW Very sorry for waste your time! -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
On Sun, Jan 16, 2011 at 8:16 PM, Stefan Dösinger wrote: >> http://goo.gl/BGIbl > I can't access these screenshots. I'm not sure how you shared them, but > please keep in mind that wine-devel is not a google group, so giving read > access to "wine-devel@winehq.org" won't allow anyone to access the images. > Oh, I'm so sorry for my foolish mistake... I fogot to set them public ,so no one can access them ... I think they are available to download now.Would you please forgive me for my mistake and try them again ? Screenshots: Normal: http://goo.gl/BGIbl Regist modifyed: http://goo.gl/VNn2N scardsvr.exe killed: http://goo.gl/UcYxp Here are all the reg files I imported: http://goo.gl/z1v1q And the winedump output: http://goo.gl/bEu03 Sorry again! > My completely uneducated guess is that the winscard wrapper needs a (stub) > implementation of scardsvr.exe. I don't know which services it offers. -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 16.01.2011 um 12:30 schrieb Qian Hong: > http://goo.gl/BGIbl I can't access these screenshots. I'm not sure how you shared them, but please keep in mind that wine-devel is not a google group, so giving read access to "wine-devel@winehq.org" won't allow anyone to access the images. My completely uneducated guess is that the winscard wrapper needs a (stub) implementation of scardsvr.exe. I don't know which services it offers. -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) iQIcBAEBAgAGBQJNMuGaAAoJEN0/YqbEcdMwO0IP/iWm/yLVGUbTfHhmKBoV9yi9 EAJq1orn12ox38v43kJdsFCJjb0Yq8XEIFcBtWWt4gPsjO6O6Gc/AcK5lWRL70c2 lAGN0ekz+e0k7QczJdZMQNWjn7v+R6TI3Y8tGJN1j3IDBdzVzTBPcDORK5KE2t5e uD0KFBHPCFsQjiDgYqSgwiWscV/a6Z4cgs1gGAIjIgNBldy6T/42EKBurZqqBCnt UbjUIHiss3CNWMzKQ/5vi25jxGlCrt7MtEP5TNEOAP8+wqMb9E9lXLBcHn19L/MH 33PLjZI7x0zfPqZiCG9gB4L2DYPXwotv09To63E5uYQd3gtZ+hl734om2SCcdR0Z /lDAILdw3LZ1xC+RVvdvcZYaE0G7c0d9hzEUB9jO38Aiwz1bg80Xqy99scaxIKRH xC67vkE0OiaOuahrcnYoYz6qqggltysZkgJqbl5og8TFrDtAY0pnl97CT/DM3DHl B3XO8umb3Gl4T9JX9Wo7WRMBlROaBqw+3rbw1UVkpPk2vyabBWziLur06L/S+e3Q TIDpndfU4pUUWu3cGlSp3QEVLbqGQlG9+dip4oyfFsJ6w0DkI0hDeaglkiQHl9V+ AVhUfyL2CzBiK55dSMQqpjr+7eFt2lIaYBPC340b5F7Klfu/ymjsGRzJ+yMLQSeP dRPpB1sIouCCVhWuuPcU =vbGP -END PGP SIGNATURE-
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
Dear Alexander, thanks for you suggestion, after apply the patch, there is no fixme messages from winscard, but tokenadmin.exe still don't work. I know there are still a lot of work to be done, just a report. Best wishes! On Sun, Jan 16, 2011 at 1:04 AM, Alexander Morozov wrote: > In tokenadmin.exe output there are fixme:winscard: messages. May be this patch > can be useful: > http://www.idrix.fr/Root/SCard4Wine/winscard.tar.gz -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
Dear all, After some tests, I founld that scardsvr.exe is very important for execute tokenadmiin.exe . When I run tokenadmin.exe in Windows XP, the screenshot is like this: http://goo.gl/BGIbl If I modify the rigist HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SCardSvr manually, set the "Start" value as 4, then restart XP, the tokenadmin will not work, the screenshot is like this one: http://goo.gl/VNn2N If I set the "Start" value from 4 back to 2 then reboot again, then tokenadmin will work again. But if I kill scardsvr.exe in taskmgr, then tokenadmin will not work at all, here is another screenshot, unlike the first one: http://goo.gl/UcYxp I wonder weather there is some way to get scardsvr.exe work on wine? Thanks very much! Best wishes! -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
> Dear Juan Lang, I have posted a bug, but I'm not sure weather it is > duplicated,would you please have a look? I believe it's not a dup. Thanks for filing the bug. --Juan
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
Dear Juan Lang, I have posted a bug, but I'm not sure weather it is duplicated,would you please have a look? http://goo.gl/1Cm5v Thanks. On Sun, Jan 16, 2011 at 1:00 AM, Juan Lang wrote: > mfc42 is outside of Wine's scope, but crypt32 is not. Have you opened > a bug for this? -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
Dear Juan Lang, On Sun, Jan 16, 2011 at 1:00 AM, Juan Lang wrote: > > Please note that getting support for unofficial patches on this list > is a little iffy. Mostly, you're on your own. > I know that , so thanks very much for your reply. > > mfc42 is outside of Wine's scope, but crypt32 is not. Have you opened > a bug for this? I'll opened a bug soon, thanks! -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
Dear Alexander, thanks for reply, On Sun, Jan 16, 2011 at 1:04 AM, Alexander Morozov wrote: > Hi, > > Can you show an output of winedump -x for installed drivers? > > ~/.wine/drive_c/windows/system32/drivers$ ls Chip_smc.sys eps2kt1.sys mountmgr.sys usbic2k.sys Chip_usb.sys ic2kenum.sys usbhub.sys winedump -x Chip_smc.sys > Chip_smc.sys.log ... I have winedumped all the .sys files and tared them together here: http://goo.gl/bEu03 Hopes it helps . Do I need to winedump other files? > In okenadmin.exe output there are fixme:winscard: messages. May be this > patch > can be useful: > http://www.idrix.fr/Root/SCard4Wine/winscard.tar.gz > Thank you very much, I will try it later. -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
Hi, Can you show an output of winedump -x for installed drivers? In okenadmin.exe output there are fixme:winscard: messages. May be this patch can be useful: http://www.idrix.fr/Root/SCard4Wine/winscard.tar.gz Thanks, Alexander
Re: Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
Please note that getting support for unofficial patches on this list is a little iffy. Mostly, you're on your own. > Step 1: > winetricks-alpha -q mfc42 > winetricks-alpha -q crypt32 > ( mfc42 and native crypt32.dll are required to install safesign_icbc_per.exe > ) mfc42 is outside of Wine's scope, but crypt32 is not. Have you opened a bug for this? > wine tokenadmin.exe > fixme:winscard:SCardReleaseStartedEvent stub > fixme:winscard:SCardEstablishContext (2,(nil),(nil),0x32f2f4) stub > fixme:winscard:SCardEstablishContext (2,(nil),(nil),0x659130) stub winscard.dll is a stub in Wine. There is an unsupported version out there by Mounir Idrassi that might help. --Juan
Fail to use USB-Key/USB-Shield with wine USB patch :cannot start service 'SCardSvr':win error code:0x00000424
Dear All, Thanks to the USB patch ( http://goo.gl/qc7ry ) , 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'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 :) First of all, let's see something about the usbkey. My usbkey is also called G&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. Here is the login entry: http://goo.gl/gWW7Q and the G&D USB-Shield driver for Windows, safesign_icbc_per.exe : http://goo.gl/LM588 ( from http://goo.gl/Ft4Ub) Infact, we don'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 "Program Files/ICBCEbankTools/G&D/Management Utility", and that is the Token Administration Utility. Here is the screenshot of tokenadmin.exe on Windows XP: http://goo.gl/raKOm (Sorry for the Chinese in the screenshot, I don't know how to display English in a Chinese version Windows, if anyone know please tell me, I will upload a new screenshot , thanks :) Here is more infomation about the G&B usbkey: lsusb -v http://goo.gl/iOBW7 However, while installing G&B usbkey driver on wine, something is wrong like below: cannot start service 'SCardSvr':win error code:0x0424 Now, here is the whole process: My enviroment: Ubuntu 10.10 x86_64; wine1.3.11 from git; Applying latest usb patch followed Wine USB wiki; configure & make & install success, no error; Step 1: winetricks-alpha -q mfc42 winetricks-alpha -q crypt32 ( mfc42 and native crypt32.dll are required to install safesign_icbc_per.exe ) Step 2: wine 'safesign_icbc_per.exe' The full log is here : http://goo.gl/fpu3j After this step, we can see the *.sys files: ~/.wine/drive_c/windows/system32/drivers$ ls Chip_smc.sys eps2kt1.sys mountmgr.sys usbic2k.sys Chip_usb.sys ic2kenum.sys usbhub.sys Step 3: Follow the wiki, copy the regist key-value from Windows XP to WIne: Here are all the reg files I imported: http://goo.gl/ZHXfo Step 4: wine tokenadmin.exe It will open a window without useful information,unlike that in Windows XP , here is the screenshot: http://goo.gl/YPYtz And here is the log: wine tokenadmin.exe fixme:winscard:SCardReleaseStartedEvent stub fixme:winscard:SCardEstablishContext (2,(nil),(nil),0x32f2f4) stub fixme:winscard:SCardEstablishContext (2,(nil),(nil),0x659130) stub 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. Would you tell me what shall i do next ? Thanks! Best Wishes! -- Regards, Qian Hong - Send from Ubuntu http://www.ubuntu.com/