Linux Logitech K400r Keyboard not responding in Kodi 14.1 helix RC
#1
I have just installed Kodi 14.1 RC on my computer with Ubuntu LTS Server 32-Bit with ldm desktop manager and lxde desktop.

I am having a problem with Kodi not picking up my Logitech K400r Keyboard.

System specs:
Pentium 4 2.8Ghz 32-Bit
768MB RAM
nVidia 6200 AGP Card
2 x 1TB HDDs
ASUS Xonar Sound Card

The touchpad is working but the keyboard part refuses to play ball. It works in LXDE and the ldm desktop manager but when I log into a Kodi
session it does not work.

I have tried disabling joystick and gamepad inputs and it does nothing

Can someone please help me?

Thanks in advance.
Reply
#2
I found the culprit! it was the desktop manager that is used in the lxde package lxdm on the Ubuntu repository.

I used the lubuntu-desktop package that uses lightdm (the same desktop manager as unity) and my keyboard works again.

The problem is I can't figure out why the Lightdm desktop manager works and the lxdm doesn't.
Reply
#3
Same problem here on Arch Linux. Lxdm + Kodi Session = Keyboard not working. Did you find a solution?
Reply
#4
(2015-04-03, 23:31)DerEineDa Wrote: Same problem here on Arch Linux. Lxdm + Kodi Session = Keyboard not working. Did you find a solution?

Use a different desktop manager like Lightdm instead of Lxdm and set it as the default desktop manager. Lxde will still work.

I am not sure how to do this on Archlinux though.
Reply
#5
You're right, LightDM works. But I don't like this solution, because I use some very specific features of Lxdm that no other display manager offers. I will sacrifice this day to try to hunt down the source of this problem. I will post here if I find any solution.
Reply
#6
Okay, I give up. The logfiles of Kodi and Xorg are exactly the same when using Lxdm or LightDM. I cannot find a clue why the keyboard won't work in Lxdm.
Reply
#7
I can't figure out why Kodi as a desktop session doesn't like the Logitech k400r with the lxdm desktop manager either.

There must be a reason for it.
Reply
#8
I just noticed that the keyboard works when Lxdm is configured to autologin into the kodi session. So Lxdm probably does something bad when showing the login GUI.
Reply
#9
Did you try to install XBMC from the official ubuntu repositories? For me the keyboards works fine when using Lxdm to start XBMC, but not when starting Kodi! This seems to be a very specific bug that only occurs when using Lxdm with recent versions of Kodi.

I've reported this on the bug trackers of Lxdm and Kodi, but I'm afraid this issue will be pushed from one side to the other.

http://trac.kodi.tv/ticket/15899#ticket
https://sourceforge.net/p/lxde/bugs/742/
Reply
#10
The bug has been fixed in Lxdm:
https://sourceforge.net/p/lxde/bugs/742/

Now we just have to wait until the distributions pick this up or we just have to build this ourselfs. I can confirm this fix to be working on Arch Linux.
Reply
#11
(2015-04-06, 13:33)DerEineDa Wrote: Did you try to install XBMC from the official ubuntu repositories? For me the keyboards works fine when using Lxdm to start XBMC, but not when starting Kodi! This seems to be a very specific bug that only occurs when using Lxdm with recent versions of Kodi.

I've reported this on the bug trackers of Lxdm and Kodi, but I'm afraid this issue will be pushed from one side to the other.

http://trac.kodi.tv/ticket/15899#ticket
https://sourceforge.net/p/lxde/bugs/742/

(2015-04-06, 16:49)DerEineDa Wrote: The bug has been fixed in Lxdm:
https://sourceforge.net/p/lxde/bugs/742/

Now we just have to wait until the distributions pick this up or we just have to build this ourselfs. I can confirm this fix to be working on Arch Linux.

Thanks for investigating this further. I knew it had to be a bug when lxdm passes control to Kodi in standalone mode. I installed Kodi from the stable PPA from the Kodi Wiki.

ppa:team-xbmc/ppa

Hopefully this fix for lxde will be in the official distribution repositories soon.
Reply
#12
The fix is included in the newest package version of Lxdm for Arch Linux:
https://www.archlinux.org/packages/commu...6_64/lxdm/
Reply
#13
perhaps it relates to the permission of /dev/tty0, as explained in :
http://forum.kodi.tv/showthread.php?tid=135866
cheers,
JFD
Reply
#14
So how do you install lightdm when the keyboard doesn't work?
Reply
#15
The easiest temporary fix is to use a wired keyboard and install lightdm or do so via SSH from another computer
(if you have SSH installed on your media centre).

When I had this problem, the touchpad still worked on my keyboard (the mouse part).

Exit Kodi with the mouse which will take you back to the GUI login. The keyboard should work again.

Then access a virtual terminal with the key combination:

CTRL+ALT+F2

to access the terminal so you can install lightdm.

To avoid installing unity (which is a dependency for lightdm, I don't know why), install a desktop environment
that uses lightdm but not unity. I used the lubuntu desktop environment instead. I am sure there are others,
but this one worked for me.
Reply

Logout Mark Read Team Forum Stats Members Help
Logitech K400r Keyboard not responding in Kodi 14.1 helix RC0