Giter VIP home page Giter VIP logo

Comments (7)

marc-git avatar marc-git commented on June 18, 2024 2

For me the problem with devices after booting required running sudo lsusb -v

from mbp-2016-linux.

marc-git avatar marc-git commented on June 18, 2024

I am also on a 14,3. I boot from a usb3 drive and suddenly couldn't boot anymore (no crypto drive found). Thanks for localising this!

from mbp-2016-linux.

risen avatar risen commented on June 18, 2024

Are your devices detected after running the following script?

#!/bin/bash

for i in /sys/bus/usb/devices/usb*
do
  echo "on" > "$i/power/control"
done

from mbp-2016-linux.

stefand avatar stefand commented on June 18, 2024

Indeed this helps, at least for devices plugged in after boot. And so does usbcore.autosuspend=-1 . I am going to test if this also makes my boot hard disk work without reverting the mentioned kernel patch.

from mbp-2016-linux.

stefand avatar stefand commented on June 18, 2024

Yeah disabling autosuspend also fixes boot time device detection with modern kernels. Any idea how to make autosuspend work again?

In the "bad" state the USB port is powered though. Attached hard disks spin up, but aren't detected. The power setting of the device itself doesn't seem to matter, I think it is some hub that matters. If I run your script before attaching the device the device is detected fine when it is attached later.

from mbp-2016-linux.

fortroche avatar fortroche commented on June 18, 2024

For me the problem with devices after booting required running sudo lsusb -v

It works for me on 13,1

from mbp-2016-linux.

F1nn avatar F1nn commented on June 18, 2024

ive got the same problem. i was able to get sudo lsusb -v to work once but it doesn't do it anymore. if i leave the usb drive connected and reboot the laptop, it works until the device is removed and re-inserted and then it never detects again until a reboot. have tried a few options for power cycling usb hub devices, etc but can't find anything that works. did anyone ever find a fix for this regression?

the only way i have found to work around it so far is to disable usb autosuspend but obviously this isn't a proper fix, it will lead to poor battery life, etc.

sudo grubby --args="usbcore.autosuspend=-1" --update-kernel=ALL

from mbp-2016-linux.

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.