T3 Air mouse on the Libreelec Krypton

Moderators: mdrjr, odroid, Raybuntu, wrxtasy

T3 Air mouse on the Libreelec Krypton

Unread postby hinball » Sat Feb 18, 2017 3:00 pm

I am using the T3 Air mouse on the Libreelec Krypton, however it is not working all button no response. I have try the Libreelec 7.1.1 , it is working fine all button and the keyboard at the back are working.

Do anyone have the same or similar issue ?
Do anyone have any idea how to fix it ?
hinball
 
Posts: 9
Joined: Sat Jan 21, 2017 9:15 am
languages_spoken: english
ODROIDs: odroid c2

Re: T3 Air mouse on the Libreelec Krypton

Unread postby shinyandy » Sat Feb 18, 2017 5:14 pm

Same issue
shinyandy
 
Posts: 24
Joined: Thu Jan 26, 2017 9:35 pm
languages_spoken: english
ODROIDs: C2

Re: T3 Air mouse on the Libreelec Krypton

Unread postby wrxtasy » Sat Feb 18, 2017 6:56 pm

There may be modules missing when the Kernel config was changed for Kodi Krypton, or LE/Kodi has messed up something.

You could possibly track is down by seeing which modules are loaded with the T3 plugged in and running correctly in LE 7.1.1

Use this:
Code: Select all
lsmod

And then see what modules are missing for the Krypton version.

Or just post the lsmod output up here from LE 7.1.1.
LibreELEC Krypton C1(+) HERE
LibreELEC Krypton C2 HERE
User avatar
wrxtasy
 
Posts: 1288
Joined: Wed May 13, 2015 1:59 pm
Location: Australia
languages_spoken: english
ODROIDs: C1, C1+, C2

Re: T3 Air mouse on the Libreelec Krypton

Unread postby hinball » Sat Feb 18, 2017 9:19 pm

Thanks wrxtasy for helping

Following are the result of Libreelce 7.1.1( which the T3 Air Mouse works well)
Code: Select all
LibreELEC:~ # lsmod
Module                  Size  Used by
8021q                  18895  0
rtc_pcf8563             3575  0
ir_lirc_codec           4372  3
lirc_dev                8576  1 ir_lirc_codec
ir_mce_kbd_decoder      3100  0
ir_sanyo_decoder        1571  0
ir_jvc_decoder          1591  0
ir_sony_decoder         1609  0
ir_rc5_decoder          1535  0
ir_rc6_decoder          1935  0
ir_nec_decoder          1727  0
meson_ir                3833  0
mali                  199312  5
autofs4                24971  0
fbcon                  37377  0
bitblit                 4500  1 fbcon
softcursor              1192  1 bitblit
font                    7287  1 fbcon


Following are the result of Librelec rb-beta 2( T3 Air mouse is not working , non of the button have response )
Code: Select all
LibreELEC:~ # lsmod
Module                  Size  Used by
8021q                  18671  0
rtc_pcf8563             3519  0
ir_mce_kbd_decoder      2972  0
ir_lirc_codec           4364  3
lirc_dev                8560  1 ir_lirc_codec
ir_sanyo_decoder        1507  0
ir_sony_decoder         1553  0
ir_jvc_decoder          1559  0
ir_rc6_decoder          1879  0
ir_rc5_decoder          1535  0
ir_nec_decoder          1663  0
meson_ir                3769  0
mali                  197397  5
autofs4                24749  0
fbcon                  37225  0
bitblit                 4492  1 fbcon
softcursor              1168  1 bitblit
font                    7271  1 fbcon


They are seems the same result
hinball
 
Posts: 9
Joined: Sat Jan 21, 2017 9:15 am
languages_spoken: english
ODROIDs: odroid c2

Re: T3 Air mouse on the Libreelec Krypton

Unread postby hinball » Mon Feb 20, 2017 10:01 pm

I finally find the solution from here >https://forum.libreelec.tv/thread-4520-page-3.html

Someone explain that the new kernel detected the Air mouse as a joystick rather than a keyboard so all the inputs are ignored

I just copy the solution from the above the site which is fix for ***MX3 air mouse***
Make a file under /storage/.config/udev.rules.d/

named "51-these-are-not-joysticks-rm.rules"

contents of file for ***MX3 air mouse***:
Code: Select all
SUBSYSTEM=="input", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="ad03", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="ad03", KERNEL=="js[0-9]*", MODE="0000", ENV{ID_INPUT_JOYSTICK}=""


so if you using ****T3***** Vendor=25a7 ProdID=2402
the content should be :
Code: Select all
SUBSYSTEM=="input", ATTRS{idVendor}=="25a7", ATTRS{idProduct}=="2402", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="25a7", ATTRS{idProduct}=="2402", KERNEL=="js[0-9]*", MODE="0000", ENV{ID_INPUT_JOYSTICK}=""


I can confirm that the T3 Air mouse works

In case there are other Air mouse suffer from this problem , you can check your Vendor and ProdID by execute:
Code: Select all
usb-devices


I am not an expert of the coding so I don't know the detail , but I am glad that it finally works :D

Reference :https://github.com/denilsonsa/udev-joystick-blacklist
hinball
 
Posts: 9
Joined: Sat Jan 21, 2017 9:15 am
languages_spoken: english
ODROIDs: odroid c2

Re: T3 Air mouse on the Libreelec Krypton

Unread postby javierc » Thu Dec 07, 2017 7:27 am

Hi, I have the same problem but I can't solve with this solution

with usb-devices the result is:

Code: Select all
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=04.09
S:  Manufacturer=Linux 4.9.59 dwc_otg_hcd
S:  Product=DWC OTG Controller
S:  SerialNumber=3f980000.usb
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 5
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=9514 Rev=02.00
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I:  If#= 0 Alt= 1 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=02 Driver=hub

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=ec00 Rev=02.00
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=smsc95xx

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d57 ProdID=ad03 Rev=02.00
S:  Manufacturer=FREEWAY TECHNOLOGY
C:  #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid


So I tried crating the file /storage/.config/udev.rules.d/51-these-are-not-joysticks-rm.rules with this content:

Code: Select all
SUBSYSTEM=="input", ATTRS{idVendor}=="1d57", ATTRS{idProduct}==" ad03", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}=""
SUBSYSTEM=="input", ATTRS{idVendor}=="1d57", ATTRS{idProduct}==" ad03", KERNEL=="js[0-9]*", MODE="0000", ENV{ID_INPUT_JOYSTICK}=""


Not it is so? Can you help me?

Regards
javierc
 
Posts: 2
Joined: Thu Dec 07, 2017 7:21 am
languages_spoken: english;spanish

Re: T3 Air mouse on the Libreelec Krypton

Unread postby javierc » Mon Dec 11, 2017 5:15 am

My T3 work good with this, you can write connecting with SSH

Code: Select all
curl -o /etc/udev/rules.d/51-these-are-not-joysticks.rules \
  https://raw.githubusercontent.com/denilsonsa/udev-joystick-blacklist/master/51-these-are-not-joysticks.rules

curl -o /etc/udev/rules.d/51-these-are-not-joysticks-rm.rules \
  https://raw.githubusercontent.com/denilsonsa/udev-joystick-blacklist/master/51-these-are-not-joysticks-rm.rules

chmod 755 /etc/udev/rules.d/51*


reboot
javierc
 
Posts: 2
Joined: Thu Dec 07, 2017 7:21 am
languages_spoken: english;spanish


Return to LibreELEC - Kodi Project for C1/C2

Who is online

Users browsing this forum: micro77 and 5 guests