damn driver doesnot connect..
Sir,
i am a man in problem. my project submission for 3rd yr of
engineerig is due friday and till now i cannot connect the
damn driver to the video capture application i am
developing.
the device specification are:
3D Vision MPEG-I encoder/decoder/tuner
code:PV230/231 Winbond W99200F
the problem is when i use capDriverConnect macro provided
by VC++ 6.0 it simply cannot connect. is there other thing
that i must add or do. please help me out. Tag: (Q) WHQL or HCT news group. Tag: 37172
IoCallDriver doc is wrong and function returns undocumented status
According to the documentation for the IoCallDriver function, it is supposed
to return either the NTSTATUS value the lower driver set in the I/O Status
Block or STATUS_PENDING.
However, I have a case where the lower driver is clearly setting the
NTSTATUS in the I/O Status Block to STATUS_SUCCESS, yet the IoCallDriver
function is returning a STATUS_WAIT_2 !!!!!!!!!
Better yet, there is absolutely NO documentation on what the heck a
STATUS_WAIT_2 even means!!!!!!!!!!!!!!!!!!!!!!!!
Does anyone out there know what a STATUS_WAIT_0, STATUS_WAIT_1,
STATUS_WAIT_2, or STATUS_WAIT_3 means?
Anyone have any idea why the IoCallDriver function decides it knows better
than the underlying driver and changes the return status from what the
driver attempted to return? Tag: (Q) WHQL or HCT news group. Tag: 37170
IPAddr RecvLinkNextHop ?
What are these parameters in PF_SET_EXTENSION_HOOK_INFO" IPAddr RecvLinkNextHop and IPAddr SendLinkNextHop" for PF_FORWARD ACTION filter hook function ! Are they the same that the IPHeader->ipSource and ipDestination ?
Thanks ! Tag: (Q) WHQL or HCT news group. Tag: 37168
IRP FilterResourceReq. and mf.sys not working
The problem I am seeing is that my driver successfully
requests new PCI memory in the Filter Resource IRP when
installed directly but fails when installed through
MIcorsofts multifunction mf.sys.
I need to allocate an additional PCI Memory Region for a
driver to fix a HW config problem. Support Win2000 and
later, testing on Win XP.
In the IRP_MN_FILTER_RESOURCE_REQUIREMENTS, I allocate
memory for a new IO_RESOURCE_REQUIREMENTS_LIST, copy the
existing list to the new one, append the new memory region
to the end, update count and size, clear and free existing
list, link the new one into the IRP, and pass the IRP down.
When I install this driver directly for the PCI
Vendor/Device ID it works. In the Start Device IRP I see
the original resources plus the new resource that I have
allocated. After installing, in the Driver Properties
Resource Tab, I see the original resources plus the new
resource. Driver works fine.
The problem comes when I use multifunction mf.sys to
enumerate the functions and install the exact same driver
in the enumerated function. My .inf installs mf.sys for
the PCI Device and Vendor ID and currently enumerates one
function. When the driver is installed for that function,
I see the Filter Resource IRP but never receive the Start
Device IRP. The driver fails to start and indicates it
can not find enough free resources and to restart.
Restarting does not help still gives same error.
Any thoughts or ideas on what could be going wrong?
Why does mf.sys effect allocating new resources?
I did notice that the resource list is not the same
between the two cases. The actual memory and IRQ regions
are identical but the standalone driver has some Private
Data (Type 0x81) entries as well.
Thanks,
Stefan L Tag: (Q) WHQL or HCT news group. Tag: 37167
the thread context switch time
Hi All,
How much time does it take to switch between threads in different processes
assuming PASSIIVE_LEVEL and the same priority?
Another words is it a very bad/good idea to have the working thread to
simplify life?
TIA
Andrew Tag: (Q) WHQL or HCT news group. Tag: 37165
Can NDIS5 drivers be "chained" in Windows XP?
Several years ago we developed an NDIS2 driver in OS/2. When our code is
notified a frame is available (typically via ReceiveLookahead indication),
it returns SUCCESS to indicate it will accept and copy the frame. If there
is more than one driver in the chain, the next driver does NOT get the
indication. Our code also returns FORWARD_FRAME when it wishes to pass along
a frame to the next driver instance in its chain without accepting it and it
returns FRAME_REJECTED when it does not want to accept the frame but also
does not want to pass it to the next driver in the chain. The ability to
chain together drivers and have those toward the rear of the chain NOT see
frames consumed by those toward the front can be an important performance
boost in some situations for us.
We've recently had an outside company rewrite our driver for NDIS in Windows
XP. This driver does not support the idea of a chain of instances where an
instance that receives a frame can choose to accept or reject the frame such
that any other instances of the driver do not receive the frame at all. The
outside vendor cannot determine if/how this can be done in Windows. Is there
a way to achieve this behavior in Windows XP?
Thanks,
Stephen Tag: (Q) WHQL or HCT news group. Tag: 37164
UStatusThread question
Hi,
we are currently writting a language monitor using the
base code given by Microsoft (pjlmon.c). We would like
to be able to get a status from the printer every 5
minutes, the printer is bi-di but does not send it's
status, except when asked. Is it "legal" or possible to
do a WriteCommand in the UStatusThread? We have try it,
but it does loop all the time.
Have any idea?
Thanks Tag: (Q) WHQL or HCT news group. Tag: 37162
[HELP] Virtual Disk Driver - Create symbolic link.
Hi there,
I wrote a virtual disk driver (use a file to simulate a disk), it works
fine. Then I wrote a application runs in RING-3, which can send a customer
IOCTL code to the driver, I want the driver create a symbolic link to a
driver-letter such as "Z:" when the customer IOCTL code arrival.
I did so, modified my source code. When the driver got the IOCTL code, I
create a symbolic link between the FDO and \DosDevices\Z:, and the
IoCreateSymbolicLink() call return success. But in fact, when I open my
explorer, there are no "Z:" driver letter usable.
Could you please tell me why? And could you please tell me how to resolve
this issue??
Thanks. Tag: (Q) WHQL or HCT news group. Tag: 37160
printable area?
This GPD code given below is taken from the ddk sample -
hplj5.gpd
*PrintableArea: PAIR(9600, 12720)
*PrintableOrigin: PAIR(300, 220)
*CursorOrigin: PAIR(300, 220)
*Command: CmdSelect
{
*Order: DOC_SETUP.12
*Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7656Y"
}
my questions are:
1. What commands does *PrintableArea, *PrintableOrigin and
*CursorOrigin insert into the PCL stream ?
2. The printable area length according to calculation
should have been 12760 (13200 - 220 - 220), but here it is
only 12720 , where did the 40 units go?
3.I had created a GPD for my printer, letter paper size
portrait mode values are as follows,
*PrintableArea:PAIR(9800, 12800)
*PrintableOrigin: PAIR(200, 200)
*CursorOrigin: PAIR(200, 200)
*Command: CmdSelect
{
*Order: DOC_SETUP.21
*Cmd: "<1B>&l2a8c1e-50U"
}
When tested with WHQL tool the rectangle did not have the
right side. When I changed the *PrintableArea to
*PrintableArea:PAIR(9799, 12800) it started working fine.
These measures are in terms of 1/1200 of an inch, how did
that 1 unit make the difference ?
Note:I have "-50U" as part of the command to left offset
the margin by 50 units i.e. my printers left margin starts
at 1/6 of an inch, since the default left margin in PCL is
1/4 of an inch I am adding this left offset command. Tag: (Q) WHQL or HCT news group. Tag: 37159
Accessing PCI Configuration Space
I want to know the various other methods of how we can
access the PCI Configuration space from our driver.
One is the Standrd way of using CM_RESOURCE_LIST structure
which is what i am following now,
another i know is by accessing the CF8 and CFC register.
Please tell me the other Methods for reading the
configuration space and retrieving the information from
there.
Thank You All Tag: (Q) WHQL or HCT news group. Tag: 37157
Sharing Buffer between two driver
hi all
i want to share a buffer between two driver. which is nothing
but a tcp/ip packet or a complete Frame. which is transfered fromt the one
driver to another driver ....
is there any way to do this ?
=====
shailesh Tag: (Q) WHQL or HCT news group. Tag: 37152
Cubas SX V1.0 hangs on MIDI initialisation
Problem:
Cubas SX V1.0 hangs 15 seconds on the MIDI initialisation
if our AV Stream driver exports a MIDI Pin for rendering.
Detail:
The process services.exe uses 100% CPU time during
initialisation. The Midi Pin works well with other
applications and it works also with Cubase.
OS: Windows XP, SP1
DirectX: 8.1
PIN Properties:
MajorFormat = KSDATAFORMAT_TYPE_MUSIC;
SubFormat = STATIC_KSDATAFORMAT_SUBTYPE_MIDI;
Specifier = KSDATAFORMAT_SPECIFIER_NONE;
Technology = KSMUSIC_TECHNOLOGY_PORT;
The pin does not implement DMUSIC or any other properties.
Is it required or recommented to implement additional
formats or properties?
I'm not sure if this is caused by Cubase, Windows or our
driver. Can you give me a hint to solve this?
Guenter Tag: (Q) WHQL or HCT news group. Tag: 37149
problem changing name of dll
hi all
I took the mux sample code of Xp ddk and modified as per requirement.
i am not able to change name of mux.dll
if i keep the name to be mux.dll it works fine.
but if i change name then the binding is shown but the virtual
instance doesnt get created.
can anybody tell how to change name of dll.
This is trace of dll
-->DllMain.
Reason: Attach.
<--DllMain.
-->DllRegisterServer.
-->DllMain.
Reason: Detach.
<--DllMain.
this is part to setupapi.log file
@ 15:12:44.276 : The file (D:\WINNT\inf\muxp.inf) is not digitally
signed, ignoring driver date.
@ 15:12:44.276 : Found MS_MUXP in D:\WINNT\inf\muxp.inf; Device: abc;
Driver: abc; Provider: cp ; Mfg: cp; Section: MUXP.ndi
@ 15:12:44.276 : Decorated section name: MUXP.ndi
@ 15:12:44.316 : Opened PNF of "D:\WINNT\inf\mux_mp.inf".
Loading class-installer module for Network Protocol.
@ 15:12:44.326 : Verifying file: D:\WINNT\System32\NetCfgx.Dll using
key: NetCfgx.Dll in catalog: -.
@ 15:12:44.816 : Obtained module "D:\WINNT\System32\NetCfgx.Dll"
proceedure "NetClassInstaller" for use.
@ 15:12:44.816 : Device install function: DIF_SELECTDEVICE.
@ 15:12:44.826 : Executing class-installer.
@ 15:12:44.866 : Completed class-installer.
@ 15:12:44.866 : Executing default installer.
@ 15:12:50.975 : Completed default installer.
@ 15:12:51.005 : Device install function: DIF_DESTROYPRIVATEDATA.
@ 15:12:51.005 : Executing class-installer.
@ 15:12:51.005 : Completed class-installer.
[2003/12/09 15:12:51 692.29 Driver Install]
Searching for hardware ID(s): ms_muxp
@ 15:12:51.035 : Opened PNF of "d:\winnt\inf\muxp.inf".
@ 15:12:51.045 : The file (d:\winnt\inf\muxp.inf) is not digitally
signed, ignoring driver date.
@ 15:12:51.045 : Found MS_MUXP in d:\winnt\inf\muxp.inf; Device: abc ;
Driver: abc; Provider:cp; Mfg: cp; Section: MUXP.ndi
@ 15:12:51.045 : Decorated section name: MUXP.ndi
@ 15:12:51.045 : Selected driver installs from section MUXP.ndi in
d:\winnt\inf\muxp.inf.
@ 15:12:51.045 : Changed class GUID of device to
{4D36E975-E325-11CE-BFC1-08002BE10318}.
@ 15:12:51.045 : Set selected driver.
[2003/12/09 15:12:51 692.30]
@ 15:12:51.045 : Opened INF "d:\winnt\inf\muxp.inf".
[2003/12/09 15:12:51 692.31]
@ 15:12:51.045 : Opened INF "d:\winnt\inf\muxp.inf".
[2003/12/09 15:12:51 692.33]
@ 15:12:51.045 : Opened INF "D:\WINNT\INF\drvindex.inf".
[2003/12/09 15:12:51 692.34]
@ 15:12:51.145 : Opened INF "D:\WINNT\INF\certclas.inf".
[2003/12/09 15:12:51 692.35]
@ 15:12:51.145 : Opened INF "D:\WINNT\INF\drvindex.inf".
[2003/12/09 15:12:51 692.32]
@ 15:12:51.075 : Verifying file: D:\WINNT\INF\certclas.inf using key:
certclas.inf in catalog: -.
@ 15:12:51.145 : Pruning Files: Verifying catalogs/infs.
@ 15:12:51.145 : Verifying file: d:\winnt\inf\muxp.inf using key:
muxp.inf in catalog: -.
@ 15:12:51.195 : Verifying file failed with error: Error 0x800b0003:
The form specified for the subject is not one supported or known by
the specified trust provider.
@ 15:12:51.195 : Pruning Files: Verifying catalogs/infs completed.
@ 15:12:51.215 : Install Files: Verifying catalogs/infs.
@ 15:12:51.215 : Verifying file: d:\winnt\inf\muxp.inf using key:
muxp.inf in catalog: -.
@ 15:12:51.215 : Verifying file failed with error: Error 0x800b0003:
The form specified for the subject is not one supported or known by
the specified trust provider.
@ 15:12:51.215 : An unsigned or incorrectly signed driver
(d:\winnt\inf\muxp.inf) was installed for Network Protocol. Error
0x800b0003: The form specified for the subject is not one supported or
known by the specified trust provider.
@ 15:12:51.215 : Install Files: Verifying catalogs/infs completed.
@ 15:12:51.236 : SPFILENOTIFY_NEEDMEDIA: Tag="(null)" Description="xyz
Driver" SourcePath="d:\mux" SourceFile="xyz.sys" Flags=0x00000400.
Copying file d:\mux\xyz.sys to D:\WINNT\System32\DRIVERS\xyz.sys.
@ 15:12:51.376 : An unsigned or incorrectly signed driver
(d:\mux\xyz.sys) was installed for Network Protocol. Error 0x800b0003:
The form specified for the subject is not one supported or known by
the specified trust provider.
Copying file d:\mux\xyz.dll to D:\WINNT\System32\xyz.dll.
@ 15:12:51.466 : An unsigned or incorrectly signed driver
(d:\mux\xyz.dll) was installed for Network Protocol. Error 0x800b0003:
The form specified for the subject is not one supported or known by
the specified trust provider.
Thanks in advance
jyotsna Tag: (Q) WHQL or HCT news group. Tag: 37146
Resources Problem (2)
(First Question in the bottom)... Hope yopu can help me!
Hi!!!
I checked and it seems ok. So I will tell you what
happens in my debugging: I created a simple driver(withot
any I/O, memory or IRQ), which I can install to a non-
existent hardware. The run goes like:
PCIETH - Version 1.00.000 Dec 8 2003 15:17:25
PCIETH - Entering AddDevice: DriverObject 85DEDA70, pdo
857EA690
PCIETH - PNP Request (IRP_MN_FILTER_RESOURCE_REQUIREMENTS)
PCIETH - PNP Request (IRP_MN_START_DEVICE)
PCIETH - To WORKING from STOPPED
PCIETH - PNP Request (IRP_MN_QUERY_CAPABILITIES)
PCIETH - PNP Request (IRP_MN_QUERY_PNP_DEVICE_STATE)
PCIETH - PNP Request (IRP_MN_QUERY_DEVICE_RELATIONS)
And the it's ok, I can communicate with this driver, but
when I install the same one to my chip it stops after the
PNP minor function resource requirements (supposedly
managed by the PCI bus):
PCIETH - Version 1.00.000 Dec 8 2003 15:17:25
PCIETH - Entering AddDevice: DriverObject 85DEDA70, pdo
857EA690
PCIETH - PNP Request (IRP_MN_FILTER_RESOURCE_REQUIREMENTS)
PCIETH - PNP Request (IRP_MN_QUERY_STOP_DEVICE)
PCIETH - PNP Request (IRP_MN_QUERY_STOP_DEVICE)
PCIETH - PNP Request (IRP_MN_CANCEL_STOP_DEVICE)
So obviosly as you say it will never work...
So I re-start the computer as asked by windows and the it
marks this resource overlaping in the I/O area with an
intel pentium ii xeon processor to agp controller, but the
device manager gives me this info:
Intel I/O area: 03B0-03BB and 03CO-03DF
My chip: F000-FFFF
Now, do you now how can I fix this?
Thanx
>-----Original Message-----
>Are you sure your I/O area does not conflict with any
device? Go into the
>device manager and view resources by type and check the
I/O areas of other
>devices.
>
>As long as the system believes there is a conflict, it
will not assign you a
>complete set of resources. Without a complete set of
resources, the driver
>will not go through all phases of initialization. Until
you go through all
>the initialization, you cannot open the device.
>
>
>--
>Don Burn (MVP, Windows DDK)
>Windows 2k/XP/2k3 Filesystem and Driver Consulting
>Remove StopSpam from the email to reply
>
><anonymous@discussions.microsoft.com> wrote in message
>news:090401c3bd9b$6451d150$a101280a@phx.gbl...
>> Hi Don,
>>
>> Thanks to answer. I don't really understand what you
mean
>> with "Your problem is because of resources you are never
>> going to have your driver called to start the device",
can
>> you explain a little more?
>>
>> I checked the device manager, even if I choose not to
>> install a driver for my chip, windows assigns an I/O
area,
>> a memory area, and a IRQ line. I checked and the
>> resources are not overlaping except the IRQ. But windows
>> says is the I/O area, and the confilct is not even with
>> the same device of the IRQ line.
>>
>> Also, I'm trying to install my driver to an non-existent
>> hardware. But windows can not start the device and
>> deactivates it. The same happens when I install it to
my
>> HW.
>>
>> Any ideas?
>>
>> Thanx
>>
>> >-----Original Message-----
>> >Your problem is because of resources you are never
going
>> to have your driver
>> >called to start the device. Check the device manager,
if
>> the system thinks
>> >you have a resource conflict you probably do.
>> >
>> >
>> >--
>> >Don Burn (MVP, Windows DDK)
>> >Windows 2k/XP/2k3 Filesystem and Driver Consulting
>> >Remove StopSpam from the email to reply
>> >
>> >"Robert Zimbra" <rozigs00@fht-esslingen.de> wrote in
>> message
>> >news:052601c3bd6c$e9bf6ca0$a501280a@phx.gbl...
>> >> Hi!
>> >>
>> >> I'm arookie in WDM and I have one question that I
>> haven't
>> >> been able to answer...
>> >>
>> >> I have a chip connected to a PCI bus in a Single
Board
>> >> Computer, for which I'm developing a WDM (Windows
2000)
>> >> with the W2K DDK. Also I have been studying Walter
>> Oney's
>> >> book, and actually I used his wizard to produce a
>> skeleton
>> >> for my driver.
>> >>
>> >> Now the problem is that when I install this driver
(or
>> any
>> >> other) to this chip windows says to me that I have a
>> >> resorces problem with my I/O area, supposedly
overlaped
>> >> with the area of another chip (thing that is not
true).
>> >> So my driver is marked in the device manager as not
>> >> working properly (yellow exclamation sign).
>> >>
>> >> So rigth now I can not open a handle to my device,
and
>> I'm
>> >> not sure if it is because of this resorces reason or
>> >> because of my handle routine. My objective in a short
>> term
>> >> is to be able to read and write to this device with
the
>> >> minimum driver requirements. Can you help me?
>> >
>> >
>> >.
>> >
>
>
>.
>
. Tag: (Q) WHQL or HCT news group. Tag: 37143
Forcing DMA bounce buffers upon MapTransfer
Greetings all,
I'm curious if there is any method to force a scatter-gather DMA list
to utilize bounce buffers when calling MapTransfer.
By "bounce buffer", I refer to the intermediate buffer that has to be
flushed/copied for pages that are outside the device's addressable
range. That is, the reason FlushAdapterBuffers is expected after
performing the DMA.
In my case, I have a 32-bit PCI device that I am preparing for AMD-64
operation. I can't load up my motherboard with >4 GB to try this,
though, so I was hoping to fake it with a secret registry key or
something.
I'm pretty sure my code will work, but I would like to see what kind
of impact the copying times will have on the device data throughput.
All thoughts appreciated!
-E. Nelson
(no email, reply to group) Tag: (Q) WHQL or HCT news group. Tag: 37140
usbview on Windows Me and 98
I need to be able to enumerate all connected USB devices on Windows Me and
98. I need usbview on these platforms. Where can I get it for windows Me or
98? If it is not available where can I get information about enumerating
connected device. I am particularly interested in vendor IDs and product IDs
of connected device and finding drive letter of a specific USB Mass Storage
device.
Any help would be greatly appreciated. Tag: (Q) WHQL or HCT news group. Tag: 37134
Floppy Disk IOCTL functions?
Hi,
I want to make a floppy disk format utility for windows XP.
This format utility will only be formatting A:\ or B:\ floppy disk drives.
I will want to put a unknown disk format on the disk and it uses 256
byte/sectors. I see the Microsoft example in the DDK for the floppy
disk driver, but if it's possible to do this without making a driver in
Windows XP I'd sure like to know. If anyone can help? I'm using
Visual Studio 6 and MFC.
johncc
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =----- Tag: (Q) WHQL or HCT news group. Tag: 37133
Does USBCAMD support USB Bulk Mode?
Hello:
I am working on a USBCAMD2 mini-driver; the hardware for
this driver uses USB bulk mode to transfer data. Does
USBCAMD2 support bulk mode? It seems like BULK mode
support was added but not fully debugged (example: on
application exit, a spin lock is acquired, then acquired
again causing problems later).
Thanks,
Joe Rickson Tag: (Q) WHQL or HCT news group. Tag: 37131
Audio Driver
Is anyone here capable of answering a question regarding
audio drivers? Especially MIDI In drivers?
Greetings,
Florian Tag: (Q) WHQL or HCT news group. Tag: 37122
Wingman Extreme Driver
Does anyone have a driver, or know where to get one, for the Logitech
Wingman Extreme joystick, this is the older analog stick, not the newer
digital one which has drivers easily available. Tag: (Q) WHQL or HCT news group. Tag: 37121
Windows Logo Program
Hello!
I have developed a driver for digital firewire cameras. The cameras follow the IIDC spec.
Now I want to get a hardware logo for these cameras but the test fails because
the textual leaf resides in the Unit Dependend Directory of the device´s ConfigROM where
the test expects it to be in the Root Directory.
How do I get the HW and the driver logo´d? Has anybody successfully resolved a similar issue
with the winlogo team? And if yes, how?
Neither the WHQL email addresses nor the winlogo newsgroup offers a response to this
issue.
Thanks,
-Arne Tag: (Q) WHQL or HCT news group. Tag: 37104
1394 - Set Speed For Async Read/Write/Lock
Hello,
is it possible to set the speed for a 1394 read/write/lock
request?
I'm encountering the problem that I can't access a device
with an 1394B PHY and an older only S400 capable Link
chip. Thus the PHY reports "I can handle S800 requests"
with its Self Id Packets (which is correct): Packets
between other nodes connected to this node can be S800.
This makes sense.
But the Link says "I can only up to S400" in the Bus Info
Block. So I would expect the Windows 1394 driver to send
S400 packets to the node. It doesn't. I sends S800 packets.
So, again: Can I set the speed? How? And just for
curiousity: Is MS doing wrong or is the device beyond the
standard?
Udo. Tag: (Q) WHQL or HCT news group. Tag: 37103
devices interrupt sharing question
Hi!
How is it possible to point out does the PCI card support IRQ sharing or
not.
In Device Manager I can notice that USB HUB device and my PCI card share the
same interrupt.
I initialized the ISR for my card, but I forbided the instrrupt generating
by my PCI circuit.
Nevertheless the interrupts are still generated. And the device context is
mine.
Can anybody explain is it the right logic or not? And how can I avoid such
situations, because when I process that interrupts and return TRUE the PC
hangs up.
Thanks in advance.
Kiryl. Tag: (Q) WHQL or HCT news group. Tag: 37096
How to scan for hardware changes
Hi all
How can I provoke the system to search for not installed devices as if "Scan
for hardware changes" button was cliked?
Thanks,
Vladimir Tag: (Q) WHQL or HCT news group. Tag: 37095
Direct Music Synthesizer (Kernel Mode)
Hello! I'm developping a Kernel Mode Synthesizer.
I have first built the 'ddksynth' DDK sample. Everything
is ok except that it doesn't work. Direct Music
Synthesizer doesn't enumerate it in the Port Combobox.
The last function called in the code
is 'PropertyHandler_SynthCaps'. It seems that the system
or DMProducer doesn't like something in the DDKSYNTH
capabilies.
Why?
Does this sample work with WinXP (and DirectX 9)?
Thanks for any help,
Olivier Roblin
MadWaves Tag: (Q) WHQL or HCT news group. Tag: 37088
IPFilterDriver ??????
Hi,
In my Hook function
PF_FORWARD_ACTION IpFilterHook(IN unsigned char *PacketHeader,
IN unsigned char *Packet, IN unsigned int PacketLength,
IN unsigned int RecvInterfaceIndex, IN unsigned int SendInterfaceIndex,
IN IPAddr RecvLinkNextHop, IN IPAddr SendLinkNextHop)
{
IPPacket *ipp;
TCPHeader *tcph;
UDPHeader *udph;
int countRule=0;
ULONG i = 0xC2110D50;
struct filterList *aux = first;
//we "extract" the ip Header
if ((PacketHeader==NULL)||(Packet==NULL))
return PF_FORWARD;
ipp=(IPPacket*)PacketHeader;
dprintf("Client: %x, %d", PacketLength, RecvInterfaceIndex);
dprintf("Source: %x\nDestination: %x\nProtocol: %d", ipp->ipSource, ipp->ipDestination, ipp->ipProtocol);
//My address for test
if( (((IPPacket *)PacketHeader)->ipSource == 0x5628FA51 ) ||
( (((IPPacket *)PacketHeader)->ipDestination== 0x5628FA51 ) )
return PF_FORWARD;
else
return PF_DROP;
}
" There all my packets from my address (0x5628FA51) should be forwarded ---- but they don't why ------ "
" Has anybody a successfull experience with Ipfilterdriver and FilterHook ?"
I hope your advice !
J.C. Tag: (Q) WHQL or HCT news group. Tag: 37086
Build problem in w2k environment of 2003 DDK
Hello,
when I try to build my usb-driver in the w2k environment of 2003DDK I get
the following error-message:
BUILDMSG: Warning: The sample "C:\WINDDK\...." is not valid for the current
OS target."
No sys-File is generated. The same error occurs when I try to build the
included usb samples from the ddk.
On http://www.microsoft.com/whdc/ddk/relnotexpsp1.mspx I found the
following:
"When creating the Windows 2000 build environment using the Start Menu icon
(or manually running %ddkroot%\bin\w2k\set2k.bat), the environment variable
BUILD_OPTIONS is set in order to exclude many samples from default
compilation under this environment. This has a couple of effects and
limitations (which apply only to the Windows 2000 environment).
- build -cZ from the root of the DDK now results in a clean build with no
errors or warnings.
- When doing the above, not all samples are built.
- This does not prevent cd'ing into an arbitrary sample directory and
attempting to build it. When doing so, samples that do not work correctly in
the Windows 2000 build environment will still produce errors and/or
warnings."
Under W2K DDK my driver compiles fine, but I have read that is recommended
to use always the latest DDK with the corresponding environment.
Does anybody know how to fix this problem?
Best regards
Frank Tag: (Q) WHQL or HCT news group. Tag: 37085
Resources problem
Hi!
I'm arookie in WDM and I have one question that I haven't
been able to answer...
I have a chip connected to a PCI bus in a Single Board
Computer, for which I'm developing a WDM (Windows 2000)
with the W2K DDK. Also I have been studying Walter Oney's
book, and actually I used his wizard to produce a skeleton
for my driver.
Now the problem is that when I install this driver (or any
other) to this chip windows says to me that I have a
resorces problem with my I/O area, supposedly overlaped
with the area of another chip (thing that is not true).
So my driver is marked in the device manager as not
working properly (yellow exclamation sign).
So rigth now I can not open a handle to my device, and I'm
not sure if it is because of this resorces reason or
because of my handle routine. My objective in a short term
is to be able to read and write to this device with the
minimum driver requirements. Can you help me? Tag: (Q) WHQL or HCT news group. Tag: 37083
Printer Driver Installation
Hi,
We have got our printer drivers for 98-NT-2k on a single
CD. While installing the drivers for the USB in 2k OS it
is displaying 98 OS inf files along with 2k OS inf files
also.
This problem was not observed earlier. We got the new cat
file after WHQL certification. After replacing the new cat
file with a dummy cat file this problem was observed.
Steps to reproduce:-
1. Connect the USB printer to the 2k system
2. Windows will discover the new device ask for driver
3. Provide the CD path where the 98/2k printer drivers are
4. Select the -> search for best drivers option and check
the CD rom as the driver path.
5. It will check the entire CD and provide the best driver
inf.
6. Select (check)the Recommended other driver option and
click on next.
7. This is displaying 2k as well as 98 printer drivers'
inf files. It should only display 2k printer drivers.
Could any body suggest me any changes required in the inf
files so that 2k does nt recommend 98 drivers also along
with 2k drivers.
with warm regards,
Chaitanya Tag: (Q) WHQL or HCT news group. Tag: 37080
Highest byte of IO_STACK_LOCATION.Parameters.Create.Options
How can interpret highest byte(bits 24-31) of
IO_STACK_LOCATION.Parameters.Create.Options ?
FILE_VALID_OPTION_FLAGS determines bits 0-23 as valid, but IO manager also
actively use the highest byte. Where can I find this info?
Thank for advices
Vadim Tag: (Q) WHQL or HCT news group. Tag: 37079
wireless OID support
Hi all:
When we say wireless OID support ,it means that the miniport driver for
the nic support the OID?right?
And the protocol driver we written have nothing with the OID,it's just
a interface to send to receive from the miniport driver?
thanks for reply.
kidd
12/8 Tag: (Q) WHQL or HCT news group. Tag: 37073
Possible to bypass HAL in driver?
In a Windows 2000/XP kernel-space driver, is it possible to directly
access the I/O ports using the IN/OUT/INS/OUTS instructions? Thanks
much in advance,
Robert Tag: (Q) WHQL or HCT news group. Tag: 37072
IoRegisterDeviceInterface?
In Walter Oney's book 2nd ed Ch 2, section on registering device interfaces
If a driver does not call IoRegisterDeviceInterface what are the
implications?
Is there a reason not to do this?
I am working with a device multifunction usb where the modem interface is
indeed registered
but the diagnostic serial interface is not. Of course I used the sample
from the WDM book
for enumerating interfaces and used my own tool and this interface does not
show up.
I started this quest because I do not get notifications for this interface
and it is killing me.
~mike Tag: (Q) WHQL or HCT news group. Tag: 37071
Uninstall IM driver for only one NIC, possible ?
Is it possible to uninstall an IM driver for only one NIC if you have two or
more in the system ?
--
best regards
Zuka Tag: (Q) WHQL or HCT news group. Tag: 37070
How to install device driver automatically
Hello, we have device driver (*.SYS) for some special device.
It can be installed by user manually, if the user choses "Add New
Hardware..."
wizard.
But we want to be able to install it automatically from within our program.
We also hae an INI file.
How can we install this driver from within our software, WITHOUT user
intervention?
Thank you. Tag: (Q) WHQL or HCT news group. Tag: 37067
Display driver responsible for system instability
Not sure if here's the right place for this posting.
Have tried other NG's, Microsoft and ATI with negative results.
Basically...
My system keeps locking up after a few minutes use.
Message displayed after rebooting says 'Display driver RAGE 128 PRO
Ultra GL AGP possibly responsible for system instability' also '...
check with driver manufacturer for driver update'
I've checked with Windows/Microsoft updates with negative result.
I've looked at the ATI site and downloaded another driver for Windows
XP. Message then says it's not compatible with my system - Windows XP.
I've spent most of the last 48 hours trying to sort this problem and am
nowhere nearer to a solution.
My base unit is not overheating and my system is virus free. Currently I
can only use computer a few minutes at a time before the whole thing
locks.
Can anyone assist please? Tag: (Q) WHQL or HCT news group. Tag: 37065
wia driver under Windows 2k
hi, there,
I would like to ask a newbie question. I was reading msdn
that WIA scanner driver can run under Windows 2000 if it
exposes STI interface. Where can I find some information
to do so? Also, in Windows XP DDK, I see that in a sample
code (wiascroll), one of the classes is derived from
IstiUSD, does that mean that I can use it under Windows
2000 for applications with sti interface.
Thanks in advance
Xing Tag: (Q) WHQL or HCT news group. Tag: 37062
=?iso-8859-1?Q?Why_can't_I_downloaded_XP_DDK=3F?=
This is a multi-part message in MIME format.
------=_NextPart_000_001F_01C3BC3C.2C0B65F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hey,
=20
Why doesn't Microsoft allow the XP DDK to be downloaded ? Is there a =
website I can download it?
=20
Aric
------=_NextPart_000_001F_01C3BC3C.2C0B65F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>Hey,</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT size=3D3><FONT=20
face=3D"Times New Roman"> <?xml:namespace prefix =3D o ns =3D=20
"urn:schemas-microsoft-com:office:office" =
/><o:p></o:p></FONT></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT size=3D3><FONT=20
face=3D"Times New Roman"><SPAN=20
style=3D"mso-spacerun: yes"> </SPAN>Why doesn't Microsoft =
allow the=20
XP DDK to be downloaded ? Is there a website I can download=20
it?</FONT></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT size=3D3><FONT=20
face=3D"Times New Roman"> <o:p></o:p></FONT></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>Aric</FONT></P></FONT></DIV></BODY></HTML>
------=_NextPart_000_001F_01C3BC3C.2C0B65F0-- Tag: (Q) WHQL or HCT news group. Tag: 37056
Should I order Windows XP DDK or Windows Server 2003 DDK
This is a multi-part message in MIME format.
------=_NextPart_000_0014_01C3BC3A.FD9DD410
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hey,
=20
Should I order windows XP DDK or Windows Server 2003 DDK? The =
Microsoft web page for the Windows Server 2003 DDK said that it contains =
the windows XP DDK, which I need. I have read something similar before =
from the windows website and it was incorrect. Since I need the windows =
XP DDK I thought that I would also get the Server 2003 DDK. Any hints?
=20
Thanks
Aric
------=_NextPart_000_0014_01C3BC3A.FD9DD410
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>Hey,</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT size=3D3><FONT=20
face=3D"Times New Roman"> <?xml:namespace prefix =3D o ns =3D=20
"urn:schemas-microsoft-com:office:office" =
/><o:p></o:p></FONT></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT size=3D3><FONT=20
face=3D"Times New Roman"><SPAN style=3D"mso-spacerun: yes"> =20
</SPAN>Should I order windows XP DDK or Windows Server 2003 DDK? The =
Microsoft=20
web page for the Windows Server 2003 DDK said that it contains the =
windows XP=20
DDK, which I need. I have read something similar before from the windows =
website=20
and it was incorrect. Since I need the windows XP DDK I thought that I =
would=20
also get the Server 2003 DDK. Any hints?</FONT></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT size=3D3><FONT=20
face=3D"Times New Roman"> <o:p></o:p></FONT></FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>Thanks</FONT></P>
<P class=3DMsoNormal style=3D"MARGIN: 0in 0in 0pt"><FONT face=3D"Times =
New Roman"=20
size=3D3>Aric</FONT></P></FONT></DIV></BODY></HTML>
------=_NextPart_000_0014_01C3BC3A.FD9DD410-- Tag: (Q) WHQL or HCT news group. Tag: 37055
driver for epson stylus photo 810
Require driver for epson stylus photo 810 to run with windows XP
thanks alot!!!! Tag: (Q) WHQL or HCT news group. Tag: 37050
print spooller
how the f**K CAN I START MY PRINT DRIVER.
CAN ANY ONE HELP ?
IF I PUT IN THE START UP DISC IN AND RUN IT WILL THAT DO
ANYTHING OF USE OR JUST BE BAD FOR THE COMPUTER
DOSE ANY ONE HAVE THIS PROB ?
IN NEED TO SORT IT OUT SO I CAN USE MY PRINTER AGAIN
IF YOU CAN HELP MY MAIL AD IS xxsherrylipsxx@aol.com
thanks Tag: (Q) WHQL or HCT news group. Tag: 37049
Thanks Walter
Hey Walter I just got the 2nd edition of your book in the mail.
I was very pleased to see the new material in there. It has already helped
me very much.
The PnP section for function drivers and especially the multifunction
devices
sections are great. I jumped right to those sections because thats where my
troubles are.
Thanks very much for this new edition.
~mike Tag: (Q) WHQL or HCT news group. Tag: 37048
MmUnlockPages
Hi
MmUnlockPages is bugchecking when i use it inthe ISR DPC routine where i
complete the IRP.Is that i need to use try catch blocks and also which is
best way to do,to decalre a MDL as a part of the dispatch routine where i
call IoAllocateMDL or in the device extension structure.
please help me out.
thanks
sai Tag: (Q) WHQL or HCT news group. Tag: 37047
TOS
Hi,
I don't really know if i'm in the right place for this question but I try (sorry)
How change the TOS parameter of tcp.sys for tcp/ip packets outcomming ?
Thanks I hope your advises !
J.C. Tag: (Q) WHQL or HCT news group. Tag: 37043
To MmUnlockPages or Not?
From what I gather, behind the scenes (there seems to be a lot of
undocumented behind the scenes stuff) of a DeviceIOControl call (before
coming to the driver) something takes care of calling MmProbeAndLockPages
for some DIRECT IO IOCTL buffer. From the IOCTL dispatch routine in the
driver to use it just like a normal buffer, you do
MmGetSystemAddressForMdlSafe.
Now say you take that virtual buffer you got from
MmGetSystemAddressForMdlSafe and used it as a parameter to
IoBuildAsynchornousFsdRequest -- Is something again behind the scenes going
to do a MmProbeAndLockPages? Assuming it does, is it okay to use
MmUnlockPages in the completion routine for the created IRP? Is it that it
knows something else has them locked or does the additional
MmProbeAndLockPages actually use additional memory locations?
TIA!!! Tag: (Q) WHQL or HCT news group. Tag: 37042
Add Stack Location after IoBuildAsynchronousFsdRequest
Is there a way to increase the stack count for an irp created using
IoBuildAsynchronousFsdRequest so that it can be setup so the completion
routine gets a valid PDEVICE_OBJECT instead of NULL? Tag: (Q) WHQL or HCT news group. Tag: 37040
CD-ROM filter driver, take 3: Almost there...
When I last reported my progress, I'd just gotten started on playing
with James Antognini's sample filter driver code (thanks for pointing
me to that, James!). I've managed to get the driver to do everything I
need it to do at this point, but there's one problem that's come up
that I can't make heads or tails of.
(For those new to this, this is running on Windows 2000 SP4 Checked,
built with Windows DDK 3790.)
When I run my driver in bypass mode....everything is fine. No problems
whatsoever, it's like it isn't even there. But when I put an encrypted
disc in the drive and log it in, CDFS.SYS pukes thusly when it tried
to mount the CD:
kd> !analyze -v
*******************************************************************************
*
*
* Bugcheck Analysis
*
*
*
*******************************************************************************
UNEXPECTED_KERNEL_MODE_TRAP (7f)
This means a trap occurred in kernel mode, and it's a trap of a kind
that the kernel isn't allowed to have/catch (bound trap) or that
is always instant death (double fault). The first number in the
bugcheck parens is the number of the trap (8 = double fault, etc)
Consult an Intel x86 family manual to learn more about what these
traps are. Here is a *portion* of those codes:
If kv shows a taskGate
use .tss on the part before the colon, then kv.
Else if kv shows a trapframe
use .trap on that value
Else
.trap on the appropriate frame will show where the trap was
taken
(on x86, this will be the ebp that goes with the procedure
KiTrap)
Endif
kb will then show the corrected stack.
Arguments:
Arg1: 00000000, EXCEPTION_DIVIDED_BY_ZERO
Arg2: 00000000
Arg3: 00000000
Arg4: 00000000
Debugging Details:
------------------
BUGCHECK_STR: 0x7f_0
TRAP_FRAME: bec74608 -- (.trap bec74608)
ErrCode = 00000000
eax=00000800 ebx=813bca50 ecx=00000000 edx=00000000 esi=00000000
edi=8006bc94
eip=be9d3483 esp=bec7467c ebp=bec7475c iopl=0 nv up ei pl zr
na po nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000
efl=00010246
Cdfs!CdUpdateVcbFromVolDescriptor+0xea:
be9d3483 f7f1 div ecx
Resetting default scope
DEFAULT_BUCKET_ID: DRIVER_FAULT
LAST_CONTROL_TRANSFER: from be9cd95a to be9d3483
STACK_TEXT:
bec7475c be9cd95a 813bd448 813bca50 813ba000
Cdfs!CdUpdateVcbFromVolDescriptor+0xea
bec7480c be9cd283 813bd448 813d8008 813d8008 Cdfs!CdMountVolume+0x3eb
bec74828 be9bf5fb 813bd448 813d8008 813bd538
Cdfs!CdCommonFsControl+0x77
bec74880 80424f7c 813bd538 813d8008 813bd538 Cdfs!CdFsdDispatch+0x19f
bec74898 8053369c 8006bd60 804cc5f0 815f1038 nt!IopfCallDriver+0x4f
bec748dc 80435d67 c000014f 00000000 00000000 nt!IopMountVolume+0x1c4
bec74904 8054f220 bec74c84 815f1038 bec74ad8
nt!IopCheckVpbMounted+0x5f
bec74a94 804a3178 815f1038 00000000 bec74b4c nt!IopParseDevice+0x41b
bec74b0c 8057a8e5 00000000 bec74c08 00000040
nt!ObpLookupObjectName+0x60e
bec74c1c 8051ebcd 00000000 00000000 804c6d01
nt!ObOpenObjectByName+0x119
bec74cf0 8052c311 01adf8b8 00100080 01adf888 nt!IoCreateFile+0x425
bec74d38 804bfb2a 01adf8b8 00100080 01adf888 nt!NtOpenFile+0x57
bec74d38 77f78c8f 01adf8b8 00100080 01adf888 nt!KiSystemService+0x10a
01adf630 77e757d2 01adf8b8 00100080 01adf888 ntdll!ZwOpenFile+0xb
01adf8bc 76243e86 000d12c8 8007000e 005c005c
KERNEL32!GetDriveTypeW+0x1c7
01adfad8 7623b436 01adfb24 77e5a30f 00279de0
trkwks!IsLocalObjectVolume+0x3d
01adfba8 7623aee0 00279dac 00279a00 00667090
trkwks!CVolumeManager::InitializeVolumeList+0xc5
01adfc6c 7623dd23 002799f8 00279dac 00279a00
trkwks!CVolumeManager::Initialize+0x17f
01adfee4 76234640 0102c750 000005fc 01011294
trkwks!CTrkWksSvc::Initialize+0x18b
01adff60 01029cdf 00000001 00075960 0102c750 trkwks!ServiceEntry+0xeb
01adff84 01029c09 76220000 00000001 00075960
services!SvcLoadDllAndStartSvc+0xd4
01adffa0 77d92288 00000001 00075960 00666dc8
services!SvcServiceEntry+0x8e
01adffb4 77e5d631 00075958 00666e00 00666dc8
ADVAPI32!ScSvcctrlThreadA+0x10
01adffec 00000000 77d92278 00075958 00000000
KERNEL32!BaseThreadStart+0x52
FOLLOWUP_IP:
Cdfs!CdUpdateVcbFromVolDescriptor+ea
be9d3483 f7f1 div ecx
FOLLOWUP_NAME: MachineOwner
SYMBOL_NAME: Cdfs!CdUpdateVcbFromVolDescriptor+ea
MODULE_NAME: Cdfs
IMAGE_NAME: Cdfs.SYS
DEBUG_FLR_IMAGE_TIMESTAMP: 3e25bcb4
STACK_COMMAND: .trap bec74608 ; kb
BUCKET_ID: 0x7f_0_Cdfs!CdUpdateVcbFromVolDescriptor+ea
Followup: MachineOwner
---------
Now I'm wondering what exactly it's trying to do here...as far as I
can tell, the data is being decrypted successfully (it wouldn't have
been able to recognise the disc as ISO 9660 otherwise). If I disable
my decryption code, it also works (though plaintext is garbled,
obviously). I've played with my completion routine to see if it's wild
memory allocation or other funkiness, but everything I've tried so far
seems to indicate that cdfs.sys doesn't like something the decryption
code is doing. (The crash comes after it tries to mount, just after my
completion routine returns STATUS_PENDING. Yes, I'm doing
IoMarkIrpPending first, and yes, it usually works.)
Anyone have any idea what's going on here? I'm completely stumped.
Also, is there any way to get source for CDFS.SYS (even if it's in the
IFS kit)?
-lee Tag: (Q) WHQL or HCT news group. Tag: 37037
Hello everyone.
I want to know if there is any news group for WHQL or HCT.
"Daum" <daum999@yahoo.com> wrote in message
news:eZiIrrnvDHA.3536@tk2msftngp13.phx.gbl...
> Hello everyone.
>
> I want to know if there is any news group for WHQL or HCT.
>
> Please let me know if there is any.
>
> Thank you.
>
> Have a nice day.
>
>
>
>
>
>