[Risolto] Samsung nc10 e Touchpad Mutlitouch

Salve, sono in possesso di questo netbook che ha un touchpad synaptics con teconologia multitouch (o almeno così sembra).
Sotto Xp, utilizzando due dita, sono in grado di effettuare zoom delle immagini e delle pagine web (un po’ come sui nuovi macbook).
E’ possibile replicare la stessa funzione sotto fedora 11?
Premetto che ho già installato gsynaptics, ma se abilito lo scrolling con due dita, questo non funziona.

Cercando su internet ho trovato che il multitouch sotto linux arriverà con il kernel 2.6.30. Potrebbe essere questo il problema?

Grazie in anticipo.

Ho guardato un po’ in giro e http://www.fedora-eee.com/index.php?p=1_10 mi sembra interessante, non è precisamente il tuo, ma credo che ti possa dare qualche dritta.

Ciao, Grazie del consiglio.
Ho trovato anche qualche altra guida molto simile, tra cui http://www.ibm.com/developerworks/opensource/library/os-touchpad/index.html e http://forum.eeepc.it/viewtopic.php?id=7854 ma eseguendo “synclient -m 100” ho questo risultato (sia da root che come utente normale):

# synclient -m 100 Can't access shared memory area. SHMConfig disabled?
Quindi la configurazione SHM non è abilitata di default. Per abilitarla ho creato il xorg.conf e aggiunto la configurazione come da seconda guida.
Ma nel log di xorg addirittura non riesce a caricare i driver synaptics.
Invece senza xorg.conf il mouse synaptics viene riconosciuto ma non abilita l’SHMConfig.
Qualche idea?

Grazie.

Ps. Posto parte dei log:
Queto senza xorg.conf:

code Macintosh mouse button emulation: always reports core events
() Macintosh mouse button emulation: Device: “/dev/input/event4”
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(
) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
() Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device “Macintosh mouse button emulation” (type: MOUSE)
(
) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
() Macintosh mouse button emulation: (accel) filter chain progression: 2.00
(
) Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
() Macintosh mouse button emulation: (accel) set acceleration profile 0
(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(II) LoadModule: “synaptics”
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor=“X.Org Foundation”
compiled for 1.6.1.901, module version = 1.1.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 4.0
(II) Synaptics touchpad driver version 1.1.0
(
) Option “Device” “/dev/input/event7”
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
(II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle
(–) SynPS/2 Synaptics TouchPad touchpad found
() SynPS/2 Synaptics TouchPad: always reports core events
(II) XINPUT: Adding extended input device “SynPS/2 Synaptics TouchPad” (type: TOUCHPAD)
(
) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
() SynPS/2 Synaptics TouchPad: (accel) filter chain progression: 2.00 () SynPS/2 Synaptics TouchPad: (accel) filter stage 0: 20.00 ms
(**) SynPS/2 Synaptics TouchPad: (accel) set acceleration profile 0
(–) SynPS/2 Synaptics TouchPad touchpad found[/code]
e questo con:

code config/hal: Adding input device Macintosh mouse button emulation
() Macintosh mouse button emulation: always reports core events
(
) Macintosh mouse button emulation: Device: “/dev/input/event4”
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
() Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(
) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device “Macintosh mouse button emulation” (type: MOUSE)
() Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(
) Macintosh mouse button emulation: (accel) filter chain progression: 2.00
() Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
(
) Macintosh mouse button emulation: (accel) set acceleration profile 0
(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(II) Synaptics touchpad driver version 1.1.0
(**) Option “Device” “/dev/input/event7”
(–) SynPS/2 Synaptics TouchPad: no supported touchpad found
(EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device “SynPS/2 Synaptics TouchPad”
(II) UnloadModule: “synaptics”
(EE) config/hal: NewInputDeviceRequest failed (8)[/code]
e ecco il xorg.conf:

Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" EndSection ... Section "InputDevice" Identifier "Mouse0" Driver "synaptics" Option "SHMConfig" "on" EndSection ...

Hai provato ad inserire una nuova sezione “InputDevice” con identificazione “SynapticsTouchpad” come spiegato nel secondo link?

confermo quanto dice l’ottimo Mailga riguarda il multitouch, esso può essere abilitato.
occorre, però, “istruire” adeguatamente Hal.

Ciao, ho già creato questo file in /usr/share/hal/fdi/policy/10-synaptics.fdi:

<?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="info.product" contains="ETPS/2 Elantech Touchpad"> <merge key="input.x11_driver" type="string">synaptics</merge> <merge key="input.x11_options.SHMConfig" type="string">on</merge> .... <merge key="input.x11_options.CircScrollDelta" type="string">0.3</merge> </match> </device> </deviceinfo>
La guida del secondo link l’ho seguita e proprio perché nn ha funzionato che ho chiesto qui… (a meno che non mi sono perso qualche passaggio o è sbagliato il nome del file?).

EDIT: L’ho segiuta anche troppo, il mio touchpad si chiama “SynPS/2 Synaptics TouchPad” e non “ETPS/2 Elantech Touchpad”. Quindi sostituendo la stringa qui sopra ora synclient funziona, ma ancora il twofinger scrolling non ne vuole sapere.

Ok, dopo vari tentativi sono giunto alla soluzione del problema8-):
Il touchpad dell’nc10 non è effettivamente multitouch (o almeno così ho capito), lo si evince seguendo la prima guida da me citata.

Questa appunto suggerisce di eseguire il comando # synclient -m 100 time x y z f w l r u d m multi gl gm gr gdx gdy 0.001 1 5855 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0 1.103 4392 1741 54 1 8 0 0 0 0 0 00000000 0 0 0 0 0 1.203 4386 1690 57 1 9 0 0 0 0 0 00000000 0 0 0 0 0 1.303 4393 1703 57 1 9 0 0 0 0 0 00000000 0 0 0 0 0 1.403 4393 1727 58 1 9 0 0 0 0 0 00000000 0 0 0 0 0 1.504 4429 2231 58 1 8 0 0 0 0 0 00000000 0 0 0 0 0 1.604 4451 2528 58 1 8 0 0 0 0 0 00000000 0 0 0 0 0 1.704 4507 2012 58 1 8 0 0 0 0 0 00000000 0 0 0 0 0 1.804 4539 1740 58 1 7 0 0 0 0 0 00000000 0 0 0 0 0 1.905 4534 1882 24 1 7 0 0 0 0 0 00000000 0 0 0 0 0 2.005 1 5855 1 1 5 0 0 0 0 0 00000000 0 0 0 0 0 2.105 1 5855 0 0 0 0 0 0 0 0 00000000 0 0 0 0 0 e controlare la colonna f (n° di dita usate). Nel mio caso questa assume il valore massimo di 1 e non di 3 come nell’esempio della guida.

Per attivare il TwoFingerScrolling è necessario aggiungere, nel file del post precedente, le opzioni:

<merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">10</merge> <merge key="input.x11_options.EmulateTwoFingerMinW" type="string">6</merge>

In questo modo si emula l’uso delle due dita.

Ringrazio Mailga e Virus per i suggerimenti.
Ciao:-)