LinuxQuestions.org
Review your favorite Linux distribution.
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 05-04-2007, 11:05 PM   #1
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Rep: Reputation: 15
Alps touchpad configuration died on me


I really killed something on my Inspiron 6000D. I did a whole big batch of updates today. Everything seemed to go fine... a few reboots later I was onto the ATI card driver update (a new Kernel, a new driver), so I went and installed that (ATI official one using the --buildpkg Fedora/FC6 method... yes, I just read the sticky, but does that still apply?).
Coming back out of the restart, my Alps pad is shot to hell. Middle click is emulated by both clicking buttons, but that's it. I lost my scroll, I lost my side scroll (although... not sure if that ever worked), and my corner middle click.

So yay!
I go looking for answers and I find Ksynaptics suggested. Sounds good, so try that... no go. I get "Shared Memory not accessible. Please enable 'UseShm "true"' in xorg.conf." Then it loads and looking at the screen, I don't think the driver is loaded (which makes sense... go figure!).

Soooo... ATI messed up my xorg.conf? Sounds possible. Take a look at that... I get the following in /etc/x11/.
Code:
~
-rw-r--r-- 1 root root 4470 May  4 16:50 xorg.conf.backup
-rw-r--r-- 1 root root 3363 Aug 25  2006 xorg.conf.backup-ati-fglrx
-rw-rw-r-- 1 root root 3951 Mar 12 19:09 xorg.conf.original-0
-rw-rw-r-- 1 root root 4527 May  4 21:02 xorg.conf.original-1
-rw-r--r-- 1 root root  492 Nov 11 10:57 Xresources
Well obviously there are backups... but then which one is being used right now?
I'm pretty lost. So does anyone happen to know what file to edit, and what to edit within (I seem to get a different suggestion on how to edit everywhere I go)?

Thanks a lot... sorry about being long-winded.
 
Old 05-05-2007, 12:47 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Obviously, the one that's "being used right now" is /etc/X11/xorg.conf.

I suspect you intended to ask "Which is the backup from which to pull the mouse pad info?"

If that was your question, you have two backups from yesterday. One of them is xorg.conf.backup made at 16:50, and the other one, xorg.conf.original-1 was created 4 hours later, at 21:02.

From your description of what you tried, I suspect that the working ALPS setup will be found in the earlier backup: xorg.conf.backup. Do a diff on the two files to see what's been changed. In fact, a diff between the 16:50 backup (e.g., before you did anything) and the 21:02 backup will show you what was changed by the updates you installed during the four hour period, and a diff between the 21:05 backup and your current xorg.conf will show you what was changed when you did the ksynaptics installation.
 
Old 05-05-2007, 02:15 PM   #3
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
ok, thank you for the reply... fair enough. But... yeah, funny thing, I ment what I said. ^^;
Code:
[root@localhost X11]# ls -l
total 132
drwxr-xr-x 2 root root 4096 Oct 10  2006 applnk
drwxr-xr-x 2 root root 4096 Oct 29  2006 fs
drwxr-xr-x 2 root root 4096 Mar  3 03:20 mwm
-rwxr-xr-x 1 root root 1465 Nov 28 18:25 prefdm
drwxr-xr-x 2 root root 4096 Oct 10  2006 serverconfig
drwxr-xr-x 2 root root 4096 Oct 10  2006 sysconfig
drwxr-xr-x 2 root root 4096 Oct 28  2006 twm
lrwxrwxrwx 1 root root   18 May  4 21:02 X -> ../../usr/bin/Xorg
drwxr-xr-x 2 root root 4096 Mar  3 01:46 xdm
drwxr-xr-x 4 root root 4096 Mar  3 01:38 xinit
-rw-r--r-- 1 root root  547 Nov 11 10:57 Xmodmap
-rw-r--r-- 1 root root 4470 May  4 16:50 xorg.conf.backup
-rw-r--r-- 1 root root 3363 Aug 25  2006 xorg.conf.backup-ati-fglrx
-rw-rw-r-- 1 root root 3951 Mar 12 19:09 xorg.conf.original-0
-rw-rw-r-- 1 root root 4527 May  4 21:02 xorg.conf.original-1
-rw-r--r-- 1 root root  492 Nov 11 10:57 Xresources
[root@localhost X11]#
xorg.conf is just kinda gone.

So do I just make a new one with
Code:
cp xorg.conf.backup xorg.conf
?
After I check it for the correct configuration, or course.
Thanks again.
 
Old 05-06-2007, 08:18 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Weird. Yes, do that.

So, do you have any X with a missing xorg.conf file?
 
Old 05-06-2007, 02:57 PM   #5
volvogga
Member
 
Registered: Aug 2004
Location: MI, USA
Distribution: Fedora Core 3
Posts: 137

Original Poster
Rep: Reputation: 15
Yes... yes I have X... and I don't know why. *sobs in the corner*

In anycase, that fixed it to the point where my mouse has returned to it's origonal glory. Thanks very much.

What's weird is I'm still catching hell from ksynaptics. I'd really like to use this utility, so if you wouldn't mind helping me further, I'd appreciate it. I added that "UseShm" "true" to xorg.conf (after I found everything was good again) and I still get the error message that it's not using shared memory.

Here's xorg.conf. I thought I did it right, but perhaps there's a mistake in it.
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
	InputDevice    "Mouse0" "AlwaysCore"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "synaptics"
	Load  "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
	Option	    "LeftEdge" "120"
	Option	    "RightEdge" "830"
	Option	    "TopEdge" "120"
	Option	    "BottomEdge" "650"
	Option	    "FingerLow" "14"
	Option	    "FingerHigh" "15"
	Option	    "MaxTapMove" "110"
	Option	    "VertScrollDelta" "20"
	Option	    "HorizScrollDelta" "20"
	Option	    "MinSpeed" "0.3"
	Option	    "MaxSpeed" "1.00"
        Option      "UseShm" "true"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Dell 1280x1024 Laptop Display Panel"
	HorizSync    31.5 - 90.0
	VertRefresh  59.0 - 75.0
	Option	    "dpms"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "vesa"
	VendorName  "Videocard vendor"
	BoardName   "ATI Technologies Inc M22 [Radeon Mobility M300]"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "Disable"
EndSection
the Load "Synaptics" and "UseShm" is there... do I need something that specificly says 'Alps' in there maybe?

EDIT:
Nevermind, I got it. Had to set an option of "SHMconfig" "1" in xorg.conf and it ran fine. Thanks again for all the help.

Last edited by volvogga; 05-06-2007 at 03:27 PM.
 
Old 05-06-2007, 03:27 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I think you may be missing a piece, Here's what the Synaptics section looks like on my laptop:
Code:
Section "InputDevice"
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "auto-dev"
        Option      "Emulate3Buttons" "yes"
        Option      "SHMConfig" "true"
        Option      "UseShm" "true"
EndSection
Note the option preceeding the UseShm one.
 
  


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
ALPS touchpad, no tapping in 10.2 thunderweasel Mandriva 2 09-04-2005 05:38 AM
ALPS touchpad pgte3 Linux - Hardware 0 06-24-2005 03:20 PM
Synaptic Alps touchpad help okplayer02 Linux - Laptop and Netbook 1 12-30-2004 10:01 AM
Alps touchpad wont scroll unwiredmatt Linux - Laptop and Netbook 0 10-17-2004 02:05 PM
Alps touchpad unrecognized rcrules Linux - Laptop and Netbook 5 07-06-2004 10:26 AM

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