Re: Intermittent USB failures by Marcus
Marcus
Fri Aug 29 01:41:24 CDT 2003
Where does one get the OHCD2 driver then? I am using PB
4.1.
/Marcus
>-----Original Message-----
>Technically, it did attempt to debounce; it just didn't
do it correctly. Try
>using the OHCD2 driver (which does debounce correctly, at
least so far as
>the USB spec is concerned).
>
>For those who care about this sort of arcana, the old,
incorrect code waited
>a flat 100 ms for the power line to stabilize after
attach. The newer,
>correct code, waits after attach for there to be no state
changes on the
>line for at least 100 ms. Of course, if the line never
stabilizes, you might
>be able to make the driver wait forever. Or until you
unplug the offending
>device. Whichever comes first.
>
> - Jeff.
>
>"bill" <poddw@yahoo.com> wrote in message
>news:0be201c36d70$099c9f90$a601280a@phx.gbl...
>> I've seen where the connection signal is very noisy on
>> some devices. During insertion or at powerup, it can
look
>> as if the device is being inserted multiple times.
>>
>> The original OHCD driver provided no debouncing of that
>> event and there were cases where I saw the device being
>> assigned multiple addresses.
>>
>> You may want to look for something along those lines.
>>
>> >-----Original Message-----
>> >Hi!
>> >
>> >We are using the Samsung S3C2410 BSP on our hardware,
>> >parallel with the SMDK 2410. On both platforms we are
>> >experiencing intermittent USB problems when attaching a
>> >USB keyboard.
>> >
>> >I've added the OHCD controller and the USBHID class
>> >driver, and I usually get the keyboard to function
>> >correctly (only english mode though). However, every
once
>> >in a while, the keyboard stops workings when cold
booting
>> >the system. Usually, a reset is the solution to have
the
>> >USB keyboard operate again. I've read the USB Host
>> >registers and seen that there is a difference between
>> when
>> >the keyboard works and when it doesn't.
>> >
>> >Does anyone have an idea about this problem? Is it
>> >possible to reset the USB driver so that it reloads
after
>> >all other drivers have loaded?
>> >
>> >Any ideas on how to solve the problem are appreciated!
>> >
>> >/Marcus
>> >
>> >I was thinking it might be a mist
>> >.
>> >
>
>
>.
>