* Question on USB gadget device driver for mpc 8272 on linux 2.6.14.
@ 2006-01-27 0:45 Jonathan Qiang
2006-01-27 12:43 ` Vitaly Bordug
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Qiang @ 2006-01-27 0:45 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
Hi, all
Currently, I am doing on the USB gadget device driver for mpc8272, I
already got some packets on interruption route when my board in which
mpc82xx settled connect to Host.
But the SOF is always generated as the first interruption source. When
plugged USB cable in HOST, the USB controller will be set to reset
(USBER is [0x308]), and after reset, the interruption source event
changes its status to [0x108], which means running on IDLE and SOF. Why
It is not IN token?
I already disabled Frame timer when I probe the USB gadget controller.
[-- Attachment #2: Type: text/html, Size: 4483 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question on USB gadget device driver for mpc 8272 on linux 2.6.14.
2006-01-27 0:45 Question on USB gadget device driver for mpc 8272 on linux 2.6.14 Jonathan Qiang
@ 2006-01-27 12:43 ` Vitaly Bordug
2006-01-30 11:24 ` Mike Rapoport
0 siblings, 1 reply; 4+ messages in thread
From: Vitaly Bordug @ 2006-01-27 12:43 UTC (permalink / raw)
To: Jonathan Qiang; +Cc: linuxppc-embedded
Jonathan,
I have implemented the PQ2 usb-serial functionality a while ago, but the code needs a lot of cleanup, which is sometimes very tricky due to the tight timings required by this device. If you are interested, I can try to find the patch...
On Fri, 27 Jan 2006 11:45:39 +1100
"Jonathan Qiang" <jonathan@haliplex.com.au> wrote:
> Hi, all
>
> Currently, I am doing on the USB gadget device driver for mpc8272, I
> already got some packets on interruption route when my board in which
> mpc82xx settled connect to Host.
> But the SOF is always generated as the first interruption source. When
> plugged USB cable in HOST, the USB controller will be set to reset
> (USBER is [0x308]), and after reset, the interruption source event
> changes its status to [0x108], which means running on IDLE and SOF. Why
> It is not IN token?
> I already disabled Frame timer when I probe the USB gadget controller.
--
Sincerely,
Vitaly
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question on USB gadget device driver for mpc 8272 on linux 2.6.14.
2006-01-27 12:43 ` Vitaly Bordug
@ 2006-01-30 11:24 ` Mike Rapoport
2006-01-31 1:23 ` Vitaly Bordug
0 siblings, 1 reply; 4+ messages in thread
From: Mike Rapoport @ 2006-01-30 11:24 UTC (permalink / raw)
To: Vitaly Bordug; +Cc: linuxppc-embedded
Vitaly,
Can you send me this patch?
Vitaly Bordug wrote:
>Jonathan,
>
>I have implemented the PQ2 usb-serial functionality a while ago, but the code needs a lot of cleanup, which is sometimes very tricky due to the tight timings required by this device. If you are interested, I can try to find the patch...
>
>On Fri, 27 Jan 2006 11:45:39 +1100
>"Jonathan Qiang" <jonathan@haliplex.com.au> wrote:
>
>
>
>>Hi, all
>>
>>Currently, I am doing on the USB gadget device driver for mpc8272, I
>>already got some packets on interruption route when my board in which
>>mpc82xx settled connect to Host.
>>But the SOF is always generated as the first interruption source. When
>>plugged USB cable in HOST, the USB controller will be set to reset
>>(USBER is [0x308]), and after reset, the interruption source event
>>changes its status to [0x108], which means running on IDLE and SOF. Why
>>It is not IN token?
>>I already disabled Frame timer when I probe the USB gadget controller.
>>
>>
>
>
>
>
--
Sincerely yours,
Mike Rapoport
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question on USB gadget device driver for mpc 8272 on linux 2.6.14.
2006-01-30 11:24 ` Mike Rapoport
@ 2006-01-31 1:23 ` Vitaly Bordug
0 siblings, 0 replies; 4+ messages in thread
From: Vitaly Bordug @ 2006-01-31 1:23 UTC (permalink / raw)
To: Mike Rapoport; +Cc: linuxppc-embedded
On Mon, 30 Jan 2006 13:24:29 +0200
Mike Rapoport <mike@compulab.co.il> wrote:
> Vitaly,
> Can you send me this patch?
>
Heh, if there is such a interest, I guess the driver worths to be slightly scrubbed and rebased against current kernel git. Then you could make it available in sf.net for others that are concerned.
But you need to wait a little...
>
> Vitaly Bordug wrote:
>
> >Jonathan,
> >
> >I have implemented the PQ2 usb-serial functionality a while ago, but the code needs a lot of cleanup, which is sometimes very tricky due to the tight timings required by this device. If you are interested, I can try to find the patch...
> >
> >On Fri, 27 Jan 2006 11:45:39 +1100
> >"Jonathan Qiang" <jonathan@haliplex.com.au> wrote:
> >
> >
> >
> >>Hi, all
> >>
> >>Currently, I am doing on the USB gadget device driver for mpc8272, I
> >>already got some packets on interruption route when my board in which
> >>mpc82xx settled connect to Host.
> >>But the SOF is always generated as the first interruption source. When
> >>plugged USB cable in HOST, the USB controller will be set to reset
> >>(USBER is [0x308]), and after reset, the interruption source event
> >>changes its status to [0x108], which means running on IDLE and SOF. Why
> >>It is not IN token?
> >>I already disabled Frame timer when I probe the USB gadget controller.
> >>
> >>
> >
> >
> >
> >
>
> --
> Sincerely yours,
> Mike Rapoport
>
>
>
--
Sincerely,
Vitaly
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-31 1:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-27 0:45 Question on USB gadget device driver for mpc 8272 on linux 2.6.14 Jonathan Qiang
2006-01-27 12:43 ` Vitaly Bordug
2006-01-30 11:24 ` Mike Rapoport
2006-01-31 1:23 ` Vitaly Bordug
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).