Re: PCI USB2 Controller not recognising all ports

From: frits vanderlinden (frits_at_sun.com)
Date: 06/10/04


Date: 10 Jun 2004 06:02:49 -0700

Alex Balmer <not@this.net> wrote in message news:<40c2ea37$0$4576$db0fefd9@news.zen.co.uk>...
> I have a USB 2 card with 5 ports, of which 2 are on the back of the card
> and three that are extended to the front of the case on cables (for
> mounting into a floppy drive bay). Thanks to what I have read in this
> group already I was able to install the card and get devices working -
> but only on two of the five ports, these being located on the
> front-mounts I don't wish to install.
>
> Regrettably, this card was manufactured by someone who wasn't confident
> enough in their product to put their name to it, and difficulties are
> presented in tracing precise specifications. From what was implied on
> the box it has 3 controllers, two ehci and one ohci - only the ohci
> appears in the Solaris device tree. (All ports are supposed to be usb2.0
> so I'm confused as to how that works). Placing a USB device into a

when you plug in a usb2.0 device, ehci controller will claim it.
If you plug in a usb1.x device, ehci will reroute it to the
companion ohci controller

> 'dead' port causes a spike in the power long enough to flicker an LED so
> I don't believe they are physically broken, just invisible.
>
> OS is Solaris 9 08/03, installed with the USB DDK 0.9.
>
>
> `prtconf -pv |grep 000c03` yields only two devices:
> class-code: 000c0310
> class-code: 000c0310

for some reason, ehci does not get loaded.

If you have loaded the DDK, you should run usbconfig
script and select USBA1.0 on all USB hardware.
You should get usba10_ohci driver instead ohci
However, that is not the real problem here.

Have you checked dmesg output. any warning on usba10_ehci?

>
> `prtconf -D|grep usb`
> usb, instance #0 (driver name: ohci)
> usb, instance #1 (driver name: ohci)
>
> When devices were thus installed into the only two working ports:
>
> `cfgadm -l`
> Ap_Id Type Receptacle Occupant
> Condition
> c0 scsi-bus connected configured
> unknown
> c1 scsi-bus connected unconfigured
> unknown
> usb0/1 usb-storage connected unconfigured ok
> usb1/1 usb-mouse connected configured ok
>
> The "usb-storage" device was tested and worked properly (though I wasn't
> able to verify usb2 speed, it couldn't read or write that fast anyway).
>
> How might I be able to make the other ports "visible" to solaris?
> `prtconf -pv` does not list any 000c0320 (ehci) devices but they're
> absolutely supposed to be there. Can Solaris not handle ehci devices if
> it finds an ohci onboard?

see above. you should see 2 ohci and one ehci node. Check if
usba10_ehci is in /etc/name_to_major and /etc/driver_aliases

>
> Thanks in advance for anyone who is able to offer any thoughts or advice
> on this problem.

BTW, there is no need to load the DDK unless you are really writing
a driver. S8 hw4 and s9 update 6 have the same stuff

fritS



Relevant Pages