X-Git-Url: https://gitweb.dragonflybsd.org/ikiwiki.git/blobdiff_plain/0378177e57bf33763ce7e020c68025bb752a0f26..HEAD:/docs/user/laptoptipsandtricks/index.mdwn diff --git a/docs/user/laptoptipsandtricks/index.mdwn b/docs/user/laptoptipsandtricks/index.mdwn index 52fe8b00..84e21fe1 100644 --- a/docs/user/laptoptipsandtricks/index.mdwn +++ b/docs/user/laptoptipsandtricks/index.mdwn @@ -6,30 +6,39 @@ This one will set all the devices without a loaded driver into sleep state. # console You can get full console resolution on an Intel 945-series graphics adapter with 915resolution. Find some spare mode like 640x480: - % sudo ./915resolution -l - Intel 800/900 Series VBIOS Hack : version 0.5.3 - - Chipset: 915GM - BIOS: TYPE 1 - Mode Table Offset: $C0000 + $269 - Mode Table Entries: 36 - ... - Mode 41 : 640x480, 16 bits/pixel - ... + % sudo ./915resolution -l + Intel 800/900 Series VBIOS Hack : version 0.5.3 + + Chipset: 915GM + BIOS: TYPE 1 + Mode Table Offset: $C0000 + $269 + Mode Table Entries: 36 + ... + Mode 41 : 640x480, 16 bits/pixel + ... Set it to 1024x600 for example: - % sudo ./915resolution 41 1024 600 + % sudo ./915resolution 41 1024 600 Then load vesa: - % kldload vesa + % kldload vesa And use vidcontrol: - % vidcontrol -i mode|grep 1024 - 257 (0x101) 0x0000000f G 1024x600x8 1 8x16 0xa0000 64k 64k 0xd0000000 7872k - 273 (0x111) 0x0000000f G 1024x600x16 1 8x16 0xa0000 64k 64k 0xd0000000 7872k - 274 (0x112) 0x0000000f G 1024x600x32 1 8x16 0xa0000 64k 64k 0xd0000000 7872k + % vidcontrol -i mode|grep 1024 + 257 (0x101) 0x0000000f G 1024x600x8 1 8x16 0xa0000 64k 64k 0xd0000000 7872k + 273 (0x111) 0x0000000f G 1024x600x16 1 8x16 0xa0000 64k 64k 0xd0000000 7872k + 274 (0x112) 0x0000000f G 1024x600x32 1 8x16 0xa0000 64k 64k 0xd0000000 7872k - % vidcontrol MODE_273 + % vidcontrol MODE_273 + + +# CPU + +Allow cpu entering energy-saving state: + + hw.acpi.cpu.cx_lowest=C3 + +Use est/powernow to control cpu frequency.