Forum » Operacijski sistemi » Linux Synaptics touchpad driverji
Linux Synaptics touchpad driverji
c0dehunter ::
Rad bi si naštimal, da bi lahko z touchpadom scrollal. Našel sem program gSynaptics, ki pa je zastarel in priporočajo uporabo gPointing Device Settings programa, tako da sem namestil tega. Problem je, ker mi sploh ne prikaže toucpad možnosti za izbrat, pač pa samo PS/2 miš (glej sliko spodaj).
Če poženem ukaz "synclient -l" mi izpiše "Couldn't find synaptics properties. No synaptics driver loaded?".
Zanima me kaj še naj poskusim?
Če poženem ukaz "synclient -l" mi izpiše "Couldn't find synaptics properties. No synaptics driver loaded?".
Zanima me kaj še naj poskusim?
I do not agree with what you have to say,
but I'll defend to the death your right to say it.
but I'll defend to the death your right to say it.
- zavaroval slike: bluefish ()
Zero0ne ::
Najbolje, da v /etc/X11/xorg.conf definiraš touchpad kot neodvisen input device. Tole spodaj je primer, ki ga uporabljam na svojem netbooku (eeePC 901), moral pa bi delovati na kateremkoli generičnem touchpadu.
Ne pozabi ga seveda omeniti v sekciji ServerLayout.
Section "InputDevice" Identifier "SynapticsTouchpad" Driver "synaptics" Option "AlwaysCore" "true" # send events to CorePointer #Option "Device" "/dev/input/mice" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "SHMConfig" "false" # configurable at runtime? security risk Option "LeftEdge" "1700" # x coord left Option "RightEdge" "5300" # x coord right Option "TopEdge" "1700" # y coord top Option "BottomEdge" "4200" # y coord bottom Option "FingerLow" "25" # pressure below this level triggers release Option "FingerHigh" "30" # pressure above this level triggers touch Option "MaxTapTime" "180" # max time in ms for detecting tap Option "VertEdgeScroll" "true" # enable vertical scroll zone Option "HorizEdgeScroll" "true" # enable horizontal scroll zone Option "CornerCoasting" "true" # enable continuous scroll with finger in corner Option "CoastingSpeed" "0.30" # corner coasting speed Option "VertScrollDelta" "100" # edge-to-edge scroll distance of the vertical scroll Option "HorizScrollDelta" "100" # edge-to-edge scroll distance of the horizontal scroll Option "MinSpeed" "0.10" # speed factor for low pointer movement Option "MaxSpeed" "0.60" # maximum speed factor for fast pointer movement Option "AccelFactor" "0.0020" # acceleration factor for normal pointer movements Option "VertTwoFingerScroll" "true" # vertical scroll anywhere with two fingers Option "HorizTwoFingerScroll" "true" # horizontal scroll anywhere with two fingers Option "TapButton1" "1" Option "TapButton2" "2" Option "TapButton3" "3" EndSection
Ne pozabi ga seveda omeniti v sekciji ServerLayout.
c0dehunter ::
Zero0ne, ravno tu je problem - namreč na googlu sem našel že marsikatero rešitev, ki pa je zadevala xorg.conf. Jaz v /etc/X11/ nimam xorg.conf datoteke (baje se v novejših verzijah X.org sploh ne uporablja več.
Edit:
tole je v etc/X11:
Edit:
tole je v etc/X11:
c0dehunter@b0x2 /etc/X11 $ ls app-defaults rgb.txt xkb Xsession.d Xwrapper.config default-display-manager X Xresources Xsession.options fonts xinit Xsession XvMCConfig
I do not agree with what you have to say,
but I'll defend to the death your right to say it.
but I'll defend to the death your right to say it.
Zgodovina sprememb…
- spremenilo: c0dehunter ()
Zero0ne ::
Uporablja se tudi v novejših verzijah, je pa res, da se zadnje čase v nekaterih out-of-the-box distribucijah uporablja hal, zato ni potrebna. Jo pa lahko še vedno napišeš sam oziroma uporabiš X -configure in dodaš zgoraj navedeno.
c0ck4m0u53 ::
Sicer ti je že ZeroOne opisal kako se lahko lotiš zadeve, pa vendar je možno, po vsej verjetnosti pridobiti enako funkcionalnost tudi ob odsotnosti xorg.conf datoteke. Ker ne vem katero distribucijo linuxa uporabljaš ti predlagam, da poškiliš na Arch Wiki. Na linku imaš opisani obe metodi tako z kakor tudi brez uporabe xorg.conf datoteke.
c0dehunter ::
Hvala obema, poskusil bom konfigurirat kar HAL nastavitve, ker kolikor berem je zelo razumljivo razloženo.
I do not agree with what you have to say,
but I'll defend to the death your right to say it.
but I'll defend to the death your right to say it.
c0dehunter ::
Tale post bom poskušal razdrobit na 2 dela, da bo bolj razumljivo. Še to, uporabljam Linux Mint 8 (Helena); v bistvu je to Ubuntu z proprietary driverji in nekaterimi drugimi bonbončki.
1. (včeraj) poskusil Zero0ne-ovo metodo. Z root pravicami sem v ustrezni mapi ustvaril xorg.conf in notri kopiral kodo, ki jo je prilepil Zero0ne, ter datoteko shranil.
Vendar, nato nisem siguren kaj naj bi pomenilo "Ne pozabi ga seveda omeniti v sekciji ServerLayout.", saj sem xorg.conf na novo ustvaril in (logično) ni notri nobene ServerLayout sekcije.
Poskusil sem še v terminalu z sudo X -configure, ampak mi zmeraj teži da na zaslonu 0 še vedno teče X server. Pritisnil sem ctrl+alt+f2, in ubil Xorg proces, ampak se je samo restartal. Torej tole ne vem kak bi izvedel, oziroma ali je tale -configure samo alternativna metoda tisti prejšnji, al je to nujen korak.
2. Prebral Arch Wiki, kot si svetoval Mare4. Vendar pa se je vmes zataknilo, saj ne morem preko slednjega koraka:
ker 11-x11-synaptics.fdi ne obstaja.
Raziskovat sem šel naprej, z ukazom xinput list. Ta mi ne izpiše ničesar, kar bi vsebovalo keyword "ALPS", "Touchpad", ali "Synaptics" - sem pa našel slednje (mislim da je tole touchpad):
Na koncu tega posta sem priložil celoten izpis, če pomaga komu kaj.
No, pri tej 2. metodi sem pa tu stuck.
Celoten izpis "xinput list" (optional):
1. (včeraj) poskusil Zero0ne-ovo metodo. Z root pravicami sem v ustrezni mapi ustvaril xorg.conf in notri kopiral kodo, ki jo je prilepil Zero0ne, ter datoteko shranil.
Vendar, nato nisem siguren kaj naj bi pomenilo "Ne pozabi ga seveda omeniti v sekciji ServerLayout.", saj sem xorg.conf na novo ustvaril in (logično) ni notri nobene ServerLayout sekcije.
Poskusil sem še v terminalu z sudo X -configure, ampak mi zmeraj teži da na zaslonu 0 še vedno teče X server. Pritisnil sem ctrl+alt+f2, in ubil Xorg proces, ampak se je samo restartal. Torej tole ne vem kak bi izvedel, oziroma ali je tale -configure samo alternativna metoda tisti prejšnji, al je to nujen korak.
2. Prebral Arch Wiki, kot si svetoval Mare4. Vendar pa se je vmes zataknilo, saj ne morem preko slednjega koraka:
cp /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi /etc/hal/fdi/policy/
ker 11-x11-synaptics.fdi ne obstaja.
Raziskovat sem šel naprej, z ukazom xinput list. Ta mi ne izpiše ničesar, kar bi vsebovalo keyword "ALPS", "Touchpad", ali "Synaptics" - sem pa našel slednje (mislim da je tole touchpad):
"Macintosh mouse button emulation" id=8 [XExtensionPointer] Type is MOUSE Num_buttons is 5 Num_axes is 2 Mode is Relative Motion_buffer is 256 Axis 0 : Min_value is -1 Max_value is -1 Resolution is 1 Axis 1 : Min_value is -1 Max_value is -1 Resolution is 1
Na koncu tega posta sem priložil celoten izpis, če pomaga komu kaj.
No, pri tej 2. metodi sem pa tu stuck.
Celoten izpis "xinput list" (optional):
"Virtual core pointer" id=0 [XPointer] Num_buttons is 32 Num_axes is 2 Mode is Relative Motion_buffer is 256 Axis 0 : Min_value is -1 Max_value is -1 Resolution is 0 Axis 1 : Min_value is -1 Max_value is -1 Resolution is 0 "Virtual core keyboard" id=1 [XKeyboard] Num_keys is 248 Min_keycode is 8 Max_keycode is 255 "AT Translated Set 2 keyboard" id=2 [XExtensionKeyboard] Type is KEYBOARD Num_keys is 248 Min_keycode is 8 Max_keycode is 255 "MLK USB Multi-Smart Mouse" id=3 [XExtensionKeyboard] Type is KEYBOARD Num_keys is 248 Min_keycode is 8 Max_keycode is 255 Num_buttons is 20 Num_axes is 2 Mode is Relative Motion_buffer is 256 Axis 0 : Min_value is -1 Max_value is -1 Resolution is 1 Axis 1 : Min_value is -1 Max_value is -1 Resolution is 1 "Power Button" id=4 [XExtensionKeyboard] Type is KEYBOARD Num_keys is 248 Min_keycode is 8 Max_keycode is 255 "Fujitsu FUJ02B1" id=5 [XExtensionKeyboard] Type is KEYBOARD Num_keys is 248 Min_keycode is 8 Max_keycode is 255 "Video Bus" id=6 [XExtensionKeyboard] Type is KEYBOARD Num_keys is 248 Min_keycode is 8 Max_keycode is 255 "Power Button" id=7 [XExtensionKeyboard] Type is KEYBOARD Num_keys is 248 Min_keycode is 8 Max_keycode is 255 "Macintosh mouse button emulation" id=8 [XExtensionPointer] Type is MOUSE Num_buttons is 5 Num_axes is 2 Mode is Relative Motion_buffer is 256 Axis 0 : Min_value is -1 Max_value is -1 Resolution is 1 Axis 1 : Min_value is -1 Max_value is -1 Resolution is 1 "PS/2 Generic Mouse" id=9 [XExtensionPointer] Type is MOUSE Num_buttons is 5 Num_axes is 2 Mode is Relative Motion_buffer is 256 Axis 0 : Min_value is -1 Max_value is -1 Resolution is 1 Axis 1 : Min_value is -1 Max_value is -1 Resolution is 1
I do not agree with what you have to say,
but I'll defend to the death your right to say it.
but I'll defend to the death your right to say it.
c0dehunter ::
BaRtMaN, vem da se sliši čudno, ampak dexconf mi sploh ne ustvari xorg.conf. Poskusil sem tudi z zastavo -o (--output) in da bi zapisal v eno drugo datoteko, pa je ni pol nikjer.
Dokaz:
Dokaz:
c0dehunter@b0x2 //etc/X11 $ ls -a . default-display-manager X Xresources Xsession.options .. fonts xinit Xsession XvMCConfig app-defaults rgb.txt xkb Xsession.d Xwrapper.config c0dehunter@b0x2 //etc/X11 $ sudo dexconf c0dehunter@b0x2 //etc/X11 $ ls -a . default-display-manager X Xresources Xsession.options .. fonts xinit Xsession XvMCConfig app-defaults rgb.txt xkb Xsession.d Xwrapper.config c0dehunter@b0x2 //etc/X11 $
I do not agree with what you have to say,
but I'll defend to the death your right to say it.
but I'll defend to the death your right to say it.
c0dehunter ::
Še to, uporabljam Linux Mint 8 (Helena); v bistvu je to Ubuntu z proprietary driverji in nekaterimi drugimi bonbončki.
I do not agree with what you have to say,
but I'll defend to the death your right to say it.
but I'll defend to the death your right to say it.
c0ck4m0u53 ::
Kot si sam ugotovil datoteka 11-x11-synaptics.fdi pri tebi ne obstaja, kar pa ti ne preprečuje, da jo ustvariš sam in prekopiraš na ustrezno mesto (/etc/hal/fdi/policy/). Torej odpreš poljubni urejevalnik tekstovnih datotek in notri prilepiš oziroma po potrebi dopišeš še potrebne konfiguracijske elemente poleg teh
Datoteko shraniš pod imenom 11-x11-synaptics.fdi in kot root oziroma s pomočjo sudo prekopiraš v /etc/hal/fdi/policy/.
P.S. Navedi prosim še model prenosnika
<?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.touchpad"> <match key="info.product" contains="Synaptics TouchPad"> <merge key="input.x11_driver" type="string">synaptics</merge> </match> <match key="info.product" contains="AlpsPS/2 ALPS"> <merge key="input.x11_driver" type="string">synaptics</merge> </match> <match key="info.product" contains="appletouch"> <merge key="input.x11_driver" type="string">synaptics</merge> </match> <match key="info.product" contains="bcm5974"> <merge key="input.x11_driver" type="string">synaptics</merge> </match> <merge key="input.x11_options.MinSpeed" type="string">0.1</merge> <merge key="input.x11_options.MaxSpeed" type="string">0.4</merge> <merge key="input.x11_options.AccelFactor" type="string">0.002</merge> <merge key="input.x11_options.SHMConfig" type="string">on</merge> <merge key="input.x11_options.TapButton1" type="string">1</merge> <merge key="input.x11_options.TapButton2" type="string">2</merge> <merge key="input.x11_options.TapButton3" type="string">3</merge> <merge key="input.x11_options.FastTaps" type="string">1</merge> <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge> <merge key="input.x11_options.VerteScrollDelta" type="string">2</merge> <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge> <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge> <merge key="input.x11_options.HorizScrollDelta" type="string">1</merge> <merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge> <merge key="input.x11_options.CircularScrolling" type="string">true</merge> <merge key="input.x11_options.CircScrollTrigger" type="string">8</merge> <merge key="input.x11_options.CircScrollDelta" type="string">0.1</merge> <merge key="input.x11_options.LeftEdge" type="string">2000</merge> <merge key="input.x11_options.TopEdge" type="string">2000</merge> </match> </device> </deviceinfo>
Datoteko shraniš pod imenom 11-x11-synaptics.fdi in kot root oziroma s pomočjo sudo prekopiraš v /etc/hal/fdi/policy/.
P.S. Navedi prosim še model prenosnika
Zgodovina sprememb…
- spremenil: c0ck4m0u53 ()
preem ::
scroll z touchpadom? Še nisem videl laptopa, da to ne bi delalo out of the box. Zakaj tebi ne? Jaz imam tudi Mint 8, na Dellu Inspiron 1525.
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | c++ rabim pomoč konstuktorjiOddelek: Programiranje | 1083 (778) | Snowflake2 |
» | Težave z resolucijo na Linux sistemuOddelek: Operacijski sistemi | 1461 (1243) | INVICTRA |
» | radeon 9200 suse10 brightness problemOddelek: Operacijski sistemi | 1940 (1756) | roli |
» | slackware 10.2 in usb mouseOddelek: Operacijski sistemi | 1575 (1417) | Mulh |
» | Gentoo setup problemOddelek: Operacijski sistemi | 1730 (1554) | G2 |