[arch-commits] Commit in hwdetect/trunk (hwdetect)
Date: Tuesday, October 8, 2013 @ 15:38:53 Author: tpowa Revision: 196209 fix spaces Modified: hwdetect/trunk/hwdetect --+ hwdetect |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: hwdetect === --- hwdetect2013-10-08 10:52:22 UTC (rev 196208) +++ hwdetect2013-10-08 13:38:53 UTC (rev 196209) @@ -165,9 +165,9 @@ showlist AGP $(listmods agp/) showlist ACPI $(listmods acpi/) showlist BLOCK$(listmods ata/pata pata_acpi) $(listmods ata/ata_piix) \ - $(listmods virtio/virtio_pci) $(listmods scsi/) $(listmods message/fusion/) $(listmods drivers/block/ nbd pktcdvd sx8 floppy) \ - $(listmods ata/ pata ata_generic) $(listmods drivers/block/sx8) \ - $(listmods usb/ usb/input) $(listmods firewire/) $(listmods ieee1394/) + $(listmods virtio/virtio_pci) $(listmods scsi/) $(listmods message/fusion/) $(listmods drivers/block/ nbd pktcdvd sx8 floppy) \ + $(listmods ata/ pata ata_generic) $(listmods drivers/block/sx8) \ + $(listmods usb/ usb/input) $(listmods firewire/) $(listmods ieee1394/) showlist CDROM$(listmods cdrom/) showlist CPUFREQ $(listmods cpufreq/) showlist CRYPTO $(listmods crypto/)
[arch-commits] Commit in hwdetect/trunk (hwdetect)
Date: Thursday, August 4, 2011 @ 03:04:23 Author: tpowa Revision: 134473 remove usbhost blacklisting, already included in modprobe.d Modified: hwdetect/trunk/hwdetect --+ hwdetect |8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) Modified: hwdetect === --- hwdetect2011-08-04 06:49:01 UTC (rev 134472) +++ hwdetect2011-08-04 07:04:23 UTC (rev 134473) @@ -59,7 +59,7 @@ echo --usbhost show usb hostcontroller MODULES echo --modules show all detected MODULES echo --modules-not-loaded show all detected MODULES but not actually loaded - echo --blacklistactivates blacklisting for net,sound and usbhost + echo --blacklistactivates blacklisting for net and sound echo exit 1 } @@ -547,12 +547,6 @@ BLACKLIST_UDEV=$BLACKLIST_UDEV $i done showlist2 MODULES \($MODULES_EXPORTED\) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' - : /tmp/blacklist_usbhost.conf - if [ $BLACKLIST = 1 ]; then - for i in $BLACKLIST_UDEV; do - echo blacklist $i /tmp/blacklist_usbhost.conf - done - fi ;; --modules) showlist2 MODULES \($(listmods modules/)\) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' ;;
[arch-commits] Commit in hwdetect/trunk (hwdetect)
Date: Thursday, August 4, 2011 @ 03:07:50 Author: tpowa Revision: 134474 remove usbhost option, not needed anymore Modified: hwdetect/trunk/hwdetect --+ hwdetect |9 - 1 file changed, 9 deletions(-) Modified: hwdetect === --- hwdetect2011-08-04 07:04:23 UTC (rev 134473) +++ hwdetect2011-08-04 07:07:50 UTC (rev 134474) @@ -56,7 +56,6 @@ echo For /etc/rc.conf use: echo --net show network MODULES echo --soundshow sound MODULES - echo --usbhost show usb hostcontroller MODULES echo --modules show all detected MODULES echo --modules-not-loaded show all detected MODULES but not actually loaded echo --blacklistactivates blacklisting for net and sound @@ -540,14 +539,6 @@ done fi ;; - --usbhost) USBHOST_EXPORTED=$(listmods xhci-hcd) $(listmods ehci-hcd) $(listmods uhci-hcd) $(listmods ohci-hcd) - MODULES_EXPORTED=$MODULES_EXPORTED $USBHOST_EXPORTED - BLACKLIST_UDEV= - for i in $USBHOST_EXPORTED; do - BLACKLIST_UDEV=$BLACKLIST_UDEV $i - done - showlist2 MODULES \($MODULES_EXPORTED\) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' -;; --modules) showlist2 MODULES \($(listmods modules/)\) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' ;; --modules-not-loaded) showlist4 MODULES $(listmods modules/) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g'
[arch-commits] Commit in hwdetect/trunk (hwdetect)
Date: Thursday, August 4, 2011 @ 03:10:30 Author: tpowa Revision: 134475 remove vmare option, not needed anymore Modified: hwdetect/trunk/hwdetect --+ hwdetect |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) Modified: hwdetect === --- hwdetect2011-08-04 07:07:50 UTC (rev 134474) +++ hwdetect2011-08-04 07:10:30 UTC (rev 134475) @@ -35,7 +35,6 @@ echo For /etc/mkinitcpio.conf use: echo --filesystem add filesystems to MODULES= echo --hostcontroller show MODULES= for all hostcontrollers - echo --vmware add BusLogic to MODULES for vmware echo --ati-kms add ati kernel mode setting echo --intel-kmsadd intel kernel mode setting echo --nvidia-kms add nvidia kernel mode setting @@ -111,10 +110,7 @@ # nfs switch [ $(echo $* | grep '\-btrfs') ] BTRFS=1 -# vmware switch -[ $(echo $* | grep '\-vmware') ] VMWARE=1 - -# vmware switch +# hooks switch [ $(echo $* | grep '\-hooks') ] HOOKS=1 # blacklist switch
[arch-commits] Commit in hwdetect/trunk (hwdetect)
Date: Thursday, August 4, 2011 @ 03:20:01 Author: tpowa Revision: 134476 add persistent network rules Modified: hwdetect/trunk/hwdetect --+ hwdetect | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) Modified: hwdetect === --- hwdetect2011-08-04 07:10:30 UTC (rev 134475) +++ hwdetect2011-08-04 07:20:01 UTC (rev 134476) @@ -514,12 +514,11 @@ done showlist2 MODULES \($MODULES_EXPORTED\) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' fi -: /tmp/blacklist_net.conf - if [ $BLACKLIST = 1 ]; then - for i in $BLACKLIST_UDEV; do - echo blacklist $i /tmp/blacklist_net.conf - done -fi +: /tmp/network_persistent.rules + for i in $(ls /sys/class/net/ | grep -v ^lo); do + echo SUBSYSTEM==\net\, ATTR{address}=\$(cat /sys/class/net/${i}/adress)\, NAME=\${i}\ /tmp/network_persistent.rules + done + ;; --sound) SOUND_EXPORTED=$(listmods pcspkr) $(listmods sound/) MODULES_EXPORTED=$MODULES_EXPORTED $SOUND_EXPORTED
[arch-commits] Commit in hwdetect/trunk (hwdetect)
Date: Thursday, August 4, 2011 @ 03:29:49 Author: tpowa Revision: 134477 remove most --net code and just generate udev rules with it Modified: hwdetect/trunk/hwdetect --+ hwdetect | 32 +++- 1 file changed, 3 insertions(+), 29 deletions(-) Modified: hwdetect === --- hwdetect2011-08-04 07:20:01 UTC (rev 134476) +++ hwdetect2011-08-04 07:29:49 UTC (rev 134477) @@ -52,8 +52,9 @@ echo --nfs add net to HOOKS= echo --btrfsadd btrfs to HOOKS= echo + echo --net generate /tmp/network_persistent.rules for udev use + echo echo For /etc/rc.conf use: - echo --net show network MODULES echo --soundshow sound MODULES echo --modules show all detected MODULES echo --modules-not-loaded show all detected MODULES but not actually loaded @@ -487,34 +488,7 @@ MODULES_INITRAMFS=$FB $MODULES_INITRAMFS ! [ $HOOKS = 1 ] showlist2 MODULES \$MODULES_INITRAMFS\ | sed -e 's/(\ /(/g' -e 's/\ //g' -e 's/\ //g' -e 's/\ \ /\ /g' ;; - --net) if [ $(showlist2 MODULES \($(listmods drivers/net/ irda ppp_generic slhc) $(listmods drivers/usb/net/) $(listmods drivers/staging/) \) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' | grep '8139cp') ] ; then - if [ $(dmesg | grep 'use 8139too') ]; then - NET_EXPORTED=$(echo $(listmods drivers/net/ irda ppp_generic slhc) $(listmods drivers/usb/net/) $(listmods drivers/staging/) | sed -e 's/8139cp//g') - MODULES_EXPORTED=$MODULES_EXPORTED $NET_EXPORTED - BLACKLIST_UDEV=8139cp - for i in $NET_EXPORTED; do - BLACKLIST_UDEV=$BLACKLIST_UDEV $i - done - showlist2 MODULES \($MODULES_EXPORTED\) | sed -e 's/(\ /(/g' -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' - else - NET_EXPORTED=$(echo $(listmods drivers/net/ irda ppp_generic slhc) $(listmods drivers/usb/net/) $(listmods drivers/staging/) | sed -e 's/8139too//g') - MODULES_EXPORTED=$MODULES_EXPORTED $NET_EXPORTED - BLACKLIST_UDEV=8139too - for i in $NET_EXPORTED; do - BLACKLIST_UDEV=$BLACKLIST_UDEV $i - done - showlist2 MODULES \($MODULES_EXPORTED\) | sed -e 's/(\ /(/g' -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' - fi - else - NET_EXPORTED=$(listmods drivers/net/ irda ppp_generic slhc) $(listmods drivers/usb/net/) $(listmods drivers/staging/) - MODULES_EXPORTED=$MODULES_EXPORTED $NET_EXPORTED - BLACKLIST_UDEV= - for i in $NET_EXPORTED; do - BLACKLIST_UDEV=$BLACKLIST_UDEV $i - done - showlist2 MODULES \($MODULES_EXPORTED\) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' - fi -: /tmp/network_persistent.rules + --net) : /tmp/network_persistent.rules for i in $(ls /sys/class/net/ | grep -v ^lo); do echo SUBSYSTEM==\net\, ATTR{address}=\$(cat /sys/class/net/${i}/adress)\, NAME=\${i}\ /tmp/network_persistent.rules done
[arch-commits] Commit in hwdetect/trunk (hwdetect)
Date: Thursday, August 4, 2011 @ 03:31:32 Author: tpowa Revision: 134478 fix address typo Modified: hwdetect/trunk/hwdetect --+ hwdetect |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: hwdetect === --- hwdetect2011-08-04 07:29:49 UTC (rev 134477) +++ hwdetect2011-08-04 07:31:32 UTC (rev 134478) @@ -490,7 +490,7 @@ ;; --net) : /tmp/network_persistent.rules for i in $(ls /sys/class/net/ | grep -v ^lo); do - echo SUBSYSTEM==\net\, ATTR{address}=\$(cat /sys/class/net/${i}/adress)\, NAME=\${i}\ /tmp/network_persistent.rules + echo SUBSYSTEM==\net\, ATTR{address}=\$(cat /sys/class/net/${i}/address)\, NAME=\${i}\ /tmp/network_persistent.rules done ;;
[arch-commits] Commit in hwdetect/trunk (hwdetect)
Date: Saturday, March 19, 2011 @ 08:54:55 Author: tpowa Revision: 115692 add usb 3.0 host module Modified: hwdetect/trunk/hwdetect --+ hwdetect |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: hwdetect === --- hwdetect2011-03-19 12:05:38 UTC (rev 115691) +++ hwdetect2011-03-19 12:54:55 UTC (rev 115692) @@ -453,7 +453,7 @@ MODULES_INITRAMFS=$MODULES_INITRAMFS $FS showlist2 MODULES \$MODULES_INITRAMFS\ | sed -e 's/(\ /(/g' -e 's/\ //g' -e 's/\ //g' -e 's/\ \ /\ /g' ;; - --hostcontroller)HOSTCONTROLLER=$(listmods virtio/virtio_pci) $(listmods ide/ ide-) $(listmods ata/pata pata_acpi) $(listmods scsi/ /sg.ko /st.ko scsi_mod sr_mod sd_mod) $(listmods message/fusion/) $(listmods drivers/block/ virtio_blk nbd pktcdvd sx8 floppy) $(listmods ata/ pata ata_generic) $(listmods drivers/block/sx8) $(listmods ehci-hcd) $(listmods uhci-hcd) $(listmods ohci-hcd) $(listmods virtio_blk) + --hostcontroller)HOSTCONTROLLER=$(listmods virtio/virtio_pci) $(listmods ide/ ide-) $(listmods ata/pata pata_acpi) $(listmods scsi/ /sg.ko /st.ko scsi_mod sr_mod sd_mod) $(listmods message/fusion/) $(listmods drivers/block/ virtio_blk nbd pktcdvd sx8 floppy) $(listmods ata/ pata ata_generic) $(listmods drivers/block/sx8) $(listmods xhci-hcd) $(listmods ehci-hcd) $(listmods uhci-hcd) $(listmods ohci-hcd) $(listmods virtio_blk) MODULES_INITRAMFS=$MODULES_INITRAMFS $HOSTCONTROLLER showlist2 MODULES \$MODULES_INITRAMFS\ | sed -e 's/(\ /(/g' -e 's/\ //g' -e 's/\ //g' -e 's/\ \ /\ /g' ;; @@ -518,7 +518,7 @@ done showlist2 MODULES \($BLACKLIST_UDEV $MODULES_EXPORTED\) | sed -e 's/(\ /(/g' -e 's/\ )/)/g' -e 's/\ \ /\ /g' ;; - --usbhost) MODULES_EXPORTED=$MODULES_EXPORTED $(listmods ehci-hcd) $(listmods uhci-hcd) $(listmods ohci-hcd) + --usbhost) MODULES_EXPORTED=$MODULES_EXPORTED $(listmods xhci-hcd) $(listmods ehci-hcd) $(listmods uhci-hcd) $(listmods ohci-hcd) BLACKLIST_UDEV= for i in $MODULES_EXPORTED; do BLACKLIST_UDEV=$BLACKLIST_UDEV !$i