312GSVGA (was: TGUI 9440 AGi)

Petr Her~man Petr.Herman na lfmotol.cuni.cz
Úterý Listopad 12 14:36:50 CET 1996


> > >   Dnesniho dne 'sem opustil lod zoufalcu pod vlajkou Tridentu, nebot nam
> > > dodavatelska firma laskave vymenila TGUI9440AGi za S3 Trio64. Situace je
...

> Situace byla pravdepodobne dobra i tehdy. Staci pouzit posledni betaverzi
> SVGA X serveru, v soucasne dobe 3.1.2G. 
> (ftp://sunsite.mff.cuni.cz/GUI/X11/XFree86/3.1.2G/Linux/Elf/312GSVGA.tgz,
> a taky 312Gbin apod.)

Mezitim jsem si nainstaloval Debian 1.1 a zkusil, jestli mi to nahodou
neprojde s tim X-serverem, ktery je v baliku xserver-svga. Ohlasi se jako
XF86_SVGA ver.3.1.2 Patchlevel 0. Neproslo: s tou TGUI9440AGi si nerozumel.

Tak jsem si stahnul ty baliky 312GSVGA.tgz, 312Gbin.tgz, 312Gdoc.tgz,
312Gman.tgz ze sunsite do /usr/X11R6 a pustil na ne tar xvzf

Znovu jsem pustil skript xbase-configure, ktery spousti
/usr/bin/X11/xf86config  a ten se me tentokrat navic ptal na jakesi XKB:

  Beginning with XFree86 3.1.2D, you can use the new X11R6.1 XKEYBOARD
  extension to manage the keyboard layout. If you answer 'n' to the following
  question, the server will use the old method, and you have to adjust
  your keyboard layout with xmodmap.
  Please answer the following question with either 'y' or 'n'.
  Do you want to use XKB?

Nemam tuseni, co to to XKB je, ale rek' jsem si, ze pujdu s dobou a 
tak jsem odpovedel 'y'.

Pri testu mi server mj. rekl:
  ...
  (**) XKB: keymap: "xfree86(us)" (overrides other XKB settings)
  ...
  PEXExtensionInit: Couldn't open default PEX font file  Roman_Msh:
  /usr/X11R6/lib/X11/xkb/xkbcomp: No such file or directory
  Couldn't load XKB keymap, falling back to pre-XKB keymap

startx to normalne spusti, nabehne fvwm, mys rejdi, spusti se xterm,
ale sotva se v xtermu dotknu klavesu, tak mi jeho okno zmizi.

Tak jsem pustil skript xbase-configure podruhy, tentokrat jsem na
    Do you want to use XKB? odpovedel 'n'.

Nicmene mi po starx rekl:
  (**) XKB: disabled
  (**) XKB: keymap: "xfree86(us)" (overrides other XKB settings)
  ...
  (**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/"
  ...
  PEXExtensionInit: Couldn't open default PEX font file  Roman_M
  waiting for X server to shut down

ale choval se to naprosto stejne (tj. pri dotyku klavesnice v xtermu mizi okno).
Jeste me napadlo vyzkouset treba Emacs, ale ten sel dobre, takze jsem si
rekl, asi zbytecne plasim a chyba bude nekde v konfiguraci xtermu.

Porovnal jsem jeste oba soubory /etc/XF86Config , lisily se jen tim,
ze ve druhem prvnim pripade byl radek:
    XkbDisable
(ktery byl v prvnim pripade zamrizovany)

Tak jsem do /etc/XF86Config dal znova puvodni versi, ale tentokrat sotva
se mi x-server rozbehe, uz zase chcipne:
  waiting for X server to shut down
Vypada to, jako by (od klavesnice?) dostal nejaky signal k zavreni.
Tak jsem tam vratil zase tu druhou versi /etc/XF86Config,
a zase to samy. Moc to nechapu, co jsem tom kopirovanim obou versi
mohl pomrsit. Napadlo me, ze ten skript xbase-configure krome
/etc/XF86Config dela jeste jiny veci a ze bych mozna nemel menit
/etc/XF86Config bez jeho vedomi, tak jsem znovu radne probehl cely
skript xbase-configure, ale zase nic.

Takze ted at delam co delam, x-server se mi hned po spusteni zase zavre,
nezavisle na tom, jestli mam v /etc/XF86Config radek XkbDisable zamrizovany
nebo ne.

Predpokladam, ze chyba bude nekde v tom, ze si ten novy server nejak
nerozumi s tou puvodni nainstalovanou debianovskou package xserver-svga
nebo xbase, kterou jsem mu s nim tak natvrdo premastil, a navic se mi
tu zrejme neco podelalo tou rucni manipulaci s /etc/XF86Config.

Ale vzhledem k tomu, ze ani s instalaci X, ani s instalaci Debiana,
ani s XKB dosud zadne vetsi zkusenosti nemam, muze mi nekdo poradit,
co s tim, na co se podivat a v cem se jeste pohrabat?

Jako posledniho stebla jsem se chytil dokumentace:
  # cd /usr/X11R6/lib/X11/doc/
  # grep XKB *
a jedine, co jsem se o XKB dozvedel, bylo:
- On OpenBSD, when not using XKB, the server can read the actual keymap
- Autorepeating modifier keys when using XKB have been fixed.

> Hynek

Diky
	Petr Herman


Další informace o konferenci Linux