From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 02 Jun 2004 11:55:39 +0100 (BST) Received: from dvmwest.gt.owl.de ([IPv6:::ffff:62.52.24.140]:47573 "EHLO dvmwest.gt.owl.de") by linux-mips.org with ESMTP id ; Wed, 2 Jun 2004 11:55:35 +0100 Received: by dvmwest.gt.owl.de (Postfix, from userid 1001) id 7199C4B75F; Wed, 2 Jun 2004 12:55:31 +0200 (CEST) Date: Wed, 2 Jun 2004 12:55:31 +0200 From: Jan-Benedict Glaw To: linux-mips@linux-mips.org Subject: Re: input_event for 64-bit kernel and 32-bit userland. Message-ID: <20040602105531.GN20632@lug-owl.de> Mail-Followup-To: linux-mips@linux-mips.org References: <40BDA692.50606@dev.rtsoft.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="53t+yOlxgLCdk6tE" Content-Disposition: inline In-Reply-To: <40BDA692.50606@dev.rtsoft.ru> X-Operating-System: Linux mail 2.4.18 X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net User-Agent: Mutt/1.5.6i Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 5240 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: jbglaw@lug-owl.de Precedence: bulk X-list: linux-mips --53t+yOlxgLCdk6tE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 2004-06-02 14:06:10 +0400, Pavel Kiryukhin wrote in message <40BDA692.50606@dev.rtsoft.ru>: > Userspace application tries to read "input_event" (16 bytes) from=20 > "/dev/input/event0" [ read(fd,&key_ev, sizeof(key_ev)) ], > input core driver treats "input_event" as 24 bytes structure. It is due= =20 > to different size of "timeval" (and finally "long") in n64 kernel and= =20 > n32 userland. You'd probably Cc: that to LKML, too. That's an issue for all systems running 64bit kernel with 32bit userland (eg. Ultra-Sparc, PPC64, IA64, x86_64, ...). MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier B=FCrger" | im Internet! | im Ira= k! ret =3D do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TC= PA)); --53t+yOlxgLCdk6tE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAvbIjHb1edYOZ4bsRAgg8AJ9gfS4FhKgM9DZAvI4gzPtoQUQUcQCgkmZj +tsU+2qkwz5z/raIPB22/K0= =E3jQ -----END PGP SIGNATURE----- --53t+yOlxgLCdk6tE--