Simple question. I would like to do a research at the functions of serial
mouse by using DDK´s Mouser samplecode. Problem: What INF-file I should use
to install this sample? I tried to generate my own by using InfGen but it
didn´t work.
Copy %windir%\inf\msmouse.inf, look for a section that matches against a hardware ID that serenum\Xxxx and use that.
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Jussi Rytilahti
Sent: Wednesday, February 01, 2006 10:44 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Simple inf-question
Hi everyone,
Simple question. I would like to do a research at the functions of serial
mouse by using DDK?s Mouser samplecode. Problem: What INF-file I should use
to install this sample? I tried to generate my own by using InfGen but it
didn?t work.
Thanks for your answer, but… Could you explain little bit more detailed? I
have checked msmouse.inf once already. So should I modify msmouse.inf to my
uses? msmouse gives sermouse.sys for serial mouses so should I replace that
with mouser.sys (that didnt work)?
I connected to my system the serial mouse which I am going to use to the
test of Mouser.sys. Windows install normal serial mouse driver during next
startup. That driver gives Hardware ID “*PNP0F01”. From msmouse.inf I found
next rows according PNP0F01 :
[MSMfg]
%*pnp0f01.DeviceDesc%=Ser_Inst,*PNP0F01,SERENUM\PNP0F01 ; MS serial mouse
[LegacyXlate.DevId]
MICROSOFT_SERIAL_MOUSE = *PNP0F01 ; MS serial mouse
sermouse
; Device Names
*pnp0f01.DeviceDesc = “Microsoft Serial Mouse”
So what should I change to be able to install Mouser.sys and test it?
Jussi
“Doron Holan” kirjoitti viestissä:xxxxx@ntdev… Copy %windir%\inf\msmouse.inf, look for a section that matches against a hardware ID that serenum\Xxxx and use that.
d
-----Original Message----- From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Jussi Rytilahti Sent: Wednesday, February 01, 2006 10:44 PM To: Windows System Software Devs Interest List Subject: [ntdev] Simple inf-question
Hi everyone,
Simple question. I would like to do a research at the functions of serial mouse by using DDK´s Mouser samplecode. Problem: What INF-file I should use to install this sample? I tried to generate my own by using InfGen but it didn´t work.
----- Original Message -----
From: “Jussi Rytilahti” Newsgroups: ntdev To: “Windows System Software Devs Interest List” Sent: Thursday, February 02, 2006 9:43 AM Subject: [ntdev] Simple inf-question
> Hi everyone, > > Simple question. I would like to do a research at the functions of serial > mouse by using DDK´s Mouser samplecode. Problem: What INF-file I should use > to install this sample? I tried to generate my own by using InfGen but it > didn´t work. > > Jussi Rytilahti > > > > — > Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 > > You are currently subscribed to ntdev as: xxxxx@storagecraft.com > To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks, but I am still very newbie with drivers (few months). So could you
describe little bit more detailed about “writing to the registery” or do you
have any good links where to study more about it…
Jussi
“Maxim S. Shatskih” kirjoitti viestissa:xxxxx@ntdev… > Filter drivers are better to be installed without INFs, by writing them > to > the registry, it’s easier. > > As about functional and bus drivers - take somebody else’s INF from > Windows > itself (which surely works) and patch to you needs. > > Maxim Shatskih, Windows DDK MVP > StorageCraft Corporation > xxxxx@storagecraft.com > http://www.storagecraft.com > > ----- Original Message ----- > From: “Jussi Rytilahti” > Newsgroups: ntdev > To: “Windows System Software Devs Interest List” > Sent: Thursday, February 02, 2006 9:43 AM > Subject: [ntdev] Simple inf-question > > >> Hi everyone, >> >> Simple question. I would like to do a research at the functions of serial >> mouse by using DDK´s Mouser samplecode. Problem: What INF-file I should >> use >> to install this sample? I tried to generate my own by using InfGen but it >> didn´t work. >> >> Jussi Rytilahti >> >> >> >> — >> Questions? First check the Kernel Driver FAQ at > http://www.osronline.com/article.cfm?id=256 >> >> You are currently subscribed to ntdev as: xxxxx@storagecraft.com >> To unsubscribe send a blank email to xxxxx@lists.osr.com > > >
You must understand basics of PnP before writing inf file.
IUknown
On 2/2/06, Jussi Rytilahti wrote: > > Hi, > > Thanks, but I am still very newbie with drivers (few months). So could you > describe little bit more detailed about “writing to the registery” or do > you > have any good links where to study more about it… > > Jussi > > “Maxim S. Shatskih” kirjoitti > viestissa:xxxxx@ntdev… > > Filter drivers are better to be installed without INFs, by writing > them > > to > > the registry, it’s easier. > > > > As about functional and bus drivers - take somebody else’s INF from > > Windows > > itself (which surely works) and patch to you needs. > > > > Maxim Shatskih, Windows DDK MVP > > StorageCraft Corporation > > xxxxx@storagecraft.com > > http://www.storagecraft.com > > > > ----- Original Message ----- > > From: “Jussi Rytilahti” > > Newsgroups: ntdev > > To: “Windows System Software Devs Interest List” > > Sent: Thursday, February 02, 2006 9:43 AM > > Subject: [ntdev] Simple inf-question > > > > > >> Hi everyone, > >> > >> Simple question. I would like to do a research at the functions of > serial > >> mouse by using DDK?s Mouser samplecode. Problem: What INF-file I should > >> use > >> to install this sample? I tried to generate my own by using InfGen but > it > >> didn?t work. > >> > >> Jussi Rytilahti > >> > >> > >> > >> — > >> Questions? First check the Kernel Driver FAQ at > > http://www.osronline.com/article.cfm?id=256 > >> > >> You are currently subscribed to ntdev as: xxxxx@storagecraft.com > >> To unsubscribe send a blank email to xxxxx@lists.osr.com > > > > > > > > > > — > Questions? First check the Kernel Driver FAQ at > http://www.osronline.com/article.cfm?id=256 > > You are currently subscribed to ntdev as: xxxxx@gmail.com > To unsubscribe send a blank email to xxxxx@lists.osr.com >
I will start studing with that one. I also solved my problem…I changed
earlier sources (sermouse to mouser) so Inf didnt work. Thanks for everyone
anyway!
You must understand basics of PnP before writing inf file.
------------ IUknown
On 2/2/06, Jussi Rytilahti wrote: Hi,
Thanks, but I am still very newbie with drivers (few months). So could you describe little bit more detailed about “writing to the registery” or do you have any good links where to study more about it…
Jussi
“Maxim S. Shatskih” kirjoitti viestissa:xxxxx@ntdev… > Filter drivers are better to be installed without INFs, by writing them > to > the registry, it’s easier. > > As about functional and bus drivers - take somebody else’s INF from > Windows > itself (which surely works) and patch to you needs. > > Maxim Shatskih, Windows DDK MVP > StorageCraft Corporation > xxxxx@storagecraft.com > http://www.storagecraft.com > > ----- Original Message ----- > From: “Jussi Rytilahti” > Newsgroups: ntdev > To: “Windows System Software Devs Interest List” > Sent: Thursday, February 02, 2006 9:43 AM > Subject: [ntdev] Simple inf-question > > >> Hi everyone, >> >> Simple question. I would like to do a research at the functions of serial >> mouse by using DDK´s Mouser samplecode. Problem: What INF-file I should >> use >> to install this sample? I tried to generate my own by using InfGen but it >> didn´t work. >> >> Jussi Rytilahti >> >> >> >> — >> Questions? First check the Kernel Driver FAQ at > http://www.osronline.com/article.cfm?id=256 >> >> You are currently subscribed to ntdev as: xxxxx@storagecraft.com >> To unsubscribe send a blank email to xxxxx@lists.osr.com > > >