Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 140
    • Issues 140
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 29
    • Merge requests 29
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Librem5
  • linux
  • Issues
  • #346
Closed
Open
Issue created Aug 19, 2021 by Sebastian Krzyszkowiak@sebastian.krzyszkowiakMaintainer

usb2: Devices can't resume host from suspend

It's been known for ages, but I don't think there's an issue for it, so here it goes.

When usb-otg2 (38200000.usb) is allowed to suspend, it doesn't get woken up by any activity from the devices.

The most noticeable symptom is that any incoming calls or messages don't get noticed until something makes the host controller wake up (querying the modem or accessing SD card). Also, turning the modem on while USB host is suspended makes the system not notice it until host gets resumed.

(this doesn't happen when turning the modem off - in that case, the host gets woken up correctly; however, it seems that's only because of rfkill_hks which causes ModemManager to wake the bus up)

Note: usb-otg2 suspend is not enabled by default.

Test with:

echo auto | sudo tee /sys/devices/platform/soc@0/38200000.usb/xhci-hcd.4.auto/power/control
echo auto | sudo tee /sys/devices/platform/soc@0/38200000.usb/power/control
Edited Aug 19, 2021 by Sebastian Krzyszkowiak
Assignee
Assign to
Time tracking