Bug 2252022 - Framework Laptop Expansion Card enabling auto suspend
Summary: Framework Laptop Expansion Card enabling auto suspend
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 39
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/systemd/systemd/co...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-29 03:55 UTC by mattwork
Modified: 2023-12-01 01:23 UTC (History)
9 users (show)

Fixed In Version: systemd-254.7-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-01 01:23:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description mattwork 2023-11-29 03:55:30 UTC
Framework provides expansion cards. For the HDMI and DisplayPort, these benefit power management via enabling auto suspend.

Fedora 39
6.5.12-300
systemd 254 (254-5-2.fc39)

#########################################
# Framework
#########################################

# HDMI Expansion Card
usb:v32ACp0002*
# DisplayPort Expansion Card
usb:v32ACp0003*
 ID_AUTOSUSPEND=1

Commit in question: https://github.com/systemd/systemd/commit/9023630cb7025650aa4d01ee794b0bb68bfdf2c1

When looking at 60-autosuspend.hwdb for Fedora 39, we do not have the additional entry shown above available for HDMI and DisplayPort expansion cards.

I'd like to see this added to Fedora 39.

Reproducible: Always

Steps to Reproduce:
1.less /usr/lib/udev/hwdb.d/60-autosuspend.hwdb
2. Lacks the db entry found in a recent systemd commit with our auto-suspend details.
3.
Actual Results:  
#########################################
Other entries for other vendors
#########################################


Expected Results:  
#########################################
# Framework
#########################################

# HDMI Expansion Card
usb:v32ACp0002*
# DisplayPort Expansion Card
usb:v32ACp0003*
 ID_AUTOSUSPEND=1

Commit in question: https://github.com/systemd/systemd/commit/9023630cb7025650aa4d01ee794b0bb68bfdf2c1

Comment 1 mattwork 2023-11-29 03:56:36 UTC
Blocks: https://bugzilla.redhat.com/show_bug.cgi?id=2240811

Comment 2 Adam Williamson 2023-11-29 04:00:35 UTC
If you know precisely what you want like that, you could actually just file a pull request for it at https://src.fedoraproject.org/rpms/systemd , if you're familiar with Fedora packaging. I could have a look at this tomorrow if not.

Comment 3 mattwork 2023-11-29 04:08:43 UTC
Ah, good idea. I may not get to it until next week with my current load. If you're able, I'd surely appreciate it if you can see about helping with this, @awilliam

Comment 4 Zbigniew Jędrzejewski-Szmek 2023-11-29 08:51:50 UTC
We generally include an update of hwdb to the latest version in point releases.
So no need to backport this patch individually. It'll be included in the next
update.

Comment 5 Fedora Update System 2023-11-29 23:10:20 UTC
FEDORA-2023-69182dbbfa has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-69182dbbfa

Comment 6 Fedora Update System 2023-11-30 04:37:19 UTC
FEDORA-2023-69182dbbfa has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-69182dbbfa`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-69182dbbfa

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-12-01 01:23:08 UTC
FEDORA-2023-69182dbbfa has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.