LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-22-2008, 01:06 AM   #1
dla-nor
LQ Newbie
 
Registered: Jan 2007
Distribution: FC9, eee-xubuntu r3, RHEL 4, RHEL 5
Posts: 17

Rep: Reputation: 0
xorg.conf SHMConfig "on" doesn't work


I am trying to get either the "synclient" command or the gsynaptics GUI to work for turning tapping off on my touchpad.

I read a lot of instructions and turned on SHMConfig in my xorg.conf, but I still am getting the error message that I need to turn SHMConfig for it to work (also, my understanding is that from this configuration the tapping should already be off, but it isn't). Here is my xorg.conf:

Code:
# Xorg configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice	"Synaptics Touchpad" "CorePointer"
EndSection

Section "InputDevice"
# keyboard added by rhpxl
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Protocol"	"auto-dev"
	Option		"TapButton1"	"0"
	Option		"TapButton2"	"0"
	Option		"SHMConfig"	"on"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "intel"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Module"
	Load "synaptics"
EndSection
 
Old 12-31-2008, 12:07 PM   #2
JosephMu
LQ Newbie
 
Registered: Dec 2008
Distribution: Ubuntu 9.04
Posts: 15

Rep: Reputation: 1
the same problem like Dla..

my xorg.conf file does not contain any code related to the touchpad..

then the code below was added but nothing changes at all:

InputDevice "Synaptics Touchpad" "CorePointer" ## in the "ServerLayout" section

Section "InputDevice" ###
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Protocol" "auto-dev"
Option "TapButton1" "0"
Option "TapButton2" "0"
Option "SHMConfig" "on"
EndSection


when i type "synclient touchpadoff=1 --disable touchpad"
the terminal still gives a response: "Can't access shared memory area. SHMConfig disabled?"

could someone tell me what should i do after change this xorg.conf file??

btw, m using fedora 9.

any reply will be appreciate, tks.
 
Old 01-01-2009, 09:22 PM   #3
Krellan
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
I am running Fedora 9.

This worked for me, to enable the Synaptics touchpad "gsynaptics" GUI configuration utility, and also the "synclient" command-line utility.

Don't edit your xorg.conf file. Instead, edit the HAL policy file, which autoloads the Synaptics driver on demand. It's difficult to edit the xorg.conf file directly, because the input device number can be different each time. This is the file, which should already exist if you installed the "xorg-x11-drv-synaptics" package:

/usr/share/hal/fdi/policy/20thirdparty/10-synaptics.fdi

Here's the contents of the file:

Quote:
<?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>
<merge key="input.x11_options.SHMConfig" type="string">on</merge>
</match>
<match key="info.product" contains="AlpsPS/2 ALPS">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">on</merge>
</match>
<match key="info.product" contains="appletouch">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">on</merge>
</match>
<match key="info.product" contains="bcm5974">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">on</merge>
</match>
</match>
</device>
</deviceinfo>
Basically, what you do is take the existing file, and add the x11_options lines, just below all of the x11_driver lines. This forces HAL to stuff in the correct options to the driver, as it loads. Very handy!

You might have to reboot in order to get HAL and X to all completely reload. You can see the results in the /var/log/Xorg.0.log file:

Quote:
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
compiled for 1.5.0, module version = 0.15.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.1
(II) Synaptics touchpad driver version 0.15.1
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(**) Option "Device" "/dev/input/event6"
(**) Option "SHMConfig" "on"
(--) 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: MOUSE)
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(--) SynPS/2 Synaptics TouchPad touchpad found
The line in the middle, about SHMConfig on, indicates success.
 
Old 01-25-2009, 12:16 PM   #4
JosephMu
LQ Newbie
 
Registered: Dec 2008
Distribution: Ubuntu 9.04
Posts: 15

Rep: Reputation: 1
Unhappy

I didn't installed this package¬¬

sorry for my silly Questions


i think i need to start from the very beginning..

anyway, tks a lot.

Quote:
Originally Posted by Krellan View Post
This is the file, which should already exist if you installed the "xorg-x11-drv-synaptics" package:.
 
Old 01-25-2009, 12:24 PM   #5
JosephMu
LQ Newbie
 
Registered: Dec 2008
Distribution: Ubuntu 9.04
Posts: 15

Rep: Reputation: 1
the log file looks like this, what is the error could be?
Quote:
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
compiled for 4.3.99.902, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(II) Synaptics touchpad driver version 0.14.6 (1406)
(--) SynPS/2 Synaptics TouchPad auto-dev sets device to /dev/input/event2
(**) Option "Device" "/dev/input/event2"
(--) 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: MOUSE)
(--) SynPS/2 Synaptics TouchPad auto-dev sets device to /dev/input/event2
(**) Option "Device" "/dev/input/event2"
(--) SynPS/2 Synaptics TouchPad touchpad found
(II) Synaptics touchpad driver version 0.14.6 (1406)
(--) SynPS/2 Synaptics TouchPad auto-dev sets device to /dev/input/event2
(**) Option "Device" "/dev/input/event2"
(--) 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: MOUSE)
(--) SynPS/2 Synaptics TouchPad auto-dev sets device to /dev/input/event2
(**) Option "Device" "/dev/input/event2"
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16
(--) SynPS/2 Synaptics TouchPad touchpad found

(II) NV(0): Probing for EDID on I2C bus 0...
(II) NV(0): I2C device "I2C0:ddc2" registered at address 0xA0.
(II) NV(0): I2C device "I2C0:ddc2" removed.
(II) NV(0): ... none found
(--) NV(0): Trying load detection on VGA1 ... nothing.
after that ...a series of "nothing" and "none found"

Last edited by JosephMu; 01-25-2009 at 05:22 PM.
 
Old 01-26-2009, 01:37 AM   #6
Krellan
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by JosephMu View Post
the log file looks like this, what is the error could be?
Sorry, I don't know. I never had that error happen to me. Error number 16 is "Device or resource busy", though.

Maybe see if any other programs are using the mouse device? In particular, text-mode programs such as "selection" or "gpm" can conflict with using the mouse with X.
 
Old 01-26-2009, 06:22 AM   #7
tshann
LQ Newbie
 
Registered: Jan 2009
Posts: 1

Rep: Reputation: 0
Thanks Krellan

I just wanted to thank Krellan for his suggestion. Worked great for me, Buntu 8.1 DV5-1160us (HP) Lappie. Now I can tweak this touchpad - which was a drag before.
Peace
 
Old 07-01-2009, 08:43 PM   #8
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
Im pretty sure that is controlled by hal. You may want to look into that google (hal shmconfig).

Good Luck!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
evdev/xorg help? USB mouse/kbd: 2.6.24="just works">2.6.25="unplug/replug to work". GrapefruiTgirl Linux - Hardware 4 12-13-2012 02:23 PM
Problems configuring "xorg.conf" with "ATI FGLRX" BlueSpirit Slackware 3 09-16-2006 02:01 PM
Permission Denied when trying as "root" to edit xorg.conf d3g@ Linux - Newbie 4 09-07-2006 05:19 PM
"nv" to "nvidia" in xorg.conf causes X not to start jon2kx Ubuntu 10 09-05-2006 08:36 PM
How do you run "xorg.conf.back" file? in Toshiba laptop hajime_saitou0 Linux - Laptop and Netbook 1 09-14-2005 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration