linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Hans de Goede <hdegoede@redhat.com>,
	linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org,
	Dell.Client.Kernel@dell.com
Cc: "Pali Rohár" <pali@kernel.org>,
	"Stuart Hayes" <stuart.w.hayes@gmail.com>,
	"Divya Bharathi" <divya.bharathi@dell.com>,
	"Prasanth Ksr" <prasanth.ksr@dell.com>,
	"Perry Yuan" <Perry.Yuan@dell.com>
Subject: Re: Dell laptop touchpad disabling?
Date: Sun, 20 Mar 2022 12:57:46 -0700	[thread overview]
Message-ID: <f9058afc-cbf0-8bea-1191-ed7cc285eaa9@infradead.org> (raw)
In-Reply-To: <d1192588-8993-5052-6018-7a2f8393cff9@redhat.com>

Hi Hans,

On 3/18/22 01:54, Hans de Goede wrote:
> <attempt 2, fat-fingered send>
> 
> Hi Randy,
> 
> On 3/18/22 01:32, Randy Dunlap wrote:
>> Hi all,
>>
>> I have a Dell Inspiron 15 5510 laptop. Of course, it has a touchpad
>> (which I think of as a nuisance pad).
>> I would like to be able to disable the touchpad easily.
>>
>> Are there any best practices or suggestions for how to do this?
>> (I am using xfce4 as the desktop environment if that matters.)
>>
>>
>> Sometimes the touchpad is discovered as a PS/2 Generic Mouse on
>> the i8042 AUX port, and sometimes it is discovered as this
>> touchpad: "DELL0B24:00 04F3:3147 Touchpad" on some I2C device:
>> "i2c-DELL0B24:00". (The different discoveries might have something
>> to do with my kernel configuration/builds, but I don't know that
>> for sure.)
>>
>> I have some very hackish scripts that I can run to toggle the
>> 'inhibited' flag in sysfs (/sys/class/input/ for the I2C device or
>> or /sys/devices/platform/i8042/ for the i8042 AUX port device),
>> but that requires root (sudo), so that does not qualify as "easily"
>> IMO.
>>
>> E.g.,
>> $ sudo toggle-aux-mouse
>> or
>> $ sudo toggle-i2c-touchpad
>>
>> depending on which configuration the device is in.
> 
> The touchpad is supposed to be always recognized as, well a touchpad,
> so you want it to show up as "DELL0B24:00 04F3:3147 Touchpad", as
> you said this likely depends on your kernel config.
> 
> And then usually the desktop environment will give you an option
> to disable it. At least GNOME offers a clear on/off toggle see e.g. :
> 
> https://blog.separateconcerns.com/img/gnome-touchpad-settings.jpg

OK, I finally found that. and it works.

> Or you could use xinput properties to set the matching xinput
> device, to disabled which you can do by device-name:
> 
> https://linuxhint.com/change_mouse_touchpad_settings_xinput_linux/
> 
> And then change the "Device Enabled" property.

and that also works.

> Regardless of the method, the kernel's responsibility here is
> to make sure the touchpad gets seen as a touchpad and after that
> "disabling" it is a userspace problem.

Sure, I get it.

Thanks for your help.


  reply	other threads:[~2022-03-20 19:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-18  0:32 Dell laptop touchpad disabling? Randy Dunlap
2022-03-18  8:50 ` Hans de Goede
2022-03-18  8:54 ` Hans de Goede
2022-03-20 19:57   ` Randy Dunlap [this message]
2022-03-21 22:18   ` [External] " Mark Pearson
2022-04-11 13:48     ` Hans de Goede
2022-04-11 14:00       ` Pali Rohár

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f9058afc-cbf0-8bea-1191-ed7cc285eaa9@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=Dell.Client.Kernel@dell.com \
    --cc=Perry.Yuan@dell.com \
    --cc=divya.bharathi@dell.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-input@vger.kernel.org \
    --cc=pali@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=prasanth.ksr@dell.com \
    --cc=stuart.w.hayes@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).