Information about UMBus
Hello,
I am looking for information regarding the UMBus bus found in Vista.
Couldn't find anything in the Vista WDK or SDK.
Specifically, I am looking for information to match WPD devices to the
correspoding hardware device. I suppose there are a few IOCTL that the bus
driver implements, but they do not seem to be documented.
TIA,
John Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86820
how to terminate an IRP Create operation correctly?
I'm trying to prevent a certain file to be written anywhere in the
filesystem. As far I understand, one can do that by terminating IRP Create
(SpyCreate) when the file in question has been found with the following
code:
Irp->IoStatus.Information = 0;
Irp->IoStatus.Status = STATUS_SUCCESS;
IoCompleteRequest( Irp, IO_NO_INCREMENT );
return STATUS_SUCCESS;
That code works fine when terminating eg IRP Writes but causes a BSOD when
used in Create.
Any suggestion how to terminate an IRP Create operation correctly?
Your advice would be very much appreciated. Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86813
DDK mirror driver sample
I built and installed the mirror driver on a Windows XP (SP2) PC. The app
exits immediately. The output seems to indicate it is running normally. I am
not sure what is the expect behavior for this driver and app. Doesn't the app
shows a windows on the second monitor that mirrors the first monitor? The
code seems commented out in the sample. Could anyone point me to the
documentation for mirror driver? Thanks, Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86810
WinMobile 5 Driver Dev For USB to Serial Adapter
Problem: Need to dev/deploy driver for USB to Serial (DB9) cable for
WinMobile 5 (T-Mobile MDA).What I Have: Managed to get .000 and .001 files
from chipset manuf.About me: Haven't done driver dev in years, am currently
Sen Solutions Developer for British Telecom NYC. I Do: 3-Tier Ent. Solutions,
Distributed Apps, SOA Solutions, ASP.NET/AJAX Web Apps, Hardware config and
planning, data mang/OLAP, cust-access web sites. Just given management over
Mobile Devices, have hard timeframe to complete. Any info on driver dev and
deployment for Win Mobile 5 would be great, especially if I can incorporate
the files given by the manuf. into solution (install pakage or manual
install, whatever will work). Just given Mobile dept. am not familiar enough
to meet timeline expected. Many thanks. Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86808
Driver Dev for Win Mobile 5
I am having trouble creating the driver installation package for a USB to
Serial adapter cable. The chipset manuf. has provided the .000 and .001 as
unsupported files only. What I need to do is connect our PPC Phone Ed.
devices (T-Mobile MDAs) to our telco switches/routers (VT100 emulator prog.)
for diagnostics and basic config for our techs. Since the drivers for WinMob
5 are .dll, which is the best way to create an install package or manual
indstall? I am a primarily a 3-Tier entrerprise application and SOA developer
and have not had to write a driver for years. Additionall,y I have just been
handed our mobile device dev./mang. and am under a tight schedule. Any info
would be great. - S-Rez BT Americas NYC Sen. Solutions Developer Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86804
Getting the "bus relations" of a device
I have a webcan that is both appearing in the "USB controllers" and
"Imaging Devices" sections in the Device Manager. How can I find the
relations between the two drivers (in user mode).
I have tried SetupDiGetDeviceRegistryProperty but it seems there is no
unique property that I can use.
One possible way would be to retrieve the "bus relations" of a device
as displayed in the Device Manager->Device XXX->Details->Bus relations.
But how ? Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86798
WinDbg: extra blank line if timestamps enabled
Moin,
I noticed that if I enable timestamps in WinDbg 6.6.7.5 that there is an
extra blank line printed for every call to DbgPrint(). Is this a bug or a
feature ? If it is a feature how can I disable it ? Any clues ?
Bis gleich ...
Stefan Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86792
How can I register multiple Coms via a virtual serial port driver?
Hi friends,
I have written a virtual serial port driver using a pair of bulk
endpoint of USB. It can register a virtual COM symbol such as "COM3" in
my computer. The driver function well using WIN32 applications.
Now I have requirement to emulate 3 COMS at the same time in host
computer via this pair of bulk endpoint.
Questtions:
1.First I have to find a feasible way to register 3 COM symbol,
they are symbolic link to FDO, how can I register them at the same
time?
2.Only one PDO(physical device object) is created by lower USB
driver , then I have to register 3 FDOS(functional device object) ,
fatal error occured when I attach them to PDO using
IoAttachDeviceToDeviceStack(), How can I deal with it?
3. Is there any sophisticated virtual driver sample for my
requirement?
Waiting for expert's comments. All your comments are welcome.
Thanks in Advenace,
Conan Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86790
ReInvoking MiniportInitialize from protocol driver
Hi experts,
I want to make Ndis call (reinvoke) my MiniportInitialize from protocol
driver. This has to be done without removing and reinserting my device.
First iam trying to make Ndis to call my MiniportHalt & then recall
MiniportInitialize.
Any suggestion welcome
Thanks in advance Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86786
PCI express payload mystery
We have got our WDF driver up and running with an 8 lane PCI express
card. It uses hardware DMA scatter gather and appears to be working
well. However we are only getting about 50% of the theoretical
bandwidth over 8 lanes (1GB/s instead of 2GB/s). Unfortunately we need
to hit around 60%. The 50% doesn't include driver overhead and is
measured by the hardware during the transfer.
One of the main factors that can affect PCI express efficiency is the
payload size. From what I have read the maximum payload is 4k which is
supposed to give near to 100%. For 128 byte payloads with an estimated
application overhead it's around 55%, and for 64 bytes it is around
40%. On our AMD platform as we are not measuring the overhead, it is
feasible that we're getting 64 byte payloads (our card supports 4k).
A few things we have noticed so far:
ATI X1900 XT has a maximum payload size of 128 (according to SiSoft
tool)
Intel 965 chipset has a maximum payload size of 128 (according to the
data sheet).
Here are a couple of questions I hope someone can shed some light on:
1) On an AMD system PCI express is interfaced by HyperTransport which
is packet based, and has a maximum payload size of 64 bytes. Does this
mean its PCI express interface is also limited to 64 byte payloads?
2) Does anyone know of a motherboard chipset that supports large
payloads (4k)?
Apologies if this is slightly off topic, but I guessed it is something
that will affect anyone writing a PCI express driver. Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86785
SCard reader driver is not getting registered properly hence not
I have modified the ddk sample for smart card reader, pscr to support
the PCI interface.
I installed smart card reader driver i could able see my driver details
in the registry
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySmartreader).
But, Smart Card Subsystem is not recognizing my reader, that means he is
not adding my registry details to
(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\calais\Reader) .
I have a GEMPLUS Serial reader hardware and .sys file, which is
installing and passing driver details to above registry with my inf file
(with their device and vender ID). So, I think my driver initialization
is not proper in the driver, I have updated all the mandatory parameter
in the SMARTCARD EXTENSION Structure.
What else need to be done to make my reader driver visible to the
resource manager.
Regards
Esha Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86782
AddPrinterDriver failed.
Hi friends,
I have used DRIVER_INFO_3 with AddPrinterDriver API to install my printer
driver manually. In 32 bit OS its working fine. But in 64 Bit versions
(windows Xp x64) I am getting an error message saying that "The system cannot
find the path specified". (ERROR_PATH_NOT_FOUND =3).
But the printer driver path is retrieved through "GetPrinterDriverDirectory"
API only. Even I tried with direct addressing
also.(c:\windows\system32\x64\spool\drivers\3...).But in both methods Iâ??m
getting
the same error message. Please suggest me how to come out from this problem.
Thanks,
Shankar B Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86780
EMF
I grant to you I m a bit confused about the workflow during a print job.
Where is the best place to catch the EMF Output ? I did it now in the
printprocessor trough copying the Spoolfiles. But they may a better place
or a more fashionable solution.
What's about catching the EMF-Commands in the printdriver or is it better
to use a portmonitor ? I want to use it to catch output from vector-graphic
programs.
Until now I saw the best results if I choose a Plotter as Output device.
Has anybody any sugesstions ?
Thomas Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86778
Why happen "found new hardware" ...
Why happen "found new hardware" dialog after clicking uninstall the card in
the device manager on vista? It seems automatically scanning. My vista
version is 5600. Can anybody help me? Thank you. Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86777
virtual disk driver - write a volume header
I am writing a virtual disk driver which uses a file as a virtual disk.
The disk
file can be mounted with a drive letter and normally used. Internally,
ZwReadFile and ZwWriteFile in the dispatch routine for IRP_MJ_READ and
_WRITE do
the job to write on and read from "disk". As far, everything works
fine.
Now, I would like to write a volume header sector at the beginning of
the disk
file. This volume header sector should not be formatted by e.g. the
windows
format command. It should be ignored by any write operation on the disk
file.
I think I have to modify the StartingOffset in the VERIFY_INFORMATION
when IOCTL_DISK_VERIFY comes down and shift as well the offest of
IRP_MJ_WRITE to save this special sector for overwriting?
Until now, e.g. the windows format begins at StartingOffset 0 and thus,
overwrites my volume header sector which was previously written when
the disk file was created. Any help would be gratefully appreciated.
More info can be provided if applied. Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86775
MS toaster sample and driver signing
When a new toaster device is plugged-in ( using command: enum.exe â??p 1 )
device Setup pops-up a warning that the driver is not properly signed.
Question 1. If I use remote desktop the warning message is displayed not on
my screen but on the primary or main screen and is not visible to me. I have
to login from a monitor which is physically connected to the machine where
toaster software runs in order to see this warning dialog and continue the
driver installation. Any suggestions how to deal with this problem without
passing WHQL tests? The workaround known to me is: go to Device Manager, find
the newly created toaster device, select Update Driver and go through the
installation process from the very beginning.
Question 2. After installing the driver for toaster device number 1 I want
to add toaster device number 2. Same warning message pops-up again. I already
approved the driver installation for device number 1 and device number 2 will
use the same driver. How to avoid the warning if the driver has been
previously installed for another device? Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86773
How to not show "Hardware Installation" Dialog when install driver?
Hi all,
When i use command line "devcon install mobicap.inf mobicap" to install
driver, it displayed a dialog to ask user for installing. I want to control
this?
Help me, thanks. Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86764
NDIS Version question.
Looking at the sources file for passthru example im driver in the 2003 ddk,
it is evident that for a w2k build ndis 4.0 will be used and for xp/2003 ndis
5.1 will be used.
I just spent some time researching the different versions of ndis and its
seems ndis 4.0 is real old and ndis 5.0 was introduced in w2k. Why then does
passthru want to be built using ndis 4.0 for w2k and not ndis 5.0?
The sources file looks like this ...
!if "$(DDK_TARGET_OS)"=="Win2K"
#
# The driver is built in the Win2K build environment
#
C_DEFINES=$(C_DEFINES) -DNDIS40_MINIPORT=1
C_DEFINES=$(C_DEFINES) -DNDIS40=1
!else
#
# The driver is built in the XP or .NET build environment
# So let us build NDIS 5.1 version.
#
C_DEFINES=$(C_DEFINES) -DNDIS51_MINIPORT=1
C_DEFINES=$(C_DEFINES) -DNDIS51=1
!endif
I am tempted to change it to ...
!if "$(DDK_TARGET_OS)"=="Win2K"
#
# The driver is built in the Win2K build environment
#
C_DEFINES=$(C_DEFINES) -DNDIS50_MINIPORT=1
C_DEFINES=$(C_DEFINES) -DNDIS50=1
!else
...
Can anyone help me out here? Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86760
PoRequestPowerIrp cancel race?
Isn't it a race for the sender of a power IRP to call IoCancelIrp on
an IRP allocated by PoRequestPowerIrp, because the IRP may have
already been completed and then freed by the power manager before
IoCancelIrp tries to access the memory it may no longer occupy? Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86754
removable drive type versus local drive type
I am looking for information on how Windows handles removable drives versus
local drives at the driver level. For example, it seems that a polling
mechanism exists for removable drives that can effect performance that does
not exist on local drive types. I am trying to determine the differences
between the two drive types from the Windows point of view. Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86745
DDKVersion.xml ?
The 5744 WDK setup put this file in c:\winddk - what is the purpose?
Regards,
--PA Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86743
Is there any difference w.r.t updating drivers between 56xx and 57xx Vista builds?
Hi,
Updating ITB device driver on 57xx Vista builds is not going through
smoothly.
Is there any difference b/w 56xx and 57xx Vista builds?
Has anyone seen similar problems?
Thanks,
-Praveen Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86742
WDF Class Filter Driver Installation
Hi,
I was wondering if anyone had experience installing a CLASS filter
driver on an already existing setup class. I have found limited
resources on the subject (at least for a class filter driver), and I
haven't found anything on msdn on how to install a class filter driver
with WDF. Their link points to here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devinst_d/hh/DevInst_d/specinst_708d78ad-ba66-40a0-946a-a0bb261e8a8a.xml.asp
which directs you to use an app to do the following:
1. Call SetupInstallFilesFromInfSection for the [upperfilter_inst]
section.
2. Call SetupInstallServicesFromInfSection for the
[upperfilter_inst.Services] section.
3. Call SetupInstallFromInfSection for the [upperfilter_inst]
section, once for each class key it wants to register the upperfilt
service for.
However, I think WDF is a different beast as it requires the
wdfcoinstaller to install the runtime. So I am not sure if this method
is what I should do (and besides it didn't work). So, I found from
osronline that with wdf we are supposed to use WdfPreDeviceInstall and
WdfPostDeviceInstall. How do these fit in with a class filter driver?
>From what I understand, I can use those functions along with
CreateService to install my filter driver's service, but what about
registration? As far as I know step 3 in the older documentation says
to use SetupInstallFromInfSection to register the class filter driver.
Does that only add the "UpperFilters" value to the class key in the
registry? Does it do anything else? When I tried to use it I didn't
see any entry appear
Any help on how to install a class filter driver using the WDF/KMDF
would be much appreciated.
Thanks! Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86737
Block files at driver level?
Hi,
I'd like to write a driver that blcoks all write access to a certain
directory (unless it comes from a binary that I wrote). I want this to
occur at the driver level, but is this even possible? Thanks for any
advice! Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86734
cannot open input file strmif.idl in Wd3ProxyPlugin
Hi all,
Do you know this error ?
cannot open input file strmif.idl
When i compile Wd3ProxyPlugin project and got this error Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86733
Windows Volume controll allways appear
Is there any way you can get the windows volume controll to appear all the
time?
I got the volume controll on my toolbar, and it pops up when i click it, but
when i click another window it disapears. Is there anyway i can get this to
be on top of every window all the time? like the taskbar? and that i can move
it around? if this is not possible it shuld be made as a windows addon or be
included in a update or somthing. (just a tip) It would be cinda handy. Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86731
how can I disable ctrl+alt + del, and windows key in vista.
1.how can I disable ctrl+alt + del, and windows key.
when my program is running ,disable ctrl+alt + del, and windows key.
when my program leave. enable ctrl+alt + del, and windows key .
In windows xp , I disable ctrl+alt + del by rewrite gina.but in vista gina
is not supported.
Must I write a key board driver.
how can I do that.
2. if I do that, can it work well at vista.
3.I know little about DDK, how can I do it.
best regards Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86729
registrykeys in inf-file
Is it possible to create registry-keys through in inf-file.
I want to add registrykeys in an printer.inf File.
Thomas Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86727
MSPLOT bitmap output
Hi All,
I printed a bitmap/image using MSPLOT driver(plotter), but the output
bitmap colors are not same as input bitmap color. The output bitmap
colors are dull in appearance. What should I do to over come this
problem or which part of the code I need to change or enhance?
Thanks,
abdul Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86726
Compilation problem WDK RC1 using VS2005
Hello
I am compiling my driver code in which I inlcude ntdef.h from latest WDK
RC1. When I try compile I receive error message
1>D:\WinDDK\5600\inc\api\ntdef.h(1170): error C2061: syntax error :
identifier 'MaximumLength'
1>D:\WinDDK\5600\inc\api\ntdef.h(1170) : error C3646: 'PCHAR' : unknown
override specifier
1>D:\WinDDK\5600\inc\api\ntdef.h(1170) : error C3646: 'Buffer' : unknown
override specifier
1>D:\WinDDK\5600\inc\api\ntdef.h(1170) : error C4430: missing type specifier
- int assumed. Note: C++ does not support default-int
After looking in the file I found structure
typedef struct _STRING {
__maybevalid USHORT Length;
__maybevalid USHORT MaximumLength;
#ifdef MIDL_PASS
[size_is(MaximumLength), length_is(Length) ]
#endif // MIDL_PASS
>>>>> __field_bcount_part_opt(MaximumLength, Length) PCHAR Buffer;
} STRING;
In this structure error is coming at
__field_bcount_part_opt(MaximumLength, Length) PCHAR Buffer;
If somebody why this error occurs and how can we remove this please let me
know.
thanks and regards
rohit Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86725
sdbus.sys and normal sd command
I need to write a driver that send command 0, command 1, command 2 ,
command 16, command 17 etc to
MMC/CE-ATA card. but I don't know how to send this command via API
provided by
sdbus libarary.
I called SdBusSubmitRequest(x,x) to send command 9( Send_CSD), but it
failed.
sample code like this:
const SDCMD_DESCRIPTOR SendCsdDesc =
{SD_CMD_SEND_CSD, SDCC_STANDARD, SDTD_WRITE, SDTT_CMD_ONLY, SDRT_2};
SDBUS_REQUEST_PACKET sdrp;
fdoData = MarsFdoGetData(Device);
RtlZeroMemory(&sdrp, sizeof(SDBUS_REQUEST_PACKET));
sdrp.RequestFunction = SDRF_DEVICE_COMMAND;
sdrp.Parameters.DeviceCommand.CmdDesc = SendCsdDesc;
sdrp.Parameters.DeviceCommand.Argument = 0;
status = SdBusSubmitRequest(fdoData->BusInterface.Context,
&sdrp);
if (!NT_SUCCESS(status))
return status;
what should I do? need to rewrite a sdbus driver for myself?
Thanks Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86724
DrvStartDoc() is called 2 times from MS-Word printing
Hi,
I have a printer driver that works in Windows-XP and 2000 platform.
I am trying to give a print job from Ms-word, by specifying multiple copies
from PrintDlgBox. But this causes the DrvStartDoc() to get called twice.
And the desired copies(recently entered in PrintDlgBox) is reflected in the
second call to DrvStartDoc().
This happens only in MS.word, not in anyother application.
Can anyone please tell me why this problem occurs?
Thanks In advance Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86719
PoStartNextPowerIrp special case
I'm curious about something in "Calling PoStartNextPowerIrp" in the
DDK docs. In most cases PoStartNextPowerIrp is supposed to be called
just before the power IRP is passed back up or completed, except in
the case of filter drivers for system power IRPs where
PoStartNextPowerIrp is apparently supposed to be called before passing
the power IRP down. What makes that case different? (from filters
and device power IRPs or non-filters and either type of power IRP) Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86712
KMDF Class Filter Drive INITSTARTFAILED
Hi,
I'm working on a class filter driver but to start I have installed the
filter as a device upper filter on a device of the class that I am to
filter on (both have services installed at boot time). It works fine
as a device upper filter with the exception that in the registry key I
have noticed that it sets INITSTARTFAILED to 1 for the enum key of the
service (i.e. .../System/CurrentControlSet/Service/myService/Enum).
However the count is 1 as is the nextInstance. I thought that if the
service truly did fail that the count would be zero? The filter driver
installed correctly as it does what it is supposed to do. Furthermore,
setting a breakpoint on my driver entry results in the behavior
expected (registers my device add and everything).
It works as far as I can tell except for the INITSTARTFAILED that is
set. I have deleted the key and the next time I boot it is back again.
I think this may be a problem because when I try and have the filter be
a class filter driver, I get an INACCESSIBLE_BOOT_DEVICE (7b)
I just want to make sure this INITSTARTFAILED doesnt' have anything to
do with this... In order to make the filter a class filter I have added
to the key corresponding to the class guid in
currentcontrolset/control/classs with UpperFilters myFilt. I have also
tried putting in a CoInstallers32
wdfcoinstaller01005.dll,WdfCoInstaller since when I installed the
filter as a device filter it put those values in the device instance
key (am I missing something else?)
So I guess I really have two questions
1. Anyone know why INITSTARTFAILED would be set to 1, but yet load the
service and it function properly?
2. Anyone know if for a CLASS filter driver if there are any other
values I have to set besides the UpperFilters in the registry key for
the class?
Thanks in advance! Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86711
Registry
Hi
Could u please tell me as how to register the printer driver from the
VC++ application.
I have written a code for registry but it is not working fine.
Please reply ASAP.
HKEY hkResult;
char temp1[]="xyz";
RegCreateKeyEx(HKEY_CURRENT_USER,"Printers\\DevModes2",0,NULL,REG_OPTION_NON_VOLATILE,KEY_ALL_ACCESS,NULL,&hkResult,NULL);
RegSetValueEx(HKEY_CURRENT_USER,"Printers\\DevModes2",0,REG_SZ,temp1,sizeof(temp1));
RegCloseKey(HKEY_CURRENT_USER); Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86702
USB to Ethernet miniport Adapter: SetPower Request handling.
Hi,
I am writing a USB to ethernet miniport driver.
My question is about SetPower Request handling when device is
unplugged during Standby.
The Device is connected and PC is put to Standby, When the PC is in
Standby mode the Device is unplugged.
Now the PC is made to come out of Standby.
As soon as the PC comes out of Standby we get SET_POWER Request.
Since the Device is no longer connected I am returning
STATUS_ADAPTER_REMOVED from the SET_POWER request.
It seems to work fine in most of PC's but in a few of PC's the
MiniportHaltHandler is not getting called.
I tried NDIS checked build and we get a message "Assertion failed
NDIS_STATUS_SUCCESS == ndisstatus"
The other messages that I get are as follows
"**** source file: d:\xpsprtm\net\ndis\sys\ndispwr.c, Line 1164
NdisDevicePowerOn: Miniport 82EB9AC8, PowerOn Failed by device driver
for the miniport, error C0010018!
NdisDevicePowerOn: Miniport 82EB9AC8, PowerOn Failed by bus or device
driver for the miniport, with error C0000001!"
We get the same status in the PC where MiniportHaltHandler is getting
called.
According to the DDK documents we should always return STATUS_SUCCESS.
But since the Device is no longer connected to the PC, returing
STATUS SUCCESS seems to be illogical.
If we have to return STATUS_SUCCESS from the SET_POWER request all
the time. Is there a specific place (function call) from where we should
return STATUS_ADAPTER_REMOVED.
I would be very grateful if somebody can throw some light on this.
Regards,
Anuj Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86700
Interlocked func in between a Spinlock?!
Hi!
Is there any reason to use interlocked functions in between a spinlock?
Thanks,
greg1x Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86699
Printer Driver
Hi All,
I am developing a printer driver. I am using MSPLOT sample of DDK.
My question is, Do i have to change any code or INF file to make it
install as USB or Network printer?
Thanks in advance
abdul Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86693
Can't disable Network Cards
Hi
I'm writing a program that Installs Network Cards on the PC.
One of the cards has probably a bugged driver and it can't be disabled from
windows' "Network Connections" window(I have to disable the card during the
program). The problem is, that even after uninstalling that card from the PC,
other cards can't be disabled as well.
Has anyone encountered such a behavior or has an idea?
Thanks Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86687
OID_802_11_ADD_KEY or OID_802_11_ADD_WEP
Hi
I'm writing a program that should set WEP key to wireless cards drivers.
While snooping windows' Wireless Zero Configuration Service, i've noticed
that with certain cards it sets OID_802_11_ADD_KEY and with other cards it
sets OID_802_11_ADD_WEP.
My question is how does WZC knows which OID does the driver expect to
receive? (there are no error messages, so it doesn't just try them both...) Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86686
[AVStream] How to display a interlace video with 2 fields in 1 fra
Hi all,
I'm writing a AVStream driver for a video capture device. The data format is
ITU656, 720 x 576 and interlace. There are 2 fields in 1 frame. I fill a
KS_DATARANGE_VIDEO2 structure to describe my data format. Is that right? Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86685
Help needed on writing a pseudo audio driver
Hi,
I have done lots of ground work, but could not find any satisfactory
explanation on this. My requirement is like that - i will have an
pseudo audio driver registered. For one of my application (voice chat
application), I will select this driver for audio i/p and o/p.
Application will deliver any incoming voice to the pseudo driver for
audio o/p (in normal case, it would have been given to the sound card
driver in the system). The pseudo audio driver will forward this voice
to somewhere else(lets say X). The pseudo audio driver will get user
voice i/p from X and forward it to the voice chat application (in that
case X is acting as a microphone source).
Initially I was thinking it won't be possible in windows. Then I came
across MSVDM where they have written a driver for storing voice to a
file instead of o/p it to sound card. I was thinking to tweak this for
my purpose, but, as I am new to windows driver I could not understand
few things. How about writing a audio filter driver? Please guide me as
to what will best suit my requirement. I must admit windows is a very
difficult bitch to grab. It is taking hell lot of time. the more I read
more I get confused. An early reply will be very much appreciated.
Any pointers or help in this regard will be highly appreciated.
-paul Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86684
DrvStartDoc- with no job id
Hi,
Can anyone tell me, what action is to be done from driver side ,if
DrvStartDoc is called with job id as 0? In my code, im getting calls to
DrvStartDoc twice(in case if application calls ResetDC() ) and all the
document related commands are being sent to printer twice.
Thanks in advance Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86680
cursor background drawn with wrong bitmap.
Hi,
I want to achieve screen rotation with increment steps of 90 degrees. To
start with I am targetting only 180 degree rotation.I have developed display
driver for this. This is just a punting driver. When I get a drawing call, I
am rotating the source, repositioning bounding RECT and punting it using
Engxxx calls. I am facing problem with cursor back ground. When I move
cursor, bounding rect of cursor is drawn with wrong image. For example when I
move cursor on the desktop, cursor bounding rect of old location will be
redrawn with the image which will be there if I dont rotate the screen in my
driver. To achive perfect screen rotation do I need to develop any more
supporting drivers like miniport filter driver etc? if yes, what should be
function of that?
Regards,
Sunil Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86667
PcNewPort the Only Way?
I'm trying to develop a dummy audio device for streaming.
PcNewMiniport doesnt appear to support any kind of Wave devices.
PcNewPort seems affiliated with DMA and pci bus & all that jazz. I
know the msavd driver just hacks around it, but is there a more
sensible solution?
thanks
rektide Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86661
I have device driver jobs in Silicon Valley
If you develop drivers for graphics or audio or storage, I have
fulltime opportunities at a solid and exciting company in Silicon
Valley. This company is doing new and exciting things that noone else
is doing yet and the opportunity to work with other smart
Engineers/Developers is here!! The work is in Silicon Valley, so we
need you to be there, or willing to move there from another spot in the
USA (will pay relocation for right folks of course). I represent a
great company, and the company is full of very intelligant, capable and
creative folks! We need software developers/engineers with openGL or 3D
experience, and we need people that create device drivers for Audio. We
also need people that create device drivers for Windows storage (sata,
scsi, raid etc). If you are seeking to work on new and exciting
technology at a great company, please contact me, Maryellen O'Connell
at maryell...@volt.com or call me at 888-933-8658.
Thanks! Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86659
Re: Disable "use This Device As Primary Monitor" always secondary monitor
Hi,
There was a post on this topic a couple of weeks back, but there was
not reply. I am wondering if anyone knows the solution to this. i.e in
the display driver disable the feature to use it as a primary monitor.
Regards
Mudeem Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86656
ScsiDebugPrint
Okay, I'm pulling my hair out over an issue that does not deserve near the
amount of time I've devoted to it. I'm trying to get ScsiDebugPrint to work
in a ScsiPort miniport driver. Here's what I've got:
- A test "driver" with only DriverEntry. It #includes miniport.h and
scsi.h. I have 4 calls to ScsiDebugPrint() in DriverEntry, with 0-3 values
for first the DebugPrintLevelArg.
- I link against scsiport.lib. I'm using the latest WDK.
- I've tried running with a checked build of scsiport.sys that I rammed into
the sys drivers dir of my target box (having turned off file protection in
the registry [SFCDisable]).
- I run with a debug serial hook-up to my target PC.
- I've got Debug Print Filter registry entries: DEFAULT, DPFLTR, IHVBUS,
IHVDRIVER, IHVNETWORK all set to dword 0xf.
- If I change the driver to instead include wdm.h, link against wdm.lib, and
use DbgPrint(), this works. But of course I can't use DbgPrint() w/ a
ScsiPort miniport driver.
Help, anyone? Thanks.
-mat
loik@<company>.com
Synopsys
Hillsboro, OR Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86647
WPA2 pre-authentication
I'm working on WLAN driver for Windows Mobile 5.
On AKU3.0 I tested PMK cache and it works just fine.
But full pre-authentication does not work.
When device is connected to the AP it does not try to pre-authenticate
with other AP using existing link. It cause full 802.1x authentication
when first AP is turned off.
Does AKU3.0 support pre-authentication?
Is there any additional requerments for the WLAN driver?
Thanks,
Artiom Tag: How to inform system of DVI hot detect through video miniport driv Tag: 86644
Though what mechanism does a video miniport driver inform the OS that a
screen has been attached (upon hot detect pin getting pulled high).