Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
S
scom
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
scom
Commits
009b8cc1
Kaydet (Commit)
009b8cc1
authored
Mar 08, 2009
tarafından
Fatih Aşıcı
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
more cleanup
üst
51b26065
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
16 deletions
+9
-16
consts.py
zorg/zorg/consts.py
+2
-6
probe.py
zorg/zorg/probe.py
+7
-10
No files found.
zorg/zorg/consts.py
Dosyayı görüntüle @
009b8cc1
...
...
@@ -6,16 +6,12 @@ zorgConfigDir = "/var/lib/zorg"
zorgConfig
=
"config.xml"
zorgDataDir
=
"/usr/share/zorg"
DriversDB
=
"
/usr/lib/X11/DriversDB"
MonitorsDB
=
"
/usr/lib/X11/MonitorsDB"
DriversDB
=
"
%
s/DriversDB"
%
zorgDataDir
MonitorsDB
=
"
%
s/MonitorsDB"
%
zorgDataDir
driver_path
=
"/usr/lib/xorg/modules/drivers"
xkb_path
=
"/usr/share/X11/xkb/symbols"
sysdir
=
"/sys/bus/pci/devices/"
lcd_drivers
=
[
"nv"
,
"nvidia"
,
"ati"
,
"via"
,
"i810"
,
"intel"
,
"sis"
,
"savage"
,
"neomagic"
]
truecolor_cards
=
[
"i810"
,
"intel"
,
"nv"
,
"radeon"
]
package_sep
=
"/"
zorg/zorg/probe.py
Dosyayı görüntüle @
009b8cc1
...
...
@@ -160,16 +160,13 @@ class VideoDevice:
if
self
.
package
:
self
.
probe_result
=
call
(
self
.
package
,
"Xorg.Driver"
,
"probe"
,
self
.
getDict
())
if
self
.
probe_result
is
None
:
self
.
probe_result
=
{
"flags"
:
""
,
"outputs"
:
"default"
,
"tv-standards"
:
""
}
if
self
.
driver
in
truecolor_cards
:
self
.
probe_result
[
"depths"
]
=
"24,16"
else
:
if
self
.
probe_result
is
None
:
self
.
probe_result
=
{
"flags"
:
""
,
"outputs"
:
"default"
,
"tv-standards"
:
""
}
self
.
probe_result
[
"depths"
]
=
"16,24"
depthlist
=
self
.
probe_result
.
get
(
"depths"
,
"16,24"
)
.
split
(
","
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment