Sam440ep_setup breaks USB with Update 3
Posted: Tue Sep 06, 2011 1:40 pm
EDIT: My theories for this problem have been revised several times, so please see the second page for more recent developments. But if you want to know all the details which lead me to my conclusions, then please DO read all the posts I made!
I've always had problems with my USB keyboard & mouse stop working occasionally on my Sam440 (ITX). Originally it was bad, but I think some Sam440 bugs got fixed so that by Update 2 it was only a very rare occurance. But now with Update 3 it has become a lot more common again.
Chris Young has previously noticed (with Update 2 & earlier) that one of the two USB ports can be very flaky on (ITX) Sam440s, meaning that keyboard or mouse would typically stop working. The solution was with a USB hub - which a KVM typically provides for keyboard & mouse sharing, so I was automatically using this solution quite successfully (as I use a KVM). At the time we concluded it was probably a software not hardware issue.
With Update 3 the symptoms are that both keyboard & mouse stop working. Disconnecting & replugging them in usually gets one of them working again, but not both. Typically the mouse will work if I plug the KVM into the same USB port, and sometimes the keyboard (but not mouse) will work if instead I plug the KVM into the Sam's other USB port. Very rarely will both start working again, and sometimes neither will start working. If I use MUI-OWB then I can pretty much guarantee the problem appears after reading a few web pages - although it seems it can happen with heavy CPU usage from any app (e.g. Filer), or even for no obvious reason (e.g. typing text in CygnusEd - hardly a CPU hog!).
However, if I plug a (different) keyboard or mouse directly into those USB sockets, then they seem to work reliably. So it *seems* that USB keyboard & mouse are now UNreliable using a hub (which is unavoidable with a KVM).
Not sure if this a Sam440-specific driver problem, or a wider USB stack problem, as I've noticed some people (inc Deniil) report similar-sounding USB issues for AmigaOne's etc.
Please note that I have disabled the bootmouse & bootkeyboard, as they don't get on well with my KVM's simulated USB keyboard & mouse.
I have attached a USB log file showing where it stopped working, I then unplugged & replugged several times in different ports with partial success (only one worked), and then rather unusually I finally got both working again. I have inserted *** comments in two places, to show where it stopped working, and where it started working fully again. Dunno if this will help. Anything else I can provide?
I've always had problems with my USB keyboard & mouse stop working occasionally on my Sam440 (ITX). Originally it was bad, but I think some Sam440 bugs got fixed so that by Update 2 it was only a very rare occurance. But now with Update 3 it has become a lot more common again.
Chris Young has previously noticed (with Update 2 & earlier) that one of the two USB ports can be very flaky on (ITX) Sam440s, meaning that keyboard or mouse would typically stop working. The solution was with a USB hub - which a KVM typically provides for keyboard & mouse sharing, so I was automatically using this solution quite successfully (as I use a KVM). At the time we concluded it was probably a software not hardware issue.
With Update 3 the symptoms are that both keyboard & mouse stop working. Disconnecting & replugging them in usually gets one of them working again, but not both. Typically the mouse will work if I plug the KVM into the same USB port, and sometimes the keyboard (but not mouse) will work if instead I plug the KVM into the Sam's other USB port. Very rarely will both start working again, and sometimes neither will start working. If I use MUI-OWB then I can pretty much guarantee the problem appears after reading a few web pages - although it seems it can happen with heavy CPU usage from any app (e.g. Filer), or even for no obvious reason (e.g. typing text in CygnusEd - hardly a CPU hog!).
However, if I plug a (different) keyboard or mouse directly into those USB sockets, then they seem to work reliably. So it *seems* that USB keyboard & mouse are now UNreliable using a hub (which is unavoidable with a KVM).
Not sure if this a Sam440-specific driver problem, or a wider USB stack problem, as I've noticed some people (inc Deniil) report similar-sounding USB issues for AmigaOne's etc.
Please note that I have disabled the bootmouse & bootkeyboard, as they don't get on well with my KVM's simulated USB keyboard & mouse.
I have attached a USB log file showing where it stopped working, I then unplugged & replugged several times in different ports with partial success (only one worked), and then rather unusually I finally got both working again. I have inserted *** comments in two places, to show where it stopped working, and where it started working fully again. Dunno if this will help. Anything else I can provide?