|
actually it doesnt continue .. it just stalls and i need to turn off and turn on the system again. So from the "communication with FW failed error" can I surely say the problem is with FW or?
|
|
|
|
|
does the driver hang on to an OID for a long time? If so it should return pending and complete it later. I wouldnt expect this to hang the system though.
As for the FW yes, it is failing to respond to the driver so it looks lke an electrical/FW boot problem. Perhaps the FW crashes?
Morality is indistinguishable from social proscription
|
|
|
|
|
interestingly it booted once without the communication failed error. But still gives wrong MAC address. I am totally confused what's happening
|
|
|
|
|
Who makes the HW / FW?
Morality is indistinguishable from social proscription
|
|
|
|
|
when a system is logged in, is there any possibility to know the current login pwd.
where is the system log-in pwd log maintained in Windows 2003 server?
Muthu
|
|
|
|
|
There is no easy way to find out the password.
When you create a password it's hashed and saved in a table together with your username and other data.
So when you log in your tried password is hashed and this hash is compared with the saved hash. If they're equal you're allowed to login.
This hashing algorithm is as far as I know not cracked.
So the only way to find out the password is to keep trying...
That might take a while.
|
|
|
|
|
|
You would have to install a custom GINA to handle the user authentication.
Here is an open source GINA which could be modified to do what your asking:
http://www.pgina.org/[^]
Heres one by Keith Brown at MSDN:
Customizing GINA, Part 1[^]
Best Wishes,
-David Delaune
|
|
|
|
|
John.G wrote: when a system is logged in, is there any possibility to know the current login pwd.
No, there isn't.
John.G wrote: where is the system log-in pwd log maintained in Windows 2003 server?
No, it's not stored in an readable format, and you don't need it for anything.
|
|
|
|
|
Hi,
I am trying to tap the audio data which is going to play by the player. So i tried to use the virtual audio driver (simple) which is msvad path of WDK. I have couple of questions. Can you help me out?
1.do we have any IDE for building and debugging the kernel mode drivers for windows XP?(like visual studio for any appln)
2.What i have to implement in the copyto or copyfrom functions in the wavecyclic file? and where i have to call these functions to get the data which is going to be played?
3.do you know from where the pcm data is getting played in the audio device?
can you give me some light on this issues?
Thanks,
Muras K
Specialist-R&D,
|
|
|
|
|
murasoliselvan wrote: Specialist-R&D,
So you should know this already.
Morality is indistinguishable from social proscription
|
|
|
|
|
Thanks for your superb thinking and reply...
Do u know onething.. Known is drop ; Unknown is Oscean...
So if u know the answer reply to this thread; otherwise do ur business..
thanks
Muras K
|
|
|
|
|
|
Hi David,
Thanks for your reply.
Now i could able to tap the playback data and i could able to write the data in the .wav file format using the msvad - simple virtual audio driver.I have some doubts on this.
1. Is it possible to write the PCM raw data ? By default they are writing in the .wav file format, i have changed the writeheader length as zero and i got some raw pcm data kind of thing. Is this the right way to write the raw PCM data? How i have to check the data ithat i am getting is the PCM data?
2. Is it possible to convert the attributes of PCM data which i am getting from the copyto function into my required attributes? eg,By default i am getting 44.1k sample data in the 32 bit PCM mono format. but my required attributes are 8kHz sample data 8bit or 16bit mono format. Is it possible to convert onthe fly?
3. If i want to tap the playback data from the multiple input streams(let us say , i m playing ten songs from ten separate media player) what i have to do? I tired with simple virtual audio driver by same scenario what i have given above, but i m getting the output file with mixing of all the data. what i have to do for this?
i have also tried to install the "Multstr "driver which is in msvad folder and played multiple streams, with the use of multistr driver ,but i m getting mixed playback data? can u help me out to capture the multiple playback data simultaneously?
Thanks
Muras K
|
|
|
|
|
Hi,
I have got a Sony Vaio PCG-7A2L(VGN-FS645P)notebook, just reformatted the system and now i am badly in a need for drivers.
I have some how managed to install wireless driver and internet is working now but there is no audio drivers i can find.
I have gone through this site http://esupport.sony.com/US/perl/swu-list.pl?mdl=VGNFS645P[^]
but after installing the audio drivers, its not working.
In Device manager i am getting question mark for the following :-
Mass Storage Controller
PCI Device
Video Controller
Video Controller(VGA Compatible)
USB Controller
Any help would be greatly appreciated.
Thanks a ton.
modified on Sunday, November 30, 2008 5:28 PM
|
|
|
|
|
And here I sit, thinking about ordering pizza from you...
|
|
|
|
|
Try this forum:
http://forum.notebookreview.com/[^]
There are user-support forums for all major brands.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Have you installed the base packages? There's some other packages that need to be installed for the drivers to work.
From your link, I would make sure the Motherboard chipset controller and the four packages from "System Components" are installed, and the machine rebooted, before installing the drivers.
|
|
|
|
|
I'd start by going through each item on the Sony support site you mention, noting the manufacturer and model of each component. Then I'd go and get the latest driver for each of those components and install them, instead of the one's on the Sony site.
Cheers,
Drew.
|
|
|
|
|
in VAIO laptops there is some problems in drivers for windows XP sp2 !
I haveseen it so many times ...
1-first step is to install the modem driver (the sound card just installs after the modem!!!)
2- second step is to finde a HD aoudio driver of your laptop (sample aoudio drivers dosen`t work!)
3- third step is to have fun with yor laptop
|
|
|
|
|
After much deliberation i eventually decided on purchasing a decent NAS box for home.
Went for a QNAP TS-509 Pro, and filled it with 5 x 1.5TB drives, configured in RAID 5.
Then after i got it up and running, started reading about problems with Seagate 1.5TB drives and how they were killing RAID arrays.
Turns out all my drives were not part of the ones with the defective firmware revisions.
Breathed HUGE sigh of relief. (Looks like there is a firmware revision now available if you have affected drives, but you have to request it from seagate support directly).
Now i am going through the tedious process of ripping all my DVD's onto this thing to stream them to my TVIX media jukebox's. So far it has worked a treat.
modified on Friday, November 28, 2008 1:20 PM
|
|
|
|
|
Hi everybody
First, I'm sorry, my english is bad.
Problem:
My driver attaches "\\Device\\Video0" with IoAttachDevice() as TargetDeivce in initialization.
Then, the device driver of the display adaptor doesn't operate normally,
and the screen cannot be displayed.
My driver want to be capturing display for remote control.
I'm making on VC++6.0, and working at Windows Vista.(with Intel 82945G Express Chipset Family)
thanks in advance.
|
|
|
|
|
Hi to everybody
First, sorry for my english is so bad, I know.
I´m having a problem with the function HalGetInterruptVector and IoConnectInterrupt, my code try to be connected with the irq5. I send this to the HalGetInterruptVector function, and withoot errors I get the InterruptVector, Irql and Affinity, and with these informations I try to connect with the irq5, and the IoConnectInterrupt returns no error, but when my hardware generates an interrupt my driver does nothing.
So do you have some idea about what could be my problem?
this is the code
DeviceExtension->Level = 5;
DeviceExtension->Vector = DeviceExtension->Level;
MappedVector = HalGetInterruptVector(0,0,DeviceExtension->Level, DeviceExtension->Vector,&Irql, &DeviceExtension->Affinity);
if (MappedVector == 0)
DbgPrint("Interrupt.sys: HalGetInterruptVector failed ");
IoInitializeDpcRequest(DeviceObject,InterruptDpcRoutine);
status = IoConnectInterrupt(&DeviceExtension->InterruptObject, (PKSERVICE_ROUTINE)InterruptIsr, DeviceObject, NULL,
MappedVector,
Irql, Irql, Latched, FALSE, DeviceExtension->Affinity, FALSE);
if (!NT_SUCCESS (status))
DbgPrint("Interrupt.sys: IoConnectInterrupt Failed ");
thanks in advance,
|
|
|
|
|
Hello,
I am new to driver development and currently developing a my simple driver that will simply ask a directory (or folder) as input from user-mode (e.g "z:\") and display all the files/folders exists in it. By the way, the directory input is passed-on to the kernel and then the kernel will processed the request; then the kernel sends a message containing the list of files/folders that will be parsed by the user-mode for display..
i've read the msdn about ZwQueryDirectoryFile that returns various kind of information about files in the directory and i don't know how to used it. ^_^
Can you help me how can i get all the files/folders exists in a directory?
If im in the right track of using ZwQueryDirectoryFile, can you help me how to use this routine on getting files/folders?..
And If you have other ways aside from using ZwQueryDirectoryFile routine, can you give me an idea HOW and if you have sample snippets can you show it to me?..
Any help will be greatly appriciated.
Thanks in advance to you guys.. ^_^
-taDo-
|
|
|
|
|
noobDriverDev wrote: Can you help me how can i get all the files/folders exists in a directory?
Here is a usermode application I wrote to demonstrate ZwQueryDirectoryFile. In this example I am filtering out everything but directories. if you only want the file/directory names you can replace the FILE_DIRECTORY_INFORMATION structure with the FILE_NAMES_INFORMATION structure and pass the enum of FileNamesInformation. It is sometimes easier to experiment with exported kernel functions from usermode rather than compiling/loading drivers and copying to the virtual machine. Once you get it working as desired simply copy the code into your driver.
#include "stdafx.h"
#include <windows.h>
typedef LONG NTSTATUS;
#define NT_SUCCESS(Status) ((NTSTATUS)(Status) >= 0 && Status < 0x3FFFFFFF)
#define NT_STATUS(x)((NTSTATUS) { x })
#define STATUS_NO_MORE_FILES 0x80000006
typedef struct _UNICODE_STRING
{
USHORT Length;
USHORT MaximumLength;
PWSTR Buffer;
} UNICODE_STRING, *PUNICODE_STRING;
typedef struct _IO_STATUS_BLOCK
{
union
{
NTSTATUS Status;
PVOID Pointer;
};
ULONG_PTR Information;
} IO_STATUS_BLOCK, *PIO_STATUS_BLOCK;
typedef struct _FILE_NAMES_INFORMATION
{
ULONG NextEntryOffset;
ULONG FileIndex;
ULONG FileNameLength;
WCHAR FileName[_MAX_PATH +1];
} FILE_NAMES_INFORMATION, *PFILE_NAMES_INFORMATION;
typedef enum _FILE_INFORMATION_CLASS
{
FileDirectoryInformation = 1, FileNamesInformation = 12
} FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
typedef struct _FILE_DIRECTORY_INFORMATION
{
ULONG NextEntryOffset;
ULONG FileIndex;
LARGE_INTEGER CreationTime;
LARGE_INTEGER LastAccessTime;
LARGE_INTEGER LastWriteTime;
LARGE_INTEGER ChangeTime;
LARGE_INTEGER EndOfFile;
LARGE_INTEGER AllocationSize;
ULONG FileAttributes;
ULONG FileNameLength;
WCHAR FileName[_MAX_PATH +1];
} FILE_DIRECTORY_INFORMATION, *PFILE_DIRECTORY_INFORMATION;
typedef VOID (NTAPI *PIO_APC_ROUTINE)\
(IN PVOID ApcContext,IN PIO_STATUS_BLOCK IoStatusBlock,IN ULONG Reserved);
NTSTATUS (NTAPI *ZwQueryDirectoryFile)\
(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PIO_STATUS_BLOCK,PVOID,ULONG,FILE_INFORMATION_CLASS,BOOLEAN,PUNICODE_STRING,BOOLEAN);
int _tmain(int argc, _TCHAR* argv[])
{
HANDLE hFolder = CreateFile(argv[1],FILE_LIST_DIRECTORY,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_FLAG_BACKUP_SEMANTICS,NULL);
if(INVALID_HANDLE_VALUE != hFolder)
{
*(FARPROC*)&ZwQueryDirectoryFile = GetProcAddress(GetModuleHandle(L"ntdll.dll"),"ZwQueryDirectoryFile");
if(NULL != ZwQueryDirectoryFile)
{
NTSTATUS status = NOERROR;
FILE_DIRECTORY_INFORMATION fi;
IO_STATUS_BLOCK st;
while(NT_SUCCESS(status))
{
WCHAR wszFolder[MAX_PATH+1] = {0};
RtlZeroMemory(&st,sizeof(IO_STATUS_BLOCK));
RtlZeroMemory(&fi,sizeof(FILE_NAMES_INFORMATION));
status = ZwQueryDirectoryFile(hFolder,0,0,0,&st,&fi,
sizeof(FILE_DIRECTORY_INFORMATION),
FileDirectoryInformation,TRUE,NULL,FALSE);
if(fi.FileAttributes & FILE_ATTRIBUTE_DIRECTORY)
{
memcpy(wszFolder,fi.FileName,fi.FileNameLength);
*(wszFolder + fi.FileNameLength) =0;
printf("%S\n",wszFolder);
}
}
}
CloseHandle(hFolder);
}
else
{
printf("ERROR: Invalid Directory!\n");
}
return 0;
}
Some documentation:
http://msdn.microsoft.com/en-us/library/ms801001.aspx[^]
http://msdn.microsoft.com/en-us/library/ms791517.aspx[^]
http://msdn.microsoft.com/en-us/library/ms791536.aspx[^]
http://www.nirsoft.net/kernel_struct/vista/FILE_INFORMATION_CLASS.html[^]
Best Wishes,
-David Delaune
modified on Wednesday, November 26, 2008 1:59 PM
|
|
|
|
|