Hi,
This problem was reported during embedding Photon procedure
http://www.qnx.com/developer/docs/momentics621_docs/photon/prog_guide/embed.
html.
I prepared all required files:
- libraries (links), fonts, binaries,
and made follow by docs all configuration steps.
So, jump directly to the embedded Photon startup script:
export PHOTON_PATH=/phembed
export LD_LIBRARY_PATH=/phembed/lib:/lib
cd /phembed/bin
…/Photon &
on -W10 -w /dev/photon
…/phfontFF -d /phembed/font_repository -c 20K -j -s 50K -F 10 -S 50 &
on -W10 -w /dev/phfont
…/io-graphics -g1024x768x32 -dldevg-rage.so -I0 -d0x1002,0x4c42 &
/usr/photon/bin/phcalc -x100 -y100 &
/usr/photon/bin/phcalc -x300 -y100 &
Everything works fine - driver is loaded by io-graphics and I see two
calculators in graphics mode. Problem appears when I want to use mouse and
keyboard under Photon.
So, I simply run devi-hirun manager:
#devi-hirun kbd fd -d/dev/kbd msoft fd -d/dev/ser1 (for serial mouse and
PS-2 keyboard)
or
#devi-hirun kbd fd -d/dev/kbd ps2 mousedev (for PS-2 mouse & keyboard)
In both cases mouse works but keyboard doesn’t. I also tried with inputtrap
start utility but the result was the same - keyboard doesn’t work.
Am I doing something wrong? Maybe I forgot add another library or create
configuration file.
Any suggestions?
Regards,
Jacek
Hi Jacek,
Do you have a keyboard definition file in the $PHOTON_PATH/keyboard
directory?
BR
Oleksander
“Jacek Rudnicki” <jacek.rudnicki@quantum.com.pl> wrote in message
news:bcmfcn$224$1@inn.qnx.com…
Hi,
This problem was reported during embedding Photon procedure
http://www.qnx.com/developer/docs/momentics621_docs/photon/prog_guide/embed> .
html.
I prepared all required files:
- libraries (links), fonts, binaries,
and made follow by docs all configuration steps.
So, jump directly to the embedded Photon startup script:
export PHOTON_PATH=/phembed
export LD_LIBRARY_PATH=/phembed/lib:/lib
cd /phembed/bin
./Photon &
on -W10 -w /dev/photon
./phfontFF -d /phembed/font_repository -c 20K -j -s 50K -F 10 -S 50 &
on -W10 -w /dev/phfont
./io-graphics -g1024x768x32 -dldevg-rage.so -I0 -d0x1002,0x4c42 &
/usr/photon/bin/phcalc -x100 -y100 &
/usr/photon/bin/phcalc -x300 -y100 &
Everything works fine - driver is loaded by io-graphics and I see two
calculators in graphics mode. Problem appears when I want to use mouse and
keyboard under Photon.
So, I simply run devi-hirun manager:
#devi-hirun kbd fd -d/dev/kbd msoft fd -d/dev/ser1 (for serial mouse
and
PS-2 keyboard)
or
#devi-hirun kbd fd -d/dev/kbd ps2 mousedev (for PS-2 mouse & keyboard)
In both cases mouse works but keyboard doesn’t. I also tried with
inputtrap
start utility but the result was the same - keyboard doesn’t work.
Am I doing something wrong? Maybe I forgot add another library or create
configuration file.
Any suggestions?
Regards,
Jacek
Hi Oleksander,
I added keyboard definition file into the $PHOTON_PATH/keyboard
location.
It works!
Thanks,
Jacek
U¿ytkownik “Oleksander Mishukov” <almi@ntp.dk> napisa³ w wiadomo¶ci
news:bcu8vr$r3t$1@inn.qnx.com…
Hi Jacek,
Do you have a keyboard definition file in the $PHOTON_PATH/keyboard
directory?
BR
Oleksander