public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Sriramkumar Raju <rsriramkumar@gmail.com>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Keyboard issue
Date: Tue, 31 May 2005 21:55:00 -0000	[thread overview]
Message-ID: <7de07eff05053105095705e2f3@mail.gmail.com> (raw)

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. 

once booted when i press any key like "asdfghjkl" all where displayed 
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 
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 

Actual values are as follows...

column 0             1               2               3
             'a '          'A'             0x01          0xFF

In my case it had become 
         
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

                 reply	other threads:[~2005-05-31 12:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7de07eff05053105095705e2f3@mail.gmail.com \
    --to=rsriramkumar@gmail.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).