Project Crostini USB support is moving forward on Chromebooks

Among the still missing features in Project Crostini are GPU hardware acceleration, audio support and the ability for Linux apps to access USB drives and devices on a Chromebook. That last function is moving forward now, based on a newly opened bug that you can follow along here, dubbed “UI for Crostini USB Support”.

I did some digging in the Chromium code to see if there was any immediate progress on the new change and sure enough, there’s a start.

This code commit adds a new features flag to enable the USB support, although for now, it appears it will be off by default. I’d expect that to change in the future, however: My guess is that when USB support officially arrives in Project Crostini, there won’t be a flag to enable it and/or it will simply be enabled by default.

It’s possible that the flag is already available in the Chrome Canary Channel but I generally run the Dev Channel on my Pixelbook. As of the time of writing, I don’t see it on the Dev Channel for Chrome OS version 71.0.3578.21.

So what does this mean when the feature lands?

First and foremost, the Linux container should be able to access data from a USB drive. I’d expect USB devices such as keyboards, cameras and the like would be usable within the Linux container.

Additionally, any developers who are using the Linux version of Android Studio on a Chromebook can then attach an Android device over USB to the development environment to push their in-progress application to a test device. And lastly, folks who tinker with external hardware — say an Arduino or Raspberry Pi board — will be able to access it over USB for programming and testing.

It’s difficult to predict when USB support will arrive for Project Crostini, but my hope is that we see it in Chrome OS 71, which should arrive in late November or early December. That happens to coincide nicely with when we could see the Pixel Slate become available since the demo units of the tablet were all running Chrome 71 Dev Channel earlier this month at the #MadeByGoogle event.

Update: As noted by an astute reader, Denny, in the comments, this feature is currently targeted for Stable version 73 in the bug. That could change in either direction, of course, based on code development and testing, so I’ll keep an eye — a closer one! — on progress.

7 thoughts on “Project Crostini USB support is moving forward on Chromebooks

  • October 29, 2018 at 9:49 am
    Permalink

    Being able to use a USB keyboard and mouse is a fairly fundamental feature. Thanks for the report. I’ll be glad to see this land

    Reply
    • October 29, 2018 at 3:02 pm
      Permalink

      But you can already use a keyboard and mouse on it, what am I missing?

      Reply
      • October 30, 2018 at 8:12 am
        Permalink

        It only forwards the keypresses. With this it could for example allow the Linux to control RGB light of the keyboard, reprogram macro keys on keyboard that allow it etc.

        Reply
    • October 29, 2018 at 11:02 am
      Permalink

      Ah, indeed it is; I missed the target version in the bug. I’ll add an update to the post to indicate the expected release. Thanks!

      Reply
    • October 29, 2018 at 11:25 am
      Permalink

      The flags are available in Canary 72 now. When I enabled the flags, Terminal froze or at least I couldn’t get keystrokes to register.

      Reply
  • October 29, 2018 at 10:16 pm
    Permalink

    How will language support progress in the future?
    I am an Asian language user and I am very anxious.
    I also care whether other applications such as Wine will be launched or not.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.