Fedora Linux Support Community & Resources Center
  #1  
Old 7th November 2011, 09:36 PM
sirio400516x Offline
Registered User
 
Join Date: Oct 2011
Location: Garching bei München, Germany
Posts: 15
linuxchrome
DELL Precision M4600 Touchpad enabling/disabling

Problem: touchpad recognized as PS2 mouse, Fn+F5 enabling/disabling does not work.
Laptop: Dell Precision M4600
OS: Fedora 14
Notes: The bug is quiet general and is due most likely to the fact that the touchpad is an ALPS component, for which there isn's yet a proprietary driver (seems like they will release soon though).

I have been surfing for a while and I think the situation is like this: since there are no proprietary drivers, at the moment seems possible to only work around by
1. Patching the kernel (repatch at every kernel update)
2. Using a script
I prefer the latter because is more intuitive to me and don't have to repeat every time the kernel updates.

How the script basically works
It turns out that to disable/enable the touchpad (and, unfortunately, the pointing stick too) only one command line is necessary, provided you have the device id. Thus, the relevant code for switching on/off the touchpad is just
1. get the device id
1.a if xinput misses, do
Code:
 sudo yum install xinput
then
Code:
 xinput -list 
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ PS/2 Generic Mouse                      	id=12	[slave  pointer  (2)]
2. disable device with
Code:
 xinput set-int-prop 12 "Device Enabled" 8 0
3. enable device with
Code:
 xinput set-int-prop 12 "Device Enabled" 8 1
Now, I found two scripts which perform this command asking the system the device status, one in bash and one in python. The bash one executes every time a proper keyboard shotcut is called, while the python one starts at initialization and last until you switch off the laptop.
I find the bash one very elementary and, thus, suitable to most of people, however I will attach both.

BASH SCRIPT
Download the script, put it somewhere, let's say /bin/touchpad.sh
Give it 755 permissions with
Code:
 sudo chmod 755 /bin/touchpad.sh
Create a keyboard shortcut with
System > Preferences > Keyboard Shortcuts > Add > Name: touchpad, Command: /bin/touchpad.sh
Set now the preferred keyboard shortcut. DONE

Python SCRIPT (not tested though)[Rename from touchpad.py.txt to touchpad.py]
Download the script, put it somewhere, let's say /bin/touchpad.py. Give it 755 permissions. Now, in the konsole
Code:
 sudo emacs -nw /etc/rc.local
Write /bin/touchpad.py
Ctrl-x Ctrl-s, to save
Ctrl-x Ctrl-c, to quit
Reboot

I put some further reading, even for the kernel patch
http://askubuntu.com/questions/50491...ad-as-touchpad
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/760142
http://www.linux-archive.org/debian-...xperience.html
http://ubuntuforums.org/showpost.php...2&postcount=13
https://bugs.launchpad.net/ubuntu/+s...5/comments/307
http://budts.be/weblog/2010/12/dell-...n-and-touchpad
http://patchlog.com/linux/fix-inspir...pad-in-ubuntu/

Cheers
Attached Files
File Type: sh touchpad.sh (1.0 KB, 207 views)
File Type: txt touchpad.py.txt (1.7 KB, 174 views)

Last edited by sirio400516x; 7th November 2011 at 09:40 PM.
  #2  
Old 11th April 2016, 04:35 AM
bkorb Offline
Registered User
 
Join Date: Jul 2006
Posts: 28
linuxubuntuchrome
Re: DELL Precision M4600 Touchpad enabling/disabling

The attachments are downloading as empty files. Can they just be pasted as plain text, please?
  #3  
Old 11th April 2016, 12:12 PM
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 72
Posts: 23,221
linuxfedorafirefox
Re: DELL Precision M4600 Touchpad enabling/disabling

Please don't tack your post onto a 5-yr. old thread. So much has changed and your problem deserves it's own thread. This one's CLOSED.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] DELL M4600 Editing GRUB default commands with Fedora 14 sirio400516x Using Fedora 6 7th November 2011 06:27 PM
Dell Precision M4600 and Fedora 15 vima_fedora Installation, Upgrades and Live Media 5 3rd September 2011 12:21 PM


Current GMT-time: 08:49 (Thursday, 24-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat