mys

Sekcia: Konfigurácia 07.11.2005 | 19:07
Avatar daimonion kubuntu  Používateľ
nejak mi nejde kolecko na myske. Ak ho stlacim tak ide (je aktivene) a ak nim zatocim tak mi to nejde(nejde posunut napr. web stranka). Nemoze to byt niekde v nastaveniach KDE ? Tu je moja cast z xorg.conf: Section "InputDevice" # Identifier and driver Identifier "Mouse1" Driver "mouse" # Option "Protocol" "Auto" Option "Protocol" "PS/2" Option "Device" "/dev/mouse" # Option "Device" "/dev/psaux" # Option "Device" "/dev/ttyS0" # Option "Device" "/dev/ttyS1" # Option "Protocol" "Xqueue" # Option "BaudRate" "9600" # Option "SampleRate" "150" # Option "Emulate3Buttons" Option "Emulate3Timeout" "50" Option "ChordMiddle" EndSection
    • Re: mys 06.11.2005 | 14:02
      peter golis   Návštevník
      nemal by tam byt nastaveny iny protokol?
    • Re: mys 06.11.2005 | 14:04
      Avatar Samuel Cengel <b>Archlinux</b>  Používateľ
      Dobre by bolo napisat, aka to je myska, znacka, ci je usb, ps/2 atd... Pokial pozeram, asi bude ps/2. Skuste toto:
      Section "InputDevice"
      	Identifier  "PS/2 Mouse"
      	Driver      "mouse"
      	Option      "Protocol" "IMPS/2"
      	Option          "ZAxisMapping"          "4 5"
      	Option      "Device" "/dev/psaux"
      	Option	    "Buttons" "5"
      	Option	    "InputFashion" "mouse"
      	Option      "Emulate3Buttons" "true"
      	Option      "Emulate3Timeout" "70"
      	Option	    "SendCoreEvents"  "true"
      EndSection
      
      pripadne zmente protokol na PS/2 alebo prislusny podla vyrobcu mysky, takisto je mozne zmenit este vela veci, treba skusit a napisat to tu.
      • Re: Re: mys 06.11.2005 | 16:04
        Avatar daimonion kubuntu  Používateľ
        moja myska je : P/N: PS2-800 , MODEL : SPM001 skusal som a nefunguje to , ak ak som dal Identifier "PS/2 Mouse" tak som dokonca nenastartoval x server.
        • Re: Re: Re: mys 06.11.2005 | 16:46
          rs   Návštevník
          nestaci do tej sekcie dopisat ? Option "ZAxisMapping" "4 5" a este otazka kolko to ma tlacitok ?
        • Re: Re: Re: mys 06.11.2005 | 16:57
          peter golis   Návštevník
          nastavenie mysi v linuxe/xwindows sa riesi velmi jednoducho. nastavenie zariadenia mysi, nastavenie protokolu, nastavenie poctu tlacitiek, nastavenie poradia tlacitiek. ja mam obycajnu (aj ked usb) mys nastavenu: Device /dev/input/mice Protocol IMPS/2 Buttons 5 ZAxisMapping 4 5 Emulate3Buttons off a v .xinitrc mam nastavenie poradia tlacitiek: xmodmap -e "pointer = 1 2 3 4 5" mam to tak z jednoducheho dovodu. Mys je fyzicky 3 tlacitkova (kolecko funguje ako tretie, stredne tlacitko). Avsak komunikacny protokol mysi tvrdi ze kolecko nie je kolecko, ale dalsie dve tlacitka. preto ju mam skonfigurovanu ako 5 tlacitkovu. ps.: viac o tom povie prikaz man 5 xorg.conf
          • Re: Re: Re: Re: mys 06.11.2005 | 20:03
            Avatar daimonion kubuntu  Používateľ
            ak som dal volbu Buttons 5 tak mi nenastartuje x server a hlasi chybu, ak som dopisal Option "ZAxisMapping" "4 5" tak ziadna zmena sa neudiala. :(
            • Re: Re: Re: Re: Re: mys 06.11.2005 | 20:06
              peter golis   Návštevník
              zabudol si pripoenut kolko tlacitiek ma dana mys. a aku chybu to oznamil start xwindows?
              • Re: Re: Re: Re: Re: Re: mys 06.11.2005 | 22:39
                Avatar daimonion kubuntu  Používateľ
                myska ma 2 tlacitka+kolecko. a start xwindow ohlasil ze nepozna "buttons"
                • Re: Re: Re: Re: Re: Re: Re: mys 06.11.2005 | 23:15
                  peter golis   Návštevník
                  a ako to bolo napisane do konfiguraku? tak ako to napisal samo?
                  • Re: Re: Re: Re: Re: Re: Re: Re: mys 07.11.2005 | 16:34
                    Avatar daimonion kubuntu  Používateľ
                    ak som to napisal bez volby option tak xserver nahlsil chybu , potom som to dal z option a ziadna zmena sa neudiala :( . Skusal som aj zapnut gesta mysy v khotkeys a nejak nepomohlo :(
                    • Re: Re: Re: Re: Re: Re: Re: Re: Re: mys 07.11.2005 | 17:06
                      peter golis   Návštevník
                      option znamena volba. teda to slovo je potrebne. ja by som odporucil napisat tak ako to dal samo, len s tym ze device by mohlo byt /dev/input/mice a bez riadkov Emulate3Button... a v terminali (kterm,xterm,...) navyse spustit xmodmap -e "pointer = 1 2 3 4 5" ak sa to nepodari, tak bydeme p[otrebovat tvoj xorg.cinfig a aktualny log z X Sessny (/var/log/X.?...)
                      • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: mys 07.11.2005 | 17:45
                        daimonion   Návštevník
                        takze zase mi nenastartoval y server z hlasenim ze nevie najst /dev/input/mice . tento prikaz: xmodmap -e "pointer = 1 2 3 4 5" vobec nefungoval :( . Takze tu je este raz moj xorg.conf aj z okomentovanymi vecami: Section "InputDevice" # Identifier and driver Identifier "Mouse1" Driver "mouse" # On platforms where PnP mouse detection is supported the following # protocol setting can be used when using a newer PnP mouse: # Option "Protocol" "Auto" # The available mouse protocols types that you can set below are: # Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2 # Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2 # MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse # ThinkingMouse ThinkingMousePS/2 Xqueue Option "Protocol" "PS/2" # The mouse device. The device is normally set to /dev/mouse, # which is usually a symbolic link to the real device. Option "Device" "/dev/mouse" # Option "Device" "/dev/psaux" # Option "Device" "/dev/ttyS0" # Option "Device" "/dev/ttyS1" # When using XQUEUE, comment out the above two lines, and uncomment # the following line. # Option "Protocol" "Xqueue" # Baudrate and SampleRate are only for some Logitech mice. In # almost every case these lines should be omitted. # Option "BaudRate" "9600" # Option "SampleRate" "150" # Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) # Option "Emulate3Buttons" "off" # Option "Emulate3Timeout" "50" # ChordMiddle is an option for some 3-button Logitech mice # Option "ChordMiddle" Option "ZAxisMapping" "4 5" Option "Buttons" "5" EndSection a dalej tu je cast log -u: (II) LoadModule: "mouse" (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o (II) Module mouse: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 0.4 a dalsia cast log -u: (**) Option "Protocol" "PS/2" (**) Mouse1: Device: "/dev/mouse" (**) Mouse1: Protocol: "PS/2" (**) Option "CorePointer" (**) Mouse1: Core Pointer (**) Option "Device" "/dev/mouse" (**) Option "Buttons" "5" (==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 (**) Option "ZAxisMapping" "4 5" (**) Mouse1: ZAxisMapping: buttons 4 and 5 (**) Mouse1: Buttons: 5
                        • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: mys 07.11.2005 | 18:41
                          peter golis   Návštevník
                          ak neexistuje zariadenie /dev/input/mice tak asi nie je zodpovedajuca podpora v kerneli. nejedna sa o kriticku chybu. toto sa vyuziva vacsinou pri notebookoch ak ma clovek mys, touchpad a ten stick co sa z nim hnusne hybe. vtedy vsetky 3 zariadenia komunikuju cez jedno rozhranie a nie je potreba specifikovat vsetky 3 zariadenia. ale aby sme boli presny, tak protokol PS/2 nepozna scroller, skusil si tam dat IMPS/2 ? ten je urceny pre mysi s koleckom. ak to nastartuje (co je viac ako pravdepodobne), tak by malo stacit spustit prikaz: xmodmap -e "pointer = 1 2 3 4 5" aby sa povedalo mysi poradie tlacitiek.
                          • Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: my 07.11.2005 | 19:07
                            Avatar daimonion kubuntu  Používateľ
                            tak spravil som to a FUNGUJE to . Dakujem za radu, konecene mozem pouzivat kolecko.