[XBMCbuntu] Can not slowdown key repeat rate
#1
Hi guys,

I am new to linux - so I could use some help here, i tried searching forum but did not fin enything, and solutions I found on google for ubunt
don't seam to work.

I am using flirc for my remote, flirc is represented to system as HID keyboard, so I guess I need to change kbdrate, problem is that when i change it
manualy it works, but i need that change to be permanent.

I tried editing: /etc/rc.local

Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

kbdrate -d 500 -r 5
exit 0

and tried with resume script: /etc/pm/sleep.d/00kbdrate

Code:
#!/bin/bash

case "$1" in
    suspend|hibernate)
        ;;

    resume|thaw)
                kbdrate -d 500 -r 5
                ;;
esac

and made it executable: sudo chmod +x /etc/pm/sleep.d/00kbdrate

But it is still tu fast and when I enter kbdrate i get:

Typematic Rate set to 10.9 cps (delay = 250 ms)

Thank you Smile

Reply
#2
For XBMCbuntu, you need to place your executable script file in: /etc/xbmc/live.d/your-script.sh
Reply
#3
artrafael thank you for you replay Smile

now I know it was working on and off, now what ever I do ...

sinisa@xbmc:~$ sudo kbdrate -d 500 -r 20
Typematic Rate set to 20.0 cps (delay = 500 ms)

but when I type: sudo kbdrate

I get:

Typematic Rate set to 10.9 cps (delay = 250 ms)

Sad

pls help



Reply
#4
I don't understand your problem. If you want 20.0 cps/500ms delay, then enter:
Code:
sudo kbdrate -d 500 -r 20
instead of
Code:
sudo kbdrate
Reply
#5
Blush now i feel like a fool, i misunderstood ' kbdrate ',

I thought if I enter it without any parameters it would return current settings,
but it resets settings to defoult Blush

sorry for that, i will check everything when i get back home,


Thank you for your help, and sorry once more.
Reply
#6
I have been testing this for last hour, what ever I enter in kbdrate my remote feels the same...

Code:
Typematic Rate set to 2.0 cps (delay = 750 ms)

feals the same as

Code:
Typematic Rate set to 10.9 cps (delay = 250 ms)

Confused
Reply
#7
Currently you can't adjust keyboard repeat rate. It's hardcoded inside XBMC. The parameters you are trying to set have no influence. You would need to ignore the HID keyboard by X11 and use a lirc daemon.
Reply
#8
FernetMenta thank you, Smile

I am afraid this is beyond me Confused,

This is first time I have installed linux ( well I had opnelec for few weeks) ...

Thannk you for your replay - at least i will not spend any more time trying to slow down my keyboard/remote.




Reply
#9
You might want to go back to openelec. It uses eventlirc and handles the remote not as a keyboard.
Reply
#10
Thanks, but for me - xbmcbuntu is much better solution.

I am learning things as i go along maybe one day I'll be able

to configure it Smile

Reply
#11
FernetMenta,

or anyone else,

can you pls just direct me to some thread, or part of wiki, I should read so i can try
to resolve this, when I have some time.

I did serach and found some threads - but being new to this i am not 100% shore that
they are right for me and my problem.

Thank you
Reply
#12
well I have everything setup and up and running Smile

I tried googling and searching for solution but I get lost in all of it.

FernetMenta or somebody else, can you point me in right direction
hoe to setup flirc deamon.

thank you
Reply
#13
This was six years ago and Kodi still has no way to control or set a USB keyboards repeat and delay. A little ridiculous if you ask me. Could someone point me in the right direction here, how do I setup the lirc daemon so I can control this.
Reply

Logout Mark Read Team Forum Stats Members Help
[XBMCbuntu] Can not slowdown key repeat rate 0