Running the FERRET Examples

Karl Steger <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <1423485506.3037506.225046397.21FA0EA2@webmail.messagingengine.com>
Hi L4 hackers,

I'm trying to run the scalar demo from the FERRET package. Although the
server loop from "l4/pkg/ferret/server/re/sensordir.cc" starts, no
scalar sensor is registered in
"l4/pkg/ferret/examples/demo/scalar_demo/main.c" as the program
execution pauses at this line:

ret = ferret_create(srv, 10, 1, 0, FERRET_SCALAR, 0, "0:100:%", s1,
&malloc);

which leads to an l4_ipc_call to the sensor directory.

Could you please tell me if there is a problem with my configuration
file below or provide a working configuration file?

>require("L4");
>
>local ld = L4.default_loader;
>local ferret = ld:new_channel();
>local sensordir = ld:new_channel();
>
>ld:start(
>{ caps = { ferret=ferret:svr(), sensordir=sensordir:svr() }
>},
>"rom/ferret_sensor_dir");
>
>ld:start(
>{ caps = { ferret=ferret,  sensordir=sensordir },
> log = { "f_scalar_demo", "green" }
>},
>"rom/fer_scalar_demo");

Thanks and regards,
Karl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.