[Oberon] Oberon an Raspberry Pi: no keyboard, no mouse (was: Re: Re (2): suggestions for documentation.)
lab.eas at gmail.com
Tue Apr 15 14:49:59 CEST 2014
Thanks for your effort.
apt-get install libudev-dev libasound2-dev libdbus-1-dev
failed unless <system update> first. That's debian 'policy'?!
Immeditely once rPi:V5 was usable, I started to create a file: "Log",
which was re-accessible on further re-boots.
You feel half-crippled, not able to `OpenFile` immediately by a single
klux. Doesn't NW know about that update/refinement?
There seemed to be no facility to write to the outside world, to save my
logged effort [that's also why I didn't spend/lose extra time with A2/blue*].
Now the 'display is lost' [only the original V5-frame shows on the HDMI-WIDE
screen, without any <track-lines> nor text, mouse-cursor].
And my logging effort is hidden/lost, in some, perhaps binary, file.
The emulator would be interesting for the RISC project, but for a rPi
tool, V5 MUST be able to react with the linux environment.
Eg. LEO can not only read/write FAT/*linux files, but can EXECUTE linux.
So you can use the mass of *nix utilities, on ETHO derived text-files.
Eg. remove all ">" | Replace all EndOfLine with <space>
| Format 'it' by line-wrapping before N-char-len | prepend ">>" to each line;
cleans-up and converts a "cite" into a double-cite.
Also, I wanted to ReplaceAll "<--*" in a text, but *nix regular-expressions
is a complex-dog compared to ETHO's EBNF format, so you can just use
LEO's !LIVE/Visual! Find & ReplaceAll. So you can swap back-and-forth between
LEO & linux, [from LEO inside linux] to use which ever is better.
Of course you must be able to switch-out-of LEO to linux and back-into LEO.
rPi:V5 doesn't seem to be able to do this.
V4 can also Read/Write Aos and Linux files.
== Chris Glur.
On 4/13/14, Ulrich Hoffmann <uho at xlerb.de> wrote:
> On 2014-04-10 at 12:13 pm eas lab wrote:
>> Yes the CPU and display are nice.
>> But what about the USB: keybrd & mouse?
>> == Chris Glur.
> I further investigated in the no keyboard, no mouse problem
> on Raspberry Pi.
> When compiling SDL2 (I used version 2.0.3 ) on Raspberry Pi,
> please make sure (as explained in SDL2's README-rasperrypi.txt)
> that you
> 1) meet the Build Dependencies for SDL2 on Raspberry Pi:
> sudo apt-get install libudev-dev libasound2-dev libdbus-1-dev
> 2) the pi user (or the user you intend to run SDL2 apps with) is member
> of the input group
> sudo usermod -aG input `whoami`
> It seems like logging out and logging in is required for the group
> membership to become active. At least it was for me.
> Only then start building SLD2 (in SDL2's directory):
> ./configure; make; sudo make install
> Running oberon-risc-emu should have working mouse and keyboard then.
> On one system I tried to use SLD2 without meeting the Build
> Dependencies ( 1) above): SDL2 compiles fine but keyboard and mouse
> will not work with oberon-risc-emu. Only establishing 1), removing the
> SDL2 directory, re-unpacking SDL2 and compiling from scratch helped.
> A mere rerun of configure; make; sudo make install did not succeed.
> Let us know if this works for you.
> Ulrich Hoffmann
>  http://www.libsdl.org/release/SDL2-2.0.3.tar.gz
More information about the Oberon