[arch-commits] Commit in hwdetect/trunk (PKGBUILD hwdetect)
Tobias Powalowski
tpowa at gemini.archlinux.org
Thu Oct 7 12:29:34 UTC 2021
Date: Thursday, October 7, 2021 @ 12:29:34
Author: tpowa
Revision: 425427
upgpkg: hwdetect 2021.10-1: bump to latest version
Modified:
hwdetect/trunk/PKGBUILD
hwdetect/trunk/hwdetect
----------+
PKGBUILD | 8 ++++----
hwdetect | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 58 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-07 12:10:55 UTC (rev 425426)
+++ PKGBUILD 2021-10-07 12:29:34 UTC (rev 425427)
@@ -1,8 +1,8 @@
# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
pkgname=hwdetect
-pkgver=2016.01
-pkgrel=4
-pkgdesc="Hardware detection script with loading modules and mkinitcpio.conf / rc.conf support"
+pkgver=2021.10
+pkgrel=1
+pkgdesc="Hardware detection script with loading modules and mkinitcpio.conf"
arch=(any)
url="https://archlinux.org/packages/extra/any/hwdetect/"
license=('GPL')
@@ -12,7 +12,7 @@
'lvm2: for lvm2 mkinitcpio config support'
'mdadm: for raid mkinitcpio config support')
source=(hwdetect)
-sha512sums=('ab9a61a260b2706e2b4fd0d16dd7098f40240a45941ccd1e4366631cc509f20589bc6720431c8381ce46c13e2defa89feab2875b1c9c98e6056c50bf5731e7f1')
+sha512sums=('c2caada42e4568e325f6d0df4b018512caeb8e3c89be2e23765c015251839782bc2f114485890bec466794bc0c4b897b3e7eb59ca80fe1d049a8eb4b306e2513')
package() {
install -D -m 755 "${srcdir}/hwdetect" "${pkgdir}/usr/bin/hwdetect"
Modified: hwdetect
===================================================================
--- hwdetect 2021-10-07 12:10:55 UTC (rev 425426)
+++ hwdetect 2021-10-07 12:29:34 UTC (rev 425427)
@@ -18,20 +18,34 @@
echo " --show-cdrom show CDROM modules"
echo " --show-cpufreq show CPUFREQ modules"
echo " --show-crypto show CRYPTO modules"
+ echo " --show-dca show DCA modules"
+ echo " --show-dma show DMA modules"
echo " --show-drm show DRM modules"
+ echo " --show-edac show EDAC modules"
+ echo " --show-events show EVENTS modules"
echo " --show-hwmon show HWMON modules"
echo " --show-i2c show I2C modules"
echo " --show-input show INPUT modules"
+ echo " --show-ipmi show IPMI modules"
echo " --show-irda show IRDA modules"
echo " --show-isdn show ISDN modules"
echo " --show-kvm show KVM modules"
echo " --show-media show MEDIA modules"
+ echo " --show-mei show MEI modules"
+ echo " --show-mfd show MFD modules"
+ echo " --show-mtd show MTD modules"
echo " --show-net show NETWORK modules"
echo " --show-parport show PARPORT modules"
- echo " --show-pcmcia show PCMCIA modules"
+ echo " --show-pcmcia show PCMCIA modules"
+ echo " --show-platform show PLATFORM modules"
+ echo " --show-powercap show POWERCAP modules"
+ echo " --show-serial show SERIAL modules"
echo " --show-sound show SOUND modules"
echo " --show-staging show STAGING modules"
+ echo " --show-thermal show THERMAL modules"
echo " --show-tpm show TPM modules"
+ echo " --show-video show VIDEO modules"
+ echo " --show-virt show VIRT modules"
echo " --show-watchdog show WATCHDOG modules"
echo " --show-other show OTHER modules"
echo ""
@@ -38,7 +52,8 @@
echo " For /etc/mkinitcpio.conf use:"
echo " --filesystem add filesystems to MODULES="
echo " --hostcontroller show MODULES= for all hostcontrollers"
- echo " --ati-kms add ati kernel mode setting"
+ echo " --ati-kms add ati kernel mode setting"
+ echo " --amd-kms add amd kernel mode setting"
echo " --intel-kms add intel kernel mode setting"
echo " --nvidia-kms add nvidia kernel mode setting"
echo ""
@@ -165,23 +180,38 @@
showlist "CDROM " $(listmods cdrom/)
showlist "CPUFREQ " $(listmods cpufreq/)
showlist "CRYPTO " $(listmods crypto/)
+ showlist "DCA " $(listmods dca/)
+ showlist "DMA " $(listmods dma/)
showlist "DRM " $(listmods drm/)
+ showlist "EDAC " $(listmods edac/)
+ showlist "EVENTS " $(listmods events/)
showlist "HWMON " $(listmods hwmon/)
showlist "I2C " $(listmods i2c/)
- showlist "INPUT " $(listmods input/ pcspkr) $(listmods hid/)
+ showlist "INPUT " $(listmods input/ pcspkr) $(listmods hid/) $(listmods mac_hid)
+ showlist "IPMI " $(listmods ipmi/)
showlist "IRDA " $(listmods irda/)
showlist "ISDN " $(listmods isdn/)
showlist "KVM " $(listmods kvm/)
showlist "MEDIA " $(listmods media/)
+ showlist "MEI " $(listmods mei/)
+ showlist "MFD " $(listmods mfd/)
+ showlist "MTD " $(listmods mtd/)
showlist "NET " $(listmods net/ irda/)
showlist "PARPORT " $(listmods parport/)
showlist "PCMCIA " $(listmods pcmcia/)
+ showlist "PLATFORM " $(listmods platform/)
+ showlist "POWERCAP " $(listmods powercap/)
+ showlist "SERIAL " $(listmods serial/)
showlist "SOUND " $(listmods pcspkr) $(listmods sound/)
showlist "STAGING " $(listmods staging/)
+ showlist "THERMAL " $(listmods thermal/)
showlist "TPM " $(listmods tpm/)
+ showlist "VIDEO " $(listmods video/)
+ showlist "VIRT " $(listmods virt/)
showlist "WATCHDOG " $(listmods watchdog/)
showlist "OTHER " $(listmods modules/ agp/ acpi/ scsi/ message/fusion block/sx8 block/cciss block/cpqarray block/DAC960 block/virtio virtio/virtio_pci ata/ \
- usb/ ieee1394 bluetooth/ cdrom/ cpufreq/ crypto/ net/ hwmon/ i2c/ isdn/ input/ irda/ kvm/ media/ parport/ pcmcia/ sound/ tpm/ drm/ firewire/ hid/ staging/ watchdog/)
+ usb/ ieee1394 bluetooth/ cdrom/ cpufreq/ crypto/ dca/ dma/ edac/ events/ net/ hwmon/ i2c/ isdn/ input/ ipmi/ irda/ kvm/ mac_hid media/ mei/ \
+ mfd/ mtd/ parport/ platform/ pcmcia/ powercap/ sound/ thermal/ tpm/ drm/ firewire/ hid/ serial/ staging/ video/ virt/ watchdog/)
;;
--show-modules-order)
@@ -199,22 +229,37 @@
--show-cpufreq) showlist "CPUFREQ " $(listmods cpufreq/) ;;
--show-crypto) showlist "CRYPTO " $(listmods crypto/) ;;
--show-drm) showlist "DRM " $(listmods drm/) ;;
+ --show-dca) showlist "DCA " $(listmods dca/) ;;
+ --show-dma) showlist "DMA " $(listmods dma/) ;;
+ --show-edac) showlist "EDAC " $(listmods edac/) ;;
+ --show-events) showlist "EVENTS " $(listmods events/) ;;
--show-hwmon) showlist "HWMON " $(listmods hwmon/) ;;
--show-input) showlist "INPUT " $(listmods input/ pcspkr) $(listmods hid/) ;;
+ --show-ipmi) showlist "IPMI " $(listmods ipmi/) ;;
--show-i2c) showlist "I2C " $(listmods i2c/) ;;
--show-irda) showlist "IRDA " $(listmods irda/) ;;
--show-isdn) showlist "ISDN " $(listmods isdn/) ;;
--show-kvm) showlist "KVM " $(listmods kvm/) ;;
--show-media) showlist "MEDIA " $(listmods media/) ;;
+ --show-mei) showlist "MEI " $(listmods mei/) ;;
+ --show-mfd) showlist "MFD " $(listmods mfd/) ;;
+ --show-mtd) showlist "MTD " $(listmods mtd/) ;;
--show-net) showlist "NET " $(listmods net/ irda/) ;;
--show-parport) showlist "PARPORT " $(listmods parport/) ;;
--show-pcmcia) showlist "PCMCIA " $(listmods pcmcia/) ;;
+ --show-platform) showlist "PLATFORM " $(listmods platform/) ;;
+ --show-powercap) showlist "POWERCAP " $(listmods powercap/) ;;
+ --show-serial) showlist "SERIAL " $(listmods serial/) ;;
--show-sound) showlist "SOUND " $(listmods pcspkr) $(listmods sound/) ;;
--show-staging) showlist "STAGING " $(listmods staging/) ;;
+ --show-thermal) showlist "THERMAL " $(listmods thermal/) ;;
--show-tpm) showlist "TPM " $(listmods tpm/) ;;
+ --show-video) showlist "VIDEO " $(listmods video/) ;;
+ --show-virt) showlist "VIRT " $(listmods virt/) ;;
--show-watchdog) showlist "WATCHDOG " $(listmods watchdog/) ;;
--show-other) showlist "OTHER " $(listmods .ko agp/ acpi/ scsi/ message/fusion block/sx8 block/cciss block/cpqarray block/DAC960 block/virtio virtio/virtio_pci ata/ \
- usb/ ieee1394 bluetooth/ cpufreq/ crypto/ net/ hwmon/ i2c/ isdn/ input/ irda/ kvm/ media/ parport/ pcmcia/ sound/ tpm/ drm/ firewire/ hid/ staging/ watchdog/) ;;
+ usb/ ieee1394 bluetooth/ cdrom/ cpufreq/ crypto/ dca/ dma/ edac/ events/ net/ hwmon/ i2c/ isdn/ input/ ipmi/ irda/ kvm/ mac_hid media/ mei/ \
+ mfd/ mtd/ parport/ platform/ pcmcia/ powercap/ sound/ thermal/ tpm/ drm/ firewire/ hid/ serial/ staging/ video/ virt/ watchdog/) ;;
--filesystem) FILESYSTEM="ext2 ext3 ext4 f2fs nilfs2 btrfs reiserfs xfs jfs vfat"
for i in $FILESYSTEM; do
[ "$(grep $i /tmp/.blkid)" ] && FS="$FS $i"
@@ -231,6 +276,10 @@
MODULES_INITRAMFS="$KMS $MODULES_INITRAMFS"
showlist2 "MODULES" \"$MODULES_INITRAMFS\" | sed -e 's/(\ /(/g' -e 's/"\ /"/g' -e 's/\ "/"/g' -e 's/\ \ /\ /g'
;;
+ --amd-kms) KMS="amdgpu"
+ MODULES_INITRAMFS="$KMS $MODULES_INITRAMFS"
+ showlist2 "MODULES" \"$MODULES_INITRAMFS\" | sed -e 's/(\ /(/g' -e 's/"\ /"/g' -e 's/\ "/"/g' -e 's/\ \ /\ /g'
+ ;;
--intel-kms) KMS="i915"
MODULES_INITRAMFS="$KMS $MODULES_INITRAMFS"
showlist2 "MODULES" \"$MODULES_INITRAMFS\" | sed -e 's/(\ /(/g' -e 's/"\ /"/g' -e 's/\ "/"/g' -e 's/\ \ /\ /g'
More information about the arch-commits
mailing list