https://bugs.winehq.org/show_bug.cgi?id=38818
Bug ID: 38818 Summary: Umax Astra 4100 USB scanner driver incompatible with Wine Product: Wine Version: 1.5.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bkpsusmitaa@gmail.com Distribution: ---
Created attachment 51759 --> https://bugs.winehq.org/attachment.cgi?id=51759 The core dump file
Please see this bug:
scanner Umax 4100 incompatible with simplescan and skanlite https://bugs.winehq.org/show_bug.cgi?id=29948
Are you morons?! Sane doesn't support Umax Astra 4100 USB (Primax chip). That is why we are trying to install the Windows Driver via Wine.
We could have had a pirated WinXP CD installed via VirtualBox, add the scanner driver to scan. But we CHOOSE NOT TO. I lost my Win98 CD, so I can't use it further.
I have still kept the scanner despite its 6 year non-functionality.
The opendriver for Umax Astra 4100 scanner could be had from here: http://download.driverguide.com/driver/4100+USB+Scanner+ENG/UMAX/d914101.htm...
File size is : 40.7 MiB (42,696,704 bytes)
Test it yourself.
It fails after setup.exe is run. You have the backtraces.txt attached.
Eager for a solution because the scanner is perfectly functional.
With regards.
https://bugs.winehq.org/show_bug.cgi?id=38818
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- A solution would be to try to make it run with Linux scanner system Sane, http://www.sane-project.org. Even if you manage to install this driver on wine, it's unlikely it will work.
https://bugs.winehq.org/show_bug.cgi?id=38818
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |austinenglish@gmail.com Component|-unknown |setupapi Summary|Umax Astra 4100 USB scanner |Umax Astra 4100 USB scanner |driver incompatible with |driver installer needs |Wine |setupx.dll16.DiBuildDriverI | |ndex
--- Comment #2 from Austin English austinenglish@gmail.com --- While the installer bug is valid, note that wine can't support your driver. Also, you're using an ancient and unsupported wine version.
https://bugs.winehq.org/show_bug.cgi?id=38818
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer URL| |http://download.driverguide | |.com/driver/4100+USB+Scanne | |r+ENG/UMAX/d914101.html CC| |focht@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #3 from Rajib Bandopadhyay bkpsusmitaa@gmail.com --- I have tried in Virtualbox with ReactOS. The driver installs.
Use Knoppix v7.2.0
Installed ReactOS in Virtual Machine ver 4.2.10-dfsg-1. USB2 extension not available.
Trying to use Native OEM Windows Driver of Sane-unsupported scanner UMAX Astra 4100 USB scanner. Failed in Wine.
USB port read by native Knoppix with lsusb -v.
Scanner's USB cable plug insertion with power ON not read by USB PORT in virtualbox. Also, pendrives are not being read by Virtualbox ReactOS (clue?)
Want to download the Oracle Extn pack for 4.2.10-dfsg-1 to test if USB port is read.
Then, still if the problem persists, will install ReactOS in FAT pendrive. Then boot natively and test.
The scanner is perfectly alright. Tested in Windows machine.
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- As it's been said already, even if driver installs in wine it doesn't mean you can use it. Regarding Sane, it's a separate project with its own drivers to support various scanners protocols; it should be set up separately from wine.
Trying to use Native OEM Windows Driver of Sane-unsupported scanner UMAX Astra 4100 USB scanner. Failed in Wine.
No idea what you mean by that.
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #5 from Rajib Bandopadhyay bkpsusmitaa@gmail.com --- Dear Prof. Nikolay Sivov,
Could you just move a few step back and look at the big picture please?
Why are you after sane? I have already told what I had to!
Trying to use Native OEM Windows Driver of Sane-unsupported scanner UMAX Astra 4100 USB scanner. Failed in Wine.
Pertinent question, at last!
It means, when I bought the sanner I had a CD for (WinDoze) drivers included. Also included was Abbyy FineReader Sprint. It worked wonderfully in Doze.
I found the Doze drivers from the internet, tried to test it in Wine. It doesn't matter whether I could use it. My work is to report and get to the root of the problem.
I downloaded and used ReactOS in VirtualBox, and the driver was installed without a hitch.
It is a different matter altogether that VirtualBox could not detect the USB ports.
But the scanner is detected by the native Linux(Knoppix) system, by lsusb -v
The scanner works wonderfully in a Doze machine with the same driver. That machine is not mine.
WHICH MEANS THERE IS A _BUG_ IN WINE ....BUG! BUG! BUG!
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- I never said it's not a wine bug that driver doesn't install, and bug report wasn't closed as invalid. Usually people don't want to get just a driver installed, but to make hardware work. If that's not what you want that's fine. Looks like this particular model doesn't have a Linux driver though.
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #7 from Rajib Bandopadhyay bkpsusmitaa@gmail.com --- Dear Prof.Sivov, Thanks. I also want to know why the driver failed to install in wine. There are other users of Primax Scanners who are similarly left in the lurk, I'm sure.
If I find a solution I would share it with the FOSS community. And since I have not installed ReactOS, leave aside tesing, all the owners of Primax would wish my wellbeing.
That's satisfaction enough, Professor!
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #8 from Austin English austinenglish@gmail.com --- Created attachment 53103 --> https://bugs.winehq.org/attachment.cgi?id=53103 stub
I couldn't reproduce in the installer I found: austin@debian-laptop:~/Downloads$ du -h Astra4100.exe 41M Astra4100.exe
austin@debian-laptop:~/Downloads$ sha1sum Astra4100.exe 3dc8fb1ffbea1ec59539532b7be17ff8931daaba Astra4100.exe
Anyway, here's a stub to test if you can.
https://bugs.winehq.org/show_bug.cgi?id=38818
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win16 Status|UNCONFIRMED |NEW Summary|Umax Astra 4100 USB scanner |Umax Astra 4100 USB scanner |driver installer needs |driver installer needs |setupx.dll16.DiBuildDriverI |setupx.dll16.DiBuildDriverI |ndex |ndex in Win9X mode Ever confirmed|0 |1
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Download links: http://www.opendrivers.com/download/driver-33315.html
http://dl2.opendrivers.com/dl_file.php?dl=dl2&brand=scanner%2Fumax&f...
OP left out an important piece of information for reproducing the issue. When creating a bug report you must state *all* deviations from default settings! Changing the Windows version of the WINEPREFIX must be mentioned otherwise you unnecessarily waste the time of people here.
For reproduce use 'Windows 9X' setting (either Win95 or Win98).
Besides of the problem with the missing stub this configuration is not even useful. Don't change the Windows version unless the installer/app explicitly requires this or you know the implications.
--- snip --- $ pwd /home/focht/.wine/drive_c/UMAX/Astra4100
$ wine ./Setup.exe fixme:setupapi:SetupSetSourceListA 0x00000001 0x33ee30 1: stub fixme:setupapi:SETUPX_CreateStandardLDDs LDID_SRCPATH: what exactly do we have to do here ? fixme:setupapi:SetupDiGetActualSectionToInstallA err:setupapi:SetupDefaultQueueCallbackW copy error 32 L"C:\UMAX\ASTR~IPF\HKDR~WVL\HotKey\LTFIL90N.DLL" -> L"C:\windows\Twain_32\4100\LTFIL90N.DLL" err:setupapi:SetupDefaultQueueCallbackW copy error 32 L"C:\UMAX\ASTR~IPF\HKDR~WVL\HotKey\LTKRN90N.DLL" -> L"C:\windows\Twain_32\4100\LTKRN90N.DLL" err:setupapi:SetupDefaultQueueCallbackW copy error 32 L"C:\UMAX\ASTR~IPF\HKDR~WVL\HotKey\HK_ENG.Exe" -> L"C:\windows\Twain_32\4100\HotKey.Exe" fixme:setupapi:CM_Locate_DevNodeA 0x33ed24 (null) 0x00000000: stub fixme:setupapi:SetupSetSourceListA 0x00000001 0x33ee30 1: stub fixme:setupapi:SETUPX_CreateStandardLDDs LDID_SRCPATH: what exactly do we have to do here ? fixme:setupapi:SetupDiGetActualSectionToInstallA err:setupapi:SetupDefaultQueueCallbackW copy error 32 L"C:\UMAX\ASTR~IPF\HKDR~WVL\OS\Win98ME2K\VICEO.DLL" -> L"C:\windows\twain_32\4100\VICEO.DLL" err:setupapi:SetupDefaultQueueCallbackW copy error 32 L"C:\UMAX\ASTR~IPF\HKDR~WVL\OS\Win98ME2K\RtScan.dll" -> L"C:\windows\twain_32\4100\RtScan.dll" err:setupapi:SetupDefaultQueueCallbackW copy error 32 L"C:\UMAX\ASTR~IPF\HKDR~WVL\OS\Win98ME2K\VICEO.DLL" -> L"C:\windows\twain_32\4100\VICEO.DLL" fixme:setupapi:CM_Locate_DevNodeA 0x33ee10 (null) 0x00000000: stub fixme:setupapi:CM_Locate_DevNodeA 0x33ee04 (null) 0x00000000: stub wine: Call from 0x7b843fb7 to unimplemented function setupx.dll16.DiBuildDriverIndex, aborting wine: Unimplemented function setupx.dll16.DiBuildDriverIndex called at address 0x7b843fb7 (thread 000c), starting debugger... --- snip ---
--- snip --- -=[ ProtectionID v0.6.6.7 DECEMBER]=- (c) 2003-2015 CDKiLLER & TippeX Build 24/12/14-22:48:13 Ready... Scanning -> Z:\home\focht\Downloads\Astra4100.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 42696704 (028B8000h) Byte(s) Compilation TimeStamp : 0x3BFBBD1F -> Wed 21st Nov 2001 14:41:35 (GMT) [TimeStamp] 0x3BFBBD1F -> Wed 21st Nov 2001 14:41:35 (GMT) | PE Header | - | Offset: 0x000000E0 | VA: 0x004000E0 | - [TimeStamp] 0x3BFBBD1F -> Wed 21st Nov 2001 14:41:35 (GMT) | Export | - | Offset: 0x00006A64 | VA: 0x00406A64 | - [File Heuristics] -> Flag #1 : 00000000000000001000000000000000 (0x00008000) [Entrypoint Section Entropy] : 6.47 (section #0) ".text " | Size : 0x48EA (18666) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 5 (0x5) | ImageSize 0x28B9000 (42700800) byte(s) [-= Installer =-] WinZip SFX v2.2 Build 4325 Setup Archive ! - Scan Took : 5.323 Second(s) [00000162Dh (5677) tick(s)] [499 of 573 scan(s) done]
Scanning -> C:\UMAX\Astra4100\Setup.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 40960 (0A000h) Byte(s) Compilation TimeStamp : 0x3B1B454A -> Mon 04th Jun 2001 08:22:34 (GMT) [TimeStamp] 0x3B1B454A -> Mon 04th Jun 2001 08:22:34 (GMT) | PE Header | - | Offset: 0x000000F0 | VA: 0x004000F0 | - [File Heuristics] -> Flag #1 : 00000000000000000000000000000000 (0x00000000) [Entrypoint Section Entropy] : 6.63 (section #0) ".text " | Size : 0x3C1C (15388) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 4 (0x4) | ImageSize 0xA000 (40960) byte(s) [CompilerDetect] -> Visual C++ 6.0 [!] File appears to have no protection or is using an unknown protection - Scan Took : 0.183 Second(s) [0000000B7h (183) tick(s)] [499 of 573 scan(s) done] --- snip ---
$ sha1sum Astra4100.exe 3dc8fb1ffbea1ec59539532b7be17ff8931daaba Astra4100.exe
$ du -sh Astra4100.exe 41M Astra4100.exe
$ wine --version wine-1.8-rc4
Regards
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #10 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #9)
Hello folks,
confirming.
Download links: http://www.opendrivers.com/download/driver-33315.html
http://dl2.opendrivers.com/dl_file. php?dl=dl2&brand=scanner%2Fumax&file=Astra4100. exe&check=3j6t2j3re9a3a2&driver=04dt31b3
OP left out an important piece of information for reproducing the issue. When creating a bug report you must state *all* deviations from default settings! Changing the Windows version of the WINEPREFIX must be mentioned otherwise you unnecessarily waste the time of people here.
For reproduce use 'Windows 9X' setting (either Win95 or Win98).
Thanks Focht, I realized after uploading the patch that it may require win9x mode to work, but I was tired and sleep seemed a better idea than retesting :).
Anyway, now that I can reproduce, I tested the patch, which allows the installer to complete. I've submitted it here: https://source.winehq.org/patches/data/117265
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #11 from Rajib Bandopadhyay bkpsusmitaa@gmail.com --- Dear Professors, Thank you! How do I use the patch? Regards, Rajib Bandopadhyay Mysore, India
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #12 from Austin English austinenglish@gmail.com --- (In reply to Rajib Bandopadhyay from comment #11)
Dear Professors, Thank you! How do I use the patch? Regards, Rajib Bandopadhyay Mysore, India
http://wiki.winehq.org/Patching
Please use the forums if you need further help, bugzilla is for bugs, not user support.
https://bugs.winehq.org/show_bug.cgi?id=38818
--- Comment #13 from Rajib Bandopadhyay bkpsusmitaa@gmail.com --- (In reply to Austin English from comment #12)
Please use the forums if you need further help, bugzilla is for bugs, not user support.
Ah, yes! Sorry, I forgot! And thank you! Regards
https://bugs.winehq.org/show_bug.cgi?id=38818
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=38818
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |296ac8cf320336353fc5f5da389 | |7c808a65556e3 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #14 from Austin English austinenglish@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/296ac8cf320336353fc5f5da38...
which will be in 1.8.1.
https://bugs.winehq.org/show_bug.cgi?id=38818
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=38818
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.0.
https://bugs.winehq.org/show_bug.cgi?id=38818
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #16 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.1.