USB Keyboard - no autorepeat..

I’m having problem with a PS2 type keyboard connected through a PS2-USB
converter to
my laptop. (Dell Inspiron 8500). The keyboard works fine but the keys do not
autorepeat -
I.E. if I hold down the “a” key I will get an “a” followed by a single “a”
when the autorepeat
should start but no more… The keyboard arrangement works fine under
Windows.
:
The machine is using the following to start the /dev/usb & /dev/usbkbd0
devu-uhci
waitfor /dev/usb
devu-kbd

After photon boots up, I am then starting the key board manually (in
addition to the laptop keyboard - which BTW does work correctly) using the
following:

devi-hirun -g 2 kbd -r -k40,250 fd -d/dev/usbkbd0

I have tried leaving the group as the default (no -g 2) both the -R and -r
options and omitting the -k flag all with the same results.

Any Ideas?

Thanks
-Bill

Hi William,

Have you tried putting your devi line into the input trap file? This
way you will only have one copy of devi-hirun running at once. Edit
the following file /etc/system/trap/input.${HOSTNAME} to have the following:

kbd -R fd -d/dev/usbkbd0 ps2 mousedev

Add the “ps2 mousedev” if you are using a PS2 mouse.

Try that and see if it helps

Regards,

Erick

William M. Derby Jr. <derbyw@direcway.com> wrote:

I’m having problem with a PS2 type keyboard connected through a PS2-USB
converter to
my laptop. (Dell Inspiron 8500). The keyboard works fine but the keys do not
autorepeat -
I.E. if I hold down the “a” key I will get an “a” followed by a single “a”
when the autorepeat
should start but no more… The keyboard arrangement works fine under
Windows.
:
The machine is using the following to start the /dev/usb & /dev/usbkbd0
devu-uhci
waitfor /dev/usb
devu-kbd

After photon boots up, I am then starting the key board manually (in
addition to the laptop keyboard - which BTW does work correctly) using the
following:

devi-hirun -g 2 kbd -r -k40,250 fd -d/dev/usbkbd0

I have tried leaving the group as the default (no -g 2) both the -R and -r
options and omitting the -k flag all with the same results.

Any Ideas?

Thanks
-Bill

Erick Muis
Hardware Group
QNX Software Systems Ltd.
Email: emuis at qnx.com

Thanks Erick,
(Sorry for my delay in replying)

Yes but it will also mean that I always have to have a USB keyboard plugged
into my laptop.
If I set the input trap file like this the laptop’s keyboard is ignored –
What I’m trying to accomplish is
to have the laptop keyboard active at boot – when/If the USB keyboard is
plugged in, that keyboard becomes active and usable – (at this point I need
to run a script to start the second devi-hirun - but ideally it would be
automatic)

Do you think the second devi-hirun can’t do the autorepeat?

-Bill






“Erick Muis” <emuis@node55.ott.qnx.com> wrote in message
news:bv6mg5$c5p$1@inn.qnx.com

Hi William,

Have you tried putting your devi line into the input trap file? This
way you will only have one copy of devi-hirun running at once. Edit
the following file /etc/system/trap/input.${HOSTNAME} to have the
following:

kbd -R fd -d/dev/usbkbd0 ps2 mousedev

Add the “ps2 mousedev” if you are using a PS2 mouse.

Try that and see if it helps

Regards,

Erick

William M. Derby Jr. <> derbyw@direcway.com> > wrote:
I’m having problem with a PS2 type keyboard connected through a PS2-USB
converter to
my laptop. (Dell Inspiron 8500). The keyboard works fine but the keys do
not
autorepeat -
I.E. if I hold down the “a” key I will get an “a” followed by a single
“a”
when the autorepeat
should start but no more… The keyboard arrangement works fine under
Windows.
:
The machine is using the following to start the /dev/usb & /dev/usbkbd0
devu-uhci
waitfor /dev/usb
devu-kbd

After photon boots up, I am then starting the key board manually (in
addition to the laptop keyboard - which BTW does work correctly) using
the
following:

devi-hirun -g 2 kbd -r -k40,250 fd -d/dev/usbkbd0

I have tried leaving the group as the default (no -g 2) both the -R
and -r
options and omitting the -k flag all with the same results.

Any Ideas?

Thanks
-Bill


\


Erick Muis
Hardware Group
QNX Software Systems Ltd.
Email: emuis at qnx.com