ChromeOS UCSI Driver Queued Ahead Of Linux 6.14 Cycle

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67050

    ChromeOS UCSI Driver Queued Ahead Of Linux 6.14 Cycle

    Phoronix: ChromeOS UCSI Driver Queued Ahead Of Linux 6.14 Cycle

    With the upcoming Linux 6.14 cycle Google is poised to have its ChromeOS UCSI driver upstreamed...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
  • totoz
    Phoronix Member
    • Sep 2015
    • 73

    #2
    Could someone explain what is USB Platform Policy Manager used for? What interesting stuff could that bring to our desktop?
    With some use case examples for this new driver.

    Comment

    • carguello2
      Phoronix Member
      • Oct 2023
      • 51

      #3
      Originally posted by totoz View Post
      Could someone explain what is USB Platform Policy Manager used for?
      According to Microsoft documentation,

      USB Type-C Policy Manager monitors the activities of USB Type-C connectors... The Policy Manager gets and coordinates the information from the USB Connector Manager (UCM), USB host controller, and USB function, and your PM client driver. When UI notification is required, the Policy Manager sends the request to system Shell.

      Comment

      • m132
        Junior Member
        • Sep 2015
        • 32

        #4
        Sad to see yet another hardware-specific bit shoved into mainline instead of vendors getting their act together and exposing UCSI via ACPI (which Linux has already supported since 2017 via the ucsi_acpi driver).

        Originally posted by totoz View Post
        Could someone explain what is USB Platform Policy Manager used for?.
        UCSI is a protocol defined by Intel¹ as an attempt to standardize the way operating systems to talk to USB Type C controllers. Essentially, it lets the OS control what's advertised on the CC1 and CC2 pins of the USB-C connectors, such as the available alternate modes (USB3/USB4/Thunderbolt/DisplayPort/etc.), role (host/device), Power Delivery information, etc. and the negotiation of those parameters.

        The PPM in particular sits between the operating system UCSI components and the actual hardware facilitating the CC1/CC2 communication, and orchestrates their work.

        From the spec:
        The combination of hardware and firmware and any vendor-provided OS software that
        provides the interface to all the USB Type-C connectors on the platform is referred to
        as the Platform Policy Manager (PPM) in this specification. In addition, there may be
        individual policy managers for each USB Type-C connector on the platform. The
        individual policy managers are referred to as Local Policy Managers (LPM) in this
        specification.
        edit: ¹seems like Intel has handed the governance of the spec over to USB-IF since. the new spec is linked in the article
        Last edited by m132; 05 January 2025, 08:27 PM.

        Comment

        • totoz
          Phoronix Member
          • Sep 2015
          • 73

          #5
          Originally posted by m132 View Post
          Sad to see yet another hardware-specific bit shoved into mainline instead of vendors getting their act together and exposing UCSI via ACPI (which Linux has already supported since 2017 via the ucsi_acpi driver).
          Yeah, that's why I wonder what this new driver provides.

          I own a Framework 13, and I can see in logs some "ucsi_acpi USBC000:00: unknown error XXX" or "ucsi_acpi USBC000:00: GET_CABLE_PROPERTY failed (-5)", therefore I assume the UCSI is already driven through ACPI on this computer.
          But this laptop also uses the ChromeOS embedded controller, so I will probably see this new driver in action too, but that would make a duplicate driver.

          Comment

          Working...
          X