hCO[7U5hO[fhD0T^CT1A^BL@[^oY;6SI8PVRSH33:Sa2=J=U   
   comp.os.os2.misc:3637   
   From: "Lars Erdmann"    
      
   There is a OS supplied programming interface to properly update file    
   MMPM2.INI.   
   I used it to write the deinstaller for UNIAUD so people don't have to muck    
   around with MMPM2.INI   
   with all those issues (MMOS2.INI overwritten on shutdown with working copy    
   MMPM2.!!! etc.) involved.   
   Maybe one of these days I am going to write an application where the user    
   can specify a device by name and   
   then it will subsequently be deleted from MMPM2.INI.   
      
   If the day only had 48 hours ...   
      
   Lars   
      
      
   "Dariusz Piatkowski" schrieb im Newsbeitrag    
   news:Qg5I6Bo2seGy-pn2-Npr1HFtdMwYF@neurobox...   
   > responding to my own post...LOL...bad form...I know...but I wanted to    
   > share the   
   > results with everyone!   
   >   
   > Editing the file did the trick...I am down to 1 CD drive now...exactly as    
   > I   
   > wanted to see. Thanks to James' advice...job is done!   
   >   
   >   
   > On Sat, 10 Sep 2011 19:21:30 UTC, "Dariusz Piatkowski"   
   > wrote:   
   >   
   >> Hi James!   
   >>   
   >> On Sat, 10 Sep 2011 18:56:31 UTC, "James J. Weinkam"    
   >> wrote:   
   >>   
   >> > Dariusz Piatkowski wrote:   
   >> > > A strange issue for me...my old machine had 2 CD drives (well, 1 CD    
   >> > > and 1 DVD),   
   >> > > the new one has a single DVD drive...however, the multimedia setup    
   >> > > program   
   >> > > (G:\MMOS2\STPM.EXE) still shows 2 TABs assigned to them, namely:   
   >> > >   
   >> > > 1) Compact Disc - default, Drive Y: (this is OK)   
   >> > > 2) Compact Disc 2 - Drive P: (this is NOT OK, as no such hardware    
   >> > > exists)   
   >> > >   
   >> > > Now...until now I hadn't really noticed this. I am using Dani drivers    
   >> > > (1.8.5)   
   >> > > and only a single Optical drive shows up in the DRIVES folder.   
   >> > > However...recently I wanted to create 2 more HPFS partitions and when    
   >> > > the real   
   >> > > NEW P: drive was created I started running into some really weird    
   >> > > problems.   
   >> > >   
   >> > > Given that the MMOS2 sub-system still thinks I actually have 2    
   >> > > optical   
   >> > > drives...I am thinking the 2nd one does NOT need to be there anymore    
   >> > > and to   
   >> > > clean things up I should dump it. The question is: HOW???   
   >> > >   
   >> > > I see the obvious INI files and one of them clearly shows the 2 CD    
   >> > > devices...but   
   >> > > is it sufficient to simply edit this file?   
   >> > >   
   >> > > It's been quite some time since I had to do this...any hints?   
   >> > >   
   >> > > Thanks!   
   >> >   
   >> > I'm fairly sure that the fill MMPM2.INI in boot:\MMOS2 is the file you    
   >> > need to edit (this is a text   
   >> > file, not an OS2 INI file).   
   >> >   
   >> > Here are the relevant sections form the file on my T60:   
   >> >   
   >> > ...   
   >> >   
   >> > [Drivers]   
   >> > Digitalvideo=IBMDIGVIDPLAYER01,IBMMPEGPLAYER01   
   >> > Speaker=SPEAKER   
   >> > Headphone=HEADPHONE   
   >> > Microphone=MICROPHONE   
   >> > Filter=IBMFILTER01,IBMFILTER02,IBMFILTER03   
   >> > Waveaudio=UNIAUDWAVE01   
   >> > Ampmix=UNIAUDAMPMIX01   
   >> > CDaudio=IBMCDAUDIO01   
   >> >   
   >> > ...   
   >> >   
   >> > [IBMCDAUDIO01]   
   >> > VERSIONNUMBER=2.0   
   >> > PRODUCTINFO=IBMCDAUDIO   
   >> > MCDDRIVER=CDAUDIO   
   >> > VSDDRIVER=GENCDVSD   
   >> > PDDNAME=CDROM   
   >> > MCDTABLE=MDM   
   >> > RESOURCENAME=CD1   
   >> > DEVICEFLAG=1   
   >> > DEVICETYPE=3   
   >> > SHARETYPE=2   
   >> > RESOURCEUNITS=1   
   >> > RESOURCECLASSES=1,1   
   >> > PARMSTRING=Drive=1,Caps=40000313:000001CA:B:2   
   >> > CONNECTORS=1,6,HEADPHONE,1   
   >> > ALIASNAME=Compact Disc   
   >> >   
   >> > If I am correct, the CDaudio line in your Drivers section should read   
   >> >   
   >> > CDaudio=IBMCDAUDIO01,IBMCDAUDIO02   
   >> >   
   >> > and you should have an additional section headed [IBMCDAUDIO02].   
   >> >   
   >> > Back up the file just in case. Then try deleting the IBMCDAUDIO02    
   >> > section entirely and the reference   
   >> > to it on the CDaudio line.   
   >>   
   >> Yup...that is the file I was looking at as well...and it appears to be    
   >> the only   
   >> place I saw a reference to my MIA CD#2...LOL.   
   >>   
   >> Thank you for the confirmation...I had made the change and a re-boot    
   >> should tell   
   >> if the result is what I'm looking for.   
   >   
   >    
      
      
   --- Internet Rex 2.31   
    * Origin: Arcor (1:261/20.999)   
|