wok diff pm-utils/stuff/video-quirks/20-video-quirk-pm-apple.quirkdb @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pm-utils/stuff/video-quirks/20-video-quirk-pm-apple.quirkdb	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -0,0 +1,25 @@
     1.4 +# <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
     1.5 + match system.hardware.vendor regex ^Apple
     1.6 +  match system.hardware.product regex ^MacBook2,1$
     1.7 +   match system.hardware.vendor regex ^Apple Inc\.
     1.8 +    match system.hardware.version regex ^1\.0$
     1.9 +    # <!-- needs VBE_SAVE from console, but that slows resuming -->
    1.10 +     addquirk --quirk-none
    1.11 +    endmatch
    1.12 +   endmatch
    1.13 +   match system.hardware.vendor regex Computer, Inc\.
    1.14 +    addquirk --quirk-vbe-post
    1.15 +   endmatch
    1.16 +  endmatch
    1.17 +  match system.hardware.product regex ^(MacBook1,1|MacBook3,1)$
    1.18 +  # <!-- s2ram uses vbe_post + vbemode_restore for MacBook1,1 -->
    1.19 +   addquirk --quirk-vbestate-restore
    1.20 +  endmatch
    1.21 +  match system.hardware.product regex ^MacBookPro1,1$
    1.22 +   addquirk --quirk-vbe-post
    1.23 +  endmatch
    1.24 +  match system.hardware.product regex ^MacBookPro2,2$
    1.25 +   addquirk --quirk-vbe-post
    1.26 +   addquirk --quirk-vbemode-restore
    1.27 +  endmatch
    1.28 + endmatch