wok-current rev 12209
pm-utils: small fixes
line diff
1.1 --- a/pm-utils/receipt Fri Mar 30 14:25:23 2012 +0200 1.2 +++ b/pm-utils/receipt Fri Mar 30 14:26:56 2012 +0200 1.3 @@ -16,7 +16,15 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - sed -i 's/grep -vxFf/grep -vFf/g' pm/functions.in 1.8 + # workaround grep -x not implemented in busybox 1.9 + echo -n "Applying grep -x patch.." 1.10 + patch -p1 pm/functions.in $stuff/grep-x.patch > /dev/null \ 1.11 + && echo done. || echo failed. 1.12 + # remove acoustic management not implemented in busybox 1.13 + echo -n "Applying harddrive patch.." 1.14 + patch -p1 pm/power.d/harddrive $stuff/harddrive.patch > /dev/null \ 1.15 + && echo done. || echo failed. 1.16 + # build 1.17 ./configure \ 1.18 --prefix=/usr \ 1.19 --sysconfdir=/etc \ 1.20 @@ -28,10 +36,29 @@ 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 + # main 1.25 mkdir -p $fs/usr/lib 1.26 cp -a $_pkg/usr/bin $fs/usr 1.27 cp -a $_pkg/usr/sbin $fs/usr 1.28 cp -a $_pkg/usr/lib/pm-utils $fs/usr/lib 1.29 + 1.30 + # sysconfig 1.31 mkdir -p $fs/etc 1.32 cp -a $_pkg/etc/pm $fs/etc 1.33 + 1.34 + # remove incompatible hooks 1.35 + echo "remove incompatible hooks" 1.36 + # NetworkManager hook 1.37 + rm -f $fs/usr/lib/pm-utils/sleep.d/55NetworkManager 1.38 + # grub hook (Redhat specific) 1.39 + rm -f $fs/usr/lib/pm-utils/sleep.d/01grub 1.40 + # readahead hook (not busybox compliant) 1.41 + rm -f $fs/usr/lib/pm-utils/power.d/readahead 1.42 + # sata_alpm (causes disk errors on many hardware) 1.43 + rm -f $fs/usr/lib/pm-utils/power.d/sata_alpm 1.44 + 1.45 + # add video quirks 1.46 + echo -n "Add video quirks" 1.47 + cp -a $stuff/video-quirks $fs/usr/lib/pm-utils 1.48 + status 1.49 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/pm-utils/stuff/grep-x.patch Fri Mar 30 14:26:56 2012 +0200 2.3 @@ -0,0 +1,27 @@ 2.4 +--- functions.in.orig 2.5 ++++ functions.in.new 2.6 +@@ -215,8 +215,22 @@ 2.7 + for p in "$@"; do 2.8 + echo "$p" >> "$PARAMETERS.rm" 2.9 + done 2.10 +- # let grep do the dirty work. 2.11 +- grep -vxFf "$PARAMETERS.rm" "$PARAMETERS" > "$PARAMETERS.new" 2.12 ++ # let awk do the dirty work. 2.13 ++ cat "$PARAMETERS" | awk -v VAR="$(cat "$PARAMETERS.rm")" ' 2.14 ++ { 2.15 ++ del=0 2.16 ++ split(VAR,rm) 2.17 ++ for(i in rm) 2.18 ++ { 2.19 ++ if($1==rm[i]){ 2.20 ++ del++ 2.21 ++ } 2.22 ++ } 2.23 ++ if(del==0) 2.24 ++ { 2.25 ++ print $1 2.26 ++ } 2.27 ++ }' > "$PARAMETERS.new" 2.28 + fi 2.29 + cp -f "$PARAMETERS.new" "$PARAMETERS" 2.30 + }
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/pm-utils/stuff/harddrive.patch Fri Mar 30 14:26:56 2012 +0200 3.3 @@ -0,0 +1,52 @@ 3.4 +--- harddrive.orig 3.5 ++++ harddrive.new 3.6 +@@ -23,7 +23,7 @@ 3.7 + $0: Control hard drive spindown, write caching, 3.8 + power management and acoustic management. 3.9 + 3.10 +-This hook has 8 tuneable parameters: 3.11 ++This hook has 6 tuneable parameters: 3.12 + DRIVE_SPINDOWN_VALUE_AC = time until a drive will spin down on AC 3.13 + Defaults to 0, which disables drive spindown. 3.14 + DRIVE_SPINDOWN_VALUE_BAT = time until a drive will spin down on battery 3.15 +@@ -45,14 +45,6 @@ 3.16 + 3.17 + See the -B option on the hdparm man page 3.18 + 3.19 +-Drive acoustic management: 3.20 +-DRIVE_ACOUSTIC_MGMT_AC = Drive Acoustic Management value on AC 3.21 +-Defaults to 254 for max head speed. 3.22 +-DRIVE_ACOUSTIC_MGMT_BAT = Drive Acoustic Management value on battery 3.23 +-Defaults to 128 for max quietness. 3.24 +- 3.25 +-See the -M option on the hdparm man page. 3.26 +- 3.27 + Drives to manage: 3.28 + DRIVE_LIST = the list of hard drives to manage. 3.29 + Defaults to "/dev/[hs]d[a-z]", which will manage up to the first 25 drives. 3.30 +@@ -62,8 +54,7 @@ 3.31 + 3.32 + harddrive_ac () { 3.33 + for dev in $DRIVE_LIST; do 3.34 +- # disable write caching, do not spin down the drive, disable APM 3.35 +- # and acoustic management, and sync everything to drive. 3.36 ++ # enable write caching, do not spin down the drive, disable APM 3.37 + printf "Disabling hard drive power management for %s..." "$dev" 3.38 + hdparm -W $DRIVE_WRITE_CACHE_AC \ 3.39 + -S $DRIVE_SPINDOWN_VALUE_AC \ 3.40 +@@ -75,12 +66,12 @@ 3.41 + 3.42 + harddrive_battery() { 3.43 + for dev in $DRIVE_LIST; do 3.44 +- # disable write caching, enable acoustic management 3.45 ++ # disable write caching, spin down the drive, enable APM 3.46 ++ # and sync everything to drive. 3.47 + printf "Enabling power management for %s..." "$dev" 3.48 + hdparm -W $DRIVE_WRITE_CACHE_BAT \ 3.49 + -S $DRIVE_SPINDOWN_VALUE_BAT \ 3.50 +- -B $DRIVE_POWER_MGMT_BAT \ 3.51 +- -M $DRIVE_ACOUSTIC_MGMT_BAT -F $dev >/dev/null 2>&1 \ 3.52 ++ -B $DRIVE_POWER_MGMT_BAT -f $dev >/dev/null 2>&1 \ 3.53 + && echo Done. || echo Failed. 3.54 + done 3.55 + }
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-acer.quirkdb Fri Mar 30 14:26:56 2012 +0200 4.3 @@ -0,0 +1,158 @@ 4.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 4.5 + match system.hardware.vendor regex_ncase ^Acer 4.6 + match system.hardware.product regex ^TravelMate 4.7 + match system.hardware.product regex C300 4.8 + addquirk --quirk-vbestate-restore 4.9 + endmatch 4.10 + match system.hardware.product regex 2350|2410|2420|2490|3220|4000|4650|5320 4.11 + addquirk --quirk-s3-bios 4.12 + addquirk --quirk-s3-mode 4.13 + endmatch 4.14 + match system.hardware.product regex 3000|4100 4.15 + addquirk --quirk-vbe-post 4.16 + addquirk --quirk-vbestate-restore 4.17 + endmatch 4.18 + match system.hardware.product regex 2300|2310|3010|3020|6291 4.19 + addquirk --quirk-vbe-post 4.20 + addquirk --quirk-vbemode-restore 4.21 + endmatch 4.22 + match system.hardware.product regex 3260 4.23 + addquirk --quirk-vbe-post 4.24 + addquirk --quirk-vbemode-restore 4.25 + addquirk --quirk-pci-save 4.26 + endmatch 4.27 + match system.hardware.product regex 7520|8000 4.28 + addquirk --quirk-s3-bios 4.29 + endmatch 4.30 + match system.hardware.product regex C100|6460 4.31 + addquirk --quirk-vbe-post 4.32 + endmatch 4.33 + match system.hardware.product regex C200|2450|4400|6492 4.34 + addquirk --quirk-none 4.35 + endmatch 4.36 + # <!-- Acer TravalMate 4002 Wlmi with ATI RadeOn Mobility 9700. mashine suspends, wakes up, but "vbetool post" hangs --> 4.37 + match system.hardware.product regex 4000 4.38 + match system.hardware.primary_video.product numeric_compare_eq 20048 4.39 + match system.hardware.primary_video.vendor numeric_compare_eq 4098 4.40 + addquirk --quirk-vbe-post 4.41 + addquirk --quirk-vbemode-restore 4.42 + addquirk --quirk-dpms-on 4.43 + endmatch 4.44 + endmatch 4.45 + endmatch 4.46 + # <!-- these need the full name to prevent mixes with other machines 4.47 + # NOTE: HAL removes whitespaces at the end of the sysfs and dmidecode output, 4.48 + # we need to do exact string matches. 4.49 + # --> 4.50 + match system.hardware.product regex ^(TravelMate 240|TravelMate 250|TravelMate 650)$ 4.51 + addquirk --quirk-vbe-post 4.52 + addquirk --quirk-vbestate-restore 4.53 + endmatch 4.54 + match system.hardware.product regex ^TravelMate 380$ 4.55 + addquirk --quirk-vbe-post 4.56 + addquirk --quirk-vbestate-restore 4.57 + addquirk --quirk-s3-mode 4.58 + endmatch 4.59 + # <!-- TravelMate 630Lci --> 4.60 + match system.hardware.product regex ^(TravelMate 630|TravelMate 230)$ 4.61 + addquirk --quirk-s3-bios 4.62 + addquirk --quirk-s3-mode 4.63 + endmatch 4.64 + match system.hardware.product regex ^TravelMate 660$ 4.65 + addquirk --quirk-vbe-post 4.66 + addquirk --quirk-vbemode-restore 4.67 + endmatch 4.68 + match system.hardware.product regex ^TravelMate 800$ 4.69 + addquirk --quirk-vbe-post 4.70 + endmatch 4.71 + endmatch 4.72 + match system.hardware.product regex ^Aspire 4.73 + match system.hardware.product regex 5050 4.74 + addquirk --quirk-s3-bios 4.75 + endmatch 4.76 + match system.hardware.product regex 1670|3610|3620|3690|5630 4.77 + addquirk --quirk-s3-bios 4.78 + addquirk --quirk-s3-mode 4.79 + endmatch 4.80 + match system.hardware.product regex 5610 4.81 + # <!-- report from s2ram for a 5610Z, not sure if the 5610 is the same, so do this check --> 4.82 + match system.hardware.product regex 5610Z 4.83 + addquirk --quirk-s3-bios 4.84 + addquirk --quirk-s3-mode 4.85 + endmatch 4.86 + match system.hardware.product regex_inverse 5610Z 4.87 + addquirk --quirk-vbe-post 4.88 + endmatch 4.89 + endmatch 4.90 + match system.hardware.product regex 5000|5020|5500 4.91 + addquirk --quirk-vbe-post 4.92 + endmatch 4.93 + match system.hardware.product regex 1640 4.94 + addquirk --quirk-vbestate-restore 4.95 + endmatch 4.96 + match system.hardware.product regex 1500|3000 4.97 + addquirk --quirk-vbe-post 4.98 + addquirk --quirk-vbestate-restore 4.99 + endmatch 4.100 + match system.hardware.product regex 1520|1650|5100|5110|5570|5920 4.101 + addquirk --quirk-vbe-post 4.102 + addquirk --quirk-vbemode-restore 4.103 + endmatch 4.104 + match system.hardware.product regex 1690|1694 4.105 + addquirk --quirk-vbe-post 4.106 + addquirk --quirk-vbestate-restore 4.107 + addquirk --quirk-no-fb 4.108 + endmatch 4.109 + match system.hardware.product regex 1350$ 4.110 + addquirk --quirk-vbe-post 4.111 + addquirk --quirk-vbemode-restore 4.112 + addquirk --quirk-no-fb 4.113 + endmatch 4.114 + match system.hardware.product regex 2010|2920|3100|4520|5500Z|5580|5920G 4.115 + addquirk --quirk-none 4.116 + endmatch 4.117 + endmatch 4.118 + match system.hardware.product regex ^Extensa 4.119 + match system.hardware.product regex 6220 4.120 + addquirk --quirk-s3-bios 4.121 + endmatch 4.122 + match system.hardware.product regex 2900|3000|4150|5620 4.123 + addquirk --quirk-s3-bios 4.124 + addquirk --quirk-s3-mode 4.125 + endmatch 4.126 + match system.hardware.product regex 5220 4.127 + addquirk --quirk-s3-bios 4.128 + addquirk --quirk-vbe-post 4.129 + endmatch 4.130 + endmatch 4.131 + match system.hardware.product regex ^Ferrari 4.132 + match system.hardware.product regex 4000 4.133 + addquirk --quirk-vbe-post 4.134 + addquirk --quirk-vbestate-restore 4.135 + addquirk --quirk-no-fb 4.136 + endmatch 4.137 + match system.hardware.product regex 1000 4.138 + addquirk --quirk-vbe-post 4.139 + addquirk --quirk-vbestate-restore 4.140 + endmatch 4.141 + # <!-- does not work with fglrx --> 4.142 + match system.hardware.product regex 5000 4.143 + addquirk --quirk-vbe-post 4.144 + addquirk --quirk-vbemode-restore 4.145 + endmatch 4.146 + endmatch 4.147 + match system.hardware.product regex ^Xspire 4.148 + match system.hardware.product regex 1650 4.149 + addquirk --quirk-none 4.150 + endmatch 4.151 + endmatch 4.152 + match system.hardware.product regex ^AcerPower 4.153 + match system.hardware.product regex 2000 4.154 + addquirk --quirk-none 4.155 + endmatch 4.156 + endmatch 4.157 + # <!-- Aspire One 110 --> 4.158 + match system.hardware.product regex ^(AOA110|AOA150) 4.159 + addquirk --quirk-none 4.160 + endmatch 4.161 + endmatch
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-apple.quirkdb Fri Mar 30 14:26:56 2012 +0200 5.3 @@ -0,0 +1,25 @@ 5.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 5.5 + match system.hardware.vendor regex ^Apple 5.6 + match system.hardware.product regex ^MacBook2,1$ 5.7 + match system.hardware.vendor regex ^Apple Inc\. 5.8 + match system.hardware.version regex ^1\.0$ 5.9 + # <!-- needs VBE_SAVE from console, but that slows resuming --> 5.10 + addquirk --quirk-none 5.11 + endmatch 5.12 + endmatch 5.13 + match system.hardware.vendor regex Computer, Inc\. 5.14 + addquirk --quirk-vbe-post 5.15 + endmatch 5.16 + endmatch 5.17 + match system.hardware.product regex ^(MacBook1,1|MacBook3,1)$ 5.18 + # <!-- s2ram uses vbe_post + vbemode_restore for MacBook1,1 --> 5.19 + addquirk --quirk-vbestate-restore 5.20 + endmatch 5.21 + match system.hardware.product regex ^MacBookPro1,1$ 5.22 + addquirk --quirk-vbe-post 5.23 + endmatch 5.24 + match system.hardware.product regex ^MacBookPro2,2$ 5.25 + addquirk --quirk-vbe-post 5.26 + addquirk --quirk-vbemode-restore 5.27 + endmatch 5.28 + endmatch
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-asus.quirkdb Fri Mar 30 14:26:56 2012 +0200 6.3 @@ -0,0 +1,114 @@ 6.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 6.5 + match system.hardware.vendor regex ^ASUS 6.6 + match system.hardware.product regex ^(U5F |M2000E|F2J ) 6.7 + addquirk --quirk-s3-bios 6.8 + endmatch 6.9 + match system.hardware.product regex ^(K8N-E-Deluxe|L2000D|M6Ne|M51Sr |U6S|A8N) 6.10 + addquirk --quirk-s3-mode 6.11 + endmatch 6.12 + # <!--NOTE: s2ram list the F3F with power_management.quirk.none=true --> 6.13 + match system.hardware.product regex ^(M6VA|M6N |M5N|M7A|S6F|S5N |W3A|W5A |M2N |A2D |F3F |V6V|A8He|A6Kt |F3JC |F3Sc) 6.14 + addquirk --quirk-s3-bios 6.15 + addquirk --quirk-s3-mode 6.16 + endmatch 6.17 + match system.hardware.product regex ^Z35FM 6.18 + addquirk --quirk-s3-bios 6.19 + addquirk --quirk-pci-save 6.20 + endmatch 6.21 + match system.hardware.product regex ^(A6M|Z84F) 6.22 + addquirk --quirk-vbe-post 6.23 + endmatch 6.24 + match system.hardware.product regex ^W7J 6.25 + addquirk --quirk-vbemode-restore 6.26 + endmatch 6.27 + match system.hardware.product regex ^(L3000D|M3N |U3S |X51RL ) 6.28 + addquirk --quirk-vbe-post 6.29 + addquirk --quirk-vbestate-restore 6.30 + endmatch 6.31 + match system.hardware.product regex ^F3Ka 6.32 + addquirk --quirk-vbe-post 6.33 + addquirk --quirk-vbestate-restore 6.34 + addquirk --quirk-no-fb 6.35 + endmatch 6.36 + match system.hardware.product regex ^V1J 6.37 + addquirk --quirk-vbe-post 6.38 + addquirk --quirk-vbemode-restore 6.39 + addquirk --quirk-no-fb 6.40 + endmatch 6.41 + # <!-- Z91E is identified as A3E --> 6.42 + match system.hardware.product regex ^(A6J |A6U|A3E|F3JP) 6.43 + addquirk --quirk-vbe-post 6.44 + addquirk --quirk-vbemode-restore 6.45 + endmatch 6.46 + # <!-- Asus Eee PC (Note: there is a report from s2ram to use vbe_post, vbemode_restore)--> 6.47 + match system.hardware.product regex ^(701|900)$ 6.48 + addquirk --quirk-s3-bios 6.49 + addquirk --quirk-dpms-on 6.50 + endmatch 6.51 + match system.hardware.product regex ^901$ 6.52 + addquirk --quirk-vbe-post 6.53 + endmatch 6.54 + # <!-- these need no quirks, whitelist them --> 6.55 + match system.hardware.product regex ^(A2H/L|A6Km|A6JC |A6K |A6T|A6G|A6VA|A8JS |F3Sg|F3T|F9E |G1S|K8V-MX|1000H|F2JE) 6.56 + addquirk --quirk-none 6.57 + endmatch 6.58 + endmatch 6.59 +# <!-- ASUS Laptop with different vendor string (M2400N) --> 6.60 + match system.hardware.vendor regex ^ERGOUK 6.61 + match system.hardware.product regex ^M2N 6.62 + addquirk --quirk-s3-bios 6.63 + addquirk --quirk-s3-mode 6.64 + endmatch 6.65 + endmatch 6.66 +# <!-- ASUS Mainboard with different vendor string --> 6.67 + match system.hardware.vendor regex ^System manufacturer$ 6.68 + match system.hardware.product regex ^P5Q DELUXE$ 6.69 + match system.firmware.version regex ^System Version 6.70 + addquirk --quirk-s3-bios 6.71 + addquirk --quirk-s3-mode 6.72 + endmatch 6.73 + endmatch 6.74 + match system.hardware.version regex ^P5KR 6.75 + match system.hardware.product regex ^System Version 6.76 + addquirk --quirk-none 6.77 + endmatch 6.78 + endmatch 6.79 + endmatch 6.80 +# <!-- Board with broken system.hardware.* fields. Use system.board.* instead --> 6.81 + match system.board.product regex ^P5LD2 6.82 + addquirk --quirk-s3-bios 6.83 + endmatch 6.84 +# <!-- ASUS a7v600 motherboard, has no usable sys_* entries besides bios_version --> 6.85 + match system.firmware.version regex ^ASUS A7V600 6.86 + addquirk --quirk-s3-bios 6.87 + addquirk --quirk-s3-mode 6.88 + endmatch 6.89 +# <!-- another ASUS Mainboard --> 6.90 + match system.firmware.version regex ^(ASUS M2N32-SLI DELUXE ACPI BIOS Revision 1201|ASUS M2N32-SLI DELUXE ACPI BIOS Revision 1101|ASUS M2A-VM HDMI ACPI BIOS Revision 1603|ASUS A7V8X-X ACPI BIOS Revision) 6.91 + addquirk --quirk-vbe-post 6.92 + addquirk --quirk-vbemode-restore 6.93 + endmatch 6.94 + match system.firmware.version regex ^ASUS M2A-VM ACPI BIOS Revision 6.95 + match system.firmware.version regex 1101 6.96 + addquirk --quirk-s3-bios 6.97 + addquirk --quirk-vbemode-restore 6.98 + endmatch 6.99 + match system.firmware.version regex_inverse 1101 6.100 + addquirk --quirk-vbe-post 6.101 + addquirk --quirk-vbemode-restore 6.102 + endmatch 6.103 + endmatch 6.104 + match system.firmware.version regex ^ASUS P4B266 ACPI BIOS Revision 6.105 + match system.firmware.version regex 1010 6.106 + match system.hardware.primary_video.vendor numeric_compare_eq 0x1002 6.107 + match system.hardware.primary_video.product numeric_compare_eq 0x4966 6.108 + addquirk --quirk-s3-bios 6.109 + addquirk --quirk-s3-mode 6.110 + endmatch 6.111 + endmatch 6.112 + endmatch 6.113 + endmatch 6.114 +# <!-- another ASUS Mainboard, this need no quirk --> 6.115 + match system.firmware.version regex ^(ASUS M2N-E ACPI BIOS Revision|ASUS Striker ACPI BIOS Revision|ASUS A7V ACPI BIOS Revision) 6.116 + addquirk --quirk-none 6.117 + endmatch
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-dell.quirkdb Fri Mar 30 14:26:56 2012 +0200 7.3 @@ -0,0 +1,172 @@ 7.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 7.5 + match system.hardware.vendor regex ^Dell 7.6 + # <!-- Dell Latitude --> 7.7 + match system.hardware.product regex ^Latitude 7.8 + match system.hardware.product regex C500 7.9 + addquirk --quirk-dpms-suspend 7.10 + addquirk --quirk-vbe-post 7.11 + endmatch 7.12 + match system.hardware.product regex C600 7.13 + addquirk --quirk-radeon-off 7.14 + endmatch 7.15 + match system.hardware.product regex C800 7.16 + addquirk --quirk-vbemode-restore 7.17 + endmatch 7.18 + match system.hardware.product regex X300|D820 7.19 + # <!-- the Dell D820 is also reported to work with vbe_post+vbemode_restore and 7.20 + # need may dpms_on --> 7.21 + addquirk --quirk-vbestate-restore 7.22 + endmatch 7.23 + match system.hardware.product regex CPx J800GT|D400|D410|D420|D430|D520|D530|C610|D620|D830 7.24 + addquirk --quirk-vbe-post 7.25 + addquirk --quirk-vbemode-restore 7.26 + endmatch 7.27 + match system.hardware.product regex C400|C840|D500|D505|D800|X200 7.28 + addquirk --quirk-vbe-post 7.29 + addquirk --quirk-vbestate-restore 7.30 + endmatch 7.31 + match system.hardware.product regex D600|D610 7.32 + addquirk --quirk-vbe-post 7.33 + addquirk --quirk-vbestate-restore 7.34 + addquirk --quirk-no-fb 7.35 + endmatch 7.36 + match system.hardware.product regex D630 7.37 + match system.firmware.version compare_lt A12 7.38 + addquirk --quirk-vbe-post 7.39 + addquirk --quirk-vbestate-restore 7.40 + addquirk --quirk-no-fb 7.41 + endmatch 7.42 + match system.firmware.version compare_ge A12 7.43 + addquirk --quirk-vbemode-restore 7.44 + endmatch 7.45 + endmatch 7.46 + match system.hardware.product regex X1$ 7.47 + addquirk --quirk-vbe-post 7.48 + endmatch 7.49 + # <!-- these need no quirks --> 7.50 + match system.hardware.product regex CPx J650GT|LS |D810 7.51 + addquirk --quirk-none 7.52 + endmatch 7.53 + endmatch 7.54 + # <!-- Dell Inspiron --> 7.55 + match system.hardware.product regex ^Inspiron 7.56 + match system.hardware.product regex 1501|8600 7.57 + addquirk --quirk-s3-bios 7.58 + addquirk --quirk-s3-mode 7.59 + match system.hardware.primary_video.vendor numeric_compare_eq 0x1002 7.60 + addquirk --quirk-radeon-off 7.61 + endmatch 7.62 + endmatch 7.63 + match system.hardware.product regex 9300 7.64 + addquirk --quirk-s3-bios 7.65 + endmatch 7.66 + match system.hardware.product regex 510m 7.67 + addquirk --quirk-vbe-post 7.68 + endmatch 7.69 + match system.hardware.product regex 5100 7.70 + match system.firmware.version regex ^Revision A0$ 7.71 + addquirk --quirk-vbe-post 7.72 + addquirk --quirk-vbestate-restore 7.73 + addquirk --quirk-pci-save 7.74 + endmatch 7.75 + match system.firmware.version regex_inverse Revision A0 7.76 + addquirk --quirk-no-fb 7.77 + endmatch 7.78 + endmatch 7.79 + match system.hardware.product regex 5150|8000|8500 7.80 + addquirk --quirk-vbe-post 7.81 + addquirk --quirk-vbestate-restore 7.82 + endmatch 7.83 + match system.hardware.product regex 500m|600m|1100|1420|1525|2200|5160 7.84 + addquirk --quirk-vbe-post 7.85 + addquirk --quirk-vbemode-restore 7.86 + endmatch 7.87 + match system.hardware.product regex 700m 7.88 + # <!-- ONLY needed with i810 X.org driver 1.x versions, 7.89 + # DO NOT use with intel X.org driver 2.x version (not needed and causes problems) 7.90 + # <merge key="power_management.quirk.vbe_post" type="bool">true</merge> 7.91 + # <merge key="power_management.quirk.vbemode_restore" type="bool">true</merge> 7.92 + # <merge key="power_management.quirk.vbestate_restore" type="bool">true</merge> 7.93 + # <merge key="power_management.quirk.vga_mode3" type="bool">true</merge> --> 7.94 + addquirk --quirk-none 7.95 + endmatch 7.96 + # <!-- these need no quirks --> 7.97 + match system.hardware.product regex 1011| 1150| 1520| 1720 7.98 + addquirk --quirk-none 7.99 + endmatch 7.100 + endmatch 7.101 + # <!-- Dell Precision --> 7.102 + match system.hardware.product regex ^Precision 7.103 + match system.hardware.product regex M20 7.104 + addquirk --quirk-vbe-post 7.105 + addquirk --quirk-vbestate-restore 7.106 + endmatch 7.107 + match system.hardware.product regex M6300 7.108 + addquirk --quirk-vbe-post 7.109 + addquirk --quirk-vbemode-restore 7.110 + endmatch 7.111 + match system.hardware.product regex M60 7.112 + addquirk --quirk-vbestate-restore 7.113 + endmatch 7.114 + match system.hardware.product regex M65 7.115 + addquirk --quirk-dpms-on 7.116 + addquirk --quirk-vbe-post 7.117 + endmatch 7.118 + # <!-- these need no quirks --> 7.119 + match system.hardware.product regex M90 |WorkStation 360| M4300 7.120 + addquirk --quirk-none 7.121 + endmatch 7.122 + endmatch 7.123 + # <!-- Dell Dimension --> 7.124 + match system.hardware.product regex ^Dimension 7.125 + match system.hardware.product regex 2400|3000|9100 7.126 + addquirk --quirk-vbe-post 7.127 + addquirk --quirk-vbemode-restore 7.128 + endmatch 7.129 + endmatch 7.130 + # <!-- Dell Vostro --> 7.131 + match system.hardware.product regex ^Vostro 7.132 + match system.hardware.product regex 1000 7.133 + addquirk --quirk-s3-bios 7.134 + addquirk --quirk-s3-mode 7.135 + endmatch 7.136 + match system.hardware.product regex 1500 7.137 + addquirk --quirk-vbe-post 7.138 + addquirk --quirk-vbemode-restore 7.139 + endmatch 7.140 + match system.hardware.product regex 1710 7.141 + addquirk --quirk-none 7.142 + endmatch 7.143 + endmatch 7.144 + # <!-- Dell OptiPlex --> 7.145 + match system.hardware.product regex_ncase ^OptiPlex 7.146 + match system.hardware.product regex GX520|GX260 7.147 + addquirk --quirk-vbe-post 7.148 + addquirk --quirk-vbemode-restore 7.149 + endmatch 7.150 + match system.hardware.product regex 755 7.151 + addquirk --quirk-vbe-post 7.152 + addquirk --quirk-no-fb 7.153 + endmatch 7.154 + match system.hardware.product regex_ncase fx160 7.155 + addquirk --quirk-s3-bios 7.156 + addquirk --quirk-s3-mode 7.157 + endmatch 7.158 + match system.hardware.product regex 170L|GX620 7.159 + addquirk --quirk-none 7.160 + endmatch 7.161 + endmatch 7.162 + # <!-- Dell Inspiron 640m, XPS M1210 --> 7.163 + match system.hardware.product regex MXC061|MXC062 7.164 + addquirk --quirk-vbe-post 7.165 + endmatch 7.166 + # <!-- Dell XPS M1330, MM061 = Inspiron E1505 or/and 6400 --> 7.167 + match system.hardware.product regex XPS M1330|MM061 7.168 + addquirk --quirk-vbe-post 7.169 + addquirk --quirk-vbemode-restore 7.170 + endmatch 7.171 + # <!-- these need no quirks : Dimension E520, DXP051, Inspiron: 1300, E1702/E1705, 630m, M1710 (only resumes with vesafb) --> 7.172 + match system.hardware.product regex DM061 |DXP051|ME051|MP061|MXC051|MXG061|XPS M1530 7.173 + addquirk --quirk-none 7.174 + endmatch 7.175 + endmatch
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-fujitsu.quirkdb Fri Mar 30 14:26:56 2012 +0200 8.3 @@ -0,0 +1,107 @@ 8.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 8.5 + match system.hardware.vendor regex ^FUJITSU 8.6 + match system.hardware.product regex_ncase amilo 8.7 + match system.hardware.product regex A1667G Serie|Pa 1510|Li 1718|M1425 8.8 + addquirk --quirk-s3-bios 8.9 + endmatch 8.10 + match system.hardware.product regex Pro V3205|Pro Edition V3405|Pro Edition V3505|Xi 1546|Si 1520|A7640|Pi 1505|A1645 8.11 + addquirk --quirk-s3-bios 8.12 + addquirk --quirk-s3-mode 8.13 + endmatch 8.14 + match system.hardware.product regex A1650G 8.15 + addquirk --quirk-vbemode-restore 8.16 + endmatch 8.17 + match system.hardware.product regex ^M Series$ 8.18 + addquirk --quirk-vbestate-restore 8.19 + endmatch 8.20 + match system.hardware.product regex Amilo D Series|PRO V2030|PRO V2035|PRO V8010|Pi 1536|Pi 2515| L Series 8.21 + addquirk --quirk-vbe-post 8.22 + addquirk --quirk-vbemode-restore 8.23 + endmatch 8.24 + match system.hardware.product regex AMILO M|A Series 8.25 + match system.hardware.version regex -1 |0\.01 8.26 + addquirk --quirk-vbe-post 8.27 + addquirk --quirk-vbestate-restore 8.28 + match system.firmware.version regex ^R01-S0N 8.29 + addquirk --quirk-pci-save 8.30 + endmatch 8.31 + endmatch 8.32 + endmatch 8.33 + match system.hardware.product regex A7645 8.34 + addquirk --quirk-s3-bios 8.35 + addquirk --quirk-s3-mode 8.36 + addquirk --quirk-vbestate-restore 8.37 + endmatch 8.38 + match system.hardware.product regex Pro V2040|Pro Series V3525 8.39 + addquirk --quirk-none 8.40 + endmatch 8.41 + endmatch 8.42 + match system.hardware.product regex_ncase lifebook 8.43 + match system.hardware.product regex P7010D|S2110 8.44 + addquirk --quirk-s3-bios 8.45 + endmatch 8.46 + match system.hardware.product regex E8410|T4010|S2210|P8010 8.47 + addquirk --quirk-s3-bios 8.48 + addquirk --quirk-s3-mode 8.49 + endmatch 8.50 + # <!-- S7020 is also reported with s3_bios/s3_mode/pci_save --> 8.51 + match system.hardware.product regex S7020 8.52 + addquirk --quirk-vbe-post 8.53 + addquirk --quirk-reset-brightness 8.54 + endmatch 8.55 + match system.hardware.product regex E4010|P7120 8.56 + addquirk --quirk-vbestate-restore 8.57 + endmatch 8.58 + match system.hardware.product regex E8020|S6410 8.59 + addquirk --quirk-vbe-post 8.60 + addquirk --quirk-vbemode-restore 8.61 + endmatch 8.62 + match system.hardware.product regex T2010 8.63 + match system.hardware.product regex ^FUJITSU SIEMENS$ 8.64 + addquirk --quirk-vbe-post 8.65 + addquirk --quirk-vbestate-restore 8.66 + addquirk --quirk-pci-save 8.67 + endmatch 8.68 + match system.hardware.product regex ^FUJITSU$ 8.69 + addquirk --quirk-s3-bios 8.70 + addquirk --quirk-s3-mode 8.71 + endmatch 8.72 + endmatch 8.73 + match system.hardware.product regex T4210|P7230 8.74 + addquirk --quirk-pci-save 8.75 + addquirk --quirk-s3-bios 8.76 + addquirk --quirk-s3-mode 8.77 + endmatch 8.78 + match system.hardware.product regex B Series|T Series|S7010|S7110|E8110|T301|T3010 8.79 + addquirk --quirk-none 8.80 + endmatch 8.81 + endmatch 8.82 + match system.hardware.product regex ^SCENIC 8.83 + match system.hardware.product regex N300/N600|W300/W600|P / SCENICO P 8.84 + addquirk --quirk-vbe-post 8.85 + addquirk --quirk-vbemode-restore 8.86 + endmatch 8.87 + match system.hardware.product regex W$ 8.88 + addquirk --quirk-vbe-post 8.89 + addquirk --quirk-vbemode-restore 8.90 + endmatch 8.91 + endmatch 8.92 + match system.hardware.product regex ^(ESPRIMO P|ESPRIMO Mobile M9400|ESPRIMO Mobile D9500) 8.93 + addquirk --quirk-none 8.94 + endmatch 8.95 + match system.hardware.product regex ^Stylistic ST5000$ 8.96 + addquirk --quirk-s3-bios 8.97 + addquirk --quirk-s3-mode 8.98 + endmatch 8.99 + match system.hardware.product regex ^P6VAP-AP$ 8.100 + addquirk --quirk-none 8.101 + endmatch 8.102 + endmatch 8.103 +# <!-- different vendor string --> 8.104 + match system.hardware.vendor regex ^FUJITSO 8.105 + match system.hardware.product regex ^FMVLT70R$ 8.106 + addquirk --quirk-s3-bios 8.107 + addquirk --quirk-s3-mode 8.108 + addquirk --quirk-pci-save 8.109 + endmatch 8.110 + endmatch
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-hp.quirkdb Fri Mar 30 14:26:56 2012 +0200 9.3 @@ -0,0 +1,312 @@ 9.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 9.5 +# <!-- Old Compaq machines. Add them to the HP file --> 9.6 + match system.hardware.vendor regex ^Compaq 9.7 + # <!-- Compaq Amada --> 9.8 + match system.hardware.product regex ^Armada 9.9 + match system.hardware.product regex E500 | M70 | M700 9.10 + addquirk --quirk-none 9.11 + endmatch 9.12 + # <!-- This Armada m300 seems not to have a useful model description, so to make sure also check the bios_version--> 9.13 + match system.hardware.product regex 9.14 + match system.firmware.version regex ^1\.35$ 9.15 + addquirk --quirk-none 9.16 + endmatch 9.17 + endmatch 9.18 + endmatch 9.19 + match system.hardware.product regex ^Evo 9.20 + match system.hardware.product regex N600c 9.21 + addquirk --quirk-vbe-post 9.22 + endmatch 9.23 + match system.hardware.product regex N800w 9.24 + addquirk --quirk-vbe-post 9.25 + # <!-- VBE_MODE does not work, text size changes --> 9.26 + match system.hardware.version regex ^F\.05$ 9.27 + addquirk --quirk-vbestate-restore 9.28 + endmatch 9.29 + # <!-- has a later BIOS and needs different Options --> 9.30 + match system.hardware.version regex_inverse F\.05 9.31 + addquirk --quirk-s3-bios 9.32 + addquirk --quirk-s3-mode 9.33 + addquirk --quirk-vbemode-restore 9.34 + endmatch 9.35 + endmatch 9.36 + match system.hardware.product regex D510 USDT| N400c 9.37 + addquirk --quirk-none 9.38 + endmatch 9.39 + endmatch 9.40 + match system.hardware.product regex ^Presario 9.41 + match system.hardware.product regex 2701EA 9.42 + addquirk --quirk-vbe-post 9.43 + addquirk --quirk-vbestate-restore 9.44 + addquirk --quirk-no-fb 9.45 + endmatch 9.46 + match system.hardware.product regex V3000 \(EZ674UA#|V3700 Notebook PC 9.47 + addquirk --quirk-s3-bios 9.48 + addquirk --quirk-s3-mode 9.49 + endmatch 9.50 + match system.hardware.product regex X1000 9.51 + addquirk --quirk-vbe-post 9.52 + addquirk --quirk-vbestate-restore 9.53 + endmatch 9.54 + match system.hardware.product regex V2000 9.55 + addquirk --quirk-dpms-on 9.56 + endmatch 9.57 + match system.hardware.product regex V3000 \(EZ755UA#|V5000 \(ET826UA#|2100 \(DP835E\)|F500 \(GF596UA#|2200 \(PR309UA#|C700 \(GV681LA# 9.58 + addquirk --quirk-none 9.59 + endmatch 9.60 + endmatch 9.61 + match system.hardware.product regex ^N620c 9.62 + addquirk --quirk-s3-bios 9.63 + addquirk --quirk-s3-mode 9.64 + endmatch 9.65 + endmatch 9.66 + match system.hardware.vendor regex ^Hewlett Packard$ 9.67 + match system.hardware.version regex ^HP OmniBook XE3 GF 9.68 + addquirk --quirk-vbe-post 9.69 + addquirk --quirk-vbestate-restore 9.70 + endmatch 9.71 + endmatch 9.72 + match system.hardware.vendor regex ^Hewlett-Packard 9.73 + match system.hardware.product regex ^COMPAQ MINI 500$ 9.74 + addquirk --quirk-s3-mode 9.75 + endmatch 9.76 + match system.hardware.product regex V2000 \(EP381UA#|X1000 \(DK454AV\)| 6715s|6820s 9.77 + addquirk --quirk-s3-bios 9.78 + endmatch 9.79 + match system.hardware.product regex 8510w 9.80 + match system.hardware.primary_video.vendor numeric_compare_eq 0x1002 9.81 + addquirk --quirk-s3-bios 9.82 + endmatch 9.83 + endmatch 9.84 + match system.hardware.product regex HP OmniBook XT1000 9.85 + addquirk --quirk-s3-mode 9.86 + endmatch 9.87 + match system.hardware.product regex V3000 \(RL377PA#|EW434AVABA|R3000|R4100|nc6000 9.88 + addquirk --quirk-s3-bios 9.89 + addquirk --quirk-s3-mode 9.90 + endmatch 9.91 + match system.hardware.product regex nx6125|nc6230|nx8220 9.92 + addquirk --quirk-vbestate-restore 9.93 + addquirk --quirk-no-fb 9.94 + endmatch 9.95 + match system.hardware.product regex OmniBook XE3 G|R3200|nx5000|nx7000|nc6120|nx6325|2510p 9.96 + addquirk --quirk-vbe-post 9.97 + addquirk --quirk-vbestate-restore 9.98 + endmatch 9.99 + # <!-- yes, system.hardware.version is correct for this machine --> 9.100 + match system.hardware.version regex ^HP OmniBook 6100 EB$ 9.101 + addquirk --quirk-vbe-post 9.102 + addquirk --quirk-vbestate-restore 9.103 + endmatch 9.104 + # <!-- Note: PY507ET# is a nc6120 --> 9.105 + match system.hardware.product regex nc2400|nx6110|nc6120|nc6320|nx7300|6720s|2710p|8510p|PY507ET#|6715b 9.106 + addquirk --quirk-vbe-post 9.107 + addquirk --quirk-vbemode-restore 9.108 + endmatch 9.109 + match system.hardware.product regex 4410s 9.110 + # <!-- ATI 0x1002:0x9552--> 9.111 + match system.hardware.primary_video.vendor numeric_compare_eq 0x1002 9.112 + addquirk --quirk-vbe-post 9.113 + addquirk --quirk-vbemode-restore 9.114 + endmatch 9.115 + endmatch 9.116 + match system.hardware.product regex M2000 \(EQ547PA 9.117 + addquirk --quirk-s3-bios 9.118 + addquirk --quirk-vbemode-restore 9.119 + endmatch 9.120 + match system.hardware.product regex tc4400|nc4400|tc4200|nx6120|nc4200|HP 530 Notebook PC 9.121 + addquirk --quirk-vbe-post 9.122 + endmatch 9.123 + match system.hardware.product regex HP Compaq nc6400 9.124 + match system.hardware.version regex ^68YCU 9.125 + match system.hardware.product regex \(EH522AV\)|\(EY582ES|\(RH560EA 9.126 + addquirk --quirk-vbemode-restore 9.127 + addquirk --quirk-vbe-post 9.128 + endmatch 9.129 + endmatch 9.130 + endmatch 9.131 + match system.hardware.product regex nx 7010 9.132 + addquirk --quirk-s3-bios 9.133 + match system.hardware.product regex DU394T# 9.134 + addquirk --quirk-s3-mode 9.135 + endmatch 9.136 + endmatch 9.137 + match system.hardware.product regex nx7400 9.138 + addquirk --quirk-vbe-post 9.139 + match system.firmware.version regex_inverse 68YGU 9.140 + addquirk --quirk-vbemode-restore 9.141 + endmatch 9.142 + endmatch 9.143 + match system.hardware.product regex HP Compaq dc5800 Small Form Factor|HP d330 uT| nw9440|nw8440 9.144 + addquirk --quirk-none 9.145 + endmatch 9.146 + match system.hardware.product regex HP Compaq 2133|HP 2133 9.147 + match system.firmware.version regex 68VGU 9.148 + addquirk --quirk-s3-bios 9.149 + addquirk --quirk-s3-mode 9.150 + endmatch 9.151 + endmatch 9.152 + # <!-- Handle machines which have the same product string, but differ --> 9.153 + match system.hardware.product regex 6510b 9.154 + match system.hardware.product regex KE134EA 9.155 + addquirk --quirk-none 9.156 + endmatch 9.157 + match system.hardware.product regex_inverse KE134EA 9.158 + addquirk --quirk-vbe-post 9.159 + addquirk --quirk-vbestate-restore 9.160 + endmatch 9.161 + endmatch 9.162 + match system.hardware.product regex 6710b 9.163 + match system.hardware.product regex KE123EA 9.164 + addquirk --quirk-none 9.165 + endmatch 9.166 + match system.hardware.product regex KE124EA 9.167 + addquirk --quirk-vbe-post 9.168 + addquirk --quirk-vbemode-restore 9.169 + endmatch 9.170 + endmatch 9.171 + match system.hardware.product regex 6710s 9.172 + match system.firmware.version regex 68DDU 9.173 + match system.hardware.product regex GC014ET 9.174 + addquirk --quirk-vbe-post 9.175 + addquirk --quirk-vbestate-restore 9.176 + endmatch 9.177 + match system.hardware.product regex_inverse GC014ET 9.178 + addquirk --quirk-vbe-post 9.179 + addquirk --quirk-dpms-on 9.180 + endmatch 9.181 + endmatch 9.182 + endmatch 9.183 + match system.hardware.product regex 6715b 9.184 + match system.hardware.product regex GB835EA|RK156AV 9.185 + addquirk --quirk-s3-bios 9.186 + addquirk --quirk-s3-mode 9.187 + endmatch 9.188 + match system.hardware.product regex GB834EA 9.189 + addquirk --quirk-vbe-post 9.190 + addquirk --quirk-vbemode-restore 9.191 + endmatch 9.192 + match system.hardware.product regex RM174UT 9.193 + addquirk --quirk-s3-bios 9.194 + addquirk --quirk-vbemode-restore 9.195 + endmatch 9.196 + endmatch 9.197 + match system.hardware.product regex 6910p 9.198 + match system.firmware.version regex 68MCD 9.199 + match system.hardware.product regex GB951EA 9.200 + addquirk --quirk-vbemode-restore 9.201 + endmatch 9.202 + match system.hardware.product regex ^HP Compaq 6910p$ 9.203 + addquirk --quirk-s3-bios 9.204 + addquirk --quirk-s3-mode 9.205 + endmatch 9.206 + endmatch 9.207 + match system.firmware.version regex_inverse 68MCD 9.208 + addquirk --quirk-vbe-post 9.209 + addquirk --quirk-vbemode-restore 9.210 + endmatch 9.211 + endmatch 9.212 + match system.hardware.product regex nc4400 9.213 + match system.firmware.version regex ^68YHV 9.214 + addquirk --quirk-vbe-post 9.215 + match system.firmware.version regex F\.08 9.216 + addquirk --quirk-vbestate-restore 9.217 + endmatch 9.218 + match system.firmware.version regex_inverse F\.08 9.219 + addquirk --quirk-vbemode-restore 9.220 + endmatch 9.221 + endmatch 9.222 + endmatch 9.223 + match system.hardware.product regex nx6310 9.224 + match system.firmware.version regex ^68YDU 9.225 + addquirk --quirk-none 9.226 + endmatch 9.227 + match system.firmware.version regex_inverse 68YDU 9.228 + addquirk --quirk-vbe-post 9.229 + endmatch 9.230 + endmatch 9.231 + match system.hardware.product regex_ncase Pavilion 9.232 + match system.hardware.product regex dv4000 \(ES973EA# 9.233 + addquirk --quirk-vbe-post 9.234 + addquirk --quirk-vbestate-restore 9.235 + addquirk --quirk-no-fb 9.236 + endmatch 9.237 + match system.hardware.product regex dv4000 \(EB911EA#| dv2600| dv6500 9.238 + addquirk --quirk-s3-bios 9.239 + endmatch 9.240 + match system.hardware.product regex dv4000 \(PX306UA#| dv6700 9.241 + addquirk --quirk-s3-bios 9.242 + addquirk --quirk-s3-mode 9.243 + endmatch 9.244 + match system.hardware.product regex zd8000 \(EL030EA# 9.245 + addquirk --quirk-vbe-post 9.246 + endmatch 9.247 + match system.hardware.product regex ze2000 9.248 + match system.hardware.product regex \(EK791EA# 9.249 + addquirk --quirk-none 9.250 + endmatch 9.251 + match system.hardware.product regex_inverse \(EK791EA# 9.252 + addquirk --quirk-s3-bios 9.253 + addquirk --quirk-s3-mode 9.254 + endmatch 9.255 + endmatch 9.256 + match system.hardware.product regex zt3300 9.257 + match system.firmware.version regex 68BAL 9.258 + addquirk --quirk-s3-bios 9.259 + endmatch 9.260 + match system.hardware.product regex PF083UA# 9.261 + addquirk --quirk-none 9.262 + endmatch 9.263 + endmatch 9.264 + match system.hardware.product regex dv6000 9.265 + match system.hardware.version regex \(GA378UA#|\(GH907EA# 9.266 + addquirk --quirk-s3-mode 9.267 + endmatch 9.268 + # <!-- note: (RP153UA#: suspend maybe only with binary nvidia module --> 9.269 + match system.hardware.version regex \(EW434AV#|\(RP153UA# 9.270 + addquirk --quirk-s3-bios 9.271 + addquirk --quirk-s3-mode 9.272 + endmatch 9.273 + match system.hardware.version regex \(EY798AV#|\(GF688EA|\(RM469EA|\(RP980EA# 9.274 + addquirk --quirk-none 9.275 + endmatch 9.276 + endmatch 9.277 + match system.hardware.product regex ^HP Pavilion Notebook PC$ 9.278 + match system.hardware.version regex ^HP Pavilion Notebook$ 9.279 + match system.firmware.vendor regex ^Insyde Software$ 9.280 + # <!-- HP Pavilion ZT1000-IC --> 9.281 + match system.firmware.version regex ^ IC\.M1\.04$ 9.282 + addquirk --quirk-s3-bios 9.283 + addquirk --quirk-s3-mode 9.284 + addquirk --quirk-vbemode-restore 9.285 + endmatch 9.286 + # <!-- HP Pavilion xz275 --> 9.287 + match system.firmware.version regex ^ IC\.M1\.02$ 9.288 + addquirk --quirk-none 9.289 + endmatch 9.290 + endmatch 9.291 + endmatch 9.292 + endmatch 9.293 + match system.hardware.product regex 8710p|dv2000|dv2500|tx1000|dv5000 \(EZ535UA#|HP d530 SFF|ze4900| dv9700 9.294 + addquirk --quirk-none 9.295 + endmatch 9.296 + endmatch 9.297 + endmatch 9.298 +# <!-- HP Media Center PC m7330n w/ ATI RS480 [Radeon Xpress 200G Series] --> 9.299 + match system.hardware.vendor regex ^HP Pavilion 9.300 + match system.hardware.product regex M7330N 9.301 + addquirk --quirk-vbe-post 9.302 + addquirk --quirk-vbestate-restore 9.303 + endmatch 9.304 + match system.hardware.product regex ^(D7223K-ABA A650E|EJ192AA-ABS t3250\.se|EP198AA-UUZ t3335\.ch|ES061AA-ABD t3320|PC098A-ABA M1070N)$ 9.305 + addquirk --quirk-none 9.306 + endmatch 9.307 + endmatch 9.308 + match system.hardware.vendor regex ^HP-Pavilion 9.309 + match system.hardware.product regex RZ418AA-ABH s3020 9.310 + addquirk --quirk-vbemode-restore 9.311 + endmatch 9.312 + match system.hardware.product regex ^RP829AV-ABA d4790y$ 9.313 + addquirk --quirk-none 9.314 + endmatch 9.315 + endmatch
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-ibm.quirkdb Fri Mar 30 14:26:56 2012 +0200 10.3 @@ -0,0 +1,120 @@ 10.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 10.5 + match system.hardware.vendor regex ^IBM$ 10.6 + match system.hardware.version regex ^ThinkPad R50e$ 10.7 + addquirk --quirk-save-pci 10.8 + addquirk --quirk-dpms-on 10.9 + endmatch 10.10 + match system.hardware.version regex ^ThinkPad R51$ 10.11 + addquirk --quirk-none 10.12 + endmatch 10.13 + match system.hardware.version regex ^ThinkPad R51e$ 10.14 + addquirk --quirk-s3-bios 10.15 + addquirk --quirk-s3-mode 10.16 + endmatch 10.17 + # <!-- 600e --> 10.18 + match system.hardware.product regex ^2645 10.19 + match system.firmware.version regex ^INET17WW$ 10.20 + addquirk --quirk-vbe-post 10.21 + addquirk --quirk-vbemode-restore 10.22 + endmatch 10.23 + match system.firmware.version regex_inverse INET17WW 10.24 + addquirk --quirk-vbestate-restore 10.25 + endmatch 10.26 + endmatch 10.27 + # <!-- A31--> 10.28 + match system.hardware.product regex ^2652 10.29 + addquirk --quirk-s3-bios 10.30 + addquirk --quirk-s3-mode 10.31 + # <!-- 10.32 + # There are reports that this quirk makes 2652 crash/fail on second suspend (bnc#309742) 10.33 + # <merge key="power_management.quirk.radeon_off" type="bool">true</merge> 10.34 + # --> 10.35 + addquirk --quirk-dpms-suspend 10.36 + endmatch 10.37 + # <!-- X31, T30 , A31p--> 10.38 + match system.hardware.product regex ^(2366|2367|2653) 10.39 + addquirk --quirk-radeon-off 10.40 + endmatch 10.41 + # <!-- X22, X40, X32 --> 10.42 + match system.hardware.product regex ^(2662|2672|2673) 10.43 + addquirk --quirk-radeon-off 10.44 + match system.hardware.version regex_inverse X31 10.45 + addquirk --quirk-s3-bios 10.46 + addquirk --quirk-s3-mode 10.47 + endmatch 10.48 + endmatch 10.49 + # <!-- X31 --> 10.50 + match system.hardware.product regex ^(2672|2673|2884|2885|2890|2891) 10.51 + match system.hardware.version regex X31 10.52 + addquirk --quirk-dpms-suspend 10.53 + addquirk --quirk-radeon-off 10.54 + endmatch 10.55 + match system.hardware.version regex X32 10.56 + addquirk --quirk-dpms-suspend 10.57 + endmatch 10.58 + endmatch 10.59 + # <!-- T23(2647) --> 10.60 + match system.hardware.product regex ^2647 10.61 + addquirk --quirk-vbe-post 10.62 + endmatch 10.63 + # <!-- R50p, R52, X41t, X40, T30, T41p, T41p, T42, X40, Z60t, X41, Z60m--> 10.64 + match system.hardware.product regex ^(1832|1860|1869|2371|2373|2374|2376|2382|2386|2511|2513|2525|2526|2529|2530) 10.65 + addquirk --quirk-s3-bios 10.66 + addquirk --quirk-s3-mode 10.67 + endmatch 10.68 + # <!-- R52 ATI Mobility Radeon X300, G41 --> 10.69 + match system.hardware.product regex ^(1846|1847|2886) 10.70 + addquirk --quirk-vbe-post 10.71 + addquirk --quirk-vbemode-restore 10.72 + endmatch 10.73 + # <!-- T41 --> 10.74 + match system.hardware.version regex ^ThinkPad T41$ 10.75 + addquirk --quirk-s3-bios 10.76 + endmatch 10.77 + # <!-- T42, T42p --> 10.78 + match system.hardware.product regex ^(2378|2379) 10.79 + match system.hardware.version regex ^ThinkPad T42 10.80 + addquirk --quirk-s3-bios 10.81 + endmatch 10.82 + endmatch 10.83 + # <!-- T43 --> 10.84 + match system.hardware.version regex ^ThinkPad T43$ 10.85 + # <!-- ATI graphics --> 10.86 + match system.hardware.primary_video.vendor numeric_compare_eq 0x1002 10.87 + addquirk --quirk-vbe-post 10.88 + addquirk --quirk-vbemode-restore 10.89 + endmatch 10.90 + # <!-- Intel graphics --> 10.91 + match system.hardware.primary_video.vendor numeric_compare_eq 0x8086 10.92 + addquirk --quirk-s3-bios 10.93 + addquirk --quirk-s3-mode 10.94 + endmatch 10.95 + endmatch 10.96 + # <!-- G40 --> 10.97 + match system.hardware.product regex ^2388 10.98 + addquirk --quirk-vbestate-restore 10.99 + endmatch 10.100 + # <!-- need no quirks: A21m, A21p, R32, R40 (2x)--> 10.101 + match system.hardware.product regex ^(2628|2629|2658|2681|2722) 10.102 + addquirk --quirk-none 10.103 + endmatch 10.104 + # <!-- need no quirks: a X40, T40 --> 10.105 + match system.hardware.version regex ^ThinkPad X40$ 10.106 + match system.firmware.version regex ^1UETD2WW 10.107 + # <!-- one particular X40 was reported to need above quirks --> 10.108 + addquirk --quirk-none 10.109 + endmatch 10.110 + endmatch 10.111 + endmatch 10.112 + match system.hardware.version regex ^ThinkPad T40 $ 10.113 + match system.firmware.version regex ^1RETDRWW 10.114 + addquirk --quirk-none 10.115 + endmatch 10.116 + endmatch 10.117 +endmatch 10.118 +match system.hardware.vendor regex ^IBM CORPORATION$ 10.119 + match system.hardware.product regex ^(4800723|4800743|4800783|4800C43)$ 10.120 + addquirk --quirk-s3-bios 10.121 + addquirk --quirk-s3-mode 10.122 + endmatch 10.123 +endmatch
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-lenovo.quirkdb Fri Mar 30 14:26:56 2012 +0200 11.3 @@ -0,0 +1,100 @@ 11.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 11.5 +match system.hardware.vendor regex ^LENOVO$ 11.6 +# <!-- ThinkPads --> 11.7 +# <!-- X60 / X60s / T61 / T61p / R61 / R61s / X61(s/Tablet) / X300 --> 11.8 +# <!-- NOTE: there is a report that 6458 needs vbe_post/vbemode_restore --> 11.9 + match system.hardware.product regex ^(1702|1704|1706|1709|2007|2478|2479|4108|4141|4143|6088|6363|6364|6365|6378|6379|6480|6458|6463|6464|6465|6466|6467|6468|6471|6476|6477|6478|7642|7643|7644|7645|7646|7647|7648|7649|7650|7657|7658|7659|7660|7661|7666|7667|7668|7673|7732|7733|7734|7735|7736|7737|7738|7762|7763|7764|7767|7768|7669|7670|7671|7673|7674|7675|7676|7678|7679|8808|8895|8896|8897|8898|8899|8900|8919|8930|8932|8933|8934|8935|8936|8937|8938|8939|8942|8943|8944|8945|8946|8947|8948|9452) 11.10 + addquirk --quirk-s3-bios 11.11 + addquirk --quirk-s3-mode 11.12 + endmatch 11.13 + match system.hardware.product regex ^(63664DU|1705CTO) 11.14 + addquirk --quirk-vbe-post 11.15 + endmatch 11.16 + match system.hardware.product regex ^6457 11.17 + addquirk --quirk-vbe-post 11.18 + addquirk --quirk-vbemode-restore 11.19 + endmatch 11.20 +# <!-- R60 --> 11.21 + match system.hardware.version regex_ncase ^ThinkPad R60 11.22 + addquirk --quirk-s3-bios 11.23 + # <!-- R60e 32bit works with S3_MODE, 64bit needs VBE_MODE --> 11.24 + match system.hardware.product regex ^0657 11.25 + addquirk --quirk-vbemode-restore 11.26 + endmatch 11.27 + match system.hardware.product regex_inverse 0657 11.28 + addquirk --quirk-s3-mode 11.29 + endmatch 11.30 + endmatch 11.31 + match system.hardware.version regex ^ThinkPad 11.32 + # <!-- T60* --> 11.33 + match system.hardware.version regex T60$ 11.34 + addquirk --quirk-s3-bios 11.35 + addquirk --quirk-s3-mode 11.36 + endmatch 11.37 + # <!-- Z61*, R61e ... --> 11.38 + match system.hardware.version regex T60p|Z61m|Z61t|Z60m|Z61p|R61e 11.39 + addquirk --quirk-s3-bios 11.40 + addquirk --quirk-s3-mode 11.41 + endmatch 11.42 + # <!-- W500 --> 11.43 + match system.hardware.version regex W500$ 11.44 + addquirk --quirk-vbe-post 11.45 + endmatch 11.46 + endmatch 11.47 +# <!-- T61 --> 11.48 + match system.hardware.product regex ^7663 11.49 + addquirk --quirk-s3-mode 11.50 + endmatch 11.51 +# <!-- T61 (8895), intel card 32bit works with S3_MODE, but 64bit needs VBE_MODE 11.52 +# T61p (6460), does not work with the NVidia driver--> 11.53 + match system.hardware.product regex ^(6460|6465) 11.54 + addquirk --quirk-s3-bios 11.55 + addquirk --quirk-vbemode-restore 11.56 + endmatch 11.57 +# <!-- T500 --> 11.58 + match system.hardware.product regex ^2242CTO$ 11.59 + match system.hardware.version regex ^ThinkPad T500$ 11.60 + addquirk --quirk-vbe-post 11.61 + addquirk --quirk-vbestate-restore 11.62 + endmatch 11.63 + endmatch 11.64 +# <!-- These Thinkpads don't need a quirk: 6459 (T61p), 7664 (T60) see s2ram --> 11.65 + match system.hardware.product regex ^(6459|7664|8918) 11.66 + addquirk --quirk-none 11.67 + endmatch 11.68 +# <!-- Lenovos non-ThinkPads --> 11.69 + match system.hardware.version regex_ncase ^3000 C100 11.70 + match system.hardware.product regex ^0761 11.71 + addquirk --quirk-none 11.72 + endmatch 11.73 + endmatch 11.74 + match system.hardware.version regex_ncase ^3000 N100 11.75 + match system.hardware.product regex ^(068928U|07686VG|076831G|076835U|0768BYG) 11.76 + addquirk --quirk-none 11.77 + endmatch 11.78 + match system.hardware.product regex ^07687MM 11.79 + addquirk --quirk-s3-mode 11.80 + endmatch 11.81 + match system.hardware.product regex ^076804U$ 11.82 + addquirk --quirk-s3-bios 11.83 + addquirk --quirk-vbemode-restore 11.84 + endmatch 11.85 + endmatch 11.86 + match system.hardware.version regex_ncase ^3000 N200 11.87 + match system.hardware.product regex ^(0769BBG|0769AC6)$ 11.88 + addquirk --quirk-s3-bios 11.89 + addquirk --quirk-s3-mode 11.90 + endmatch 11.91 + match system.hardware.product regex ^(0769B9G|0769BEG|0769AH9)$ 11.92 + addquirk --quirk-none 11.93 + endmatch 11.94 + endmatch 11.95 + match system.hardware.version regex ^LENOVO3000 V100$ 11.96 + match system.hardware.product regex ^0763 11.97 + addquirk --quirk-none 11.98 + endmatch 11.99 + endmatch 11.100 + match system.hardware.product regex ^Soleil E660P 11.101 + addquirk --quirk-none 11.102 + endmatch 11.103 +endmatch
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-misc.quirkdb Fri Mar 30 14:26:56 2012 +0200 12.3 @@ -0,0 +1,389 @@ 12.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 12.5 +match system.hardware.vendor regex ^AIRIS$ 12.6 + match system.hardware.version regex ^VT6413A$ 12.7 + addquirk --quirk-s3-bios 12.8 + endmatch 12.9 +endmatch 12.10 +match system.hardware.vendor regex ^AnabelleB$ 12.11 +# <!-- ASI Claro TW7M Notebook --> 12.12 + match system.hardware.version regex ^Claro TW7M$ 12.13 + addquirk --quirk-s3-bios 12.14 + addquirk --quirk-s3-mode 12.15 + endmatch 12.16 +endmatch 12.17 +match system.hardware.vendor regex ^COMPAL 12.18 + match system.hardware.product regex HEL80C|HEL80I|HEL81I 12.19 + addquirk --quirk-none 12.20 + endmatch 12.21 +endmatch 12.22 +match system.hardware.vendor regex DIXONSXP 12.23 + match system.hardware.product regex To be filled by O\.E\.M\. 12.24 + match system.firmware.version regex ^Ver\.001$ 12.25 + addquirk --quirk-none 12.26 + endmatch 12.27 + endmatch 12.28 +endmatch 12.29 +match system.hardware.vendor regex ERGOUK 12.30 + match system.hardware.product regex M2N 12.31 + addquirk --quirk-s3-bios 12.32 + addquirk --quirk-s3-mode 12.33 + endmatch 12.34 +endmatch 12.35 +match system.hardware.vendor regex ^JVC$ 12.36 + match system.hardware.product regex ^J2N $ 12.37 + addquirk --quirk-vbestate-restore 12.38 + endmatch 12.39 +endmatch 12.40 +match system.hardware.vendor regex ^LG 12.41 + match system.hardware.product regex ^(M1-3DGBG|W1-JDGBG|LM50-DGHE|LW75-SGGV1)$ 12.42 + addquirk --quirk-s3-bios 12.43 + addquirk --quirk-s3-mode 12.44 + endmatch 12.45 + match system.hardware.product regex ^R500-U\.CPCBG$ 12.46 + addquirk --quirk-none 12.47 + endmatch 12.48 +endmatch 12.49 +match system.hardware.vendor regex MAXDATA 12.50 + match system.hardware.product regex ^PRO600IW$ 12.51 + addquirk --quirk-s3-bios 12.52 + addquirk --quirk-s3-mode 12.53 + endmatch 12.54 + match system.hardware.product regex Pro 6100X 12.55 + addquirk --quirk-vbe-post 12.56 + endmatch 12.57 + match system.hardware.product regex IMPERIO4045A 12.58 + addquirk --quirk-none 12.59 + endmatch 12.60 +endmatch 12.61 +match system.hardware.vendor regex ^Matsushita 12.62 + match system.hardware.product regex ^CF-Y 12.63 + addquirk --quirk-vbe-post 12.64 + endmatch 12.65 + match system.hardware.product regex CF-51E|CF-R3E|CF-R2C|CF-R6A|CF-R6M 12.66 + addquirk --quirk-vbe-post 12.67 + addquirk --quirk-vbemode-restore 12.68 + endmatch 12.69 + match system.hardware.product regex ^CF-W4G 12.70 + addquirk --quirk-none 12.71 + endmatch 12.72 +endmatch 12.73 +# <!-- VIA EPIA M Mini-ITX Motherboard with onboard gfx --> 12.74 +match system.hardware.vendor regex ^VIA 12.75 + match system.hardware.product regex ^VT8623-8235$ 12.76 + addquirk --quirk-s3-mode 12.77 + endmatch 12.78 + match system.hardware.product regex ^K8N800$ 12.79 + match system.firmware.version regex ^VT8204B $ 12.80 + addquirk --quirk-vbe-post 12.81 + addquirk --quirk-vbestate-restore 12.82 + endmatch 12.83 + endmatch 12.84 + match system.hardware.product regex ^K8T400$ 12.85 + match system.hardware.version regex ^VT8204B $ 12.86 + addquirk --quirk-s3-bios 12.87 + addquirk --quirk-s3-mode 12.88 + endmatch 12.89 + endmatch 12.90 + match system.hardware.product regex ^(KT400-8235|KT400A-8235)$ 12.91 + addquirk --quirk-s3-bios 12.92 + addquirk --quirk-s3-mode 12.93 + endmatch 12.94 +endmatch 12.95 +match system.hardware.vendor regex ^AVERATEC$ 12.96 + match system.hardware.product regex ^(3700 Series|1000 Series)$ 12.97 + addquirk --quirk-s3-bios 12.98 + addquirk --quirk-s3-mode 12.99 + endmatch 12.100 + match system.hardware.product regex ^3200$ 12.101 + addquirk --quirk-vbestate-restore 12.102 + endmatch 12.103 + match system.hardware.product regex ^5500 Series$ 12.104 + addquirk --quirk-s3-mode 12.105 + endmatch 12.106 +endmatch 12.107 +match system.hardware.vendor regex ^BenQ 12.108 + match system.hardware.product regex ^Joybook R42$ 12.109 + addquirk --quirk-vbe-post 12.110 + endmatch 12.111 + match system.hardware.product regex ^(Joybook R22|Joybook R23|JoyBook 7000)$ 12.112 + addquirk --quirk-s3-bios 12.113 + addquirk --quirk-s3-mode 12.114 + endmatch 12.115 + match system.hardware.product regex ^(Joybook S52|Joybook S32)$ 12.116 + addquirk --quirk-vbe-post 12.117 + addquirk --quirk-vbemode-restore 12.118 + endmatch 12.119 +endmatch 12.120 +match system.hardware.vendor regex ^Elonex PLC 12.121 + match system.hardware.product regex M5A 12.122 + addquirk --quirk-s3-bios 12.123 + addquirk --quirk-s3-mode 12.124 + endmatch 12.125 +endmatch 12.126 +match system.hardware.vendor regex ^GERICOM 12.127 + match system.hardware.product regex HUMMER 12.128 + match system.firmware.version regex ^1\.03 $ 12.129 + addquirk --quirk-vbe-post 12.130 + addquirk --quirk-vbemode-restore 12.131 + endmatch 12.132 + endmatch 12.133 + match system.hardware.product regex 259IA1 12.134 + addquirk --quirk-none 12.135 + endmatch 12.136 +# <!-- work only from X, models from vendor: Gericom and MTC --> 12.137 + match system.hardware.product regex ^Montara-GML $ 12.138 + match system.hardware.version regex ^FAB-2$ 12.139 + addquirk --quirk-none 12.140 + endmatch 12.141 + endmatch 12.142 +endmatch 12.143 +match system.hardware.vendor regex ^MTC 12.144 + match system.hardware.product regex ^Montara-GML$ 12.145 + addquirk --quirk-s3-bios 12.146 + endmatch 12.147 +endmatch 12.148 +match system.hardware.vendor regex_ncase ^micro-star 12.149 + match system.hardware.product regex ^(MS-1012|MS-1013)$ 12.150 + addquirk --quirk-s3-bios 12.151 + endmatch 12.152 + match system.hardware.product regex ^(MS-1057|U-100)$ 12.153 + addquirk --quirk-s3-bios 12.154 + addquirk --quirk-s3-mode 12.155 + endmatch 12.156 + match system.hardware.product regex ^PR210$ 12.157 + match system.hardware.version regex ^MS-1222X$ 12.158 + addquirk --quirk-vbe-post 12.159 + endmatch 12.160 + endmatch 12.161 + match system.hardware.product regex ^EX610$ 12.162 + addquirk --quirk-vbe-post 12.163 + addquirk --quirk-vbemode-restore 12.164 + endmatch 12.165 + match system.hardware.product regex ^MS-1412$ 12.166 + addquirk --quirk-vbe-post 12.167 + addquirk --quirk-vbestate-restore 12.168 + addquirk --quirk-no-fb 12.169 + endmatch 12.170 + match system.hardware.product regex ^MS-1003$ 12.171 + addquirk --quirk-none 12.172 + endmatch 12.173 +endmatch 12.174 +match system.hardware.vendor regex ^MSI 12.175 + match system.hardware.product regex ^(MS-7350|MS-7207PV|MS-6417|MS-6702)$ 12.176 + addquirk --quirk-none 12.177 + endmatch 12.178 +endmatch 12.179 +match system.hardware.vendor regex ^MiTAC$ 12.180 +# <!-- Mitac 8350 12.181 +# system.hardware.product = '' (string) 12.182 +# system.hardware.serial = '' (string) 12.183 +# system.hardware.uuid = '64DBBBB4-5631-DA11-8000-4E45435F4349' (string) 12.184 +# system.hardware.vendor = 'MiTAC' (string) 12.185 +# system.hardware.version = '5a' (string) 12.186 +# --> 12.187 + addquirk --quirk-s3-bios 12.188 + addquirk --quirk-s3-mode 12.189 +endmatch 12.190 +match system.hardware.vendor regex ^MEDION 12.191 + match system.hardware.product regex WID2010 12.192 + addquirk --quirk-vbe-post 12.193 + addquirk --quirk-vbemode-restore 12.194 + endmatch 12.195 + match system.hardware.product regex MS-6714 12.196 + addquirk --quirk-s3-bios 12.197 + addquirk --quirk-s3-mode 12.198 + endmatch 12.199 + match system.hardware.product regex ^(MS-7012|M295M|WIM 2000 |WIM 2140)$ 12.200 + addquirk --quirk-none 12.201 + endmatch 12.202 +endmatch 12.203 +match system.hardware.vendor regex ^NEC 12.204 + match system.hardware.product regex B7 12.205 + addquirk --quirk-vbestate-restore 12.206 + endmatch 12.207 + match system.hardware.product regex ^VC2$ 12.208 + addquirk --quirk-s3-bios 12.209 + addquirk --quirk-s3-mode 12.210 + endmatch 12.211 + match system.hardware.product regex ^NEC Versa Premium$ 12.212 + addquirk --quirk-none 12.213 + endmatch 12.214 +endmatch 12.215 +match system.hardware.vendor regex_ncase ^packard bell 12.216 +# <!-- this machines are strange, check also for rest of the vendor string --> 12.217 + match system.hardware.vendor regex NEC 12.218 + match system.hardware.product regex ^00000000000000000000000$ 12.219 + match system.hardware.version regex ^P820008416$ 12.220 + addquirk --quirk-none 12.221 + endmatch 12.222 + match system.firmware.version regex ^A03 $ 12.223 + addquirk --quirk-none 12.224 + endmatch 12.225 + endmatch 12.226 + endmatch 12.227 + match system.hardware.product regex ^EasyNote_SJ51$ 12.228 + addquirk --quirk-s3-bios 12.229 + addquirk --quirk-s3-mode 12.230 + endmatch 12.231 +endmatch 12.232 +match system.hardware.vendor regex ^4MBOL 12.233 + match system.hardware.product regex ^7521 12.234 + match system.hardware.version regex ^REV\. A0$ 12.235 + addquirk --quirk-none 12.236 + endmatch 12.237 + endmatch 12.238 +endmatch 12.239 +match system.hardware.vendor regex ^CLEVO$ 12.240 + match system.hardware.product regex ^D500P$ 12.241 + addquirk --quirk-vbe-post 12.242 + addquirk --quirk-no-fb 12.243 + endmatch 12.244 + match system.hardware.product regex ^M5X0JE$ 12.245 + addquirk --quirk-s3-bios 12.246 + endmatch 12.247 + match system.hardware.product regex ^M720SR$ 12.248 + addquirk --quirk-vbe-post 12.249 + addquirk --quirk-vbemode-restore 12.250 + addquirk --quirk-vbestate-restore 12.251 + endmatch 12.252 + match system.hardware.product regex ^TN120R$ 12.253 + addquirk --quirk-none 12.254 + endmatch 12.255 +endmatch 12.256 +# <!-- Clevo D410J laptop reports hardware vendor "VIA", product "K8N800" and version "VT8204B" --> 12.257 +match system.hardware.vendor regex ^VIA$ 12.258 + match system.hardware.product regex ^K8N800$ 12.259 + match system.hardware.version regex ^VT8204B$ 12.260 + match system.firmware.version regex ^4\.06CJ15$ 12.261 + addquirk --quirk-vbe-post 12.262 + addquirk --quirk-vbestate-restore 12.263 + endmatch 12.264 + endmatch 12.265 + endmatch 12.266 +endmatch 12.267 +match system.hardware.vendor regex ^ECS$ 12.268 + match system.hardware.product regex ^536$ 12.269 + addquirk --quirk-vbe-post 12.270 + addquirk --quirk-no-fb 12.271 + endmatch 12.272 +endmatch 12.273 +match system.hardware.vendor regex ^Elitegroup$ 12.274 + match system.hardware.product regex ^ECS G320$ 12.275 + addquirk --quirk-vbe-post 12.276 + addquirk --quirk-vbemode-restore 12.277 + endmatch 12.278 +endmatch 12.279 +match system.hardware.vendor regex ^Gigabyte Technology 12.280 + match system.hardware.product regex ^(945GCMX-S2|P35-DS4)$ 12.281 + addquirk --quirk-vbe-post 12.282 + addquirk --quirk-vbemode-restore 12.283 + endmatch 12.284 + match system.hardware.product regex ^(945GZM-S2|945GCM-S2L)$ 12.285 + addquirk --quirk-none 12.286 + endmatch 12.287 +endmatch 12.288 +match system.hardware.vendor regex ^Infomash$ 12.289 + match system.hardware.product regex ^RoverBook$ 12.290 + addquirk --quirk-vbe-post 12.291 + addquirk --quirk-vbemode-restore 12.292 + endmatch 12.293 +endmatch 12.294 +match system.hardware.vendor regex ^Gateway 12.295 + match system.hardware.product regex MT6707 12.296 + addquirk --quirk-s3-bios 12.297 + addquirk --quirk-s3-mode 12.298 + endmatch 12.299 + match system.hardware.product regex ^MT6920 12.300 + addquirk --quirk-vbe-post 12.301 + endmatch 12.302 + match system.hardware.product regex MX6922B 12.303 + addquirk --quirk-none 12.304 + endmatch 12.305 +endmatch 12.306 +match system.hardware.vendor regex ^MaxSelect$ 12.307 + match system.hardware.product regex ^Mission_A330$ 12.308 + addquirk --quirk-vbe-post 12.309 + addquirk --quirk-vbestate-restore 12.310 + endmatch 12.311 +endmatch 12.312 +# <!-- medion md 96400 --> 12.313 +match system.hardware.vendor regex ^NOTEBOOK$ 12.314 + match system.hardware.product regex ^SAM2000$ 12.315 + match system.hardware.version regex ^0131$ 12.316 + addquirk --quirk-none 12.317 + endmatch 12.318 + endmatch 12.319 +# <!-- medion MIM2080 --> 12.320 + match system.hardware.product regex ^MIM2080$ 12.321 + addquirk --quirk-s3-bios 12.322 + addquirk --quirk-s3-mode 12.323 + endmatch 12.324 +endmatch 12.325 +match system.hardware.vendor regex ^NCA_GROUP_LTD$ 12.326 + match system.hardware.product regex ^iRU_Notebook$ 12.327 + match system.hardware.version regex ^0106$ 12.328 + addquirk --quirk-vbe-post 12.329 + addquirk --quirk-vbemode-restore 12.330 + endmatch 12.331 + endmatch 12.332 +endmatch 12.333 +match system.hardware.vendor regex ^transtec AG 12.334 + match system.hardware.product regex ^(MS-1057|MS-1034)$ 12.335 + addquirk --quirk-s3-bios 12.336 + addquirk --quirk-s3-mode 12.337 + endmatch 12.338 +endmatch 12.339 +match system.hardware.vendor regex ^To Be Filled By O\.E\.M\.$ 12.340 + match system.hardware.product regex ^259IA1$ 12.341 + match system.hardware.version regex ^To Be Filled By O\.E\.M\.$ 12.342 + match system.firmware.version regex ^080010 $ 12.343 + addquirk --quirk-s3-mode 12.344 + endmatch 12.345 + endmatch 12.346 + endmatch 12.347 + match system.hardware.product regex ^MS-7210$ 12.348 + match system.hardware.version regex ^100$ 12.349 + addquirk --quirk-none 12.350 + endmatch 12.351 + endmatch 12.352 +endmatch 12.353 +match system.hardware.vendor regex ^OEM$ 12.354 +# <!-- rebranded Uniwill P53IN --> 12.355 + match system.hardware.product regex ^P53IN4$ 12.356 + addquirk --quirk-none 12.357 + endmatch 12.358 +endmatch 12.359 +match system.hardware.vendor regex ^OQO$ 12.360 + match system.hardware.product regex ^ZEPTO$ 12.361 + addquirk --quirk-vbe-post 12.362 + addquirk --quirk-vbestate-restore 12.363 + endmatch 12.364 +endmatch 12.365 +match system.hardware.vendor regex ^SHARP$ 12.366 + match system.hardware.product regex ^PC-AR10 12.367 + addquirk --quirk-none 12.368 + endmatch 12.369 +endmatch 12.370 +match system.hardware.vendor regex ^Shuttle Inc$ 12.371 + match system.hardware.product regex ^SD11V10$ 12.372 + addquirk --quirk-s3-bios 12.373 + endmatch 12.374 + match system.hardware.product regex ^SD30V10$ 12.375 + addquirk --quirk-s3-bios 12.376 + addquirk --quirk-s3-mode 12.377 + endmatch 12.378 + match system.hardware.product regex ^SN41UV10$ 12.379 + addquirk --quirk-vbe-post 12.380 + addquirk --quirk-vbemode-restore 12.381 + endmatch 12.382 + match system.hardware.product regex ^SN85V10$ 12.383 + addquirk --quirk-none 12.384 + endmatch 12.385 +endmatch 12.386 +match system.hardware.vendor regex ^ZEPTO$ 12.387 + match system.hardware.product regex ^ZNOTE 12.388 + match system.hardware.version regex ^3215W 12.389 + addquirk --quirk-none 12.390 + endmatch 12.391 + endmatch 12.392 +endmatch
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-samsung.quirkdb Fri Mar 30 14:26:56 2012 +0200 13.3 @@ -0,0 +1,26 @@ 13.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 13.5 +match system.hardware.vendor regex_ncase ^Samsung 13.6 + match system.hardware.product regex ^(Q35/Q36|SM40S|SQ45S70S)$ 13.7 + addquirk --quirk-s3-bios 13.8 + addquirk --quirk-s3-mode 13.9 + endmatch 13.10 + match system.hardware.product regex ^(SQ30|SQ35S|SX50S)$ 13.11 + addquirk --quirk-vbe-post 13.12 + endmatch 13.13 +# <!-- Samsung UMPC, P35 (NOTE: there is a s2ram report for CoronaR to need no quirks)--> 13.14 + match system.hardware.product regex ^(R40/R41|CoronaR|SX22S)$ 13.15 + addquirk --quirk-vbestate-restore 13.16 + endmatch 13.17 + match system.hardware.product regex ^(SX20S|SENS V25|NX05S)$ 13.18 + addquirk --quirk-vbe-post 13.19 + addquirk --quirk-vbemode-restore 13.20 + endmatch 13.21 + match system.hardware.product regex ^SQ10$ 13.22 + addquirk --quirk-vbe-post 13.23 + addquirk --quirk-vbestate-restore 13.24 + endmatch 13.25 +# <!-- these need no quirks to suspend/resume --> 13.26 + match system.hardware.product regex R50/R51|R55S|SR700 13.27 + addquirk --quirk-none 13.28 + endmatch 13.29 +endmatch
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 14.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-sony.quirkdb Fri Mar 30 14:26:56 2012 +0200 14.3 @@ -0,0 +1,54 @@ 14.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 14.5 +match system.hardware.vendor regex ^Sony Corporation$ 14.6 + match system.hardware.product regex ^VGN-FS115Z$ 14.7 + addquirk --quirk-s3-mode 14.8 + endmatch 14.9 + match system.hardware.product regex VGN-FS730|PCG-FX405|VGN-C2S_G|VGN-B1XP|VGN-FE21B|VGN-B100B||VGN-B1VP 14.10 + addquirk --quirk-s3-bios 14.11 + endmatch 14.12 + match system.hardware.product regex ^(VGN-FS115B|VGN-C140G|VGN-TX3XP_L|VGN-T250P|VGN-AR31S|PCV-RX612|VGN-FS485B|VGN-SZ61XN_C|VGN-TZ37|VGN-TZ170N|VGN-FS920|VGN-C240E|PCG-FX601|VGN-SR11M)$ 14.13 + addquirk --quirk-s3-bios 14.14 + addquirk --quirk-s3-mode 14.15 + endmatch 14.16 + match system.hardware.product regex ^VGN-NR120E$ 14.17 + addquirk --quirk-vbe-post 14.18 + endmatch 14.19 + match system.hardware.product regex ^(VGN-TX5MN_W|PCG-TR2A\(UC\)|VGN-UX50)$ 14.20 + addquirk --quirk-vbemode-restore 14.21 + endmatch 14.22 + match system.hardware.product regex PCG-FX340 14.23 + addquirk --quirk-vbestate-restore 14.24 + endmatch 14.25 + match system.hardware.product regex PCG-FX802 14.26 + addquirk --quirk-vbestate-restore 14.27 + addquirk --quirk-vbemode-restore 14.28 + endmatch 14.29 + match system.hardware.product regex PCG-Z1MP 14.30 + addquirk --quirk-vbe-post 14.31 + addquirk --quirk-vbemode-restore 14.32 + addquirk --quirk-vbestate-restore 14.33 + endmatch 14.34 + match system.hardware.product regex PCG-Z1RMP|VGN-TX770P|VGN-FW11|VGN-TX670P|PCG-V505ECP 14.35 + addquirk --quirk-vbe-post 14.36 + addquirk --quirk-vbemode-restore 14.37 + endmatch 14.38 + match system.hardware.product regex PCG-FX805 14.39 + addquirk --quirk-vbe-post 14.40 + addquirk --quirk-vbestate-restore 14.41 + endmatch 14.42 + match system.hardware.product regex PCG-FX905 14.43 + addquirk --quirk-s3-bios 14.44 + addquirk --quirk-s3-mode 14.45 + addquirk --quirk-dpms-on 14.46 + endmatch 14.47 +# <!-- machines which need no quirks --> 14.48 +# <!-- Note: 14.49 +# - VGN-FE31M: only from X, S3_MODE hangs the machine, all other leave the screen blank 14.50 +# - VGN-SZ5XN_C: machine has two gfx cards, works only well with the intel, not with the nvidia --> 14.51 + match system.hardware.product regex ^(VGN-TX3HP|VGN-B55G\(I\)|VGN-FE31M|VGN-FS215B|VGN-FS660_W|VGN-SZ5XN_C|VGN-TZ21XN_B|PCG-FR215E|VGN-SZ340P|VGN-FE11M|VGN-TZ91HS|PCG-Z505HSK\(UC\)|VGN-FZ39VN|VGN-A115B|VGN-FE890E|VGN-N320E|VGN-C2S_H|VGN-FS215M|VGN-Z90S)$ 14.52 + addquirk --quirk-none 14.53 + endmatch 14.54 + match system.hardware.product regex VGN-TZ11|PCG-F430\(UC\)|PCG-GRT916Z|PCG-GRT995MP|PCG-GR7_K\(J\) 14.55 + addquirk --quirk-none 14.56 + endmatch 14.57 +endmatch
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 15.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-toshiba.quirkdb Fri Mar 30 14:26:56 2012 +0200 15.3 @@ -0,0 +1,130 @@ 15.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 15.5 +match system.hardware.vendor regex ^TOSHIBA$ 15.6 +# <!-- Satellite Laptops --> 15.7 + match system.hardware.product regex ^Satellite 15.8 + match system.hardware.product regex M30X 15.9 + addquirk --quirk-s3-bios 15.10 + endmatch 15.11 + match system.hardware.product regex Pro A120|M35X|P100|P200| P205D| A100| A105| A135| A200| A205| A210| L30| M105|M70|P30 15.12 + addquirk --quirk-s3-bios 15.13 + addquirk --quirk-s3-mode 15.14 + endmatch 15.15 + match system.hardware.product regex A215 15.16 + addquirk --quirk-pci-save 15.17 + addquirk --quirk-s3-bios 15.18 + addquirk --quirk-s3-mode 15.19 + endmatch 15.20 + # <!-- need exact match for this machine to prevent mixup with M30x --> 15.21 + match system.hardware.product regex ^Satellite Pro M30$ 15.22 + addquirk --quirk-dpms-on 15.23 + endmatch 15.24 + # <!-- need exact match for this machine to prevent mixup with P105 or A100--> 15.25 + match system.hardware.product regex ^(Satellite P10|Satellite A10)$ 15.26 + addquirk --quirk-s3-bios 15.27 + addquirk --quirk-s3-mode 15.28 + endmatch 15.29 + match system.hardware.product regex P105 15.30 + addquirk --quirk-vbe-post 15.31 + endmatch 15.32 + match system.hardware.product regex L10|U305|M55 15.33 + addquirk --quirk-vbe-post 15.34 + addquirk --quirk-vbemode-restore 15.35 + endmatch 15.36 + match system.hardware.product regex A300D 15.37 + addquirk --quirk-vbe-post 15.38 + addquirk --quirk-vbestate-restore 15.39 + endmatch 15.40 + match system.hardware.product regex A30| 1130 15.41 + addquirk --quirk-vbestate-restore 15.42 + endmatch 15.43 + match system.hardware.product regex Pro 6100 15.44 + addquirk --quirk-dpms-on 15.45 + endmatch 15.46 + # <!-- these need no quirks--> 15.47 + match system.hardware.product regex A80|Pro4600| U200|Pro U300| U300 15.48 + addquirk --quirk-none 15.49 + endmatch 15.50 + endmatch 15.51 +# <!-- Tecra Laptops --> 15.52 + match system.hardware.product regex ^TECRA 15.53 + match system.hardware.product regex 8100|8200| M9 15.54 + addquirk --quirk-s3-mode 15.55 + endmatch 15.56 + match system.hardware.product regex ^T9000$ 15.57 + addquirk --quirk-vbemode-restore 15.58 + endmatch 15.59 + match system.hardware.product regex M4 15.60 + addquirk --quirk-vbe-post 15.61 + addquirk --quirk-vbemode-restore 15.62 + endmatch 15.63 + match system.hardware.product regex S2 15.64 + addquirk --quirk-vbe-post 15.65 + addquirk --quirk-vbestate-restore 15.66 + endmatch 15.67 + # <!-- these need no quirks--> 15.68 + match system.hardware.product regex A8| A9| S3| S1 15.69 + addquirk --quirk-none 15.70 + endmatch 15.71 + endmatch 15.72 +# <!-- Portege Laptops --> 15.73 + match system.hardware.product regex ^PORTEGE 15.74 + match system.hardware.product regex R200|R205|R500 15.75 + addquirk --quirk-s3-bios 15.76 + addquirk --quirk-s3-mode 15.77 + endmatch 15.78 + match system.hardware.product regex M300 15.79 + addquirk --quirk-s3-mode 15.80 + endmatch 15.81 + match system.hardware.product regex A100 15.82 + addquirk --quirk-vbe-post 15.83 + addquirk --quirk-vbestate-restore 15.84 + endmatch 15.85 + match system.hardware.product regex R100 15.86 + addquirk --quirk-vbestate-restore 15.87 + endmatch 15.88 + # <!-- these need no quirks--> 15.89 + match system.hardware.product regex M400|4000 15.90 + addquirk --quirk-none 15.91 + endmatch 15.92 + endmatch 15.93 +# <!-- EQUIUM --> 15.94 + match system.hardware.product regex ^EQUIUM 15.95 + match system.hardware.product regex A100$ 15.96 + addquirk --quirk-s3-bios 15.97 + addquirk --quirk-s3-mode 15.98 + endmatch 15.99 + endmatch 15.100 +# <!-- Toshiba Portege 3490CT --> 15.101 + match system.hardware.product regex ^P3490$ 15.102 + addquirk --quirk-vbestate-restore 15.103 + endmatch 15.104 +# <!-- Toshiba Satellite S1110 --> 15.105 + match system.hardware.product regex ^S1110$ 15.106 + addquirk --quirk-s3-bios 15.107 + endmatch 15.108 + match system.hardware.product regex ^Portable PC$ 15.109 + match system.hardware.version regex ^Version 1\.0$ 15.110 + # <!-- PORTEGE 100, Toshiba Satellite 4080XCDT --> 15.111 + match system.firmware.version regex ^(Version 1\.60|Version 7\.80)$ 15.112 + addquirk --quirk-s3-mode 15.113 + endmatch 15.114 + # <!-- Tecra A2 PTA20E-4M301VGR --> 15.115 + match system.firmware.version regex ^Version 1\.20$ 15.116 + addquirk --quirk-none 15.117 + endmatch 15.118 + endmatch 15.119 + endmatch 15.120 + match system.hardware.product regex ^(P2000|P4000) 15.121 + addquirk --quirk-vbe-post 15.122 + addquirk --quirk-vbestate-restore 15.123 + endmatch 15.124 +# <!-- these need no quirks--> 15.125 + match system.hardware.product regex Libretto L5/TNK 15.126 + addquirk --quirk-none 15.127 + endmatch 15.128 + match system.hardware.product regex ^SP4600$ 15.129 + match system.hardware.version regex ^Version 1\.0$ 15.130 + addquirk --quirk-none 15.131 + endmatch 15.132 + endmatch 15.133 +endmatch