GithubHelp home page GithubHelp logo

Enable USB always on? about skulls HOT 13 CLOSED

MerlijnWajer avatar MerlijnWajer commented on July 24, 2024
Enable USB always on?

from skulls.

Comments (13)

nemanjan00 avatar nemanjan00 commented on July 24, 2024 1

You can enable it using nvramtool :D

from skulls.

merge avatar merge commented on July 24, 2024

sure. I'd be happy about a patch. Otherwise I might look into it next week. thanks

from skulls.

MerlijnWajer avatar MerlijnWajer commented on July 24, 2024

The patch would be only on the skulls build side, right? Not a coreboot patch? I am assuming it would be something like sed -i 's/usb_always_on=Disable/usb_always_on=Enable/' src/mainboard/lenovo/x230/cmos.default ?

from skulls.

merge avatar merge commented on July 24, 2024

@MerlijnWajer changing a git-tracked file in coreboot is not really an option. We could think about putting a patch up for review to enable this by default...

In the meantime: Can we configure this at build-time? Or do we have to build and ship nvramtool and let the user (a script) run it after flashing?

thanks

from skulls.

MerlijnWajer avatar MerlijnWajer commented on July 24, 2024

Putting up a patch for review that enables it by default would work. I think the build-time configuration simply requires changing the cmos.default file.

That said, I've been trying to make this work with nvramtool, and it doesn't work yet for me. Might be because I disabled ME (but this is maybe not the right place to figure out why it's not working):

# ./nvramtool -a | grep usb
usb_always_on = AC and battery

from skulls.

merge avatar merge commented on July 24, 2024

I can confirm that ./nvramtool -w usb_always_on="AC and battery" (or "AC only") doesn't work -.- Unless there's a bug in nvramtool I doubt that changing the default file would help...

from skulls.

MerlijnWajer avatar MerlijnWajer commented on July 24, 2024

Sounds like that will first need to be resolved, then... Just to check - do you have the ME removed/disabled?

from skulls.

merge avatar merge commented on July 24, 2024

I have me_cleaner -S applied.

from skulls.

merge avatar merge commented on July 24, 2024

this might be related here. Maybe we can test that for the x230: https://ticket.coreboot.org/issues/171

edit: today's build with said commit reverted doesn't help for me...

from skulls.

MerlijnWajer avatar MerlijnWajer commented on July 24, 2024

Maybe it would be good to add this information to the ticket (that revert on the x230, doesn't help?). Thanks for testing, btw.

from skulls.

merge avatar merge commented on July 24, 2024

actually, it is charging during standby for me...

from skulls.

MerlijnWajer avatar MerlijnWajer commented on July 24, 2024

Let me try the latest release and confirm...

from skulls.

MerlijnWajer avatar MerlijnWajer commented on July 24, 2024

Yes, now it works, using latest release! I think this can be closed.

from skulls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.