OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: agraef on October 05, 2005, 08:09:06 am

Title: Oz 3.5.3+opie On C1000 Questions
Post by: agraef on October 05, 2005, 08:09:06 am
Hi,

I just "upgraded" my Collie to a shiny new Akita, and of course I had to put Oz on it. Works (mostly) great so far (kudos to the developer team!), but there are two minor issues that keep annoying me:

1. Even after installing the latest stuff from the upgrades feed (including the 20050505 Akita kernel), the Ctrl key in Opie still generates a Ctrl-B (ASCII 2) in addition to changing the ctrl shift status. The key works just fine in the console (vt1), though. Is this a known issue? Any way to fix this?

2. Some of my favourite Opie games run in 320x240 and thus are unusable on the VGA screen. Is there a way to magnify those applications, as e.g. the Sharp ROM does?

Any help appreciated.

TIA,
Albert
Title: Oz 3.5.3+opie On C1000 Questions
Post by: lardman on October 05, 2005, 08:16:24 am
Quote
Is this a known issue? Any way to fix this?

Probably not - try a search of the bugtracker (bugs.openembedded.org) and if you can't find anything submit a bug about it.

It might be worth asking about it in #oe/#openzaurus/#opie too.

Edit - I understand this has actually been fixed

Quote
2. Some of my favourite Opie games run in 320x240 and thus are unusable on the VGA screen. Is there a way to magnify those applications, as e.g. the Sharp ROM does?

Not that I know of, but this would be useful - I wonder how hard it would be to implement it....?


Si
Title: Oz 3.5.3+opie On C1000 Questions
Post by: Hrw on October 05, 2005, 08:19:42 am
try coredump version of OZ - hentges 'rom'
Title: Oz 3.5.3+opie On C1000 Questions
Post by: agraef on October 05, 2005, 10:42:28 am
Thanks a lot for the quick replies! Hmm, just flashing the Hentges zImage didn't do the trick -- Ctrl still generates ^B. So I guess that there's an Opie key table to be fixed somewhere? Is that in a single file which I can extract from the Hentges image? I wouldn't want to do a complete reinstall of Hentges+CardFS, as I already have all my applications installed...
Title: Oz 3.5.3+opie On C1000 Questions
Post by: Hrw on October 05, 2005, 10:45:34 am
OZ does not use keymap from kernel but replace it with own one during start. So you have to reflash or copy keymap (/etc/keymap-2.4.map iirc).
Title: Oz 3.5.3+opie On C1000 Questions
Post by: lardman on October 05, 2005, 12:18:49 pm
Quote
So you have to reflash or copy keymap (/etc/keymap-2.4.map iirc)

I have this with GPE, but didn't think this file was present/used with Opie...?


Si
Title: Oz 3.5.3+opie On C1000 Questions
Post by: JohnX on October 05, 2005, 03:52:19 pm
I'm getting the same thing in the Hentges T3 / OZ 3.5.3.  And yes, I do have a /etc/keymap-2.4.map file.  showkey reports a press of the CTRL key as "keycode 30". In /etc/keymap-2.4.map the following line applies:
Code: [Select]
keycode  30 = AltGr            AltGr            AltGr            AltGr          Is this the right mapping? Should I try changing this to something else?
Title: Oz 3.5.3+opie On C1000 Questions
Post by: Mickeyl on October 05, 2005, 07:11:19 pm
Quote
Quote
2. Some of my favourite Opie games run in 320x240 and thus are unusable on the VGA screen. Is there a way to magnify those applications, as e.g. the Sharp ROM does?
Not that I know of, but this would be useful - I wonder how hard it would be to implement it....?

The resolution switch is not the problem, we already can do that - although this feature isn't exposed yet. The problem is that the Qt mouse driver would need to be patched for the touchsreen to work in QVGA mode.

It's probably not a complicated hack (perhaps only dividing the coordinates by 2 if QVGA mode is running), however this has a really low priority for us. Perhaps someone else would like to take a stab at that?
Title: Oz 3.5.3+opie On C1000 Questions
Post by: agraef on October 05, 2005, 08:27:28 pm
Quote
I'm getting the same thing in the Hentges T3 / OZ 3.5.3.  And yes, I do have a /etc/keymap-2.4.map file.  showkey reports a press of the CTRL key as "keycode 30".
I extracted that keymap file from the Hentges image and installed it on my system, restarted opie, no change. so it looks like this is _not_ fixed after all, at least not in the available 3.5.3 images.

Should I submit a bug report? And where?

BTW, where's that showkey thingie that you mentioned? Couldn't find it in the feeds.

And, talking about the keyboard, some of the other special keys also don't work yet; I especially miss the "scroll wheel" at the back of the unit.
Title: Oz 3.5.3+opie On C1000 Questions
Post by: agraef on October 05, 2005, 08:37:54 pm
Quote
It's probably not a complicated hack (perhaps only dividing the coordinates by 2 if QVGA mode is running), however this has a really low priority for us. Perhaps someone else would like to take a stab at that?
Of course I understand that; certainly getting the keyboard right should have a higher priority than getting some games to work. It's just that, having used the Sharp ROM on the Akita for a few days, I'm spoilt by some of its admittedly nice usability features -- whereas the Sharp file system is really a big mess, and the library support is really bad, which is why I prefer Oz and even need it for my own development stuff.
Title: Oz 3.5.3+opie On C1000 Questions
Post by: JohnX on October 06, 2005, 05:10:11 pm
showkey is in the console-tools package, not installed by default IIRC.  I tried reusing the keymap-2.4.map file to map keycode 30 to different things, like "Control" (like it is on my desktop debian machine). I also removed the line entirely but the Ctrl key still acted the same.  I'll poke at this a bit more...


-John
Title: Oz 3.5.3+opie On C1000 Questions
Post by: agraef on October 07, 2005, 10:35:04 pm
Ok, I installed Hentges, and here the special keys work, including the Ok/Cancel/Up/Down keys at the back of the unit.

The Ctrl key is displayed as keycode 56 by showkey over here (keycode 30 is [Fn]), which should be ok, but still it generates a ^B in Opie, so I guess there must be something wrong in Opie's keyboard driver.

I also noticed that [Fn]+x/c/v (Cut/Copy/Paste) don't work at all.

Also, [Fn]+[-] doesn't generate @, although it's in the keymap. Doesn't work in vt1 either.

The Akita keyboard support of Oz surely needs some work. Is anyone working on this already or should I file a bug report?