hi,

I need to load a driver to talk to a usb dispositive during
login[authenticate a user usging a GINA stub]. What is the best alternative
to do that? I already have a driver that communicates with the dispositive,
but it seems that it doen'st work before logon.

thanks a lot!

Sara

RE: Using a driver in the login by pavel_a

pavel_a
Mon May 30 12:35:04 CDT 2005

"Sara Fonseca" wrote:
> I need to load a driver to talk to a usb dispositive during
> login[authenticate a user usging a GINA stub]. What is the best alternative
> to do that? I already have a driver that communicates with the dispositive,
> but it seems that it doen'st work before logon.

Something is wrong ... without more details, it's hard to tell what exactly.

--PA


Re: Using a driver in the login by Sara

Sara
Mon May 30 13:42:04 CDT 2005

hi PA,

I talk to my usb device trough a driver that works very well when a user is
logged.
The problem is that i nedd to talk to this dispositive during logon. In this
case, the I try to use the same source code in a GINA STUB, wich is a
Microsoft ddk feature developers may use to modify the logon process.

The problem is that the logon process crashes and the system restarts. As
far as I now, to driver uses two DLL's. Could that be the problem? I mean,
are those dlls automatic loaded after the logon? Are there any restrictions
about loading a dll during the logon process? And the driver? Should I do
anything to make it work during logon?

I ask you to focus on the fact that I am using the same source code that
works when a user is logged on.

thanks in advance,

Sara

"Pavel A." <pavel_a@NOwritemeNO.com> wrote in message
news:4320FA47-2262-4253-B3FD-DA92359E059E@microsoft.com...
> "Sara Fonseca" wrote:
>> I need to load a driver to talk to a usb dispositive during
>> login[authenticate a user usging a GINA stub]. What is the best
>> alternative
>> to do that? I already have a driver that communicates with the
>> dispositive,
>> but it seems that it doen'st work before logon.
>
> Something is wrong ... without more details, it's hard to tell what
> exactly.
>
> --PA
>



Re: Using a driver in the login by Chris

Chris
Mon May 30 14:58:56 CDT 2005

"Sara Fonseca" <sara.fonseca@gmail.com> wrote:
>
> The problem is that the logon process crashes and the system restarts.

Sounds like you are describing a bug check (blue screen) with Windows set to
reboot upon a bug check. Have you hooked up a debugger to it?

> I ask you to focus on the fact that I am using the same source code that
> works when a user is logged on.

What debugging information are you getting out of your code? What fails?
Does your code even get executed before the crash?


...Chris



Re: Using a driver in the login by pavel_a

pavel_a
Mon May 30 16:49:01 CDT 2005

"Sara Fonseca" wrote:
> I ask you to focus on the fact that I am using the same source code that
> works when a user is logged on.

Sara,
Focusing on this fact immediately leads to conclusion that these DLLs
are user mode, right? Because kernel drivers usually don't have DLLs.
By the way, GINA is not "a Microsoft ddk feature" as you wrote.
It is under the Platform SDK.
GINA runs in a special environment, so no wonder that hairy user mode code
can break it. Do you have sources of the driver and DLLs or know who wrote
them?

Regards,
--PA


Re: Using a driver in the login by Gary

Gary
Tue May 31 22:50:12 CDT 2005

AS a guess I would say you will have to write your own USB stack to use a
USB device that early in boot. To my knowledge the in box USB stack is not
running until later in the boot process. I'd say sometime around the time
the NIC and other such resources are started. Given that, attempting to load
your USB driver during boot will indeed crash.

--
Gary G. Little

"Sara Fonseca" <sara.fonseca@gmail.com> wrote in message
news:eWp62cTZFHA.1092@tk2msftngp13.phx.gbl...
> hi,
>
> I need to load a driver to talk to a usb dispositive during
> login[authenticate a user usging a GINA stub]. What is the best
> alternative to do that? I already have a driver that communicates with the
> dispositive, but it seems that it doen'st work before logon.
>
> thanks a lot!
>
> Sara
>