home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   linux.debian.bugs.dist      Ohh some weird Debian bug report thing      28,835 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 27,790 of 28,835   
   NoisyCoil to All   
   Bug#1128119: trixie-pu: package asahi-sc   
   16 Feb 26 00:20:01   
   
   XPost: linux.debian.devel.release   
   From: noisycoil@debian.org   
      
   This is a multi-part MIME message sent by reportbug.   
      
      
   Package: release.debian.org   
   Severity: normal   
   Tags: trixie   
   X-Debbugs-Cc: asahi-scripts@packages.debian.org, noisycoil@debian.org   
   Control: affects -1 + src:asahi-scripts   
   User: release.debian.org@packages.debian.org   
   Usertags: pu   
      
   [ Reason ]   
   This update fixes bug #1128108. The bug was apparently always present   
   (see the bug's 'forwarded' link), but was never reported in Debian.   
   Now we received multiple reports. The bug was already fixed upstream.   
      
   [ Impact ]   
   The kernel panics at startup reproducibly (but intermittently) on some   
   Apple Silicon laptops due to a race between enabling auto suspend of   
   the SD card reader and loading the sdhci_pci driver.   
      
   [ Tests ]   
   The fix has been in testing for one month, where one of the reporters   
   tested it successfully, and it was tested by another reporters in trixie,   
   again with success.   
      
   [ Risks ]   
   Virtually none. The fix just disables auto suspend of the SD card reader.   
      
   [ Checklist ]   
     [x] *all* changes are documented in the d/changelog   
     [x] I reviewed all changes and I approve them   
     [x] attach debdiff against the package in (old)stable   
     [x] the issue is verified as fixed in unstable   
      
   [ Changes ]   
   The fix is to disable auto suspend for the specific model of SD card reader   
   present on Apple Silicon machines, only on these machines. Apparently, auto   
   suspend is not supported anyway. In practice, this update adds an udev hwdb   
   override file [1] to the package.   
      
   [ Other info ]   
   asahi-scripts is a required package on all Apple Silicon machines (installed   
   by the asahi-platform-core metapackage).   
      
      
   [1] /usr/lib/udev/hwdb.d/65-autosuspend-override-asahi-sdhci.hwdb   
      
   diff -Nru asahi-scripts-20250130/debian/changelog asahi-scripts-   
   0250130/debian/changelog   
   --- asahi-scripts-20250130/debian/changelog	2025-11-01 19:48:50.000000000 +0100   
   +++ asahi-scripts-20250130/debian/changelog	2026-02-16 00:05:13.000000000 +0100   
   @@ -1,3 +1,11 @@   
   +asahi-scripts (20250130-3+deb13u2) trixie; urgency=medium   
   +   
   +  * Team upload.   
   +  * Backport "Install hwdb file to override auto suspend on   
   +    GL9755 SD card reader" (Closes: #1128108)   
   +   
   + -- NoisyCoil   Mon, 16 Feb 2026 00:05:13 +0100   
   +   
    asahi-scripts (20250130-3+deb13u1) trixie; urgency=medium   
      
      * Team upload.   
   diff -Nru asahi-scripts-20250130/debian/patches/0000-Backport-in   
   tall-hwdb-sd-card-autosuspend-override.patch asahi-scripts-20250   
   30/debian/patches/0000-Backport-install-hwdb-sd-card-autosuspend-override.patch   
   --- asahi-scripts-20250130/debian/patches/0000-Backport-install-   
   wdb-sd-card-autosuspend-override.patch	1970-01-01 01:00:00.000000000 +0100   
   +++ asahi-scripts-20250130/debian/patches/0000-Backport-install-   
   wdb-sd-card-autosuspend-override.patch	2026-02-12 21:47:53.000000000 +0100   
   @@ -0,0 +1,88 @@   
   +From: Janne Grunau    
   +Date: Sun, 30 Mar 2025 10:01:40 +0200   
   +Subject: Install hwdb file to override auto suspend on GL9755 SD card reader   
   +   
   +systemd v255 shipped a hwdb update enabling auto suspend (runtime PM)   
   +for the SD card reader Apple uses in 14- and 16-inch Macbook Pros and   
   +Mac Studios   
   +(https://github.com/systemd/systemd/commit/2f72e94984fc2994ab27   
   5e384f92e15cc026264).   
   +This PCI ID is imported from ChromiumOS. The driver in upstream Linux   
   +does not support runtime PM so this change is questionable to useless.   
   +Unfortunately it creates a race between enabling auto suspend and probing   
   +the sdhci_pci driver. If the default idle timeout (2000 ms) triggers   
   +before the driver is bound the default PCI device runtime suspend   
   +callback will be called. On Apple silicon devices the GL9755 card   
   +reader is inaccessible after it is resumed for the driver's probe   
   +function. Accessing the device's BAR results in a SError with   
   +ESR = 0x92000018.   
   +It's not entirely clear whether which is an issue with the device or   
   +with Apple silicon's PCIe implementation or Linux driver.   
   +   
   +Signed-off-by: Janne Grunau    
   +---   
   + Makefile                                             | 18 +++++++++++++-----   
   + udev/hwdb.d/65-autosuspend-override-asahi-sdhci.hwdb |  2 ++   
   + 2 files changed, 15 insertions(+), 5 deletions(-)   
   + create mode 100644 udev/hwdb.d/65-autosuspend-override-asahi-sdhci.hwdb   
   +   
   +diff --git a/Makefile b/Makefile   
   +index fa032a5..48a9095 100644   
   +--- a/Makefile   
   ++++ b/Makefile   
   +@@ -10,6 +10,7 @@ DRACUT_CONF_DIR=$(PREFIX)/lib/dracut/dracut.conf.d   
   + DRACUT_MODULES_DIR=$(PREFIX)/lib/dracut/modules.d   
   + SYSTEMD_UNIT_DIR=$(PREFIX)/lib/systemd/system   
   + UDEV_RULES_DIR=$(PREFIX)/lib/udev/rules.d   
   ++UDEV_HWDB_DIR=$(PREFIX)/lib/udev/hwdb.d   
   + BUILD_SCRIPTS=$(addprefix build/,$(SCRIPTS))   
   + BUILD_ARCH_SCRIPTS=$(addprefix build/,$(ARCH_SCRIPTS))   
   +   
   +@@ -54,7 +55,11 @@ install-macsmc-battery: install   
   + 	install -m0755 -t $(DESTDIR)$(SYSTEMD_UNIT_DIR) macsmc-batter   
   /systemd/macsmc-battery-charge-control-end-threshold.service   
   + 	install -m0644 -t $(DESTDIR)$(UDEV_RULES_DIR) macsmc-battery/   
   dev/93-macsmc-battery-charge-control.rules   
   +   
   +-install-arch: install install-mkinitcpio install-macsmc-battery   
   ++install-udev-hwdb: install   
   ++	install -dD $(DESTDIR)$(UDEV_HWDB_DIR)   
   ++	install -m0644 -t $(DESTDIR)$(UDEV_HWDB_DIR) udev/hwdb.d/65-a   
   tosuspend-override-asahi-sdhci.hwdb   
   ++   
   ++install-arch: install install-mkinitcpio install-macsmc-battery   
   install-udev-hwdb   
   + 	install -m0755 -t $(DESTDIR)$(BIN_DIR)/ $(BUILD_ARCH_SCRIPTS)   
   + 	install -dD $(DESTDIR)$(PREFIX)/lib/systemd/system   
   + 	install -dD $(DESTDIR)$(PREFIX)/lib/systemd/system/{multi-use   
   ,sysinit}.target.wants   
   +@@ -64,7 +69,7 @@ install-arch: install install-mkinitcpio inst   
   ll-macsmc-battery   
   + 	install -dD $(DESTDIR)$(PREFIX)/share/libalpm/hooks   
   + 	install -m0644 -t $(DESTDIR)$(PREFIX)/share/libalpm/hooks lib   
   lpm/hooks/95-m1n1-install.hook   
   +   
      
   [continued in next message]   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca