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 ;; |
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 |
;; |
;; |
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 |
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})" |