Comment 12 for bug 155937

Revision history for this message
sibidiba (sibidiba) wrote : Re: SHMConfig should be enabled by default, and gsynaptics should be installed by default on laptops

May I ask how can it be configured else dynamically from userspace? Even the supplied synclient.c uses the shared memory method:

    /* Connect to the shared memory area */
    if ((shmid = shmget(SHM_SYNAPTICS, sizeof(SynapticsSHM), 0)) == -1) {
        if ((shmid = shmget(SHM_SYNAPTICS, 0, 0)) == -1) {
            fprintf(stderr, "Can't access shared memory area. SHMConfig disabled?\n");
            exit(1);
        } else {
            fprintf(stderr, "Incorrect size of shared memory area. Incompatible driver version?\n");
            exit(1);
        }
    }