Subject: Re: Synaptics Touchpad+X
To: =?ISO-8859-1?Q?G=E1bor_G=E1bris?= <gabrisgabor@gmail.com>
From: Volkmar Seifert <vs@nifelheim.info>
List: netbsd-users
Date: 01/28/2007 20:20:52
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4CDFA6D01B4E5427DEECC0B7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,

I am not sure, if this helps, since I never tried this using NetBSD, but
 if I understood your problem right, you have troubles using your
touchpad with xorg, and xorg should be the same no matter which OS is
used to run it.
The xorg xserver has its own driver for the synaptics touchpad, which
should be installed and loaded through the xorg.conf-file.
In the Input-Device-Section, where you then define your mouse, you
simply use the synaptics driver, give it some proper
initialization-values (see manpage of the driver), and that should be it.=

You can then configure your touchpad using programs like gsynaptics or
qsynaptics or ksynaptics. Of course, all of these options you can adjust
with these programs can be set directly in the xorg.conf-file, too. Jut
have a look at the manpage of the driver.

Here an excerpt of my own xorg.conf-file (using a linux a underlying OS):=


<snip>

Section "Module"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
        Load    "synaptics"
EndSection

Section "InputDevice"
        Identifier      "TouchPad"
        Option          "CorePointer"
        Driver          "synaptics"
        Option          "Device"        "/dev/input/mice"
        Option          "Protocol"      "auto-dev"
        Option          "SHMConfig"     "on"
EndSection


</snip>

G=E1bor G=E1bris wrote:
> Hi!
> I have a problem with my Synaptics Touchpad: I cannot use it's wheel
> function, although the pms driver supports it.
>=20
> The relevant (AFAIK, full dmesg is at the end of message) parts of dmes=
g:
>=20
> pckbc0 at isa0 port 0x60-0x64
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pms0: Synaptics touchpad version 6.3
> pms0: Up/down buttons, Palm detect, Multi-finger
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
>=20
> In the kernel config I have:
>=20
> options         PMS_SYNAPTICS_TOUCHPAD
>=20
> XF86Config, InputDevice section:
>=20
> Section "InputDevice"
>=20
> # Identifier and driver
>=20
>    Identifier  "Mouse1"
>    Driver      "mouse"
>    Option "Protocol"    "wsmouse"
>    Option "Device"      "/dev/wsmouse"
>    Option "Buttons"    "5"
>    Option      "ZAxisMapping"  "4 5"
>=20
> I tried to tweak sysctl settings of pms driver:
>=20
> hw.synaptics.up_down_emulation=3D{0|1|2} - none of the three values wor=
ked
>=20
> I have no other ideas... If anyone can help or made a Synaptics
> touchpad work under X, please respond!
>=20
> Full dmesg output:
>=20
> NetBSD 3.1 (TPKERNEL) #0: Tue Jan 23 23:32:41 CET 2007
>        root@.E-tech:/usr/src/sys/arch/i386/compile/TPKERNEL
> total memory =3D 446 MB
> avail memory =3D 428 MB
> BIOS32 rev. 0 found at 0xfd6f0
> mainbus0 (root)
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Intel Pentium Pro, II or III (686-class), 1596.18 MHz, id 0x6e8
> cpu0: features afe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTR=
R>
> cpu0: features afe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
> cpu0: features afe9fbff<FXSR,SSE,SSE2,SS,TM,SBF>
> cpu0: features2 c109<SSE3,MONITOR,TM2,xTPR>
> cpu0: "Intel(R) Celeron(R) M CPU        420  @ 1.60GHz"
> cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
> cpu0: running without thermal monitor!
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> pchb0 at pci0 dev 0 function 0
> pchb0: VIA Technologies product 0x0314 (rev. 0x00)
> agp0 at pchb0: aperture at 0xe0000000, size 0xf500000
> pchb1 at pci0 dev 0 function 1
> pchb1: VIA Technologies product 0x1314 (rev. 0x00)
> pchb2 at pci0 dev 0 function 2
> pchb2: VIA Technologies product 0x2314 (rev. 0x00)
> pchb3 at pci0 dev 0 function 3
> pchb3: VIA Technologies product 0x3208 (rev. 0x00)
> pchb4 at pci0 dev 0 function 4
> pchb4: VIA Technologies product 0x4314 (rev. 0x00)
> pchb5 at pci0 dev 0 function 7
> pchb5: VIA Technologies product 0x7314 (rev. 0x00)
> ppb0 at pci0 dev 1 function 0: VIA Technologies VT8377CE CPU-AGP
> Bridge (rev. 0x00)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> vga1 at pci1 dev 0 function 0: VIA Technologies product 0x3344 (rev. 0x=
01)
> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> cbb0 at pci0 dev 14 function 0: ENE Technology product 0x1412 (rev. 0x1=
0)
> cbb0: NOT USED because of unconfigured interrupt
> ENE Technology product 0x0530 (flash memory, revision 0x01) at pci0
> dev 14 function 1 not configured
> ENE Technology product 0x0550 (system subclass 0x05, interface 0x01,
> revision 0x01) at pci0 dev 14 function 2 not configured
> ENE Technology product 0x0551 (flash memory, revision 0x01) at pci0
> dev 14 function 4 not configured
> viaide0 at pci0 dev 15 function 0
> viaide0: VIA Technologies VT8237 SATA Controller (rev. 0x80)
> viaide0: bus-master DMA support present
> viaide0: primary channel configured to native-PCI mode
> viaide0: using irq 10 for native-PCI interrupt
> atabus0 at viaide0 channel 0
> viaide0: secondary channel configured to native-PCI mode
> atabus1 at viaide0 channel 1
> viaide1 at pci0 dev 15 function 1
> viaide1: VIA Technologies VT8237 ATA133 controller
> viaide1: bus-master DMA support present
> viaide1: primary channel configured to compatibility mode
> viaide1: primary channel interrupting at irq 14
> atabus2 at viaide1 channel 0
> viaide1: secondary channel configured to compatibility mode
> viaide1: secondary channel interrupting at irq 15
> atabus3 at viaide1 channel 1
> uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB
> Controller (rev. 0x81)
> uhci0: interrupting at irq 9
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=

> uhub0: 2 ports with 2 removable, self powered
> uhci1 at pci0 dev 16 function 1: VIA Technologies VT83C572 USB
> Controller (rev. 0x81)
> uhci1: interrupting at irq 9
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=

> uhub1: 2 ports with 2 removable, self powered
> uhci2 at pci0 dev 16 function 2: VIA Technologies VT83C572 USB
> Controller (rev. 0x81)
> uhci2: interrupting at irq 10
> usb2 at uhci2: USB revision 1.0
> uhub2 at usb2
> uhub2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=

> uhub2: 2 ports with 2 removable, self powered
> uhci3 at pci0 dev 16 function 3: VIA Technologies VT83C572 USB
> Controller (rev. 0x81)
> uhci3: interrupting at irq 10
> usb3 at uhci3: USB revision 1.0
> uhub3 at usb3
> uhub3: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1=

> uhub3: 2 ports with 2 removable, self powered
> ehci0 at pci0 dev 16 function 4: VIA Technologies VT8237 EHCI USB
> Controller (rev. 0x86)
> ehci0: interrupting at irq 7
> ehci0: BIOS refuses to give up ownership, using force
> ehci0: EHCI version 1.0
> ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
> usb4 at ehci0: USB revision 2.0
> uhub4 at usb4
> uhub4: VIA Technologie EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub4: single transaction translator
> uhub4: 8 ports with 8 removable, self powered
> pcib0 at pci0 dev 17 function 0
> pcib0: VIA Technologies VT8237 (Apollo KT600) PCI-ISA Bridge (rev. 0x00=
)
> auvia0 at pci0 dev 17 function 5: VIA Technologies VT8237 AC'97 Audio
> (rev 0x60)
> auvia0: interrupting at irq 7
> auvia0: ac97: VIA Technologies unknown (0x56494123) codec; 18 bit DAC,
> 18 bit ADC, no 3D stereo
> auvia0: ac97: ext id 807<AC97_23,SPDIF,DRA,VRA>
> audio0 at auvia0: full duplex, mmap, independent
> VIA Technologies VT82C686A MC-97 Modem Controller (miscellaneous
> communications, revision 0x80) at pci0 dev 17 function 6 not
> configured
> vr0 at pci0 dev 18 function 0: VIA VT6102 (Rhine II) 10/100 Ethernet
> vr0: interrupting at irq 9
> vr0: Ethernet address: 00:90:f5:55:49:7d
> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
> ukphy0: OUI 0x0002c6, model 0x0032, rev. 10
> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> isa0 at pcib0
> pckbc0 at isa0 port 0x60-0x64
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pms0: Synaptics touchpad version 6.3
> pms0: Up/down buttons, Palm detect, Multi-finger
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: PC speaker
> sysbeep0 at pcppi0
> isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
> npx0 at isa0 port 0xf0-0xff: using exception 16
> isapnp0: no ISA Plug 'n Play devices found
> Kernelized RAIDframe activated
> atapibus0 at atabus2: 2 targets
> cd0 at atapibus0 drive 0: <PHILIPS DVD+/-RW SDVD8820, , AX04> cdrom
> removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)=

> cd0(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using =
DMA)
> wd0 at atabus3 drive 0: <SAMSUNG HM060HC>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 57241 MB, 116301 cyl, 16 head, 63 sec, 512 bytes/sect x 117231408
> sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100=
)
> wd0(viaide1:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using=

> DMA)
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: ffs
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)



--------------enig4CDFA6D01B4E5427DEECC0B7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFvPdXUoM/0el+ZLIRAihsAJ44uyZliPG218qu4aeS8R/1rfTidgCfcNKa
P+nuuo1RELcV7Baj6+sH8GA=
=nOh9
-----END PGP SIGNATURE-----

--------------enig4CDFA6D01B4E5427DEECC0B7--