Post by Peter Brown
As we seem to have established that those ports are not active when os/2
is loaded but work with windows could there be something non-standard,
"windows only", about them?
Can you get hold of a linux liveCD of some sort and see what that finds?
No, but I found out some things, see below.
Post by Peter Brown
If the front ports are not useable when booted from the liveCD there is
a good chance that there is some "windows only" trickery involved...
What IRQs are used by the USB system under Windows? - anything on IRQ > 15?
4 Host Controllers:
OHCI 1: Mem: E2420000-E2420FFF, Irq 20
OHCI 2: Mem: E2421000-E2421FFF, Irq 21
OHCI 3: Mem: E2422000-E2422FFF, Irq 22
EHCI 1: Mem: E2423000-E2423FFF, Irq 23
3 Root Hubs (found out by permutation):
Root Hub 1: serves outer plug on PC back, middle plug on PC front
Root Hub 2: serves inner plug on PC back, Card Reader (all 4 slots)
Root Hub 3: serves lower plug on PC front, upper plug on PC front
OHCI 1: Mem: E2420000-E2420FFF, Irq 5
OHCI 2: Mem: E2421000-E2421FFF, Irq 12
OHCI 3: Mem: E2422000-E2422FFF, Irq 11
EHCI 1: Mem: E2423000-E2423FFF, Irq 9
4 Root Hubs (ROOT HUB DEVICES):
It is the lower plug on PC front, upper plug on PC front that do not
work under OS/2.
Since USBD.SYS is the hub controller, USBD.SYS is the culprit. I found
another USBD.SYS by Martin Kiewitz in package mmportv1.zip where Martin
claims it does the hub enumeration in "the Windows fashion".
Unfortunately his USBD.SYS does not work as it hangs the boot process
but that might be due to the fact that the source he included are older
than the latest available sources from IBM.
I guess if I could apply the fixes Martin did (mmportv1.zip comes with
the sources he changed) to the latest IBM source of USBD.SYS, I might
get the hub enumeration rectified and then maybe the hubs would all
work. Unfortunately I am far from being a USB expert.
By the way: the OS/2 HW Manager lists a "DEVICE" for the OHCI2,OCHI3 and
EHCI1 controller but not the OCHI1 controller. What are these "devices"
supposed to mean ? What are they compared to the "ROOT HUB DEVICE"s that
are listed under the hub controller (USBD.SYS) ? As far as I understand
the hubs should not be statically assigned to a controller as the
controllers are assigned dynamically to the hubs, depending on if I plug
in a USB1.1 (OCHI) or USB2.0 (EHCI) capable device ...