Keyboard/mouse not working anymore

Hi!
Using latest OSMC on my Vero 4k, little to no problems so far. All peripherals working fine so far.
Recently (don’t know when to be honest) I found that my USB keyborad and mouse don’t work anymore. After a few checks I found

  • changing batteries on the bluetooth connected peripherals didn’t change a thing
  • lsusb shows the vendor/product IDs just fine
  • I wonder if permissions are correct:
    osmc@vero:~$ ls -l /dev/hidraw*
    crw------- 1 root root 245, 0 Jun 17 21:44 /dev/hidraw0
    crw------- 1 root root 245, 1 Jun 17 21:44 /dev/hidraw1

I found a hint to change udev rules a little, so not they permissions are like this:
osmc@vero:~$ ls -l /dev/hidraw*
crw-rw---- 1 root osmc 245, 0 Jun 17 21:44 /dev/hidraw0
crw-rw---- 1 root osmc 245, 1 Jun 17 21:44 /dev/hidraw1

Any ideas?

Hi,

Stupid question, but have you tried:

  • remove the keyboard and mouse.
  • power off the vero4k.
  • wait for the blue light to go red, unplug and plug back in the power.
  • wait for the vero4k to completly start and then re-attach mouse and keyboard.

If that doesn’t work, are you able to try a different keyboard and mouse or try the keyboard & mouse on another device.

If none of above suggestions get you any closer to getting working, debugging logs may help.

Thanks Tom.

Re-attach peripherals before repowering.

Sam

Hey, I have the same problem on rpi3. the usb keyboard stopped working after update. The same keyboard is working on my PC. dmesg shows the same logs on the PC and osmc:

[ 123.990296] usb 1-1.3: new low-speed USB device number 5 using dwc_otg
[ 124.132517] usb 1-1.3: New USB device found, idVendor=0603, idProduct=0002
[ 124.132533] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 124.132541] usb 1-1.3: Product: USB Composite Device
[ 124.132549] usb 1-1.3: Manufacturer: SINO WEALTH
[ 124.140377] input: SINO WEALTH USB Composite Device as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:0603:0002.0003/input/input2
[ 124.211162] hid-generic 0003:0603:0002.0003: input,hidraw0: USB HID v1.10 Keyboard [SINO WEALTH USB Composite Device] on usb-3f980000.usb-1.3/input0
[ 124.226741] input: SINO WEALTH USB Composite Device as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:0603:0002.0004/input/input3
[ 124.291137] hid-generic 0003:0603:0002.0004: input,hiddev0,hidraw1: USB HID v1.10 Mouse [SINO WEALTH USB Composite Device] on usb-3f980000.usb-1.3/input1

where to look from here ?

Hi,

If you’ve tried the suggestions above, please provide debugging logs.

Thanks Tom.

yes I tried. sorry, i’m new to this forum, what logs ? kodi log? system log ?

thanks, this are my logs:
http://paste.osmc.tv/rafegomeru

Hi,

Probably not related:

Jun 22 21:16:42 livingroom-osmc systemd[1]: Got automount request for /mnt/Data, triggered by 547 (kodi.bin)
Jun 22 21:16:42 livingroom-osmc systemd[1]: Mounting /mnt/Data...
Jun 22 21:16:42 livingroom-osmc mount[575]: mount error: cifs filesystem not supported by the system
Jun 22 21:16:42 livingroom-osmc mount[575]: mount error(19): No such device
Jun 22 21:16:42 livingroom-osmc mount[575]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Jun 22 21:16:42 livingroom-osmc systemd[1]: mnt-Data.mount mount process exited, code=exited status=32
Jun 22 21:16:42 livingroom-osmc systemd[1]: Failed to mount /mnt/Data.
Jun 22 21:16:42 livingroom-osmc systemd[1]: Unit mnt-Data.mount entered failed state.

I keep seeing this error, ones relating to accessing these shares. You want to fix or remove this share via the command line.

this is my nas that is temporarly off.

Hi,

Whats the output of:

lsusb

you will need probably need to use ssh to retrieve this.

Thanks Tom.

no problem
Bus 001 Device 004: ID 0603:0002 Novatek Microelectronics Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

getting somewhere. this is my /dev/input dir:
ll /dev/input/
razem 0
drwxr-xr-x 2 root root 60 cze 22 22:51 by-id
drwxr-xr-x 2 root root 60 cze 22 22:51 by-path
crw-rw---- 1 root osmc 13, 63 cze 22 21:16 mice
crw-rw---- 1 root osmc 13, 32 cze 22 22:51 mouse0

mouse0 is the track pad on my usb keyboard. if I cat this file i get something when I tyouch the trackpad. but where is the keyboard file ? also mouse is not working in kodi.

Sub-process /usr/bin/dpkg returned an error code (1)

I keep seeing this in your apt-history. I would recommend backing your settings via myosmc and start with a fresh install of OSMC and restore. See if the issue persists?

Thanks Tom.

hey, thanks for response. This error is now solved. it was rpi-update package installed that was colliding with the rbp-userland-osmc package.

glad to hear its sorted

ok, i found why my keyboard was not working … i am a little embarrassed because it is totally my fault. after system update Ii recompiled the osmc kernel, but i copied only the kernel from my host to the rpi without kernel modules, I thought that if I’m only adding single builtin module I do not have to copy all the modules. So the problem was that no modules were loaded (and particularly evdev module). Funny that the kodi launched without any problems despite the fact that no modules were loaded :slight_smile: