--- alx-src/branches/alx-web-050/show.php 2010/12/03 14:06:48 1612 +++ alx-src/branches/alx-web-050/show.php 2010/12/09 21:44:53 1628 @@ -29,7 +29,7 @@ $drop = array(); if($alxos >= '0.5.3') { - $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mga', 'r128', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng', 'via'); + $drop['cfg_graphic_module'] = array('vesa', 'ati', 'cirrus', 'i710', 'intel', 'nv', 'mach64', 'mga', 'openchrome', 'radeon', 's3', 's3virge', 'savage', 'sis', 'trident', 'tseng'); } else { @@ -38,6 +38,7 @@ $drop['resolution'] = array('640x480', '800x600', '1024x768', '1280x960', '1280x1024', '1360x768', '1366x768', '1400x1050', '1440x900', '1600x1200', '1680x1050'); $drop['depth'] = array('24', '16', '8'); $drop['mouse'] = array('Auto', 'IMPS/2', 'PS/2'); + $drop['keyboard'] = array('PC105'); $drop['cfg_network_module'] = array('3c59x', '8139too', '8139cp', 'e100', 'ne2k-pci', 'pcnet32', 'sis900', 'via-rhine', 'zd1211', 'b44', 'bnx2', 'dl2k', 'e1000', 'r8169', 'sk98lin', 'tg3', 'via-velocity'); $drop['networking'] = array('dhcp', 'static'); $drop['port'] = array('lpt1', 'usb1', 'usb2', 'com1', 'com2', 'lpd', 'socket', 'ipp'); @@ -197,12 +198,30 @@ $k = str_replace('wireless_', '', $k); $k2 = $k; - //replace i810 with intel on 0.5.3 or higher - if($alxos >= '0.5.3' && $v == 'i810') + //replace some drivers on 0.5.3 or higher + if($alxos >= '0.5.3') { - echo '
Replaced "i810" with "intel" - Please press SAVE!
'; - $v='intel'; + if($v == 'i810') + { + echo '
Replaced "i810" with "intel" - Please press SAVE!
'; + $v='intel'; + } + if($v == 'r128') + { + echo '
Replaced "r128" with "vesa" - Please press SAVE!
'; + $v='vesa'; + } + + if($v == 'via') + { + echo '
Replaced "via" with "openchrome" - Please press SAVE!
'; + $v='openchrome'; + } } + + # tell something about vesa + if ($v == 'vesa') echo '
Warning: "vesa" graphic module doesn\'t support any resolutions higher than 1020x786x16@60hz!
'; + if(is_array($d)) {