2010-07-08

Slitaz -- dump_bios


root@slitaz:~# cat /usr/bin/dump_bios
#!/bin/sh

dd if=/dev/mem of=vbios.dmp bs=16384 skip=48 count=4

root@slitaz:~# tazpkg info 915resolution

Tazpkg information
================================================================================
Package : 915resolution
Version : 0.5.3
Category : system-tools
Short desc : Widescreen support; modify video BIOS of the 800 and 900 series Intel graphics chipsets
Maintainer : erjo@slitaz.org
Web site : http://915resolution.mango-lang.org/
================================================================================

root@slitaz:~# dump_bios 
4+0 records in
4+0 records out
root@slitaz:~# ls -l *.dmp
-rw-r--r-- 1 root root 65536 Jul 8 22:25 vbios.dmp
root@slitaz:~# hexdump -C vbios.dmp | head -20
00000000 55 aa 77 eb 4b 37 34 30 30 e9 4c 19 77 cc 56 49 |U.w.K7400.L.w.VI|
00000010 44 45 4f 20 0d 00 00 00 90 00 91 11 00 00 49 42 |DEO ..........IB|
00000020 4d 20 56 47 41 20 43 6f 6d 70 61 74 69 62 6c 65 |M VGA Compatible|
00000030 01 00 00 00 c0 11 b8 9a 30 35 2f 32 32 2f 30 37 |........05/22/07|
00000040 00 00 00 00 00 00 00 00 00 10 00 00 00 00 00 00 |................|
00000050 e9 90 11 00 62 14 90 32 ff cf ef 7f 00 10 00 80 |....b..2........|
00000060 ff ff ff 7f 00 00 00 80 22 00 a5 71 e9 2b b9 e9 |........"..q.+..|
00000070 32 b9 50 4d 49 44 6c 00 6f 00 00 00 00 a0 00 b0 |2.PMIDl.o.......|
00000080 00 b8 00 c0 00 33 06 1d db 00 02 00 48 57 45 41 |.....3......HWEA|
00000090 50 43 49 52 de 10 41 02 00 00 18 00 00 00 00 03 |PCIR..A.........|
000000a0 77 00 01 00 00 80 00 00 4e 56 49 44 49 41 20 47 |w.......NVIDIA G|
000000b0 65 46 6f 72 63 65 20 36 31 35 30 20 56 47 41 20 |eForce 6150 VGA |
000000c0 42 49 4f 53 0d 0a 00 4c 44 29 0d 0a 00 00 00 00 |BIOS...LD)......|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000000f0 00 00 00 00 00 00 00 00 00 56 65 72 73 69 6f 6e |.........Version|
00000100 20 20 35 2e 35 31 2e 32 38 2e 35 36 2e 31 39 20 | 5.51.28.56.19 |
00000110 0d 0a 00 43 6f 70 79 72 69 67 68 74 20 28 43 29 |...Copyright (C)|
00000120 20 31 39 39 36 2d 32 30 30 35 20 4e 56 49 44 49 | 1996-2005 NVIDI|
00000130 41 20 43 6f 72 70 2e 0d 0a 00 00 00 ba 91 98 96 |A Corp..........|
root@slitaz:~# tazpkg search-pkgname dump_bios

Search result for file : dump_bios
================================================================================
915resolution

================================================================================
1 pkg(s) found with file : dump_bios

root@slitaz:~# tazpkg list-files 915resolution

Installed files with : 915resolution
================================================================================
/usr/bin/915resolution
/usr/bin/dump_bios
================================================================================
2 files installed with 915resolution.

root@slitaz:~#