USB support status in Wine-1.3.2

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
bdutta
Level 1
Level 1
Posts: 5
Joined: Mon Sep 13, 2010 11:16 pm

USB support status in Wine-1.3.2

Post by bdutta »

Hi,

Have searched the forums, and also done a general internet search around this, but have not found an answer. What I am trying to find out is the current status of USB support in Wine-1.3.2, as that is what I have installed on my Ubuntu (32-bit) 'Karmic Koala' (rel 9.10), and kernel used is 2.6.31-9-rt (real-time kernel for some sound/audio apps).

I found this link http://wiki.winehq.org/USB which talks of USB support in Wine-1.1 and Wine-1.2 but none in Wine-1.3, so wondering if the patch has been merged into the 1.3 branch already ?

I have a handheld RFID tag-reader device having Silicon-Labs CP2102 USB-UART (USB-Serial) chip, and I was hoping to use the Windows application that reads/displays the already-read RFID data from the reader, on PC, which came with the reader, on Linux using Wine. I've added a symlink to /dev/ttyUSB1 (as I've attached the reader to port#1) in in ~/.wine/dosdevices/ as "com1". The application bundles the CP2102 VirtualComPort driver for Windows (it's tightly coupled, I guess), and installation goes thru fine. However when I start the application I get a fatal-error. So I ran it via command-line, and get the following error dump.

Wondering if someone can help figure out what is wrong, or pointers to debug this error.

Code: Select all

dutta@dukati:~/.wine/drive_c/Program Files/Patrol Management System$ wine Patrol.exe
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
wine: Unhandled exception 0x0eedfade at address 0x0000:0x7b837db2 (thread 003c), starting debugger...
First chance exception: 0xc0000025 in 32-bit code (0x7bc3ed98).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7bc3ed98 ESP:0032f544 EBP:0032f5a8 EFLAGS:00000202(   - --  I   - - - )
 EAX:0032f950 EBX:7bc9cff4 ECX:00110064 EDX:0032f950
 ESI:0032f550 EDI:0032f5d4
Stack dump:
0x0032f544:  7ffd8000 0032f773 00000000 c0000025
0x0032f554:  00000001 0032f950 7bc3ed98 00000000
0x0032f564:  7bc8ea7c 7bca5cc0 7bc964e4 0032f58c
0x0032f574:  7bc70190 00000000 0032f5e0 6b6c7ff4
0x0032f584:  00000000 7bc355ef 00148c70 ffffffff
0x0032f594:  00000000 6b6c7ff4 7bc9cff4 7bc9cff4
Backtrace:
=>0 0x7bc3ed98 raise_status+0x38() in ntdll (0x0032f5a8)
  1 0x7bc70b70 __regs_RtlRaiseException+0x4f() in ntdll (0x0032f5c8)
  2 0x7bc27dc1 in ntdll (+0x17dc0) (0x0032f92c)
  3 0x7bc70100 RtlRaiseException+0xb() in ntdll (0x0032f9a8)
  4 0x0058e8e3 in patrol (+0x18e8e2) (0x0032f9e8)
  5 0x0058f17f in patrol (+0x18f17e) (0x0032fa20)
  6 0x00424d9c in patrol (+0x24d9b) (0x0032fa4c)
  7 0x00424fcd in patrol (+0x24fcc) (0x0032faa4)
  8 0x0042527a in patrol (+0x25279) (0x0032fad0)
  9 0x004251b9 in patrol (+0x251b8) (0x0032faec)
  10 0x0042b6e6 in patrol (+0x2b6e5) (0x0032fb74)
  11 0x004235b3 in patrol (+0x235b2) (0x0032fb94)
  12 0x0041fb64 in patrol (+0x1fb63) (0x0032fbb8)
  13 0x0041fcee in patrol (+0x1fced) (0x0032fcd8)
  14 0x0041fd7f in patrol (+0x1fd7e) (0x0032fd08)
  15 0x0042c369 in patrol (+0x2c368) (0x0032fe50)
  16 0x004a438c in patrol (+0xa438b) (0x0032fe74)
  17 0x007f3f29 in patrol (+0x3f3f28) (0x0032fe90)
  18 0x7b856bac call_process_entry+0xb() in kernel32 (0x0032fea8)
  19 0x7b85931b in kernel32 (+0x4931a) (0x0032fee8)
  20 0x7bc70110 call_thread_func+0xb() in ntdll (0x0032fef8)
  21 0x7bc702e0 call_thread_entry_point+0x6f() in ntdll (0x0032ffc8)
  22 0x7bc4b9aa in ntdll (+0x3b9a9) (0x0032ffe8)
  23 0x68024e9d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
0x7bc3ed98 raise_status+0x38 in ntdll: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (90 modules)
PE	  400000-  a9f000	Export          patrol
PE	10000000-10149000	Deferred        wm
ELF	5d98f000-5d9a3000	Deferred        olepro32<elf>
  \-PE	5d990000-5d9a3000	\               olepro32
ELF	68000000-6801d000	Deferred        ld-linux.so.2
ELF	6801d000-6815d000	Export          libwine.so.1
ELF	6815d000-68176000	Deferred        libpthread.so.0
ELF	68176000-6819c000	Deferred        libm.so.6
ELF	6819c000-681a4000	Deferred        libnss_compat.so.2
ELF	681a4000-681bb000	Deferred        libnsl.so.1
ELF	681bb000-681c6000	Deferred        libnss_nis.so.2
ELF	681c6000-681d2000	Deferred        libnss_files.so.2
ELF	681d2000-68303000	Deferred        user32<elf>
  \-PE	681e0000-68303000	\               user32
ELF	68303000-6838f000	Deferred        gdi32<elf>
  \-PE	68310000-6838f000	\               gdi32
ELF	6838f000-683ea000	Deferred        advapi32<elf>
  \-PE	683a0000-683ea000	\               advapi32
ELF	683ea000-684d3000	Deferred        oleaut32<elf>
  \-PE	68400000-684d3000	\               oleaut32
ELF	684d3000-685d4000	Deferred        ole32<elf>
  \-PE	684f0000-685d4000	\               ole32
ELF	685d4000-68648000	Deferred        rpcrt4<elf>
  \-PE	685e0000-68648000	\               rpcrt4
ELF	68648000-68661000	Deferred        version<elf>
  \-PE	68650000-68661000	\               version
ELF	68661000-68675000	Deferred        lz32<elf>
  \-PE	68670000-68675000	\               lz32
ELF	68675000-68761000	Deferred        comctl32<elf>
  \-PE	68680000-68761000	\               comctl32
ELF	68761000-68948000	Deferred        shell32<elf>
  \-PE	68770000-68948000	\               shell32
ELF	68948000-689ab000	Deferred        shlwapi<elf>
  \-PE	68960000-689ab000	\               shlwapi
ELF	689ab000-68a66000	Deferred        comdlg32<elf>
  \-PE	689b0000-68a66000	\               comdlg32
ELF	68a66000-68afb000	Deferred        winmm<elf>
  \-PE	68a70000-68afb000	\               winmm
ELF	68afb000-68b7a000	Deferred        libfreetype.so.6
ELF	68b7a000-68b90000	Deferred        libz.so.1
ELF	68b90000-68bb7000	Deferred        libexpat.so.1
ELF	68bb7000-68bc0000	Deferred        libsm.so.6
ELF	68bc0000-68bdb000	Deferred        libice.so.6
ELF	68bdb000-68beb000	Deferred        libxext.so.6
ELF	68beb000-68d1a000	Deferred        libx11.so.6
ELF	68d1a000-68d1e000	Deferred        libxau.so.6
ELF	68d1e000-68d3c000	Deferred        libxcb.so.1
ELF	68d3c000-68d41000	Deferred        libxdmcp.so.6
ELF	68d41000-68d63000	Deferred        imm32<elf>
  \-PE	68d50000-68d63000	\               imm32
ELF	68d63000-68d66000	Deferred        libxinerama.so.1
ELF	68d66000-68d6c000	Deferred        libxxf86vm.so.1
ELF	68d6c000-68d75000	Deferred        libxrandr.so.2
ELF	68d75000-68d79000	Deferred        libxcomposite.so.1
ELF	68d79000-68d7f000	Deferred        libxfixes.so.3
ELF	68d7f000-68d8a000	Deferred        libxcursor.so.1
ELF	68d8a000-68db4000	Deferred        libgssapi_krb5.so.2
ELF	68db4000-68e5c000	Deferred        libgnutls.so.26
ELF	68e5c000-68e68000	Deferred        libavahi-common.so.3
ELF	68e68000-68e79000	Deferred        libavahi-client.so.3
ELF	68e79000-68f1f000	Deferred        libkrb5.so.3
ELF	68f1f000-68f48000	Deferred        libk5crypto.so.3
ELF	68f48000-68f50000	Deferred        libkrb5support.so.0
ELF	68f50000-68f64000	Deferred        libresolv.so.2
ELF	68f64000-68f76000	Deferred        libtasn1.so.3
ELF	68f76000-68ff2000	Deferred        libgcrypt.so.11
ELF	68ff2000-6902b000	Deferred        libdbus-1.so.3
ELF	6902b000-69030000	Deferred        libgpg-error.so.0
ELF	69a89000-69a8d000	Deferred        libcom_err.so.2
ELF	6b318000-6b45d000	Deferred        libc.so.6
ELF	6b629000-6b6d1000	Deferred        winex11<elf>
  \-PE	6b640000-6b6d1000	\               winex11
ELF	6ce98000-6cea1000	Deferred        librt.so.1
ELF	6f24d000-6f252000	Deferred        libuuid.so.1
ELF	6f4b0000-6f4e8000	Deferred        winspool<elf>
  \-PE	6f4c0000-6f4e8000	\               winspool
ELF	71260000-712a6000	Deferred        libcups.so.2
ELF	71e22000-71e2c000	Deferred        libxrender.so.1
ELF	72e0b000-72e0f000	Deferred        libdl.so.2
ELF	7483e000-7486b000	Deferred        libfontconfig.so.1
ELF	749df000-749f3000	Deferred        msimg32<elf>
  \-PE	749e0000-749f3000	\               msimg32
ELF	76da0000-76dd4000	Deferred        uxtheme<elf>
  \-PE	76db0000-76dd4000	\               uxtheme
ELF	7b800000-7b975000	Export          kernel32<elf>
  \-PE	7b810000-7b975000	\               kernel32
ELF	7bc00000-7bcb9000	Export          ntdll<elf>
  \-PE	7bc10000-7bcb9000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7c503000-7c507000	Deferred        libkeyutils.so.1
Threads:
process  tid      prio (all id:s are in hex)
00000008 AVRStudio.exe
	00000033    0
	00000032    0
	00000031    0
	00000030    0
	0000002f    0
	0000002e    0
	0000002d    0
	0000002c    0
	0000002b    0
	0000002a    0
	00000029    0
	00000028   -1
	00000027    0
	00000026    0
	00000025    0
	00000024    0
	00000023    0
	00000022    0
	00000021    0
	00000020    0
	0000001f    0
	0000001e    0
	0000001d    0
	0000001c    0
	0000001b    0
	0000001a    0
	00000009    0
0000000e services.exe
	00000014    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	00000017    0
	00000016    0
	00000013    0
	00000012    0
00000018 explorer.exe
	00000019    0
0000003b (D) C:\Program Files\Patrol Management System\Patrol.exe
	0000003c    0 <==
Backtrace:
=>0 0x7bc3ed98 raise_status+0x38() in ntdll (0x0032f5a8)
  1 0x7bc70b70 __regs_RtlRaiseException+0x4f() in ntdll (0x0032f5c8)
  2 0x7bc27dc1 in ntdll (+0x17dc0) (0x0032f92c)
  3 0x7bc70100 RtlRaiseException+0xb() in ntdll (0x0032f9a8)
  4 0x0058e8e3 in patrol (+0x18e8e2) (0x0032f9e8)
  5 0x0058f17f in patrol (+0x18f17e) (0x0032fa20)
  6 0x00424d9c in patrol (+0x24d9b) (0x0032fa4c)
  7 0x00424fcd in patrol (+0x24fcc) (0x0032faa4)
  8 0x0042527a in patrol (+0x25279) (0x0032fad0)
  9 0x004251b9 in patrol (+0x251b8) (0x0032faec)
  10 0x0042b6e6 in patrol (+0x2b6e5) (0x0032fb74)
  11 0x004235b3 in patrol (+0x235b2) (0x0032fb94)
  12 0x0041fb64 in patrol (+0x1fb63) (0x0032fbb8)
  13 0x0041fcee in patrol (+0x1fced) (0x0032fcd8)
  14 0x0041fd7f in patrol (+0x1fd7e) (0x0032fd08)
  15 0x0042c369 in patrol (+0x2c368) (0x0032fe50)
  16 0x004a438c in patrol (+0xa438b) (0x0032fe74)
  17 0x007f3f29 in patrol (+0x3f3f28) (0x0032fe90)
  18 0x7b856bac call_process_entry+0xb() in kernel32 (0x0032fea8)
  19 0x7b85931b in kernel32 (+0x4931a) (0x0032fee8)
  20 0x7bc70110 call_thread_func+0xb() in ntdll (0x0032fef8)
  21 0x7bc702e0 call_thread_entry_point+0x6f() in ntdll (0x0032ffc8)
  22 0x7bc4b9aa in ntdll (+0x3b9a9) (0x0032ffe8)
  23 0x68024e9d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
Apologies for the rather long post including error-dump.

regards,
BDutta
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: USB support status in Wine-1.3.2

Post by dimesio »

I found this link http://wiki.winehq.org/USB which talks of USB support in Wine-1.1 and Wine-1.2 but none in Wine-1.3, so wondering if the patch has been merged into the 1.3 branch already ?
No, it hasn't, and I don't think anyone's working on it now.
bdutta wrote:

Code: Select all

dutta@dukati:~/.wine/drive_c/Program Files/Patrol Management System$ wine Patrol.exe
err:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
Try winetricks mdac28. http://wiki.winehq.org/winetricks
James Mckenzie

USB support status in Wine-1.3.2

Post by James Mckenzie »

bdutta <[email protected]> wrote:
I found this link http://wiki.winehq.org/USB which talks of USB support in Wine-1.1 and Wine-1.2 but none in Wine-1.3, so
wondering if the patch has been merged into the 1.3 branch already ?
No, the comments on the Wine Development list are that these patches are 'too messy' and need cleanup to be integrated into the main Wine code. Also, note the link to snicky.com no longer works and the site itself may not be up anymore.

I'll post a message on the Wine Development list about the fixes and if they can be found, maybe update them to the current code level.

James McKenzie
bdutta
Level 1
Level 1
Posts: 5
Joined: Mon Sep 13, 2010 11:16 pm

Re: USB support status in Wine-1.3.2

Post by bdutta »

dimesio wrote: Try winetricks mdac28. http://wiki.winehq.org/winetricks
Thanks for the update and the tip about mdac28 winetricks! Am pretty new to wine, and winetricks, so doing a quick search on the net for what this trick does -- "MS MDAC 2.8", I find this definition on M$ site...

Microsoft Data Access Components (MDAC) 2.8 contains core Data Access components such as the Microsoft SQL Server™ OLE DB provider and ODBC driver.


Could you explain how this trick may help ? Any place to find more info around this trick ?
bdutta
Level 1
Level 1
Posts: 5
Joined: Mon Sep 13, 2010 11:16 pm

Re: USB support status in Wine-1.3.2

Post by bdutta »

James Mckenzie wrote:bdutta <[email protected]> wrote:
No, the comments on the Wine Development list are that these patches are 'too messy' and need cleanup to be integrated into the main Wine code. Also, note the link to snicky.com no longer works and the site itself may not be up anymore.
Thanks James. Saw the pointer to the few mailing-list discussions at that site. Also remember seeing a comment from the author mentioning something like having cleaned up a more recent version...
James Mckenzie wrote: I'll post a message on the Wine Development list about the fixes and if they can be found, maybe update them to the current code level.
Thanks, appreciate the help.

regards.
James Mckenzie

USB support status in Wine-1.3.2

Post by James Mckenzie »

bdutta <[email protected]> wrote:
Could you explain how this trick may help ? Any place to find more info around this trick ?
http://wiki.winehq.org/FAQ

Item 7.5

James McKenzie
bdutta
Level 1
Level 1
Posts: 5
Joined: Mon Sep 13, 2010 11:16 pm

Re: USB support status in Wine-1.3.2

Post by bdutta »

James Mckenzie wrote:bdutta <[email protected]> wrote:
Could you explain how this trick may help ? Any place to find more info around this trick ?
http://wiki.winehq.org/FAQ

Item 7.5
Thanks James. However, I'm feeling pretty dumb, as I can't figure out how the file-type association trick would help me see the native USB device ? Not sure what to make of that trick, and what file-type association do I need to make.
bdutta
Level 1
Level 1
Posts: 5
Joined: Mon Sep 13, 2010 11:16 pm

Post by bdutta »

Pardon me... I realised that the suggestion to try winetricks was from Dimesio, not James. Thanks, to both of you.
Locked