QWERTY USB keyboard - keystrokes problem

by Jerry Johns » Thu, 30 Apr 2009 08:28:19 GMT

Sponsored Links
 I managed to successfully port the android 2.6.23 kernel changes over
to a TI Davinci TMS320DM6446 EVM Board - its an arm926ejs core with a
DSP processor as well in the die.
The changes were patched over the davinci-git kernel (2.6.23 as well).

The board boots up fine over NFS - i get the red blob moving around,
and then the final UI comes up fine with no error messages on the

I connected a QWERTY keyboard as a USB HID, and it worked absolutely
fine the first time i connected it to the board; on subsequent boots
however, a single keystroke started getting mis-interpreted as
multiple keystrokes - typing "H" would result in 3 Hs for example;
navigating the UI was really hard as it would skip over many of the
On further boots, this became even more problematic as it would
duplicate them 5 times.

A "getevent" showed that in addition to the event0 device being
registered, some other weird .nfs0020932092302 device in the /dev/
input/ folder was being registered as well. If i deleted that device
(an "ls" in the folder didn't show it), i would get
newer .nfsxxxxxxxxx keystrokes being logged.

Any ideas why this is happening? I'm using the ramdisk provided in the
m5-rc14 SDK version.

Thank you kindly,



Other Threads

1. Problem in consuming/calling ASP.NET web service from the Android

Hello Everyone,

I am trying to develop an application which calls the asp.net web
service from android. I tried a lot but i got an exception while
calling the SOAP_ACTION. I have tried with the localhost, local IP
Address and also i have taken URL from the internet but it throws an
exception. Here it is:


SoapFault - faultcode: 'soap:Client' faultstring: 'Server did not
recognize the value of HTTP HeaderSOAPAction :
faultactor: 'null' detail : org.kxml2.kdom.n...@43c582e8

Here is my source code:


2. Problem listener onItemClick with ListView

Hi all,

I am trying to develop an application with a TabView. Inside this View there
are two ListView implemented with a cursorAdapter (taking data from the
database). All work perfectly except that, when I try to put a listener on
the lists, it does not work.

// sets listener on sessions list
        sessionList.setOnItemClickListener(new OnItemClickListener() {

            public void onItemClick(AdapterView<?> arg0, View arg1, int
                    long arg3) {
                Intent i = new Intent();
                i.setClass(TrainingList.this, SessionReview.class);
                //i.putExtra(TrainingDbAdapter.KEY_ACTID, arg3);
                startActivityForResult(i, ACTIVITY_TRAINING_SESSION);

The problem is only with the CursorAdapter because when I try to populate
the list with a simple static ArrayAdapter, the listener is working.

ts.setContent(new TabHost.TabContentFactory() {

            public ListView createTabContent(String tag) {
                mDbCsmSession = mDbHelper.fetchAllSessions();

                String[] columns = new String[] {
                        TrainingDbAdapter.KEY_DESC };
                SimpleCursorAdapter adapter = new SimpleCursorAdapter(
                        new int[] { R.id.session_name,
R.id.session_description });

                return sessionList;

Is anyone able to help me plz?



3. DatePicker: years before 2000

4. How to add 3rd party library

5. Problem for porting g-sensor driver

6. Sorry,can't play this video

7. Poll Screen On/Off state