lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 30 Jan 2009 20:29:59 -0800
From:	Dmitry Torokhov <dtor@...l.ru>
To:	Richard Atterer <atterer@...ian.org>
Cc:	linux-kernel@...r.kernel.org, vojtech@....cz,
	linux-input@...r.kernel.org, rubini@...vis.unipv.it,
	jkosina@...e.cz
Subject: Re: [PATCH 2.6.28] mousedev: Allow devices to be excluded from
	/dev/input/mice

Hi Richard,

On Friday 30 January 2009 04:04:56 Richard Atterer wrote:
> From: Richard Atterer <atterer@...ian.org>
>
> Allow devices to be excluded from /dev/input/mice
>
> This patch adds an "ignoreid=0x1234:0x5678" parameter to the mousedev
> module. If a mouse matches the given device ID(s), its movement and button
> presses will not be relayed via /dev/input/mice.
>

Thank you for the patch, however I don't think that it is the right solution.

> Why is this needed? In my case, I'm using some mice as sensors (robotic
> application, more or less), so their movement should not influence the
> mouse pointer at all.

I think this is the case where EVIOCGRAB use is warranted then.

> I could simply specify only my main mouse in
> xorg.conf rather than /dev/input/mice. However, /dev/input/mice is the only
> way to allow hot-plugging of mice with X.
>

The newer X does support input hotplug pretty well actually.

> This feature could also be used to disable non-working/buggy touchpads in
> laptops.
>

You can already do that by unbinding serio and usb devices from their 
respective drivers, no need to modify mousedev.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ