[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:24380] iMultiMouse



土屋ã§ã™ã€‚


USBマウスを使ã£ã¦ã¿ãŸã„ã¨æ€ã£ã¦è¨­å®šã‚’始ã‚ãŸã®ã§ã™ãŒã€iMultiMouse ã«ã‚ˆ
る複数マウスã®åŒæ™‚使用ãŒã†ã¾ãã„ã‹ãšã«å›°ã£ã¦ã„ã¾ã™ã€‚


(1) kernel-source-2.2.17 を使ã„ã€USBサãƒãƒ¼ãƒˆã‚’有効ã«ã—ã¦å†æ§‹ç¯‰ã—ã¦ã€ã‚«ãƒ¼
    ãƒãƒ«ã‚’入れ替ãˆã¾ã—ãŸã€‚

(2) /etc/X11/XF86Config を以下ã®ã‚ˆã†ã«è¨­å®šã™ã‚‹ã¨ã€é€šå¸¸ã®ãƒˆãƒ©ãƒƒã‚¯ãƒã‚¤ãƒ³
    トãŒä½¿ãˆã‚‹ã“ã¨ã‚’確èªã—ã¾ã—ãŸã€‚

        Section "Pointer"
            Protocol    "PS/2"
            Device      "/dev/psaux"
        EndSection

(3) mknod /dev/usbmouse c 10 32; modprobe usb-uhci ã¨ã—ã¦ã€USBマウスを
    使ãˆã‚‹ã‚ˆã†ã«ã—ã¾ã—ãŸã€‚æ›´ã«ã€/etc/X11/XF86Config を以下ã®ã‚ˆã†ã«è¨­å®š
    ã—ã¦ã€USBマウスãŒä½¿ãˆã‚‹ã“ã¨ã‚’確èªã—ã¾ã—ãŸã€‚

        Section "Pointer"
            Protocol    "PS/2"
            Device      "/dev/usbmouse"
        EndSection

(4) apt-get install imultimouse ã—ã¾ã—ãŸã€‚/etc/imultimouse.conf ã®å†…容
    ã¯æ¬¡ã®é€šã‚Šã§ã™ã€‚

        MOUSE1="-ps2 -emu "
        DEVICE1=/dev/psaux
        ARGS1=""
        MOUSE2="-ps2 "
        DEVICE2=/dev/usbmouse
        ARGS2=""

(5) ãã®ä¸Šã§ /etc/X11/XF86Config を次ã®ã‚ˆã†ã«æ›¸ãæ›ãˆãŸã®ã§ã™ãŒã€ãƒžã‚¦
    スãŒä½¿ãˆã¾ã›ã‚“。

        Section "Pointer"
            Protocol    "mousesystems"
            Device      "/dev/mumse"
        EndSection

    /var/log/xdm.log ã®å†…容を見ã¦ã¿ã‚‹ã¨ã€

        Warning: /dev/mumse unable to get status of mouse fd (Invalid argument)

    ã¨ã„ã†ã‚¨ãƒ©ãƒ¼ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒæ®‹ã£ã¦ã„ã¾ã™ã€‚


環境ã¯ã€8月頃㮠woody + kernel-2.2.17 + xfree86-3.3.6 + imultimouse-2.3.2-2
ã§ã™ã€‚ã¾ãŸã€å„デãƒã‚¤ã‚¹ã® permission ã¯æ¬¡ã®ã‚ˆã†ã«ãªã£ã¦ã„ã¾ã™ã€‚

        prw-r--r--    1 root     root            0 Oct  7 17:05 /dev/mumse
        crw-------    1 root     root      10,   1 Oct  7 16:57 /dev/psaux
        crw-r--r--    1 root     root      10,  32 Oct  7 15:33 /dev/usbmouse

ã¨ã„ã†çŠ¶æ³ãªã®ã§ã™ãŒã€ã©ã†ã™ã‚Œã°è¤‡æ•°ã®ãƒžã‚¦ã‚¹ãŒåŒæ™‚ã«ä½¿ãˆã‚‹ã‚ˆã†ã«ãªã‚‹ã§
ã—ょã†ã‹?


-- 
土屋 雅稔  ( TSUCHIYA Masatoshi )
    http://www-nagao.kuee.kyoto-u.ac.jp/member/tsuchiya/