All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sam Song" <samsongshu@yahoo.com.cn>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Troubles on my custom keyboard driver in u-boot
Date: Wed, 7 Apr 2004 23:54:30 +0800 (CST)	[thread overview]
Message-ID: <20040407155430.31430.qmail@web15214.mail.bjs.yahoo.com> (raw)
In-Reply-To: <20040407132426.793E5C133F@atlas.denx.de>

Wolfgang Denk wrote: 
> > According to README,only RBC823 does have a custom
> > keyboard so far.I looked up

> This is wrong.
> 
> Many systems have a custom keyboard of one kind or
> another.  See  for example  LWMON  and  R360  and  
> TRAB,  which  allow to bind arbitrary
> command sequences to arbitrary key combinations.
> 
> Or see HMI-10 which uses  a  custom  PS/2 
> multiplexor  to  attach a standard PC keuyboard as 
> input device.

Thanks for your detailed points.I knew LWMON with a
i2c keyboard driver from your post.BTW,which file is
this LWMON keyboard driver in ELDK3.0 kernel code?As
for others,I would like to have a look at them.

> What are you going to use the "keyboard" for? To 
> detect  single  key presses and to switch functions
> in U-Boot, like truning on/off of log,messages, 
> booting a different image and the like? Or as input
> device for interactive use?

For interactive use.We have a special keyboard with 80
keys or so.We plan to code the driver in LINUX.But if
implentmented in u-boot as well,it would be perfect.

> It makes little sense  to  use  a  configuration 
> for  one  board  on completely  different  hardware.
> You need a detailed understanding of that hardware, 
 
I have no RBC823 hardware scheme but wanted to do like
that to test some possibilities.I really cannot
understand RBC823 init process of its keyboard.

> and of your own, and in nearly all cases you will 
> have to adapt the code. Simpy copying a 
> connfiguration  is a  pretty  good guarantee to run
> you into problems.

I know my hardware more than the driver I am
programming.Coding a custom driver is a big challenge
to me.Anyway,I just editted some drivers before.I hope
to find a good example to follow.

Thanks for your kind help!

Sam

_________________________________________________________
Do You Yahoo!? 
??TT????????????
http://cn.rd.yahoo.com/mail_cn/tag/*http://hp.allyes.com/laserjet/gamestory/index.html?jumpid=ex_hphqapcn_MongooseLJ1010/201073CN407016/Yahoo

  reply	other threads:[~2004-04-07 15:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1BB3de-00025R-RJ@sc8-sf-list1.sourceforge.net>
2004-04-07 11:21 ` [U-Boot-Users] Troubles on my custom keyboard driver in u-boot Sam Song
2004-04-07 13:24   ` Wolfgang Denk
2004-04-07 15:54     ` Sam Song [this message]
2004-04-07 16:30       ` Wolfgang Denk
2004-04-11  0:44   ` Udi Finkelstein

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=20040407155430.31430.qmail@web15214.mail.bjs.yahoo.com \
    --to=samsongshu@yahoo.com.cn \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.