´ÙÀ½ ÀÌÀü Â÷·Ê

2. XFree86 ¿¡¼­ »ç¿ëÇϱâ

XFree86Àº ¸ðµâ Çü½ÄÀ¸·Î Á¶À̽ºÆ½, ÅÍÄ¡½ºÅ©¸° µîÀ» Æ÷ÇÔÇÑ AceCad, Wacom Ÿºí·¿ µå¶óÀ̹ö¸¦ Á¦°øÇÏ°í ÀÖ´Ù. ÀÌµé µå¶óÀ̹ö´Â Frederic Lepied°¡ ¸¸µé¾úÀ¸¸ç, Wacom Ÿºí·¿¿ë µå¶óÀ̹ö´Â xf86Wacom.so ÀÌ´Ù. µå¶óÀ̹ö´Â XFree86 ¼³Á¤ ÆÄÀÏÀÎ XF86Config¿¡¼­ Module Section À» ÅëÇØ ·ÎµùÇÏ¿© »ç¿ëÇÏ°Ô µÈ´Ù.

XFree86¿¡¼­ Áö¿øÇÏ´Â Wacom Ÿºí·¿Àº ´ÙÀ½°ú °°´Ù.

XFree86 µå¶óÀ̹ö´Â /usr/X11R6/lib/modules¿¡ ÀÖ´Ù.

truefeel:/usr/X11R6/lib/modules# ls -lF
total 1392
drwxr-xr-x   2 root     root         4096 Apr  6 23:53 codeconv/
-rwxr-xr-x   1 root     root       599867 Oct 12  1999 pex5.so*
-rwxr-xr-x   1 root     root        18834 Oct 12  1999 xf86AceCad.so*
-rwxr-xr-x   1 root     root        19313 Oct 12  1999 xf86Calcomp.so*
-rwxr-xr-x   1 root     root        18185 Oct 12  1999 xf86Dial.so*
-rwxr-xr-x   1 root     root        14032 Oct 12  1999 xf86Dyna.so*
-rwxr-xr-x   1 root     root        19546 Oct 12  1999 xf86Elo.so*
-rwxr-xr-x   1 root     root        14689 Oct 12  1999 xf86Jstk.so*
-rwxr-xr-x   1 root     root        20652 Oct 12  1999 xf86MuTouch.so*
-rwxr-xr-x   1 root     root        19642 Oct 12  1999 xf86Summa.so*
-rwxr-xr-x   1 root     root        33957 Oct 12  1999 xf86Wacom.so*
-rwxr-xr-x   1 root     root       602169 Oct 12  1999 xie.so*

À§¿Í °°ÀÌ Wacom Ÿºí·¿, AceCad Ÿºí·¿, SummaSketch Ÿºí·¿ µîÀÇ Å¸ºí·¿°ú Á¶À̽ºÆ½, Elographics ÅÍÄ¡½ºÅ©¸°, MicroTouch ÅÍÄ¡½ºÅ©¸°À» XFree86¿¡¼­´Â Áö¿øÇÑ´Ù.

Wacom Ÿºí·¿À» »ç¿ëÇϱâ À§ÇÑ XF86Config ¼³Á¤ ¿¹¸¦ º¸ÀÚ. XF86ConfigÀº /etc, /etc/X11 ¶Ç´Â /usr/X11R6/lib/X11 µð·ºÅ丮¿¡ ÀÖ´Ù.

# ¸ðµâ °æ·Î ÁöÁ¤(¸ðµâÀÌ /usr/X11R6/lib/Modules ÀÌ¿ÜÀÇ µð·ºÅ丮¿¡ ÀÖÀ» ¶§ ÁöÁ¤) 
#
Section "Files"
    ModulePath "/usr/X11R6/lib/modules"
EndSection

# Wacom Ÿºí·¿ ¸ðµâ ·Îµù
#
Section "Module"
  Load "xf86Wacom.so"
EndSection

# Xinput ¼½¼Ç ¼³Á¤
#
Section "Xinput" 

    # WacomStylus ¼­ºê¼½¼Ç ¼³Á¤
    #
    # 1. Àý´ë ¸ðµå(Wacom)
    # 2. »ó´ë ¸ðµå(WacomRv)
    # 3. Àý´ë ¸ðµå, AlwaysCore(WacomCore)
    #
    SubSection "WacomStylus"
        Port "/dev/ttyS0"
        DeviceName "Wacom"
        Mode Absolute
        Suppress 6
    EndSubSection
    SubSection "WacomStylus"
        Port "/dev/ttyS0"
        DeviceName "WacomRv"
        Mode Relative
    EndSubSection
    SubSection "WacomStylus"
        Port "/dev/ttyS0"
        DeviceName "WacomCore"
        Mode Absolute
        TiltMode
        AlwaysCore
    EndSubSection

    # WacomEraser ¼­ºê¼½¼Ç ¼³Á¤
    #
    # 1. Àý´ë¸ðµå(Eraser)
    # 2. Àý´ë¸ðµå, AlwaysCore(EraserCore)
    #
    SubSection "WacomEraser"
        Port "/dev/ttyS0"
        Mode Absolute
    EndSubSection
    SubSection "WacomEraser"
        Port "/dev/ttyS0"
        DeviceName "EraserCore"
        Mode Absolute
        AlwaysCore
    EndSubSection

    # WacomCursor ¼­ºê¼½¼Ç ¼³Á¤
    #
    SubSection "WacomCursor"
        Port "/dev/ttyS0"
    EndSubSection
EndSection

Wacom Ÿºí·¿ °°Àº È®Àå ÀÔ·ÂÀåÄ¡ÀÇ È¯°æ¼³Á¤Àº XInput Section¿¡¼­ ÇÑ´Ù. Wacom Ÿºí·¿ °ü·Ã SubSectionÀº 3°¡Áö°¡ ÀÖ´Ù.

3°¡Áö SubSection¿¡¼­ »ç¿ëÇÏ´Â ¿É¼ÇÀº ´ÙÀ½°ú °°´Ù.

* Port "Æ÷Æ®¸í"

Ÿºí·¿ÀÌ ¿¬°áµÈ ½Ã¸®¾ó Æ÷Æ®¸íÀ» ÁöÁ¤ÇÑ´Ù. /dev/ttyS0Àº COM1 Æ÷Æ®ÀÌ´Ù.

* DeviceName "µð¹ÙÀ̽º¸í"

µð¹ÙÀ̽º¸íÀ» ÁöÁ¤ÇÑ´Ù. ÀÌ µð¹ÙÀ̽º¸íÀº X Input ÀåÄ¡¸¦ ¼±ÅÃÇÒ ¶§ µî ÇÁ·Î±×·¥ ¿¡¼­ »ç¿ëÇÏ°Ô µÈ´Ù. ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é µð¹ÙÀ̽º À¯Çü(Stylus, Eraser, Cursor) ÀÌ µðÆúÆ®·Î ÁöÁ¤µÈ´Ù.

* Mode "Absolute|Relative"

Àý´ë ÁÂÇ¥ ¶Ç´Â »ó´ë ÁÂÇ¥·Î »ç¿ëÇÒ °ÍÀÎÁö µð¹ÙÀ̽º ¸ðµå¸¦ ÁöÁ¤ÇÑ´Ù. ÀÌ ¸ðµå´Â X-window »ç¿ë Áß¿¡ xsetmode ·Î º¯°æÇÒ ¼ö ÀÖ´Ù.

* AlwaysCore

Æ÷ÀÎÅÍ(¸¶¿ì½º, Stylus, Eraser, µî)¸¦ °øÀ¯ÇÒ ¼ö ÀÖµµ·Ï ÇÑ´Ù. Áï, 2°³ ÀÌ»óÀÇ Æ÷ÀÎÅ͸¦ µ¿½Ã¿¡ »ç¿ëÇÒ ¼ö ÀÖ´Ù. ¸¶¿ì½º¿Í Ÿºí·¿À» µ¿½Ã¿¡ »ç¿ëÇÏ°í ½Í´Ù¸é ¹Ýµå½Ã ÁöÁ¤Çϱ⠹ٶõ´Ù. AlwaysCore¸¦ ÁöÁ¤ÇÑ SubSectionÀÇ ÀåÄ¡¿Í ¸¶¿ì½º´Â µ¿½Ã¿¡ »ç¿ëÇÏ°Ô µÈ´Ù.

* HistorySize "¼ýÀÚ"

µ¿ÀÛ¿¡ ´ëÇÑ ¹öÆÛ Å©±â¸¦ ÁöÁ¤ÇÑ´Ù. µðÆúÆ®´Â 0ÀÌ´Ù.

* TopX "¼ýÀÚ"

»ó´Ü ¿ÞÂÊ ³¡ÀÇ X ÁÂÇ¥¸¦ ÁöÁ¤ÇÑ´Ù.

* TopY "¼ýÀÚ"

»ó´Ü ¿ÞÂÊ ³¡ÀÇ Y ÁÂÇ¥¸¦ ÁöÁ¤ÇÑ´Ù.

* BottomX "¼ýÀÚ"

ÇÏ´Ü ¿À¸¥ÂÊ ³¡ÀÇ X ÁÂÇ¥¸¦ ÁöÁ¤ÇÑ´Ù.

* BottomY "¼ýÀÚ"

ÇÏ´Ü ¿À¸¥ÂÊ ³¡ÀÇ Y ÁÂÇ¥¸¦ ÁöÁ¤ÇÑ´Ù.

* DebugLevel "·¹º§" ( XFree86 3.3.3¿¡´Â ¾øÀ½)

µð¹ö±ë Á¤º¸ÀÇ ·¹º§À» 0¿¡¼­ 10±îÁö ÁöÁ¤ÇÑ´Ù. ¼ýÀÚ°¡ ³ôÀ»¼ö·Ï ÀÚ¼¼ÇÏ°Ô ·Î±ëÇÑ´Ù.

* TiltMode

»ç¿ëÇÏ°í Àִ Ÿºí·¿ ½Ã¸®Áî°¡ ±â¿ï±â¸¦ Áö¿øÇÒ °æ¿ì ÀÌ ¿É¼ÇÀ» ÁöÁ¤ÇÏ¸é ±â¿ï±â¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Ù. Ÿºí·¿ÀÇ ROM ¹öÀüÀº 1.4 ÀÌ»óÀ̾î¾ß ÇÑ´Ù. ÀÌ ¹öÀüÀº XFree86 ½ÇÇàÇÒ ¶§ È®ÀÎÇÒ ¼ö ÀÖ´Ù.

ÀÚ   ÀÌÁ¦ ¾Õ¿¡¼­ ¼Ò°³ÇÑ XF86Config ¼³Á¤À» ÀÌÇØÇߴ°¡? À§ÀÇ ¼³Á¤À» º¸¸é,

  1. ¸¶¿ì½º,
  2. Àý´ë ¸ðµå(Mode Absolute ¿É¼Ç)ÀÇ Ææ ¶Ç´Â ¿¡¾îºê·¯½¬,
  3. Àý´ë ¸ðµåÀÇ Áö¿ì°³ ¹öÆ°
À» µ¿½Ã(AlwaysCore ¿É¼Ç)¿¡ »ç¿ëÇÒ ¼ö ÀÖÀ½À» ¾Ë ¼ö ÀÖ´Ù.

¼³Á¤ÀÌ ´Ù ³¡³µ´Ù¸é X-window¸¦ ½ÇÇàÇغ¸ÀÚ. ¾Æ  Ÿºí·¿À» ¸ÕÀú ÄÒ »óÅ¿¡¼­ X-windowÀ» ½ÇÇàÇϱ⠹ٶõ´Ù. ±×·¸Áö ¾ÊÀ¸¸é Ÿºí·¿À» »ç¿ëÇÒ ¼ö ¾øÀ½Àº ¹°·ÐÀÌ°í X-window ù È­¸éÀ» º¸±â À§ÇØ ¸¹Àº Àγ»½É(?)°ú Áö·çÇÔÀ» ´Þ·¤¸¸ÇÑ ¹º°¡°¡ ÀÖ¾î¾ß ÇÒ °ÍÀÌ´Ù.

truefeel:~# startx
...

(**) Adding extended device "SWITCH" (type: Switch)
(**) Adding extended device "Wacom" (type: Wacom Stylus)
(**) Adding extended device "WacomRv" (type: Wacom Stylus)
(**) Adding extended device "WacomCore" (type: Wacom Stylus)
(**) Adding extended device "STYLUS" (type: Wacom Stylus)
(**) Adding extended device "ERASER" (type: Wacom Eraser)
(**) Adding extended device "EraserCore" (type: Wacom Eraser)
(**) Adding extended device "CURSOR" (type: Wacom Cursor)
(--) Wacom tablet model : UD-0608-R00 V1.4-2
(--) Wacom IV tablet maximum X=10240 maximum Y=7680 X resolution=1270
     Y resolution=1270 suppress=6 Tilt
(--) Wacom tablet top X=0 top Y=0 bottom X=10240 bottom Y=7680
(--) Wacom tablet top X=0 top Y=0 bottom X=10240 bottom Y=7680
(--) Wacom tablet top X=0 top Y=0 bottom X=10240 bottom Y=7680
(--) Wacom tablet top X=0 top Y=0 bottom X=10240 bottom Y=7680
(--) Wacom tablet top X=0 top Y=0 bottom X=10240 bottom Y=7680
(--) Wacom tablet top X=0 top Y=0 bottom X=10240 bottom Y=7680

Á¤»óÀûÀ¸·Î ½ÇÇàµÇ¸é X-window ½ÇÇàÇÒ ¶§ À§ÀÇ ¸Þ½ÃÁö¸¦ º¼ ¼ö ÀÖ´Ù. (**) Adding ºÎºÐÀº Wacom Ÿºí·¿ÀÇ È®Àå ÀåÄ¡¸íÀ̸ç, ±× ´ÙÀ½ ÁÙ¿¡ UD-0608-R00 ¸ðµ¨¸íÀ» º¼ ¼ö ÀÖ´Ù. V1.4-2Àº ¹»±î? ¹Ù·Î Ÿºí·¿ÀÇ ROM ¹öÀüÀÌ´Ù. ÀÌ ¹öÀüÀº TileMode ¸¦ »ç¿ë°¡´ÉÇÑÁö °áÁ¤ÇÏ´Â Áß¿äÇÑ ¿ä¼ÒÀ̹ǷΠÀß ºÁµÎ±â ¹Ù¶õ´Ù.


´ÙÀ½ ÀÌÀü Â÷·Ê