[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1160759621.25218.68.camel@localhost.localdomain>
Date: Fri, 13 Oct 2006 18:13:41 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Dave Jones <davej@...hat.com>
Cc: Jesper Juhl <jesper.juhl@...il.com>,
Burman Yan <yan_952@...mail.com>, linux-kernel@...r.kernel.org,
Andrey Panin <pazke@...pac.ru>
Subject: Re: [PATCH] HP mobile data protection system driver
Ar Gwe, 2006-10-13 am 11:50 -0400, ysgrifennodd Dave Jones:
> Better yet, would be to use the same interface the hdaps driver uses
> so that userspace written for one accelerometer works with any hardware.
> Having to cope with a dozen different drivers who export in different
> places is just silly.
Agreed. We already have an interface layer for reporting multiple
dimensions of motion control - the joystick interface. I think we really
ought to use that with some way to spot that its HDAPS etc so drivers
can decide to use it for its intended purpose (eg a different device
name scheme). The joystick compatibility would also mean it can "just
work" if you tell games to use the device.
Alan
-
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