I am trying to setup a call back for USB interrupts from my printer.
How can I initialize an interrupt channel and setup a call back function in
my Language Monitor?

\Manfred

RE: USB Interrupt channel by martinbo

martinbo
Wed Dec 08 17:04:22 CST 2004

------=_NextPart_0001_ECABDC9D
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

>> I am trying to setup a call back for USB interrupts from my printer.
>> How can I initialize an interrupt channel and setup a call back function
in
>> my Language Monitor?

Can you clarify this? The USB Printer Device specification does not define
an interrupt endpoint for USB printers.

Thanks,
Martin Borve [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_ECABDC9D
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 >> I am trying to setup a call back for USB interrupts from my printer.
\par >> How can I initialize an interrupt channel and setup a call back function in
\par >> my Language Monitor?
\par
\par Can you clarify this? The USB Printer Device specification does not define an interrupt endpoint for USB printers.
\par
\par Thanks,
\par Martin Borve [MSFT]
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_ECABDC9D--


Re: USB Interrupt channel by Manfred

Manfred
Tue Dec 14 12:43:14 CST 2004

Well, this is to bad!
What we want to do is to get away from monitoring the printer actively from
the Language Monitor instead have the printer send a status when something
happens.
Our firmware developer thought setting up an interrupt channel may be a way
to wake up the PC to check for new data or even send the data right away.

\Manfred



""Martin Borve [MSFT]"" <martinbo@online.microsoft.com> wrote in message
news:qm2MHpX3EHA.2148@cpmsftngxa10.phx.gbl...
>>> I am trying to setup a call back for USB interrupts from my printer.
>>> How can I initialize an interrupt channel and setup a call back function
> in
>>> my Language Monitor?
>
> Can you clarify this? The USB Printer Device specification does not
> define
> an interrupt endpoint for USB printers.
>
> Thanks,
> Martin Borve [MSFT]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.



Re: USB Interrupt channel by Marc

Marc
Tue Dec 14 14:15:25 CST 2004

Interrupt endpoints do not interrupt the host (poorly named). They are
really endpoints that are polled on a regular basis, determined in the
EndPoint descriptor.

If the host is asleep, an interrupt endpoint would not be polled and could
not wake the host. However, there is a feature called remote wakup which
can wake a sleeping host. It's used by USB mice and keyboards.

========================
Marc Reinig
UCO/Lick Observatory
Laboratory for Adaptive Optics


"Manfred Wilner" <manfred.w@swecoinus.com> wrote in message
news:esY8Hzg4EHA.2608@TK2MSFTNGP10.phx.gbl...
> Well, this is to bad!
> What we want to do is to get away from monitoring the printer actively
from
> the Language Monitor instead have the printer send a status when something
> happens.
> Our firmware developer thought setting up an interrupt channel may be a
way
> to wake up the PC to check for new data or even send the data right away.
>
> \Manfred
>
>
>
> ""Martin Borve [MSFT]"" <martinbo@online.microsoft.com> wrote in message
> news:qm2MHpX3EHA.2148@cpmsftngxa10.phx.gbl...
> >>> I am trying to setup a call back for USB interrupts from my printer.
> >>> How can I initialize an interrupt channel and setup a call back
function
> > in
> >>> my Language Monitor?
> >
> > Can you clarify this? The USB Printer Device specification does not
> > define
> > an interrupt endpoint for USB printers.
> >
> > Thanks,
> > Martin Borve [MSFT]
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
>
>



Re: USB Interrupt channel by Manfred

Manfred
Tue Dec 14 14:25:54 CST 2004

In order to put something like this in place you would need to modify the
USB driver correct?

\Manfred


"Marc Reinig" <mreinig@ucolick.org> wrote in message
news:eXIq8mh4EHA.3416@TK2MSFTNGP09.phx.gbl...
> Interrupt endpoints do not interrupt the host (poorly named). They are
> really endpoints that are polled on a regular basis, determined in the
> EndPoint descriptor.
>
> If the host is asleep, an interrupt endpoint would not be polled and could
> not wake the host. However, there is a feature called remote wakup which
> can wake a sleeping host. It's used by USB mice and keyboards.
>
> ========================
> Marc Reinig
> UCO/Lick Observatory
> Laboratory for Adaptive Optics
>
>
> "Manfred Wilner" <manfred.w@swecoinus.com> wrote in message
> news:esY8Hzg4EHA.2608@TK2MSFTNGP10.phx.gbl...
>> Well, this is to bad!
>> What we want to do is to get away from monitoring the printer actively
> from
>> the Language Monitor instead have the printer send a status when
>> something
>> happens.
>> Our firmware developer thought setting up an interrupt channel may be a
> way
>> to wake up the PC to check for new data or even send the data right away.
>>
>> \Manfred
>>
>>
>>
>> ""Martin Borve [MSFT]"" <martinbo@online.microsoft.com> wrote in message
>> news:qm2MHpX3EHA.2148@cpmsftngxa10.phx.gbl...
>> >>> I am trying to setup a call back for USB interrupts from my printer.
>> >>> How can I initialize an interrupt channel and setup a call back
> function
>> > in
>> >>> my Language Monitor?
>> >
>> > Can you clarify this? The USB Printer Device specification does not
>> > define
>> > an interrupt endpoint for USB printers.
>> >
>> > Thanks,
>> > Martin Borve [MSFT]
>> > This posting is provided "AS IS" with no warranties, and confers no
>> > rights.
>>
>>
>
>



Re: USB Interrupt channel by Marc

Marc
Tue Dec 14 21:54:07 CST 2004

Modify your device.

"Manfred Wilner" <manfred.w@swecoinus.com> wrote in message
news:OjN6esh4EHA.3092@TK2MSFTNGP10.phx.gbl...
> In order to put something like this in place you would need to modify the
> USB driver correct?
>
> \Manfred
>
>
> "Marc Reinig" <mreinig@ucolick.org> wrote in message
> news:eXIq8mh4EHA.3416@TK2MSFTNGP09.phx.gbl...
>> Interrupt endpoints do not interrupt the host (poorly named). They are
>> really endpoints that are polled on a regular basis, determined in the
>> EndPoint descriptor.
>>
>> If the host is asleep, an interrupt endpoint would not be polled and
>> could
>> not wake the host. However, there is a feature called remote wakup which
>> can wake a sleeping host. It's used by USB mice and keyboards.
>>
>> ========================
>> Marc Reinig
>> UCO/Lick Observatory
>> Laboratory for Adaptive Optics
>>
>>
>> "Manfred Wilner" <manfred.w@swecoinus.com> wrote in message
>> news:esY8Hzg4EHA.2608@TK2MSFTNGP10.phx.gbl...
>>> Well, this is to bad!
>>> What we want to do is to get away from monitoring the printer actively
>> from
>>> the Language Monitor instead have the printer send a status when
>>> something
>>> happens.
>>> Our firmware developer thought setting up an interrupt channel may be a
>> way
>>> to wake up the PC to check for new data or even send the data right
>>> away.
>>>
>>> \Manfred
>>>
>>>
>>>
>>> ""Martin Borve [MSFT]"" <martinbo@online.microsoft.com> wrote in message
>>> news:qm2MHpX3EHA.2148@cpmsftngxa10.phx.gbl...
>>> >>> I am trying to setup a call back for USB interrupts from my printer.
>>> >>> How can I initialize an interrupt channel and setup a call back
>> function
>>> > in
>>> >>> my Language Monitor?
>>> >
>>> > Can you clarify this? The USB Printer Device specification does not
>>> > define
>>> > an interrupt endpoint for USB printers.
>>> >
>>> > Thanks,
>>> > Martin Borve [MSFT]
>>> > This posting is provided "AS IS" with no warranties, and confers no
>>> > rights.
>>>
>>>
>>
>>
>
>