Closing to prevent further empty posts.
]]>diff --git a/PKGBUILD b/PKGBUILD
index 4164a52..0111e82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,22 +11,12 @@ depends=('bash')
source=(
"https://raw.githubusercontent.com/denisandroid/uPD72020x-Firmware/master/UPDATE.mem"
"https://raw.githubusercontent.com/denisandroid/uPD72020x-Firmware/master/License.rtf"
- "upd72020x-fw"
- "upd72020x-fw-remove.hook"
- "upd72020x-fw-install.hook"
-)
-sha512sums=(
- '1ea117f9a1a772013fb7509c76d731865e6c05ae3c55a304ff42b31ec8a474e9bf16dd1b05b2e5b666ec5fd301aefed54bfeb6bfd7c3f23dc23faf082cf2a9f7'
- 'f5be9af49a6ec81f77275c6f4092e6675a707a95a33bf37eb9ba84a7226f3310eebffb7699f8b9b12110c9ca2af1a56f528a94f1e4891fd45f297affd8ebb577'
- '2733827c1c3d0fcef088b9bcb01101318b11c22bbae7b7787a2f020f0d0a6be327a0edebd0a159dd110bd044f3fb8c3139b66d80876be440ba4d3ba90779a372'
- 'bdbd37974bdb0257de1b27f0cb5e40a58288a7f5d142cff0c1f32fe07737a212b7a9ca8c68e86c6f95471ff58ca3d0fd2941d99579b4a9833f86b66087493db3'
- '6f831395c23e3b17055745ea619e8031f9fdd9e56aab28e08258309f848bbaa194a9403d7ee98a1f2004580c8a289e18165f9be9d495f64ebffad0928d526d3c'
)
+sha512sums=('1ea117f9a1a772013fb7509c76d731865e6c05ae3c55a304ff42b31ec8a474e9bf16dd1b05b2e5b666ec5fd301aefed54bfeb6bfd7c3f23dc23faf082cf2a9f7'
+ 'f5be9af49a6ec81f77275c6f4092e6675a707a95a33bf37eb9ba84a7226f3310eebffb7699f8b9b12110c9ca2af1a56f528a94f1e4891fd45f297affd8ebb577')
package() {
install -Dm644 UPDATE.mem "$pkgdir/usr/lib/firmware/renesas_usb_fw.mem"
install -Dm644 License.rtf "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rtf"
- install -Dm755 upd72020x-fw "$pkgdir/usr/share/libalpm/scripts/upd72020x-fw"
- install -Dm644 upd72020x-fw-remove.hook "$pkgdir/usr/share/libalpm/hooks/upd72020x-fw-remove.hook"
- install -Dm644 upd72020x-fw-install.hook "$pkgdir/usr/share/libalpm/hooks/upd72020x-fw-install.hook"
+ install -Dm644 /dev/null "$pkgdir/usr/lib/initcpio/$pkgname"
}
diff --git a/upd72020x-fw b/upd72020x-fw
deleted file mode 100644
index bb45f2e..0000000
--- a/upd72020x-fw
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash -e
-
-if [ $1 == 'remove' ]; then
- rm /usr/lib/firmware/renesas_usb_fw.mem
-fi
-
-mkinitcpio -P
diff --git a/upd72020x-fw-install.hook b/upd72020x-fw-install.hook
deleted file mode 100644
index 32fc01b..0000000
--- a/upd72020x-fw-install.hook
+++ /dev/null
@@ -1,11 +0,0 @@
-[Trigger]
-Type = Package
-Operation = Install
-Operation = Upgrade
-Target = upd72020x-fw
-
-[Action]
-Description = Updating linux initcpios...
-Depends = mkinitcpio
-When = PostTransaction
-Exec = /usr/share/libalpm/scripts/upd72020x-fw install
diff --git a/upd72020x-fw-remove.hook b/upd72020x-fw-remove.hook
deleted file mode 100644
index a1be7b3..0000000
--- a/upd72020x-fw-remove.hook
+++ /dev/null
@@ -1,10 +0,0 @@
-[Trigger]
-Type = Package
-Operation = Remove
-Target = upd72020x-fw
-
-[Action]
-Description = Updating linux initcpios...
-Depends = mkinitcpio
-When = PreTransaction
-Exec = /usr/share/libalpm/scripts/upd72020x-fw remove
PS - Hoping I did no harm by re-opening a thread marked as [Solved]...
]]>This will be helpful
https://aur.archlinux.org/packages/upd72020x-fw/
For those with the uPD720201 or uPD720202 controller.
Although the package includes a pointless install file duplicating the functionality of the mkinitcpio hook but without a dependency on mkinitcpio meaning if it is installed on a system without mkinitcpio it will cause an error. Package is also missing a license file.
xhci_hcd 0000:02:00.0: FW has invalid version :8209
xhci_hcd 0000:02:00.0: Direct firmware load for renesas_usb_fw.mem failed with error -2
xhci_hcd 0000:02:00.0: request_firmware failed: -2
xhci_hcd: probe of 0000:02:00.0 failed with error -2
I found this kernel.org bugzilla that is discussing this issue, so hopefully the fix will come soon:
https://bugzilla.kernel.org/show_bug.cgi?id=208911
after upgrading kernel to testing/5.8.0 I have 2 new messages about missing firmware for xhci_pci during mkinitcpio
for both presets (default/fallback)
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.8.0-arch1-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 5.8.0-arch1-1
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
I had no this messages for 5.7.x and lts kernels
]]>