Tried a different tack ....

Phil Stracchino alaric at
Fri Oct 5 12:03:03 CDT 2001

On Fri, Oct 05, 2001 at 12:05:39AM -0700, Phil Stracchino wrote:
> On Fri, Oct 05, 2001 at 08:42:17AM +0000, gerard patel wrote:
> > Ah yes, I think I see what happens...
> > There is an old problem with fonts that I had never the time
> > to handle. This causes an X error. When displaying the error,
> > Wine can (optionally) display a message in a message box
> > (the default is a printf on the console). If it tries to display
> > the error message in a message box, it is trying to access X
> > while X is locked -> Bad.
> > 
> > To get back to the (probable) cause of the problem :
> <snip>
> Great, I'll try this patch tomorrow and let you know what happens.  (Too 
> late at night to start another build now.)

This patch wouldn't apply cleanly to 20011004 source code.  I had to apply 
it by hand and generate a new patch (attached).

With the aid of this patch, Wine starts, and tried to run the target
executable.  In this case, d:\install.exe is the installer for Diablo I;
the startup sound played, but no installer window was created.  Wine
produced the following messages:

babylon5:alaric:~:1 $ wine --debugmsg fixme-font d:\\install.exe
Building font metrics. This may take some time...
fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was not 
Using closest match instead (United States keyboard layout) for scancode 
Please define your layout in windows/x11drv/keyboard.c and submit them
to us for inclusion into future Wine releases.
See the Wine User Guide, chapter "Keyboard" for more information.
err:mmsys:MMDRV_InitHardcoded You didn't setup properly the config file 
for the Wine multimedia modules.
Will use the hard-coded setup, but this will disappear soon.
Please add a WinMM section to your Wine config file.

Why it can't find my keyboard I don't know, I'm using a first-version
Microsoft ergonomic keyboard that should appear as a regular US keyboard.  
(I'd replace it with Logitech's ergonomic keyboard, if the Logitech wasn't
wireless.)  I do, however, have the useless and annoying capslock key
remapped to a second LShift using xmodmap, and the menu key remapped to
Compose-character.  Could this perhaps be confusing Wine about the 

More importantly, there is the err:mmsys:MMDRV_InitHardcoded error.  
I've looked on for documentation of what needs to be in the 
WinMM section, but so far I haven't found anything.  Can anyone point me 
at where this section is documented?  I'm presuming it tells wine what 
audio drivers and devices to use.

  *********  Fight Back!  It may not be just YOUR life at risk.  *********
  phil stracchino   ::   alaric at   ::   halmayne at
    unix ronin     ::::   renaissance man   ::::   mystic zen biker geek
     2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)
       Linux Now! ...because friends don't let friends use Microsoft.

More information about the wine-users mailing list