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 2845 by niro, Fri Nov 16 14:24:20 2018 UTC revision 2846 by niro, Wed Nov 21 10:54:28 2018 UTC
# Line 87  helper_graphic_rebuild_xorg_conf_d() Line 87  helper_graphic_rebuild_xorg_conf_d()
87   write_zotac_quirk=1   write_zotac_quirk=1
88   fi   fi
89    
90   if [ -f ${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi ]   if [ -f ${MROOT}/${MCORE_CONFIG_PATH}/xorg/hdmi/hdmi ]
91   then   then
92   source ${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi   source ${MROOT}/${MCORE_CONFIG_PATH}/xorg/hdmi/hdmi
93   case "${graphic_hdmi}" in   case "${graphic_hdmi}" in
94   enable) write_zotac_quirk=0 ;;   enable) write_zotac_quirk=0 ;;
95   disable) write_zotac_quirk=1 ;;   disable) write_zotac_quirk=1 ;;
# Line 254  set_graphic_hdmi() Line 254  set_graphic_hdmi()
254    
255   case "${action}" in   case "${action}" in
256   enable|disable)   enable|disable)
257   CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi"   CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/hdmi/hdmi"
258   clearconfig   clearconfig
259   addconfig "graphic_hdmi=\"${action}\""   addconfig "graphic_hdmi=\"${action}\""
260   ;;   ;;
# Line 270  get_graphic_driver() Line 270  get_graphic_driver()
270   local action="${CLASS_ARGV[0]}"   local action="${CLASS_ARGV[0]}"
271   local driverdir="@@LIBDIR@@/xorg/modules/drivers"   local driverdir="@@LIBDIR@@/xorg/modules/drivers"
272   local driver   local driver
273   local config="${MCORE_CONFIG_PATH}/xorg/device/25-device.conf"   local config="${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/25-device.conf"
274   local i   local i
275    
276   case "${action}" in   case "${action}" in
# Line 296  get_graphic_driver() Line 296  get_graphic_driver()
296    
297  get_graphic_hdmi()  get_graphic_hdmi()
298  {  {
299   local CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/device/hdmi"   local CONFIG="${MROOT}/${MCORE_CONFIG_PATH}/xorg/hdmi/hdmi"
300   if [ -f ${CONFIG} ]   if [ -f ${CONFIG} ]
301   then   then
302   rvecho "$(< ${CONFIG})"   rvecho "$(< ${CONFIG})"

Legend:
Removed from v.2845  
changed lines
  Added in v.2846