Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/basic-video/graphic.client.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2827 by niro, Fri Jul 28 10:00:23 2017 UTC revision 2828 by niro, Fri Aug 4 08:40:36 2017 UTC
# Line 22  helper_graphic_rebuild_xorg_conf_d() Line 22  helper_graphic_rebuild_xorg_conf_d()
22  {  {
23   local CONFIG   local CONFIG
24   local conf   local conf
25     local boardvendor
26    
27   # rebuild 25-gfxcard.conf   # rebuild 25-gfxcard.conf
28   # always clear the config   # always clear the config
# Line 63  helper_graphic_rebuild_xorg_conf_d() Line 64  helper_graphic_rebuild_xorg_conf_d()
64   helper_graphic_add_configs ${MROOT}/${MCORE_CONFIG_PATH}/xorg/screen   helper_graphic_add_configs ${MROOT}/${MCORE_CONFIG_PATH}/xorg/screen
65   addconfig 'EndSection'   addconfig 'EndSection'
66   fi   fi
67    
68     # always disable hdmi port on zotac devices atm - fixme make it configurable like alx
69     CONFIG="${MROOT}@@SYSCONFDIR@@/X11/xorg.conf.d/30-fix-zotac.conf"
70     clearconfig
71     if [ -e /sys/devices/virtual/dmi/id/board_vendor ]
72     then
73     boardvendor="$(< /sys/devices/virtual/dmi/id/board_vendor)"
74     # decapitalize
75     boardvendor="${boardvendor,,}"
76     case ${boardvendor} in
77     *zotac*)
78     addconfig "# Autogenerated by mcored"
79     addconfig "Section \"Monitor\""
80     addconfig " Identifier \"LVDS1\""
81     addconfig " Option \"Ignore\" \"True\""
82     addconfig "EndSection"
83     ;;
84     esac
85     fi
86  }  }
87    
88  help_graphic_resolution()  help_graphic_resolution()

Legend:
Removed from v.2827  
changed lines
  Added in v.2828