From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25229 invoked by alias); 31 May 2005 12:09:19 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 25151 invoked by uid 22791); 31 May 2005 12:09:03 -0000 Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.198) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 31 May 2005 12:09:03 +0000 Received: by wproxy.gmail.com with SMTP id 69so2214448wra for ; Tue, 31 May 2005 05:09:01 -0700 (PDT) Received: by 10.54.40.78 with SMTP id n78mr3006508wrn; Tue, 31 May 2005 05:09:01 -0700 (PDT) Received: by 10.54.67.12 with HTTP; Tue, 31 May 2005 05:09:01 -0700 (PDT) Message-ID: <7de07eff05053105095705e2f3@mail.gmail.com> Date: Tue, 31 May 2005 21:55:00 -0000 From: Sriramkumar Raju Reply-To: Sriramkumar Raju To: ecos-discuss@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [ECOS] Keyboard issue X-SW-Source: 2005-05/txt/msg00368.txt.bz2 Hi, I am working on porting of Redboot to i386 platform with VIA rhine ehternet controller. I am able to boot the system with red boot.=20 once booted when i press any key like "asdfghjkl" all where displayed=20 in CAPS "ASDFGHGJKL" in the command line. (The caps lock was not on). So i checked the source code and found that the "KBScanTable" array=20 was corrupted from index "0x1E" ie. 'a'. till index 0x35 ie..'/'.... the corruption is such that the columns are shifted left by one column... KBScanTable with 4 columns=20 Actual values are as follows... column 0 1 2 3 'a ' 'A' 0x01 0xFF In my case it had become=20 =20=20=20=20=20=20=20=20=20 column 0 1 2 3 'A' 0x01 0xFF 'a' this behaviour is observed till character '/' in the KBScanTable . so i made a fix by changing my KBScanTable so that this will get properly aligned in memory. from 'a' to '/'. Now the keyboard is working fine... i want to know what might be the problem....Is it a endian problem...or boundary alignment problem. Help in knowing what it is... Regards, Sriram.R -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss