uhci_hcd ohci_hcd ehci_hcd - Redhat

This is a discussion on uhci_hcd ohci_hcd ehci_hcd - Redhat ; I run RHEL 5 on my machine. The motherboard has three USB 1.1 controllers on it and I wanted some USB 2 controllers, so I put in a StarTech.com 6 Port USB 2.0 PIC Card in it PCI625USB2I. This board ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: uhci_hcd ohci_hcd ehci_hcd

  1. uhci_hcd ohci_hcd ehci_hcd

    I run RHEL 5 on my machine. The motherboard has three USB 1.1 controllers on
    it and I wanted some USB 2 controllers, so I put in a StarTech.com 6 Port
    USB 2.0 PIC Card in it PCI625USB2I. This board has 4 external USB connectors
    and 2 internal USB connectors. Nothing is plugged into any of these USB
    connectors at the moment.

    /proc/interrupts reveals:

    169: 0 0 0 0 IO-APIC-level uhci_hcd:usb3
    177: 0 0 0 0 IO-APIC-level uhci_hcd:usb1
    185: 0 0 0 0 IO-APIC-level uhci_hcd:usb2
    193: 0 0 0 0 IO-APIC-level ohci_hcd:usb4
    201: 0 0 0 0 IO-APIC-level ohci_hcd:usb5
    209: 0 0 0 0 IO-APIC-level ohci_hcd:usb6
    217: 0 0 0 0 IO-APIC-level ehci_hcd:usb7

    The ones listed as uhci_hcd were the original USB 1.1 controllers. Two of
    them have two USB connectors each. One has just one.

    The ones listed as ohci_hcd and ehci_hcd appeared when I plugged in the new
    card -- I believe.

    1.) I do not know what the uhci, ohci, and ehci stand for.

    2.) Why are only 4 new USB controllers listed instead of six? Could there be
    four controllers, two of which have two connectors? Which are which? I could
    not tell from the StarTech web site.

    3.) Why are the new USB controllers not all listed as the same type?

    /sbin/lspci reveals that, among other things, the following modules have
    been loaded. It would seem to reflect the above:

    ehci_hcd 33229 0
    ohci_hcd 23389 0
    uhci_hcd 25549 0

    /sbin/lspci -v reveals:

    00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev
    02) (prog-if 00 [UHCI])
    Subsystem: Super Micro Computer Inc P4DP6
    Flags: bus master, medium devsel, latency 0, IRQ 177
    I/O ports at 2000 [size=32]

    00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev
    02) (prog-if 00 [UHCI])
    Subsystem: Super Micro Computer Inc P4DP6
    Flags: bus master, medium devsel, latency 0, IRQ 185
    I/O ports at 2020 [size=32]

    00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev
    02) (prog-if 00 [UHCI])
    Subsystem: Super Micro Computer Inc P4DP6
    Flags: bus master, medium devsel, latency 0, IRQ 169
    I/O ports at 2040 [size=32]

    05:03.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if
    10 [OHCI])
    Subsystem: ALi Corporation ASRock 939Dual-SATA2 Motherboard
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 193
    Memory at fc401000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [60] Power Management version 2

    05:03.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if
    10 [OHCI])
    Subsystem: ALi Corporation ASRock 939Dual-SATA2 Motherboard
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 201
    Memory at fc402000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [60] Power Management version 2

    05:03.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if
    10 [OHCI])
    Subsystem: ALi Corporation ASRock 939Dual-SATA2 Motherboard
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 209
    Memory at fc403000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [60] Power Management version 2

    05:03.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01) (prog-if
    20 [EHCI])
    Subsystem: Unknown device 2020:8888
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 217
    Memory at fc404000 (32-bit, non-prefetchable) [size=256]
    Capabilities: [50] Power Management version 2
    Capabilities: [58] Debug port

    The 00:01 controllers are the old USB 1.1 controllers.
    I infer the 05:03 controllers are 4 of the new USB 2.0 controllers. Are
    there just four? (I do not intend to ever use the two internal connectors.

    4.) Why are three of them misidentified as USB 1.1 controllers? Would
    StarTech really have made such a thing? Is it a bug in the kernel that
    misidentifies them? Will they all work as 2.0 USP controllers?

    --
    .~. Jean-David Beyer Registered Linux User 85642.
    /V\ PGP-Key: 9A2FC99A Registered Machine 241939.
    /( )\ Shrewsbury, New Jersey http://counter.li.org
    ^^-^^ 22:05:01 up 5:06, 2 users, load average: 4.36, 4.31, 4.26

  2. Re: uhci_hcd ohci_hcd ehci_hcd

    Jean-David Beyer :

    You probably need this:

    http://www.linux-usb.org/FAQ.html

    uhci is 1.0 and ehci is usb 2.0? I've never heard of ohci. Sorry for
    the top post, but the following is more pertinent than my comments.

    > I run RHEL 5 on my machine. The motherboard has three USB 1.1 controllers on
    > it and I wanted some USB 2 controllers, so I put in a StarTech.com 6 Port
    > USB 2.0 PIC Card in it PCI625USB2I. This board has 4 external USB connectors
    > and 2 internal USB connectors. Nothing is plugged into any of these USB
    > connectors at the moment.
    >
    > /proc/interrupts reveals:
    >
    > 169: 0 0 0 0 IO-APIC-level uhci_hcd:usb3
    > 177: 0 0 0 0 IO-APIC-level uhci_hcd:usb1
    > 185: 0 0 0 0 IO-APIC-level uhci_hcd:usb2
    > 193: 0 0 0 0 IO-APIC-level ohci_hcd:usb4
    > 201: 0 0 0 0 IO-APIC-level ohci_hcd:usb5
    > 209: 0 0 0 0 IO-APIC-level ohci_hcd:usb6
    > 217: 0 0 0 0 IO-APIC-level ehci_hcd:usb7
    >
    > The ones listed as uhci_hcd were the original USB 1.1 controllers. Two of
    > them have two USB connectors each. One has just one.
    >
    > The ones listed as ohci_hcd and ehci_hcd appeared when I plugged in the new
    > card -- I believe.
    >
    > 1.) I do not know what the uhci, ohci, and ehci stand for.
    >
    > 2.) Why are only 4 new USB controllers listed instead of six? Could there be
    > four controllers, two of which have two connectors? Which are which? I could
    > not tell from the StarTech web site.
    >
    > 3.) Why are the new USB controllers not all listed as the same type?
    >
    > /sbin/lspci reveals that, among other things, the following modules have
    > been loaded. It would seem to reflect the above:
    >
    > ehci_hcd 33229 0
    > ohci_hcd 23389 0
    > uhci_hcd 25549 0
    >
    > /sbin/lspci -v reveals:
    >
    > 00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev
    > 02) (prog-if 00 [UHCI])
    > Subsystem: Super Micro Computer Inc P4DP6
    > Flags: bus master, medium devsel, latency 0, IRQ 177
    > I/O ports at 2000 [size=32]
    >
    > 00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev
    > 02) (prog-if 00 [UHCI])
    > Subsystem: Super Micro Computer Inc P4DP6
    > Flags: bus master, medium devsel, latency 0, IRQ 185
    > I/O ports at 2020 [size=32]
    >
    > 00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev
    > 02) (prog-if 00 [UHCI])
    > Subsystem: Super Micro Computer Inc P4DP6
    > Flags: bus master, medium devsel, latency 0, IRQ 169
    > I/O ports at 2040 [size=32]
    >
    > 05:03.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if
    > 10 [OHCI])
    > Subsystem: ALi Corporation ASRock 939Dual-SATA2 Motherboard
    > Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 193
    > Memory at fc401000 (32-bit, non-prefetchable) [size=4K]
    > Capabilities: [60] Power Management version 2
    >
    > 05:03.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if
    > 10 [OHCI])
    > Subsystem: ALi Corporation ASRock 939Dual-SATA2 Motherboard
    > Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 201
    > Memory at fc402000 (32-bit, non-prefetchable) [size=4K]
    > Capabilities: [60] Power Management version 2
    >
    > 05:03.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if
    > 10 [OHCI])
    > Subsystem: ALi Corporation ASRock 939Dual-SATA2 Motherboard
    > Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 209
    > Memory at fc403000 (32-bit, non-prefetchable) [size=4K]
    > Capabilities: [60] Power Management version 2
    >
    > 05:03.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01) (prog-if
    > 20 [EHCI])
    > Subsystem: Unknown device 2020:8888
    > Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 217
    > Memory at fc404000 (32-bit, non-prefetchable) [size=256]
    > Capabilities: [50] Power Management version 2
    > Capabilities: [58] Debug port
    >
    > The 00:01 controllers are the old USB 1.1 controllers.
    > I infer the 05:03 controllers are 4 of the new USB 2.0 controllers. Are
    > there just four? (I do not intend to ever use the two internal connectors.
    >
    > 4.) Why are three of them misidentified as USB 1.1 controllers? Would
    > StarTech really have made such a thing? Is it a bug in the kernel that
    > misidentifies them? Will they all work as 2.0 USP controllers?
    >



    --
    Any technology distinguishable from magic is insufficiently advanced.
    (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292
    - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.

  3. Re: uhci_hcd ohci_hcd ehci_hcd

    s. keeling wrote:
    > Jean-David Beyer :
    >
    > You probably need this:
    >
    > http://www.linux-usb.org/FAQ.html
    >
    > uhci is 1.0 and ehci is usb 2.0? I've never heard of ohci. Sorry for
    > the top post, but the following is more pertinent than my comments.


    As far as ohci is concerned, part of their spec says:

    Industry Standards PCI 2.2
    Industry Standards Power Management 1.1
    Industry Standards EHCI 2.0
    Industry Standards OHCI 1.1

    Mainstream hardware has one of three kinds, named after the hardware
    register-level "Host Controller Interface" (HCI) they implement.
    The first one was Intel's "Universal" HCI (UHCI). That type of controller
    doesn't do very much in hardware, which makes the software do more work (and
    need more memory).
    Most controllers on Intel or Via chipsets use UHCI.

    The second kind of USB 1.1 host controller was organized by Compaq and
    several other companies, and had fewer "Intellectual Property" restrictions.
    That was called the "Open" HCI (OHCI), and does quite a bit more of USB in
    hardware. Learning that two kinds of register interface was one too many,
    USB 2.0 defined just one, with much less legal encumbrance.

    The third, and newest, kind is the "Enhanced" HCI (EHCI), and is the only
    kind used to talk to high speed devices. You can tell which kind you have by
    output of lspci -v|grep HCI:

    In any case I have, so far, never plugged anything into any of the USB
    (either my 1.1 or my 2.2(?) card, so for all I know, everything works.
    >
    >> I run RHEL 5 on my machine. The motherboard has three USB 1.1 controllers on
    >> it and I wanted some USB 2 controllers, so I put in a StarTech.com 6 Port
    >> USB 2.0 PIC Card in it PCI625USB2I. This board has 4 external USB connectors
    >> and 2 internal USB connectors. Nothing is plugged into any of these USB
    >> connectors at the moment.
    >>
    >> /proc/interrupts reveals:
    >>
    >> 169: 0 0 0 0 IO-APIC-level uhci_hcd:usb3
    >> 177: 0 0 0 0 IO-APIC-level uhci_hcd:usb1
    >> 185: 0 0 0 0 IO-APIC-level uhci_hcd:usb2
    >> 193: 0 0 0 0 IO-APIC-level ohci_hcd:usb4
    >> 201: 0 0 0 0 IO-APIC-level ohci_hcd:usb5
    >> 209: 0 0 0 0 IO-APIC-level ohci_hcd:usb6
    >> 217: 0 0 0 0 IO-APIC-level ehci_hcd:usb7
    >>
    >> The ones listed as uhci_hcd were the original USB 1.1 controllers. Two of
    >> them have two USB connectors each. One has just one.
    >>
    >> The ones listed as ohci_hcd and ehci_hcd appeared when I plugged in the new
    >> card -- I believe.
    >>
    >> 1.) I do not know what the uhci, ohci, and ehci stand for.
    >>
    >> 2.) Why are only 4 new USB controllers listed instead of six? Could there be
    >> four controllers, two of which have two connectors? Which are which? I could
    >> not tell from the StarTech web site.
    >>
    >> 3.) Why are the new USB controllers not all listed as the same type?
    >>
    >> /sbin/lspci reveals that, among other things, the following modules have
    >> been loaded. It would seem to reflect the above:
    >>
    >> ehci_hcd 33229 0
    >> ohci_hcd 23389 0
    >> uhci_hcd 25549 0
    >>
    >> /sbin/lspci -v reveals:
    >>
    >> 00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev
    >> 02) (prog-if 00 [UHCI])
    >> Subsystem: Super Micro Computer Inc P4DP6
    >> Flags: bus master, medium devsel, latency 0, IRQ 177
    >> I/O ports at 2000 [size=32]
    >>
    >> 00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev
    >> 02) (prog-if 00 [UHCI])
    >> Subsystem: Super Micro Computer Inc P4DP6
    >> Flags: bus master, medium devsel, latency 0, IRQ 185
    >> I/O ports at 2020 [size=32]
    >>
    >> 00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev
    >> 02) (prog-if 00 [UHCI])
    >> Subsystem: Super Micro Computer Inc P4DP6
    >> Flags: bus master, medium devsel, latency 0, IRQ 169
    >> I/O ports at 2040 [size=32]
    >>
    >> 05:03.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if
    >> 10 [OHCI])
    >> Subsystem: ALi Corporation ASRock 939Dual-SATA2 Motherboard
    >> Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 193
    >> Memory at fc401000 (32-bit, non-prefetchable) [size=4K]
    >> Capabilities: [60] Power Management version 2
    >>
    >> 05:03.1 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if
    >> 10 [OHCI])
    >> Subsystem: ALi Corporation ASRock 939Dual-SATA2 Motherboard
    >> Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 201
    >> Memory at fc402000 (32-bit, non-prefetchable) [size=4K]
    >> Capabilities: [60] Power Management version 2
    >>
    >> 05:03.2 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if
    >> 10 [OHCI])
    >> Subsystem: ALi Corporation ASRock 939Dual-SATA2 Motherboard
    >> Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 209
    >> Memory at fc403000 (32-bit, non-prefetchable) [size=4K]
    >> Capabilities: [60] Power Management version 2
    >>
    >> 05:03.3 USB Controller: ALi Corporation USB 2.0 Controller (rev 01) (prog-if
    >> 20 [EHCI])
    >> Subsystem: Unknown device 2020:8888
    >> Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 217
    >> Memory at fc404000 (32-bit, non-prefetchable) [size=256]
    >> Capabilities: [50] Power Management version 2
    >> Capabilities: [58] Debug port
    >>
    >> The 00:01 controllers are the old USB 1.1 controllers.
    >> I infer the 05:03 controllers are 4 of the new USB 2.0 controllers. Are
    >> there just four? (I do not intend to ever use the two internal connectors.
    >>
    >> 4.) Why are three of them misidentified as USB 1.1 controllers? Would
    >> StarTech really have made such a thing? Is it a bug in the kernel that
    >> misidentifies them? Will they all work as 2.0 USP controllers?
    >>

    >
    >



    --
    .~. Jean-David Beyer Registered Linux User 85642.
    /V\ PGP-Key: 9A2FC99A Registered Machine 241939.
    /( )\ Shrewsbury, New Jersey http://counter.li.org
    ^^-^^ 21:40:01 up 5 days, 2:42, 3 users, load average: 4.31, 4.25, 4.19

+ Reply to Thread