Bug 2252022

Summary: Framework Laptop Expansion Card enabling auto suspend
Product: [Fedora] Fedora Reporter: mattwork <mrh>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: awilliam, fedoraproject, filbranden, lnykryn, msekleta, ryncsn, systemd-maint, yuwatana, zbyszek
Target Milestone: ---Keywords: RFE
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://github.com/systemd/systemd/commit/9023630cb7025650aa4d01ee794b0bb68bfdf2c1
Whiteboard:
Fixed In Version: systemd-254.7-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-01 01:23:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.