From: Rakesh Jagota <j.rakesh@gdatech.co.in>
To: PPC Embedded <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: MPC8266ADS patch
Date: Thu, 11 Sep 2003 12:48:37 +0530 [thread overview]
Message-ID: <3F6021CD.CC35DC55@gdatech.co.in> (raw)
In-Reply-To: 3F5FEFA0.1080809@embeddededge.com
hi,
i am trying to integrate IR keyboard to a custom board.
I am having serial console on the boad.
when i am calling handle_scancode in keyboard.c
this statement,
void handle_scancode(unsigned char scancode, int down)
{
-----
tty = ttytab? ttytab[fg_console]: NULL;
;
}
returns tty=NULL
__init kbd_init(void)
{
------
------
ttytab = console_driver.table;
}
in this fuction also ttytab[fg_console] is still NULL
Is serial console is enough to keyboard?
i have frambuffer support on my board. (without HW
graphic accelerator)
How to enable the frambufffer console on my board.
(i am attaching the config file below)
===========#
#
CONFIG_PC_KEYBOARD=y
#
# Console drivers
#
#
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_OF is not set
# CONFIG_FB_CONTROL is not set
# CONFIG_FB_PLATINUM is not set
# CONFIG_FB_VALKYRIE is not set
# CONFIG_FB_CT65550 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_S3TRIO is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_MQ200 is not set
# CONFIG_FB_IT8181 is not set
# CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_ADVANCED=y
# CONFIG_FBCON_MFB is not set
# CONFIG_FBCON_CFB2 is not set
# CONFIG_FBCON_CFB4 is not set
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
# CONFIG_FBCON_CFB24 is not set
# CONFIG_FBCON_CFB32 is not set
# CONFIG_FBCON_AFB is not set
# CONFIG_FBCON_ILBM is not set
# CONFIG_FBCON_IPLAN2P2 is not set
# CONFIG_FBCON_IPLAN2P4 is not set
# CONFIG_FBCON_IPLAN2P8 is not set
# CONFIG_FBCON_MAC is not set
# CONFIG_FBCON_VGA_PLANES is not set
# CONFIG_FBCON_VGA is not set
# CONFIG_FBCON_HGA is not set
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
CONFIG_FBCON_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
CONFIG_FONT_ACORN_8x8=y
#
# Input core support
#
CONFIG_INPUT=y
CONFIG_INPUT_KEYBDEV=y
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
#
# Macintosh device drivers
#
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
##
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_MOUSE is not set
# CONFIG_RWMOUSE is not set
========================================================
Ur suggestions are appreciated
Thanks in advance
Rakesh Jagota
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-09-11 7:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-11 0:50 MPC8266ADS patch Curtis, Allen
2003-09-11 3:44 ` Dan Malek
2003-09-11 7:18 ` Rakesh Jagota [this message]
2003-09-11 7:44 ` PPC 405 Rakesh Jagota
2003-09-11 13:37 ` Andrew H Pham
2003-09-12 5:11 ` Rakesh Jagota
2003-09-12 15:50 ` MPC8266ADS patch Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2003-09-12 15:59 Curtis, Allen
2003-09-12 16:17 ` Tom Rini
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=3F6021CD.CC35DC55@gdatech.co.in \
--to=j.rakesh@gdatech.co.in \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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 NNTP newsgroup(s).