From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: fso-console-image problems
Date: Sat, 3 Dec 2011 19:03:04 +0100 [thread overview]
Message-ID: <20111203180303.GD3797@jama.jama.net> (raw)
In-Reply-To: <4EDA6095.5030203@googlemail.com>
[-- Attachment #1: Type: text/plain, Size: 3762 bytes --]
On Sat, Dec 03, 2011 at 05:47:01PM +0000, Mr Dash Four wrote:
>
> > then you will like:
> > bitbake -c menuconfig virtual/kernel
> >
> Indeed!
>
> > and to save defconfig you can use -c savedefconfig (not 100% sure it's
> > available in linux-leviathan in OE-classic).
> >
> Nope, this doesn't seem available - it tells me "Nothing to do" and to
> run "bitbake world" if I want something done (I like that attitude :-)
> ), so I had to copy the new file myself.
You haven't specify target I guess..
bitbake -c savedefconfig virtual/kernel
> > You need to add right keymap to keymaps recipe and check that it's in
> > /etc/keymap-2.6.map and then /etc/init.d/keymap.sh should load it for
> > you during boot.
> >
> Hmm, in my rootfs I do have /etc/init.d/keymap and I just looked at that
> script - it looks for either /etc/keymap-*something* or
> /etc/keymap-extension-*something*. I have neither!
>
> In the recipe directory (keymaps/files) there is a directory called
> "htcuniversal" which has a single file called keymap-2.6.map:
> #altgr keycode 18 = euro
> altgr keycode 15 = tilde
> altgr keycode 24 = slash
> altgr keycode 25 = backslash
> altgr keycode 32 = pound
> altgr keycode 37 = quotedbl
> altgr keycode 38 = apostrophe
> altgr keycode 50 = question
> altgr keycode 51 = semicolon
> altgr keycode 52 = colon
>
> Now, I have four questions:
> 1) how do I "activate" this keymap (provided it is the one I want);
copy htcuniversal file to match MACHINE (so htcdream) and rebuild
keymaps recipe, don't know if htcuniversal is using same layout..
> 2) it seems that in this file I could redefine *any* key I want. If so,
> is there any man/doc page I can look at to educate myself, because I am
> almost 100% certain that I would need to redefine some of the keys in
> the "standard" setting.
Yes there definetely are some man and doc pages as this is not really
OE or embedded specific and also there is google you know.. :).
> 3) How do I find the "keycode" numbers - is there a tool I could execute
> (probably on my phone) to find a certain keycode when I press it so that
> I could redefine it later (presumably in a similar file as the
> keymap-2.6.map I listed above)?
dtto
> 4) When I do all the changes, do I just do the versioning "magic" (bump
> up the keymaps PR) in order to trigger a re-make of the stuff I changed
> (great trick that!)?
yes
1) add file
2) bump PR,
3) rebuild
4) test it on device,
5) update it on device if it's not 100% correct and then sync keymap-2.6.map
with htcdream in OE
6) send patch to OE ML
> > This usually means that /dev/pts wasn't mounted during boot, I don't
> > remember if htcdream was doing something weird but for palmpre GarthPS
> > needed this:
> > http://git.openembedded.org/openembedded/commit/?id=fcb43100609fcb955cfac6ad6b92d3b5ddf08c20
> > and I'm not sure if somebody tested htcdream since then.. so check order
> > of mountdevsubfs.sh and udev init if htcdream is using udev (not
> > devtmpfs)
> >
> Hmm, I don't know what OE commit I have, but just checked my /etc/rcS.d
And I cannot run commands (git log even) in your checkout so I don't know it too :).
> on the phone's rootfs - it seems that I have the (buggy)
> "S04mountdevsubfs.sh" instead of "S05mountdevsubfs.sh". How do I
> alter/change this (presumably by altering some of the recipes)?
Yes this is in initscripts-shr which are used only when you're building
SHR and shr-images, if you're still playing with fso- or default
console- iamges then IIRC normal initscript recipe is used and you have
to apply similar fix there..
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2011-12-03 18:09 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 1:57 fso-console-image problems Mr Dash Four
2011-12-02 10:20 ` Denis 'GNUtoo' Carikli
2011-12-02 14:08 ` Mr Dash Four
2011-12-02 14:52 ` Martin Jansa
2011-12-02 15:12 ` Mr Dash Four
2011-12-02 15:46 ` Martin Jansa
2011-12-02 16:20 ` Mr Dash Four
2011-12-02 16:25 ` Martin Jansa
2011-12-02 17:27 ` Denis 'GNUtoo' Carikli
2011-12-02 17:42 ` Mr Dash Four
2011-12-02 20:06 ` Mr Dash Four
2011-12-02 22:24 ` Denis 'GNUtoo' Carikli
2011-12-02 23:35 ` Mr Dash Four
2011-12-02 23:50 ` Mr Dash Four
2011-12-03 9:46 ` Denis 'GNUtoo' Carikli
2011-12-03 16:37 ` Mr Dash Four
2011-12-03 16:52 ` Martin Jansa
2011-12-03 17:47 ` Mr Dash Four
2011-12-03 18:03 ` Martin Jansa [this message]
2011-12-03 18:35 ` Mr Dash Four
2011-12-04 12:39 ` Mr Dash Four
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=20111203180303.GD3797@jama.jama.net \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.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 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.