Correctly identify touchpads
Michael Tokarev
mjt at tls.msk.ru
Thu Dec 24 14:51:31 PST 2009
Dmitry Torokhov wrote:
> 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.
Ok, I stand corrected. I verified the issue with 32bit kernel, and
there, hald works as expected, listing `synaptics' as x11_driver
and correct input.touchpad capability.
Oh well.
/mjt
More information about the hal
mailing list