[Pkg-utopia-maintainers] Bug#562052: Correctly identify touchpads

Dmitry Torokhov dmitry.torokhov at gmail.com
Thu Dec 24 20:48:24 UTC 2009


On Thu, Dec 24, 2009 at 11:32:27PM +0300, Michael Tokarev wrote:
> Dmitry Torokhov wrote:
> []
> >> B: KEY=6420 7000f 0 0 0 0
> >> B: ABS=11000003
> >>
> []
> >> -               if (test_bit (ABS_PRESSURE, bitmask_abs)) {
> []
> >> What's wrong? ;)
> > 
> > Not sure, seems to be working here... Keying on ABS_PRESSURE is
> 
> It apparently works on some laptops here and fails on others.
> 
> > definitely not correct as some touchpads to not report it and many
> > touchscreens do. Is this on 32 or 64 bit kernels? What about userspace?
> 
> 32bit userspace, either 32 or 64bit kernel.  But since the string
> as read from sysfs does not depend on kernel bitness, both should
> be irrelevant... I hope.
> 

Not really :( We print in groups of longs so it is either 32 or 64 bits
worth of data per number.

-- 
Dmitry





More information about the Pkg-utopia-maintainers mailing list