· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Linuxdoc Sgml/Wacom-KLDP

* ÀåÄ¡ ¼±Åø·´ë

ÀåÄ¡´Â xsetpointer -l ¶Ç´Â xinput list¸í·É¿¡¼­ È®ÀÎÇß´ø ÀÔ·ÂÀåÄ¡·Î Wacom Ÿºí·¿À» ÁöÁ¤ÇÏ¸é µÈ´Ù.

* ¸ðµå ¼±Åø·´ë

¸ðµå¿¡´Â 3Á¾·ù°¡ ÀÖ´Ù.

  • »ç¿ë ¾ÈÇÔ : ÁöÁ¤ÇÑ ÀÔ·ÂÀåÄ¡¸¦ »ç¿ëÇÏÁö ¾Ê´Â´Ù.
  • È­¸é : ÀÔ·ÂÀåÄ¡ÀÇ X, Y ÁÂÇ¥¸¦ Àüü È­¸é°ú ¸ÅĪÇÏ¿© ÀԷ¹޴´Ù.
  • â : ÀÔ·ÂÀåÄ¡ÀÇ X, Y ÁÂÇ¥¸¦ ±×¸²Ã¢ È­¸é°ú ¸ÅĪÇÏ¿© ÀԷ¹޴´Ù.

* Ãà ÅÇ

5°³ ¶Ç´Â 6°³ÀÇ ÃàÀ» ÁöÁ¤ÇÑ´Ù. ÀÌ °ªÀ» ¹Ù²Ü ÇÊ¿ä´Â ¾ø´Ù. ¸¸¾à XÃàÀ» 2·Î, YÃàÀ» 1·Î º¯°æÇÑ´Ù¸é 180° ȸÀüÇÑ »óÅ·ΠÀÔ·ÂÀÌ µÉ °ÍÀÌ´Ù.

* ±Û¼è ÅÇ

¸ÅÅ©·Î Å°¸¦ ÇÒ´çÇÏ´Â ÅÇÀÌ´Ù. ArtPad ½Ã¸®Áî, Ultrapad ½Ã¸®Áî´Â ¸ÅÅ©·Î Å°¸¦ »ç¿ëÇÒ ¼ö ÀÖÁö¸¸ Intuos ½Ã¸®Áî´Â »ç¿ëÇÒ ¼ö ¾ø´Ù. ÇÊÀÚ´Â ÃÑ 32°³ÀÇ ¸ÅÅ©·Î Å°¸¦ ÀÔ·Â ¹ÞÀ» ¼ö ÀÖ´Ù. 1¹ø Å°¿¡ Ctrl+N(»õ ±×¸²), 2¹ø Å°¿¡ Ctrl+O(¿­±â)¸¦ ³Ö¾îº» ÈÄ Å¸ºí·¿ÀÇ 1¹ø ¸ÅÅ©·Î Å°¸¦ Ŭ¸¯ÇÏ¸é »õ ±×¸²À» ¸¸µå´Â âÀÌ ¿­¸®°Ô µÈ´Ù.

5. Äֿܼ¡¼­ »ç¿ëÇϱâ

gpm(general purpose mouse) µ¥¸óÀº Äֿܼ¡¼­ ¸¶¿ì½º, Ÿºí·¿, Á¶À̽ºÆ½ µîÀ» »ç¿ëÇÏ¿© ÀÚ¸£±â & ºÙÀ̱⸦ ÇÒ ¼ö ÀÖ´Â ¸¶¿ì½º ¼­¹ö´Ù. ÃֽŠgpm Àº ftp://ftp.prosa.it/pub/gpm ¿¡¼­ ¾òÀ» ¼ö ÀÖ´Ù. ÇöÀç(2000³â 5¿ù ÃÊ) ÃֽŠ¹öÀüÀº 1.19.2, ¾ÈÁ¤¹öÀüÀº 1.18.1 ÀÌ´Ù.

ÇÊÀÚ´Â ¿©·¯ gpm ¹öÀü¿¡¼­ Ÿºí·¿À» »ç¿ëÇغ¸·Á°í ÇßÁö¸¸ µ¿ÀÛÇÏÁö ¾Ê¾Ò´Ù. ÇÏÁö¸¸ ÀÌ ±Û¿¡¼­´Â ÇÏ¿ìÆ® ¹®¼­ µîÀ» ÅëÇØ ¾òÀº ³»¿ëÀ» Á¤¸®Çغ¸°Ú´Ù.

gpm ¹öÀü¿¡ µû¶ó Áö¿øÇÏ´Â Wacom Ÿºí·¿ ½Ã¸®Áî°¡ ´Ù¸£¸ç ¿É¼Ç ¶ÇÇÑ ´Ù¸£´Ù. µû¶ó¼­ ÀÚ½ÅÀÇ Å¸ºí·¿ ½Ã¸®Áî¿¡ ¸Â´Â gpm ¹öÀüÀ» »ç¿ëÇØ¾ß ÇÑ´Ù.

  • v1.18.1 ÀÌÀü : ¿¾ ArtPad ½Ã¸®Áî
    gpm -k;gpm -t wacom -m /dev/ttyS0
    
  • v1.18.1 ºÎÅÍ : Graphire ½Ã¸®Áî(Ææ, ¸¶¿ì½º)
    gpm -k;gpm -t wacom -o relative -m /dev/ttyS0 (»ó´ë ÁÂÇ¥ ¸ðµå)
    gpm -k;gpm -t wacom -o absolute -m /dev/ttyS0 (Àý´ë ÁÂÇ¥ ¸ðµå) 
    

gpmÀÇ ¹öÀü°ú Áö¿øÇÏ´Â ÀÔ·ÂÀåÄ¡ ¸ñ·ÏÀ» È®ÀÎÇغ¸ÀÚ.

~# gpm -t help

gpm-Linux 1.17.5, $Date: 2003/08/10 02:52:29 $
Available mouse types are:

  name   synonym         description

  ps2    PS/2         Busmice of the ps/2 series. Most busmice, actually.
  ...
  wacom               Wacom tablet
  genitizer              "Genitizer" tablet, in relative mode.
  ...
  js     Joystick     Joystick mouse emulation

5.1 Äֿܼ¡¼­ ¸¶¿ì½º¿Í Ÿºí·¿ »ç¿ë Àüȯ ½±°ÔÇϱâ

¸¶¿ì½º¿Í Ÿºí·¿À» ÇÔ²² »ç¿ëÇÏ´Â °æ¿ì¿¡ ¸¶¿ì½º¿¡¼­ Ÿºí·¿À¸·Î, ¶Ç´Â Ÿºí·¿¿¡¼­ ¸¶¿ì½º·Î ÀüȯÇÏ´Â °ÍÀÌ ºÒÆíÇÒ °ÍÀÌ´Ù. loadkeys¸¦ »ç¿ëÇÏ¸é ½±°Ô ÀüȯÀÌ °¡´ÉÇÏ´Ù.

F11À» ´©¸£¸é ¸¶¿ì½º¸¦ F12À» ´©¸£¸é Ÿºí·¿À» »ç¿ëÇϵµ·Ï Çغ¸ÀÚ. ¹°·Ð ÀÌ F11, F12´Â Äֿܼ¡¼­¸¸ Àû¿ëµÈ´Ù.

#!/bin/sh

loadkeys << END
keycode 87 = F11
keycode 88 = F12
string F11 = "gpm -k;/etc/rc.d/init.d/gpm start^M"
string F12 = "gpm -k;gpm -t wacom -m /dev/ttyS0^M"
END

½©½ºÅ©¸³Æ®¸¦ ¸®´ª½º ºÎÆÃÇÒ ¶§ ½ÇÇàµÇµµ·Ï ÇÑ´Ù. ½ºÅ©¸³Æ® Áß ^MÀº Ctrl+V¸¦ ´©¸¥ ´ÙÀ½ Enter Å°¸¦ ´­·¯¾ß ÇÑ´Ù. loadkeys¿¡ ´ëÇÑ °ÍÀº ¸®´ª½º ÇÑ±Û ¹®¼­ ÇÁ·ÎÁ§Æ®¿¡¼­ Å°º¸µå¿Í ÄÜ¼Ö ÇÏ¿ìÆ®¸¦ Àо±â ¹Ù¶õ´Ù.

5.2 gpm¿Í XFree86¸¦ µ¿½ÃÇÒ ¶§ ¹®Á¦

gpm¿¡¼­ Ÿºí·¿À» »ç¿ëÇϵµ·Ï Çß´Ù¸é, XFree86¿¡¼­ Ÿºí·¿À» »ç¿ëÇÒ ¼ö ¾øÀ¸¸ç, XFree86Àº ´ÙÀ½°ú °°Àº ¸Þ½ÃÁö¸¦ »Ñ¸± °ÍÀÌ´Ù.

(--) Wacom tablet model : UD-0608-R00 V1.4-2
Wacom unable to read first byte of request '~R' answer after 3 tries
Wacom unable to read first byte of request '~#' answer after 3 tries

À̸¦ ÇØ°áÇÏ´Â ¹æ¹ýÀº XFree86 ½ÃÀÛ Àü¿¡ gpm µ¥¸óÀ» Á×À̰ųª(¹«¼­¿î Ç¥ÇöÀΰ¡¿ä?) gpmÀÌ ¸¶¿ì½º¸¦ »ç¿ëÇϵµ·Ï ¹Ù²Ù¸é µÈ´Ù.

gpm -k;/etc/rc.d/init.d/gpm start; startx ¶Ç´Â
gpm -k; startx

6. Âü°í ÀÚ·á

  • Wacom Ÿºí·¿ Á¦Ç° Á¤º¸ : intuos ½Ã¸®Áî, graphire ½Ã¸®Áî, PL300/PL400 µîÀÇ Á¦Ç° Á¤º¸¸¦ Á¦°øÇÑ´Ù. - http://www.wacom.com/productinfo/index.html
  • Wacom Ÿºí·¿ ÇÏ¿ìÆ® ¹®¼­ : Wacom Ÿºí·¿À» XFree86, gpm, GIMP µî¿¡¼­ »ç¿ëÇÏ´Â ¹æ¹ýÀ» ¼³¸íÇÏ°í, XFree86 FAQ, gpm FAQµµ Á¦°øÇÑ´Ù. Ÿºí·¿À» ¾²±âÀ§ÇÑ Çʼö ¹®¼­ÀÌ´Ù. - http://www.linuxdoc.org/HOWTO/Wacom-Tablet-HOWTO.html
  • XInput ÇÏ¿ìÆ® ¹®¼­ : XFree86¿¡¼­ Ç¥ÁØ ÀÔ·ÂÀåÄ¡ÀÎ ¸¶¿ì½º, Å°º¸µå¸¦ È®ÀåÇÏ¿© Ÿºí·¿, ÅÍÄ¡½ºÅ©¸°, Á¶À̽ºÆ½À» ¾µ ¼ö ÀÖµµ·Ï Áö¿øÇÏ´Â XInput È®Àå¿¡ ´ëÇØ ¼Ò°³ÇÑ´Ù. - http://www.gtk.org/~otaylor/xinput/howto/index.html
  • XFree86 ¿ë Wacom XInput µå¶óÀ̹ö : Wacom XInput µå¶óÀ̹öÀÇ º¯È­»óÀ» ÇÑ ´«¿¡ º¼ ¼ö ÀÖ´Â °÷ÀÌ´Ù. µå¶óÀ̹ö Á¦ÀÛÀÚÀÎ Frederic LepiedÀÇ XF86Config ÀÇ ¼³Á¤µµ º¼ ¼ö ÀÖ´Ù. - http://lepied.com/xfree86/
  • XFree86¿¡¼­ XInput ¿¡ ´ëÇÑ Á¤º¸ : http://www.xfree86.org/3.3.6/xinput.html
  • XF86Config ¸ÇÆäÀÌÁö : XInput Section ¼³Á¤ ¹æ¹ýÀ» ¼³¸íÇÑ´Ù.
  • XFree86 README ÆÄÀÏ (/usr/X11R6/lib/X11/doc/README)



Wacom Ÿºí·¿(Tablet) KLDP

Wacom Ÿºí·¿(Tablet) KLDP

Ȳº¸ ÁøÈ£ truefeel@sarang.net

v0.1, 2000³â 4¿ù 28ÀÏ ºÎÅÍ 5¿ù ÃÊ
¸®´ª¼­µéÀÇ ²Þ Áß Çϳª°¡ PC¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ´Ù´Â ¸ðµç Çϵå¿þ¾î¸¦ ¸®´ª½º¿¡¼­µµ »ç¿ëÇÒ ¼ö Àֱ⸦ ¹Ù¶ó´Â °ÍÀÌ´Ù. ¾î´À Çϵå¿þ¾î¸¦ ±¸ÀÔÇØ¾ß Á¦´ë·Î ¾µ ¼ö ÀÖ°Ô µÇ´ÂÁö °í¹ÎÇÏÁö ¾Ê°Ô µÉ±â ¹Ù¶ó¸ç Ÿºí·¿ Áß¿¡¼­´Â °¡Àå ¸¹ÀÌ »ç¿ëµÇ´Â °ÍÀ¸·Î ¾Ë·ÁÁø Wacom Ÿºí·¿ »ç¿ë¹ýÀ» ¼Ò°³ÇÑ´Ù. Àß ¸øµÈ ºÎºÐ, ¿ÀÀÚ, Å»ÀÚ°¡ Àְųª µµ¿òÀ» ÁÙ ºÐÀº truefeel@sarang.net ¶Ç´Â truefeel@kisc.net À¸·Î ¸ÞÀÏÀ» º¸³»Áֱ⠹ٶõ´Ù.

1. µé¾î°¡±â

Wacom Ÿºí·¿Àº Äֻܼ󿡼­ »Ó¸¸ ¾Æ´Ï¶ó Xwindow ¿¡¼­µµ »ç¿ëÇÒ ¼ö ÀÖ´Ù.

  • Äֿܼ¡¼­ »ç¿ë : gpm
  • Xwindow¿¡¼­ »ç¿ë : XFree86 ÀÚü¿¡ ¸ðµâÇü½ÄÀ¸·Î µå¶óÀ̹ö Á¦°ø

ÇÊÀÚÀÇ »ç¿ë ȯ°æÀº ´ÙÀ½°ú °°´Ù.

  • CPU : ÆæƼ¾ö ¼¿·¯·Ð 400
  • Tablet : Wacom Ÿºí·¿(DIGITIZER II, Å©±â : 6X8, ¸ðµ¨¸í : UD-0608-R, ROM ¹öÀü : v1.4-2)
  • Keyboard, Mouse : ¼¼ÁøÀüÀÚ ¹«¼±Å°º¸µå(FREEBOARD, ¸ðµ¨¸í : SWK-8695WT)
  • ¹èÆ÷ÆÇ : Redhat v6.1, v6.0
  • XFree86 : XFree86 v3.3.5, v3.3.3.1
  • gpm : gpm-Linux 1.17.5
  • gimp : 1.1.17
  • gtk+ : 1.2.6

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

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

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

  • ArtZ II ½Ã¸®Áî
  • ArtPad II
  • PL300(LCD ¾×Á¤ Ææ Ÿºí·¿)
  • Pen Partner - XFree86 3.3.6 ±îÁö µ¿ÀÛ, ÇÏÁö¸¸ XFree86 4.0¿¡¼­ ¼º°øÇß´Ù´Â ±ÛÀº ¾ÆÁ÷ º»ÀûÀÌ ¾ø´Ù.
  • Graphire
  • Intuos ½Ã¸®Áî
  • SD¿Í HD ½Ã¸®Áî - Ç¥ÁØ XFree86 ¿¡¼­´Â Áö¿øÇÏÁö ¾Ê´Â´Ù.

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°¡Áö°¡ ÀÖ´Ù.

  • WacomStylus : pen ¶Ç´Â airbrush Á¶Á¤
  • WacomEraser : pen ¶Ç´Â airbrushÀÇ Áö¿ì°³ ¹öÆ° Á¶Á¤
  • WacomCursor : Intuos 4D ¸¶¿ì½º, graphire ¸¶¿ì½º¿Í ·»Áî Ä¿¼­(Lens cursor) Á¶Á¤

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 ¸¦ »ç¿ë°¡´ÉÇÑÁö °áÁ¤ÇÏ´Â Áß¿äÇÑ ¿ä¼ÒÀ̹ǷΠÀß ºÁµÎ±â ¹Ù¶õ´Ù.

3. X-window ½ÇÇà Áß¿¡ ¼³Á¤ º¯°æÇϱâ

ÀÌ ÀåÀº ÁÖ ÀÔ·ÂÀåÄ¡(core pointer)¸¦ º¯°æÇÏ´Â ¹æ¹ý°ú ¹öÆ° ¸ÊÇÎÇÏ´Â ¹æ¹ýÀ» ¼³¸íÇÑ´Ù.

3.1 ÁÖ ÀÔ·ÂÀåÄ¡(core pointer) º¯°æÇϱâ : xsetpointer

´ÙÀ½°ú °°ÀÌ XF86ConfigÀÇ Xinput Section¿¡ AlwaysCoreÀ» ¼³Á¤ÇÏÁö ¾Ê¾Ò´Ù¸é ÇöÀç »óÅ¿¡¼­´Â ¸¶¿ì½º¸¸ »ç¿ëÇÒ ¼ö ÀÖÀ» °ÍÀÌ´Ù. ±×·¸´Ù¸é Ÿºí·¿À» »ç¿ëÇϱâ À§Çؼ­´Â X-windowÀ» Àç½ÇÇàÇØ¾ß Çϳª? ±×·¸Áö´Â ¾Ê´Ù.

Section "Xinput" 

    SubSection "WacomStylus"
        Port "/dev/ttyS0"
        DeviceName "Wacom"
        Mode Absolute
        Suppress 6
    EndSubSection
    SubSection "WacomEraser"
        Port "/dev/ttyS0"
        Mode Absolute
    EndSubSection
    ...
EndSection

xsetpointer´Â ÁÖ ÀÔ·Â ÀåÄ¡¸¦ ¹Ù²ãÁÖ´Â ÇÁ·Î±×·¥ÀÌ´Ù.

xsetpointer < ÀåÄ¡¸í >
xsetpointer -l

¸ÕÀú »ç¿ë °¡´ÉÇÑ ÀåÄ¡ ¸ñ·ÏÀ» º¸ÀÚ.

xsetpointer -l
"pointer"       [XPointer]
"keyboard"      [XKeyboard]
"SWITCH"        [XExtensionDevice]
"Wacom" [XExtensionDevice]
"ERASER"        [XExtensionDevice]
"CURSOR"        [XExtensionDevice]

pointer´Â ¸¶¿ì½º, keyboard´Â Å°º¸µå, ³ª¸ÓÁö´Â Ÿºí·¿ ÀåÄ¡µéÀÌ´Ù. ÁÖ ÀÔ·Â ÀåÄ¡¸¦ Ÿºí·¿À¸·Î ¹Ù²ãº¸ÀÚ. Ÿºí·¿À» ÁÖ ÀÔ·Â ÀåÄ¡·Î ¹Ù²Ù¸é ¸¶¿ì½º´Â »ç¿ëÇÒ ¼ö ¾ø°Ô µÈ´Ù.

truefeel: # xsetpointer wacom

3.2 ¸ðµå º¯°æÇϱâ : xsetmode

¸ðµå¸¦ ÀüȯÇÏ´Â xsetmodeÀº »ç¿ëÀÌ °£´ÜÇϹǷΠƯº°È÷ ¼³¸íÇÒ °ÍÀÌ ¾ø´Ù.

 xsetmode <ÀåÄ¡¸í> (ABSOLUTE|RELATIVE)

xsetmode wacom absolute

3.3 ¹öÆ° ¸ÊÇÎÇϱâ : xmodmap

xmodmapÀº Å°º¸µå ¹× Æ÷ÀÎÅÍ(¸¶¿ì½º, Ÿºí·¿ µî) ¹öÆ° ¸ÊÇο¡ »ç¿ëÇÏ´Â À¯Æ¿¸®Æ¼ ÀÌ´Ù. Å°º¸µåÀÇ Å° ¸ÊÇÎÀ» È®ÀÎÇϰųª º¯°æÇϴµ¥ ÇÑ ¹ø¾¿Àº »ç¿ëÇØ ºÃÀ» °ÍÀÌ´Ù. Å°¸ÊÇÎÀº À̱ÛÀÇ ÁÖÁ¦¿Í ¾î¿ï¸®Áö ¾ÊÀ¸¹Ç·Î Æ÷ÀÎÅÍÀÇ ¹öÆ° ¸ÊÇο¡ ´ëÇؼ­¸¸ ¼³¸íÇÑ´Ù.

 xmodmap -pp
 xmodmap -e "pointer = ³í¸®¹öÆ°1 ³í¸®¹öÆ°2 ³í¸®¹öÆ°3 ..."

xmodmapÀº ÁÖ ÀÔ·Â ÀåÄ¡(core pointer)·Î ÁöÁ¤µÈ ÀåÄ¡ÀÇ ¹öÆ°À» ¸ÊÇÎÇϹǷΠ¼³Á¤ Àü¿¡ ¹Ýµå½Ã ÁÖ ÀÔ·Â ÀåÄ¡¸¦ Å×ºí·¿ ÀåÄ¡·Î ºü²ã¾ß ÇÑ´Ù. ¹öÆ° ¸ÊÇÎÀ» È®ÀÎÇØ º¸ÀÚ. ¹°¸®Àû ¹öÆ°°ú ³í¸®Àû ¹öÆ°ÀÌ °°À½À» ¾Ë ¼ö ÀÖ´Ù.

truefeel:~# xsetpointer wacom
truefeel:~# xmodmap -pp
There are 4 pointer buttons defined.

    Physical        Button
     Button          Code
        1              1
        2              2
        3              3
        4              4

¹°¸®Àû ¹öÆ° 1Àº ³í¸®Àû ¹öÆ° 2·Î, ¹°¸®Àû ¹öÆ° 2´Â ³í¸®Àû ¹öÆ° 1·Î, ¹°¸®Àû ¹öÆ° 3Àº ³í¸®Àû ¹öÆ° 3À¸·Î, ¹°¸®Àû ¹öÆ° 4Àº ³í¸®Àû ¹öÆ° 4·Î ¹Ù²ãº¸ÀÚ.

xmodmap -e "pointer = 2 1 3 4"

3.4 XInput ÀåÄ¡ÀÇ Å×½ºÆ® ¹× ¼³Á¤ À¯Æ¿¸®Æ¼ : xinput

Frederic Lepied°¡ ¸¸µç xinputÀº Wacom Ÿºí·¿°ú °°Àº XInput ÀåÄ¡¸¦ Å×½ºÆ®ÇÏ°í ¼³Á¤ÇÏ´Â À¯Æ¿¸®Æ¼´Ù. xinput À¯Æ¿¸®Æ¼´Â ¾Õ¿¡¼­ ¼³¸íÇÑ xsetpointer, xsetmode, xmodmapÀÇ ±â´ÉÀ» ¸ðµÎ °¡Áö°í ÀÖ´Ù.

xinputÀº ftp://ftp.x.org/contrib/utilities/xinput-1.2.tar.gz ¿¡¼­ ±¸ÇÒ ¼ö ÀÖ´Ù. ¼³Ä¡´Â ¿ì¼± tar·Î Ǭ ´ÙÀ½ Imakefile -> Makefile »ý¼º(xmkmf)ÇÏ°í 2¹øÀÇ make °úÁ¤À» °ÅÄ¡¸é µÈ´Ù.

truefeel:~# tar xvfz xinput-1.2.tar.gz 
xinput-1.2/
xinput-1.2/xinput.man
xinput-1.2/Imakefile
xinput-1.2/README
xinput-1.2/ChangeLog
xinput-1.2/COPYRIGHT
...
truefeel:~# cd xinput-1.2
truefeel:~/xinput-1.2# xmkmf -a
truefeel:~/xinput-1.2# make install
truefeel:~/xinput-1.2# make install.man

¸¸µé¾îÁø xinput°ú xinput ¸ÇÆäÀÌÁö´Â °¢°¢ /usr/X11R6/bin, /usr/X11R6/man/man1¿¡ ¼³Ä¡µÈ´Ù.

xinput »ç¿ëÇÒ ¶§ ÁÖÀÇÇÒ °ÍÀº ÀåÄ¡¸íÀÇ ´ë¼Ò¹®ÀÚ¸¦ ±¸ºÐ ÇÑ´Ù´Â °ÍÀÌ´Ù. ÀåÄ¡¸íÀº XF86ConfigÀÇ XInput ¼½¼Ç¿¡¼­ DeviceName ¿É¼ÇÀ¸·Î ÁöÁ¤ÇÑ´Ù.

SubSection "WacomStylus"
     Port            "/dev/ttyS0"
     DeviceName      "Wacom"
EndSubSection

ÀÌÁ¦ xinput ±â´ÉÀ» »ó¼¼ÇÏ°Ô ¾Ë¾Æº¸ÀÚ.

* ÀÔ·ÂÀåÄ¡ ¸ñ·Ï º¸±â : xinput list [ ÀåÄ¡¸í ]

ÁöÁ¤ÇÑ ÀÔ·ÂÀåÄ¡¿¡ ´ëÇÑ »ó¼¼ÇÑ Á¤º¸¸¦ º¸¿©ÁØ´Ù. ÀåÄ¡¸íÀ» ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é ¸ðµç ÀÔ·ÂÀåÄ¡¿¡ ´ëÇÑ Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù. »ó´çÈ÷ ÀÚ¼¼ÇÑ Á¤º¸¸¦ º¸¿©ÁֹǷΠ°¡´ÉÇϸé ÀåÄ¡¸íÀ» ÁöÁ¤Çϱ⠹ٶõ´Ù.

truefeel:~# xinput list Wacom
"Wacom" id=3    [XExtensionDevice]
        Num_keys is 32
        Min_keycode is 8
        Max_keycode is 39
        Num_buttons is 4
        Num_axes is 5
        Mode is Absolute
        Motion_buffer is 0
        Axis 0 :
                Min_value is 0
                Max_value is 10240
                Resolution is 499999
        Axis 1 :
                Min_value is 0
                Max_value is 7680
                Resolution is 499999
...

´Ü¼øÈ÷ ÀÔ·Â ÀåÄ¡ÀÇ ¸ñ·Ï¸¸À» È®ÀÎÇÏ°í ½Í´Ù¸é ¾Õ¼­ ¹è¿î xsetpointer -lÀ» ÀÌ¿ëÇϰųª xinput À» ´ÙÀ½°ú °°ÀÌ ÀÌ¿ëÇصµ µÈ´Ù.

xinput list|grep '^"' 

* ÁÖ ÀÔ·ÂÀåÄ¡(core pointer) ¹Ù²Ù±â : xinput set-pointer < ÀåÄ¡¸í >

ÁÖ ÀÔ·ÂÀåÄ¡¸¦ º¯°æÇÑ´Ù. xsetpointer < ÀåÄ¡¸í > °ú °°Àº ±â´ÉÀ» ÇÑ´Ù.

* Àý´ëÁÂÇ¥, »ó´ëÁÂÇ¥ ¸ðµå ¹Ù²Ù±â : xinput set-mode < ÀåÄ¡¸í > ABSOLUTE|RELATIVE

ÁöÁ¤ÇÑ ÀÔ·ÂÀåÄ¡ÀÇ ¸ðµå¸¦ Àý´ë ¶Ç´Â »ó´ë ¸ðµå·Î ¹Ù²Û´Ù. xsetmode < ÀåÄ¡¸í > ABSOLUTE|RELATIVE °ú °°Àº ±â´ÉÀ» ÇÑ´Ù.

* ¹öÆ° ¸ÊÇÎÇϱâ : xinput set-button-map < ÀåÄ¡¸í > ³í¸®¹öÆ°1 ³í¸®¹öÆ°2 ...

ÀÔ·ÂÀåÄ¡ÀÇ ¹°¸®¹öÆ°À» ÁöÁ¤ÇÑ ¼ø¼­´ë·Î ³í¸®¹öÆ°À¸·Î ¸ÅÇνÃŲ´Ù.

xinput set-button-map Wacom 2 1 3 4

* ÀÔ·ÂÀåÄ¡ »óÅ ȮÀÎÇϱâ : xinput query-state < ÀåÄ¡¸í >

ÀÔ·ÂÀåÄ¡ÀÇ »óŸ¦ È®ÀÎÇÑ´Ù.

truefeel:~# xinput query-state Wacom
3 classes :
KeyClass
        key[0]=up
        key[1]=up
...
        key[31]=up
ButtonClass
        button[1]=up
        button[2]=up
        button[3]=up
        button[4]=up
ValuatorClass Mode=Absolute Proximity=In
        valuator[0]=4389
        valuator[1]=5728
        valuator[2]=-128
        valuator[3]=30
        valuator[4]=-9

À§ÀÇ ½ÇÇà °á°ú´Â Å° ÄÚµå »óÅÂ(KeyClass), ¹öÆ° »óÅÂ(ButtonClass), Ãà »óÅÂ(ValuatorClass) µî 3°¡Áö »óŸ¦ Á¦°øÇÑ´Ù. 32°³ÀÇ Å°, 4°³ÀÇ ¹öÆ°ÀÌ µ¿ÀÛÇÏ°í ÀÖÀ¸¸ç ¸ðµå´Â Àý´ë ¸ðµå(Mode=Absolute), Ææ ¶Ç´Â ¿¡¾îºê·¯½¬°¡ ÀԷ¹ÞÀ» ¼ö ÀÖ´Â °Å¸®(Proximity=In)¿¡ ÀÖÀ½À» ¾Ë ¼ö ÀÖ´Ù. Ãà »óÅ°¡ ³ªÅ¸³»´Â °ªÀÇ Àǹ̴ ´ÙÀ½°ú °°´Ù.

  1. valuator[0] : XÁÂÇ¥
  2. valuator[1] : YÁÂÇ¥
  3. valuator[2] : Ææ ¶Ç´Â ¿¡¾îºê·¯½¬°¡ ´©¸£´Â ¾Ð·Â. -128Àº ´©¸£°í ÀÖÁö ¾ÊÀ½.
  4. valuator[3] : X¹æÇâ ±â¿ï±â. À½¼ö °ªÀº ¿ÞÂÊ, ¾ç¼ö °ªÀº ¿À¸¥ÂÊÀ¸·Î ±â¿ï¸².
  5. valuator[4] : Y¹æÇâ ±â¿ï±â. À½¼ö °ªÀº À§ÂÊ, ¾ç¼ö °ªÀº ¾Æ·¡ÂÊÀ¸·Î ±â¿ï¸².

* ÀÔ·ÂÀåÄ¡ Å×½ºÆ®Çϱâ : xinput test [ -proximity ] < ÀåÄ¡¸í >

ÀÔ·ÂÀåÄ¡¸¦ Å×½ºÆ®ÇÏ´Â ±â´ÉÀ¸·Î ÀåÄ¡¸¦ ÅëÇØ ÀԷµǴ ¸ðµç À̺¥Æ®¸¦ ¿¬¼ÓÀûÀ¸·Î º¸¿©ÁØ´Ù. Å×½ºÆ®¸¦ ³¡³»·Á¸é Ctrl+C¸¦ ´©¸¥´Ù.

-proximity : Á¢±Ù¼º±îÁö Ç¥½ÃÇØÁØ´Ù. proximity in / proximity out

truefeel:~# xinput test -proximity Wacom
...
motion a[0]=4572 a[1]=5142 a[2]=-128 a[3]=30 a[4]=-12 
motion a[0]=4563 a[1]=5200 a[2]=-128 a[3]=30 a[4]=-12 
motion a[0]=4553 a[1]=5261 a[2]=-128 a[3]=30 a[4]=-14 
button release 2 a[0]=4553 a[1]=5261 a[2]=0 a[3]=30 a[4]=-13 
proximity out a[0]=4553 a[1]=5261 a[2]=-128 a[3]=30 a[4]=-14 
motion a[0]=4571 a[1]=5259 a[2]=-128 a[3]=27 a[4]=-10 
proximity out a[0]=4606 a[1]=5208 a[2]=-128 a[3]=29 a[4]=-11 
proximity in  a[0]=4606 a[1]=5208 a[2]=-128 a[3]=29 a[4]=-11 
motion a[0]=6031 a[1]=4948 a[2]=-128 a[3]=-14 a[4]=13 
motion a[0]=6085 a[1]=4996 a[2]=-128 a[3]=-15 a[4]=14 
...

4. The GIMP ¿¡¼­ »ç¿ëÇϱâ

Æ÷Åä¼¥ ½ºÅ¸ÀÏÀÇ ¸·°­ÇÑ ±×·¡ÇÈ ÇÁ·Î±×·¥ÀÎ GIMP´Â v1.1.X ºÎÅÍ XInputÀ» Áö¿øÇÑ´Ù. v1.0.x ¹öÀüÀ̶ó¸é ÆÐÄ¡¸¦ ÅëÇؼ­ »ç¿ë °¡´ÉÇÏÁö¸¸ ¿©±â¼­´Â GIMP v1.1.X ¸¦ »ç¿ëÇÏ´Â °ÍÀ¸·Î °¡Á¤ÇÑ´Ù.

GIMP¿¡¼­ XInputÀ» Áö¿øÇÑ´Ù°í ÇÏ´õ¶óµµ ÇÑ °¡Áö Á¶°ÇÀÌ ´õ ÇÊ¿äÇÏ´Ù. GIMP ÅøŶÀÎ GTK+¿¡¼­ XInputÀ» Áö¿øÇϵµ·Ï ÄÄÆÄÀϵǾî¾ß ÇÑ´Ù. ±¹³»ÀÇ ¿©·¯ ¹èÆ÷ÆÇ¿¡ Æ÷ÇÔµÈ gtk+ÀÇ XInput Áö¿ø¿©ºÎ´Â °¡Áö°¢»öÀÌ´Ù. ±¹³»ÀÇ ¸ðµç ¹èÆ÷ÆÇ Á¦ÀÛÀÚ°¡ XInputÀ» Áö¿øÇϵµ·Ï ¸¸µé¾îÁÖ±æ ¹Ù¶ö »ÓÀÌ´Ù.

  • ¾ËÂ¥¸®´ª½º 6.1 : Áö¿øÇÏÁö ¾ÊÀ½
  • ¾ËÂ¥¸®´ª½º 6.2 BETA : Áö¿øÇÔ
  • ÆÄ¿ö¸®´ª½º R2 : Áö¿øÇÏÁö ¾ÊÀ½
  • ¹ÌÁö¸®´ª½º 1.1 : Áö¿øÇÔ
  • ¾Ù¸¯½º¸®´ª½º 6.2 BETA : Áö¿øÇÏÁö ¾ÊÀ½
  • Åͺ¸¸®´ª½º Workstation 4.0.5 : Áö¿øÇÏÁö ¾ÊÀ½
  • qLinux 1.0 : Áö¿øÇÏÁö ¾ÊÀ½

Áö¿øÇÏÁö ¾Ê´Â ¹èÆ÷ÆÇÀ» ¾²´Â ¸®´ª¼­´Â À§ÀÇ ¸ñ·ÏÀ» º¸°í ¾ËÂ¥³ª ¹ÌÁö¸®´ª½ºÀÇ gtk+-1.2.X, gtk+-devel-1.2.X¸¦ ¼³Ä¡ÇÏ¸é °¡Àå ½±°í ºü¸¥ ÇØ°áÃ¥ÀÌ µÉ °ÍÀÌ´Ù. ¿©±â¼­´Â Á÷Á¢ ¼öÀÛ¾÷(?)À» ÅëÇØ ¼³Ä¡ÇÏ´Â 2°¡Áö ¹æ¹ýÀ» ¼Ò°³ÇÑ´Ù.

4.1 gtk+ ¼Ò½º¿¡¼­ XInput Áö¿øÇϵµ·Ï ÄÄÆÄÀÏ ÇÏ´Â ¹æ¹ý

XInputÀ» Áö¿øÇϵµ·Ï ÄÄÆÄÀÏÇÏ´Â °£´ÜÇÑ ¼ø¼­¸¸ ¼Ò°³ÇÑ´Ù.

ftp://ftp.gtk.org/pub/gtk/v1.2/ ¿¡¼­ ÃֽŠgtk+ ¼Ò½º¸¦ °¡Á®¿Â´Ù. configure ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÒ ¶§ --with-xinput=xfree ¿É¼ÇÀ» ³Ö¾î¼­ ½ÇÇàÇÑ ÈÄ ÀνºÅç ÇÑ´Ù.

tar xvfz gtk+-1.2.7.tar.gz
cd gtk+-1.2.7
./configure --prefix=/usr --sysconfdir=/etc --with-xinput=xfree
make
make install

4.2 ¹èÆ÷ÆÇÀÇ SRPMS ¼öÁ¤À» ÅëÇØ gtk+¸¦ ¼³Ä¡ÇÏ´Â ¹æ¹ý

Á÷Á¢ gtk+ ¼Ò½º¸¦ ÅëÇØ ¼³Ä¡ÇÏ´Â °Íº¸´Ù´Â ÇÑ±Û ÆÐÄ¡ µîÀÌ Àû¿ëµÇ°í RPMÀ¸·Î ¼³Ä¡°¡´ÉÇÑ SRPMS¸¦ ¼öÁ¤ÇÏ´Â °ÍÀÌ ´õ ÁÁÀ» °ÍÀ¸·Î »ý°¢µÈ´Ù. RPM¿¡ ´ëÇÑ °ÍÀº ¸®´ª½º ÇÑ±Û ¹®¼­ ÇÁ·ÎÁ§Æ®¸¦ °¡º¸±â ¹Ù¶õ´Ù.

  1. °¢ ¹èÆ÷ÆÇÀÇ FTP »çÀÌÆ®¿¡¼­ gtk+-1.2.X-YZZ.src.rpm°ú gtk+-devel-1.2.X-YZZ.rpmÀ» ¹Þ¾Æ¿Â´Ù.
  2. gtk+-devel RPMÀº ±×´ë·Î ¼³Ä¡ÇÏ¸é µÇ°í gtk+´Â ¼Ò½º¸¦ ¼³Ä¡ÇÑ ÈÄ¿¡ /usr/src/redhat/SPECS/gtk+.spec ÆÄÀÏ¿¡¼­ %build ºÎºÐÀ» ¼öÁ¤ÇÑ´Ù.
    %build
    ...
    
    CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH --prefix=%prefix \
    --sysconfdir=/etc --with-xinput=xfree
    
    make
    
    configure¿¡ --with-xinput=xfree¸¸ Ãß°¡Çß´Ù.
  3. rpm -ba gtk+.spec ·Î RPM ÆÄÀÏÀ» »ý¼ºÇÑ´Ù.
  4. /usr/src/redhat/RPMS/i386¿¡ »ý¼ºµÈ RPM ÆÄÀÏÀ» rpm -ivh gtk+-1.2.X-YZZ.i386.rpm·Î ¼³Ä¡ÇÑ´Ù.

4.3 GIMP ¼³Á¤

GIMP¸¦ ½ÇÇàÇÑ ÈÄ ÆÄÀÏ -> ´ëÈ­»óÀÚ -> ÀÔ·ÂÀåÄ¡(¿µ¹® : File -> Dialogs -> Input Devices)¸¦ Ŭ¸¯ÇÑ´Ù. ¸¸¾à ÀÔ·Â ÀåÄ¡ ¾øÀ½ (¿µ¹® : No Input Devices )À̶ó´Â ¸Þ½ÃÁö¸¦ ºÃ´Ù¸é XInputÀ» Áö¿øÇÏÁö ¾Ê´Â gtk+°¡ ¼³Ä¡µÈ °ÍÀÌ´Ï ¾ÕÀÇ gtk+ ¼³Ä¡ °úÁ¤À» È®ÀÎÇϱ⠹ٶõ´Ù. Á¤»óÀûÀ̶ó¸é ÀåÄ¡ ¼±Åø·´ë¿Í ¸ðµå ¼±Åø·´ë, ±×¸®°í Ãà ÅÇ, ±Û¼è ÅÇÀ» º¼ ¼ö ÀÖ´Ù.

GIMP¿¡¼­ ÀÔ·ÂÀåÄ¡ ¼³Á¤ È­¸é
ID
Password
Join
Try to divide your time evenly to keep others happy.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2003-08-10 11:52:30
Processing time 0.0031 sec