LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-21-2008, 01:10 PM   #1
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
Can't access shared memory area. SHMConfig disabled?


So I get the following when I try running "synclient -l":

Code:
Can't access shared memory area. SHMConfig disabled?
I've commented out all options for psmouse module as per CHANGE_AND_HINTS.TXT

The module seems to be loaded fine by Xorg:
Code:
me@tpt60:~$ grep synaptics /var/log/Xorg.0.log
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
Here are my configuration files:
Xorg config: http://turing.cs.niu.edu/~z147107/xorg.conf
kernel config: http://turing.cs.niu.edu/~z147107/config-2.6.27.7
fstab: http://turing.cs.niu.edu/~z147107/fstab

Last edited by alkos333; 12-21-2008 at 04:24 PM.
 
Old 12-21-2008, 01:55 PM   #2
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 30
You will need to create a file:
Code:
/etc/hal/fdi/policy/shmconfig.fdi
Place the following in that file:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
 <device>
  <match key="input.x11_driver" string="synaptics">
   <merge key="input.x11_options.SHMConfig" type="string">True</merge>
  </match>
 </device>
</deviceinfo>
I adapted this information from here and it works on my system but you have to have shared memory enabled in your /etc/fstab by adding the following:
Code:
tmpfs /dev/shm tmpfs defaults 0 0
Also, I'm not noticing the following line in your xorg.conf:
Code:
InputDevice    "Synaptics" "SendCoreEvents"
This might be accidental to your shared memory problem but I always needed to add this to my xorg.conf like so:
Code:
Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen         "Screen 1" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Synaptics" "SendCoreEvents"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Last edited by zetabill; 12-21-2008 at 02:46 PM. Reason: completed full post... sorry for crappy earlier post!
 
Old 12-22-2008, 07:00 PM   #3
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Original Poster
Rep: Reputation: 31
Yes, that one line has resolved the problem. I don't use HAL anyway, so that file wasn't necessary.

Thank you so much for helping out!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux shared memory segment access problem and x86 Virtual Memory layout. regmee Linux - Kernel 1 08-23-2008 12:11 AM
Difference between resident memory,shared memory and virtual memory in system monitor mathimca05 Linux - Newbie 1 11-11-2007 04:05 AM
is shared memory expandable in memory size? Thinking Programming 4 08-16-2005 09:57 AM
dpkg unable to access status area adamsjw2 Debian 3 02-06-2004 05:32 AM
access windows area through linux onlyhuman9 Linux - General 4 09-30-2001 10:49 PM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration